updated layout for small screens - colapsable sidepanel, fix issue with link to favicon when url_prefix is used
This commit is contained in:
@@ -17,6 +17,7 @@ func (h *Handlers) SettingsPageHandler(c *gin.Context) {
|
||||
c.HTML(http.StatusInternalServerError, "error", gin.H{
|
||||
"error": "Failed to build tree structure",
|
||||
"app_name": h.config.AppName,
|
||||
"LoginAndEdits": h.config.LoginAndEdits,
|
||||
"message": err.Error(),
|
||||
"ContentTemplate": "error_content",
|
||||
"ScriptsTemplate": "error_scripts",
|
||||
@@ -27,6 +28,7 @@ func (h *Handlers) SettingsPageHandler(c *gin.Context) {
|
||||
|
||||
c.HTML(http.StatusOK, "settings", gin.H{
|
||||
"app_name": h.config.AppName,
|
||||
"LoginAndEdits": h.config.LoginAndEdits,
|
||||
"notes_tree": notesTree,
|
||||
"active_path": []string{},
|
||||
"current_note": nil,
|
||||
|
||||
Reference in New Issue
Block a user