diff --git a/crates/frontend/public/assets/style.css b/crates/frontend/public/assets/style.css index 2876913..c4dd3f8 100644 --- a/crates/frontend/public/assets/style.css +++ b/crates/frontend/public/assets/style.css @@ -1,7 +1,39 @@ body { font-family: sans-serif; + margin: 0; } * { box-sizing: border-box; } + +#app { + padding: 12px; +} + +header { + background: #EEE; + height: 80px; + font-weight: bold; + display: flex; + align-items: center; + padding: 12px; + font-size: 2em; + + a { + text-decoration: none; + color: black; + } + + + .logout_form { + margin-left: auto; + } +} + +.login_window { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} diff --git a/crates/frontend/public/templates/layouts/default.html b/crates/frontend/public/templates/layouts/default.html index 4467557..5514141 100644 --- a/crates/frontend/public/templates/layouts/default.html +++ b/crates/frontend/public/templates/layouts/default.html @@ -10,7 +10,15 @@ -
+ {% block header %} +
+ RustiCal +
+ +
+
+ {% endblock %} +
{% block content %}

Placeholder

{% endblock %}
diff --git a/crates/frontend/public/templates/pages/addressbook.html b/crates/frontend/public/templates/pages/addressbook.html index 9673939..95f3ee3 100644 --- a/crates/frontend/public/templates/pages/addressbook.html +++ b/crates/frontend/public/templates/pages/addressbook.html @@ -10,5 +10,4 @@
{{ addressbook|json }}
-Back {% endblock %} diff --git a/crates/frontend/public/templates/pages/calendar.html b/crates/frontend/public/templates/pages/calendar.html index d044145..c94f57b 100644 --- a/crates/frontend/public/templates/pages/calendar.html +++ b/crates/frontend/public/templates/pages/calendar.html @@ -9,6 +9,4 @@ {% if let Some(description) = calendar.description %}

{{ description }}

{% endif%}
{{ calendar|json }}
- -Back {% endblock %} diff --git a/crates/frontend/public/templates/pages/login.html b/crates/frontend/public/templates/pages/login.html index c2ef5a1..52c3d40 100644 --- a/crates/frontend/public/templates/pages/login.html +++ b/crates/frontend/public/templates/pages/login.html @@ -1,17 +1,22 @@ {% extends "layouts/default.html" %} {% block content %} -

Login

-
- - - - - -
-{% if let Some(OidcProviderData {name, redirect_url}) = oidc_data %} -Login with {{ name }} -{% endif %} +
+

Login

+
+ + +
+ + +
+ +
-{% endblock %} + {% if let Some(OidcProviderData {name, redirect_url}) = oidc_data %} + Login with {{ name }} + {% endif %} + + {% endblock %} +
diff --git a/crates/frontend/public/templates/pages/user.html b/crates/frontend/public/templates/pages/user.html index a392f96..480c41b 100644 --- a/crates/frontend/public/templates/pages/user.html +++ b/crates/frontend/public/templates/pages/user.html @@ -54,12 +54,22 @@ li.collection-list-item { }

Welcome {{ user.id }}!

-
- -

Profile

+
+ + +
+ +

Groups

+ + +

App tokens