diff --git a/assets/public/css/styles.css b/assets/public/css/styles.css index d5b00602..530f6743 100644 --- a/assets/public/css/styles.css +++ b/assets/public/css/styles.css @@ -328,7 +328,7 @@ header p i { header #logout { background-color: rgba(0,0,0,0.1); border-radius: 0; - margin: -0.5em; + margin: -0.5em -0.5em -0.5em 0; padding: .5em; } header p i { diff --git a/assets/templates/base.tmpl b/assets/templates/base.tmpl index 47a18270..40adb3a0 100644 --- a/assets/templates/base.tmpl +++ b/assets/templates/base.tmpl @@ -18,59 +18,61 @@ {{ end }} - -
-
- {{ $lnk := .PreviousLink }} - {{ if ne $lnk ""}} - - - {{ else }} - - {{ end }} -

- - {{ if .Config.HugoEnabled }}Hugo{{ else }}File Manager{{ end }} - - {{ if ne .Name "/"}} - chevron_right - {{ .Name }}

- {{ end }} -
-
+ +
+
+ {{ $lnk := .PreviousLink }} + {{ if ne $lnk ""}} + + + + {{ else }} + + {{ end }} +

+ + {{ if .Config.HugoEnabled }}Hugo{{ else }}File Manager{{ end }} + + {{ if ne .Name "/"}} + chevron_right + {{ .Name }}

+ {{ end }} +
+ +
{{ if .IsDir}} - -
- view_headline -
-
- file_upload -
- {{ else }} - {{ template "actions" . }} +
+ search + +
+
+ view_headline +
+
+ file_upload +
+ {{ else }} + {{ template "actions" . }} {{ end }} {{ if .Config.HugoEnabled }} - - -
- settings -
-
+ + +
+ settings +
+
{{ end }}
- exit_to_app + exit_to_app
-
-
+
+
{{ if .IsDir }}
@@ -89,6 +91,7 @@ {{ end }}
+ {{ .Path }} {{ template "content" .Data }}