have a default app icon
[phorkie.git] / data / templates / base.htm
index 86c79e6e1bb0801727025fb904b0ceb4fe504baa..8f09ffb34fef143a1a82e5e55d14a81ecd26deb3 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE html>
-<html>
 <head>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
   <base href="{{baseurl}}" />
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta charset="utf-8" />
   <link rel="stylesheet" href="css/bootstrap.min.css"/>
   <link rel="stylesheet" href="css/font-awesome.css"/>
   <link rel="stylesheet" href="css/phorkie.css"/>
@@ -11,7 +11,9 @@
   <link rel="stylesheet" href="{{css}}"/>
   {% endif %}
   {% if iconpng %}
-  <link rel="shortcut icon" href="{{iconpng}}" type="image/png"/>
+  <link rel="icon" href="{{iconpng}}" type="image/png"/>
+  {% else %}
+  <link rel="icon" href="favicon.ico"/>
   {% endif %}
   <title>{% block title %}{% endblock %} - {{title}}</title>
   <script src="js/jquery.js"></script>
@@ -75,8 +77,8 @@
    <div class="row">
     <div class="span9">
      {% if suggestSetupCheck %}
-     <div class="alert alert-error">
-       It seems phorkie is not setup properly.
+     <div class="alert alert-warning">
+       No configuration file found.
        Visit the <a href="setup">setup check page</a> for more information.
      </div>
      {% endif %}
@@ -95,5 +97,8 @@
    <a href="http://www.gnu.org/licenses/agpl-3.0.html">
     <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
   </div>
+  {% if autologin %}
+  <script src="js/autologin.js"></script>
+  {% endif %}
  </body>
 </html>