diff --git a/server/config/general.toml b/server/config/general.toml new file mode 100644 index 0000000..53c2032 --- /dev/null +++ b/server/config/general.toml @@ -0,0 +1,12 @@ +[general] +listen_ip = "0.0.0.0" +listen_port = 80 + +[backends.local] +path = "/var/tmp/test" + +[auth] +enable_registration = true + +[smtp] +# TODO: diff --git a/server/templates/auth/login.html.hbs b/server/templates/auth/login.html.hbs new file mode 100644 index 0000000..b2f9f39 --- /dev/null +++ b/server/templates/auth/login.html.hbs @@ -0,0 +1,57 @@ +{{#> layouts/default body-class="has-background-white-ter login-bg" }} +

+
+

storage-app

+
+

Login

+
+
+ +
+ + + + +
+ {{!--

This username is available

--}} +
+
+ +
+ + + + +
+ {{!--

This username is available

--}} +
+
+
+ +
+
+
+
+ + {{#if sso_enabled}} + Login with SSO + {{/if}} +
+
+
+ Forgot password? +
+
+
+ +
+
+
+
+
+{{/layouts/default}} \ No newline at end of file diff --git a/server/templates/layouts/default.html.hbs b/server/templates/layouts/default.html.hbs new file mode 100644 index 0000000..45a8500 --- /dev/null +++ b/server/templates/layouts/default.html.hbs @@ -0,0 +1,20 @@ + + + + + + + + storage-app + + + + + + + + + + {{> @partial-block }} + +