]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/install_checks.tpl
Merge pull request #5184 from annando/fetch-item
[friendica.git] / view / templates / install_checks.tpl
index ca12425f0584bede0e152d94d2477d6de0d9d1b8..f960729111f77d862577f1203d31532003c3a68c 100644 (file)
@@ -1,12 +1,28 @@
 
-<h1>{{$title}}</h1>
+<h1><img src="{{$baseurl}}/images/friendica-32.png"> {{$title}}</h1>
 <h2>{{$pass}}</h2>
 <form  action="{{$baseurl}}/index.php?q=install" method="post">
 <table>
 {{foreach $checks as $check}}
-       <tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></td><td>{{if $check.required}}(required){{/if}}</td></tr>
+       <tr><td>{{$check.title}} </td><td>
+       {{if $check.status}}
+               <img src="{{$baseurl}}/view/install/green.png" alt="Ok">
+       {{else}}
+               {{if $check.required}}
+                       <img src="{{$baseurl}}/view/install/red.png" alt="Requirement not satisfied">
+               {{else}}
+                       <img src="{{$baseurl}}/view/install/yellow.png" alt="Optional requirement not satisfied">
+               {{/if}}
+       {{/if}}
+       </td><td>{{if $check.required}}(required){{/if}}</td></tr>
        {{if $check.help}}
-       <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
+       <tr><td class="help" colspan="3">
+               <blockquote>{{$check.help}}</blockquote>
+               {{if $check.error_msg}}
+               <div class="error_header"><b>{{$check.error_msg.head}}</br><a href="{{$check.error_msg.url}}">{{$check.error_msg.url}}</a></b></div>
+               <blockquote>{{$check.error_msg.msg}}</blockquote>
+               {{/if}}
+       </td></tr>
        {{/if}}
 {{/foreach}}
 </table>