diff --git a/filed/static/assets/alert.css b/filed/static/assets/alert.css index 6228e95..55bc69d 100644 --- a/filed/static/assets/alert.css +++ b/filed/static/assets/alert.css @@ -20,4 +20,8 @@ .alert.danger .alert-title { background: #602020; +} + +.alert.blue .alert-title { + background: #203050; } \ No newline at end of file diff --git a/filed/templates/index.html b/filed/templates/index.html index 794e74f..bba9521 100644 --- a/filed/templates/index.html +++ b/filed/templates/index.html @@ -114,6 +114,24 @@

{%- else -%} + + {%- if let Some(pass) = conf.files.upload_pass -%} +
+

+ Upload password +

+
+

This instance requires a password to upload a file.

+

+ +

+
+
+ {%- endif -%} +