瀏覽代碼

Modify the web script to start with new template

Oz N Tiram 8 年之前
父節點
當前提交
e9eb384501
共有 1 個文件被更改,包括 1 次插入1 次删除
  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