From 4728e72d182f78dc2f5768fdb55d1e142fc92129 Mon Sep 17 00:00:00 2001 From: git-marijus Date: Mon, 17 Jul 2017 16:19:19 +0200 Subject: some love for the installer --- view/tpl/install.tpl | 20 ++++++++++----- view/tpl/install_checks.tpl | 49 +++++++++++++++++++---------------- view/tpl/install_db.tpl | 59 ++++++++++++++++++++++--------------------- view/tpl/install_settings.tpl | 56 ++++++++++++++++++++-------------------- 4 files changed, 98 insertions(+), 86 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/install.tpl b/view/tpl/install.tpl index 0e77aa97b..5ab722b12 100755 --- a/view/tpl/install.tpl +++ b/view/tpl/install.tpl @@ -1,9 +1,15 @@ -

{{$title}}

-

{{$pass}}

+
+
+

{{$title}}

+
+

  {{$pass}}

+
+ {{if $status}} +
{{$status}}
+ {{/if}} -{{if $status}} -

{{$status}}

-{{/if}} - -{{$text}} +
{{$text}}
+
+ {{$what_next}} +
diff --git a/view/tpl/install_checks.tpl b/view/tpl/install_checks.tpl index ad0aef6a3..8bbb9f26d 100755 --- a/view/tpl/install_checks.tpl +++ b/view/tpl/install_checks.tpl @@ -1,24 +1,29 @@ -

{{$title}}

-

{{$pass}}

-
- -{{foreach $checks as $check}} - - {{if $check.help}} - - {{/if}} -{{/foreach}} -
{{$check.title}} {{if $check.required}}(required){{/if}}
{{$check.help}}
+
+
+

{{$title}}

+
+

  {{$pass}}

+
+ + + {{foreach $checks as $check}} + {{$check.title}} + {{if $check.help}} + + {{/if}} + {{/foreach}} +
{{if $check.required}}(required){{/if}}
{{$check.help}}
-{{if $phpath}} - -{{/if}} + {{if $phpath}} + + {{/if}} -{{if $passed}} - - -{{else}} - - -{{/if}} - + {{if $passed}} + + + {{else}} + + + {{/if}} + +
diff --git a/view/tpl/install_db.tpl b/view/tpl/install_db.tpl index 1a58de129..8b9023443 100755 --- a/view/tpl/install_db.tpl +++ b/view/tpl/install_db.tpl @@ -1,30 +1,31 @@ -

{{$title}}

-

{{$pass}}

- - -

-{{$info_01}}
-{{$info_02}}
-{{$info_03}} -

- -{{if $status}} -

{{$status}}

-{{/if}} - -
- - - - -{{include file="field_input.tpl" field=$dbhost}} -{{include file="field_input.tpl" field=$dbport}} -{{include file="field_input.tpl" field=$dbuser}} -{{include file="field_password.tpl" field=$dbpass}} -{{include file="field_input.tpl" field=$dbdata}} -{{include file="field_select.tpl" field=$dbtype}} - - - -
+
+
+

{{$title}}

+
+

  {{$pass}}

+
+
+ {{$info_01}}
+ {{$info_02}}
+ {{$info_03}} +
+ + {{if $status}} +
{{$status}}
+ {{/if}} + +
+ + + + {{include file="field_input.tpl" field=$dbhost}} + {{include file="field_input.tpl" field=$dbport}} + {{include file="field_input.tpl" field=$dbuser}} + {{include file="field_password.tpl" field=$dbpass}} + {{include file="field_input.tpl" field=$dbdata}} + {{include file="field_select.tpl" field=$dbtype}} + + +
+
diff --git a/view/tpl/install_settings.tpl b/view/tpl/install_settings.tpl index 62dcbb8b3..b62f8508b 100755 --- a/view/tpl/install_settings.tpl +++ b/view/tpl/install_settings.tpl @@ -1,28 +1,28 @@ -

{{$title}}

-

{{$pass}}

- - -{{if $status}} -

{{$status}}

-{{/if}} - -
- - - - - - - - - - -{{include file="field_input.tpl" field=$adminmail}} -{{include file="field_input.tpl" field=$siteurl}} - -{{include file="field_select_grouped.tpl" field=$timezone}} - - - -
- +
+
+

{{$title}}

+
+

  {{$pass}}

+
+ + {{if $status}} +
{{$status}}
+ {{/if}} + +
+ + + + + + + + + + {{include file="field_input.tpl" field=$adminmail}} + {{include file="field_input.tpl" field=$siteurl}} + {{include file="field_select_grouped.tpl" field=$timezone}} + + +
+
-- cgit v1.2.3