Automatically login to phorkie
[phorkie.git] / data / templates / base.htm
index 86c79e6e1bb0801727025fb904b0ceb4fe504baa..fabfd5213de609fa4cfe4152eafde73966779e90 100644 (file)
@@ -75,8 +75,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 +95,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>