prieto vor 8 Jahren
Ursprung
Commit
35f543074b
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 6
    6
      plugins/webui/templates/base.html

+ 6
- 6
plugins/webui/templates/base.html Datei anzeigen

@@ -1,5 +1,5 @@
1 1
 <!doctype html>
2
-<!-- {% set not_connected = client.is_anonymous() %} -->
2
+{% set not_connected = false %> <!-- client.is_anonymous() %} -->
3 3
 
4 4
 <html lang="en">
5 5
 <head>
@@ -34,13 +34,13 @@
34 34
             <li><a href="list_classes">All types</a></li>
35 35
           </ul>
36 36
           <ul class="nav navbar-nav navbar-right">
37
-             <!--  {% if not_connected %} -->
38
-              <!--   <li id="backend-nav"><a href="/{{ root_url }}/admin" class="btn btn-link disabled">Back-end</a></li> -->
39
-              <!--  <li id="signin-nav"><a href="signin">Sign In</a></li> -->
40
-             <!-- {% else %} -->
37
+             {% if not_connected %}
38
+                <li id="backend-nav"><a href="/{{ root_url }}/admin" class="btn btn-link disabled">Back-end</a></li> 
39
+                <li id="signin-nav"><a href="signin">Sign In</a></li> -->
40
+             {% else %}
41 41
                 <li id="backend-nav"><a href="/{{ root_url }}/admin" class="btn btn-link">Back-end</a></li>
42 42
                 <li id="signout-nav"><a href="signout">Logout</a>
43
-              <!-- {% endif %} -->
43
+             {% endif %}
44 44
           </ul>
45 45
         </div><!--/.nav-collapse -->
46 46
       </div>

Laden…
Abbrechen
Speichern