diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-08-16 10:32:35 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-08-16 10:32:35 +0200 |
commit | 4a7384bc0ce1893a432bf4b7d67bca23796fe9db (patch) | |
tree | 5623c66a3f66445284529d6207e4ab4a2edb2810 /view/tpl/install_checks.tpl | |
parent | c664a4bdcd1bd578f5ec3c2884f7c97e9f68d2d7 (diff) | |
parent | 90bc21f2d560d879d7eaf05a85af6d6dca53ebac (diff) | |
download | volse-hubzilla-4a7384bc0ce1893a432bf4b7d67bca23796fe9db.tar.gz volse-hubzilla-4a7384bc0ce1893a432bf4b7d67bca23796fe9db.tar.bz2 volse-hubzilla-4a7384bc0ce1893a432bf4b7d67bca23796fe9db.zip |
Merge branch '2.6RC'2.6
Diffstat (limited to 'view/tpl/install_checks.tpl')
-rwxr-xr-x | view/tpl/install_checks.tpl | 49 |
1 files changed, 27 insertions, 22 deletions
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 @@ -<h1>{{$title}}</h1> -<h2>{{$pass}}</h2> -<form action="{{$baseurl}}/index.php?q=setup" method="post"> -<table> -{{foreach $checks as $check}} - <tr><td>{{$check.title}} </td><td><i class="fa {{if $check.status}}fa-check-square-o{{else}}{{if $check.required}}fa-square-o{{else}}fa-exclamation{{/if}}{{/if}}"></i></td><td>{{if $check.required}}(required){{/if}}</td></tr> - {{if $check.help}} - <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr> - {{/if}} -{{/foreach}} -</table> +<div class="container mt-4 mb-4"> + <div class="jumbotron"> + <h1>{{$title}}</h1> + <hr class="my-4"> + <h2><i class="fa fa-heartbeat"></i> {{$pass}}</h2> + </div> + <form action="{{$baseurl}}/index.php?q=setup" method="post"> + <table class="table"> + {{foreach $checks as $check}} + <tr><td{{if ! $check.status}} class="text-danger"{{/if}}>{{$check.title}}</td><td><i class="fa {{if $check.status}}fa-check-square-o{{else}}{{if $check.required}}fa-square-o{{else}}fa-exclamation text-danger{{/if}}{{/if}}"></i></td><td>{{if $check.required}}(required){{/if}}</td></tr> + {{if $check.help}} + <tr><td colspan="3" class="border-top-0 pt-0 pb-0"><div class="alert alert-info">{{$check.help}}</div></td></tr> + {{/if}} + {{/foreach}} + </table> -{{if $phpath}} - <input type="hidden" name="phpath" value="{{$phpath}}"> -{{/if}} + {{if $phpath}} + <input type="hidden" name="phpath" value="{{$phpath}}"> + {{/if}} -{{if $passed}} - <input type="hidden" name="pass" value="2"> - <input type="submit" value="{{$next}}"> -{{else}} - <input type="hidden" name="pass" value="1"> - <input type="submit" value="{{$reload}}"> -{{/if}} -</form> + {{if $passed}} + <input type="hidden" name="pass" value="2"> + <button class="btn btn-success" type="submit"><i class="fa fa-check"></i> {{$next}}</button> + {{else}} + <input type="hidden" name="pass" value="1"> + <button class="btn btn-warning" type="submit"><i class="fa fa-refresh"></i> {{$reload}}</button> + {{/if}} + </form> +</div> |