1 parent
dd3e9030fa
commit
e2bfdfd10c
4 files changed
+45
-10
No files matched your search
+4
-1
@@ -111,6 +111,7 @@ class PrinterStateConnection(tornadio2.SocketConnection):
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
branch, commit = util.getGitInfo()
|
||||
return render_template(
|
||||
"index.jinja2",
|
||||
ajaxBaseUrl=BASEURL,
|
||||
@@ -119,7 +120,9 @@ def index():
|
||||
enableGCodeVisualizer=settings().get(["feature", "gCodeVisualizer"]),
|
||||
enableSystemMenu=settings().get(["system"]) is not None and settings().get(["system", "actions"]) is not None and len(settings().get(["system", "actions"])) > 0,
|
||||
enableAccessControl=userManager is not None,
|
||||
enableSdSupport=settings().get(["feature", "sdSupport"])
|
||||
enableSdSupport=settings().get(["feature", "sdSupport"]),
|
||||
gitBranch=branch,
|
||||
gitCommit=commit
|
||||
)
|
||||
|
||||
#~~ Printer control
|
||||
|
||||
Reference in new issue
Block a user