Przeglądaj źródła

Modify the web script to start with new template

Oz N Tiram 8 lat temu
rodzic
commit
e9eb384501
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      scripts/webui.py

+ 1 - 1
scripts/webui.py

@@ -183,7 +183,7 @@ def listnodes(apply=['require_login']):
     nodesd = _nodes_inst
     ce = CryptoEngine.get()
     tags = [ce.decrypt(t).decode() for t in DB.listtags()]
-    html_nodes = template("main.tpl", nodes=nodesd, tags=tags, request=request,
+    html_nodes = template("index.tpl", nodes=nodesd, tags=tags, request=request,
                           template_lookup=[resource_filename('pwman',
                                                              'ui/templates')])
     return html_nodes