π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Improve pages design
Smaug673953c05507128c
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vueindex ef889058..9ec28e2e 100644--- a/frontend/app/pages/(public)/login/index.vue+++ b/frontend/app/pages/(public)/login/index.vue@@ -140,10 +140,7 @@ input:-webkit-autofill:focus {text-align: center;color: var(--primary);text-decoration: none;-- &:hover {- text-decoration: underline;- }+ font-weight: 500;}.forgot-password-link {diff --git a/frontend/app/pages/(public)/login/request-reset.vue b/frontend/app/pages/(public)/login/request-reset.vueindex 56861d19..1b253c39 100644--- a/frontend/app/pages/(public)/login/request-reset.vue+++ b/frontend/app/pages/(public)/login/request-reset.vue@@ -1,17 +1,19 @@<template><div class="container"><AppHeader />- <form @submit.prevent="reset" class="body">- <h2>Request Password Reset</h2>- <div class="form-group">- <label for="username">Username</label>- <input type="username" id="username" v-model="username" :class="{ 'is-invalid': errors.username }" />- <p v-if="errors.username" class="invalid-feedback">{{ errors.username }}</p>- </div>- <button type="submit" class="btn">Request Reset</button>- <p class="sub"><NuxtLink to="/login">Return to login</NuxtLink></p>- <p class="forgot-password-link">Having issue ? <NuxtLink to="mailto:[email protected]">Contact us !</NuxtLink></p>- </form>+ <div class="body-container">+ <IconApp style="width: 120px" />+ <h1>Reset password</h1>+ <form @submit.prevent="reset">+ <div class="form-group">+ <label for="username">Username</label>+ <input type="username" id="username" v-model="username" :class="{ 'is-invalid': errors.username }" />+ <p v-if="errors.username" class="invalid-feedback">{{ errors.username }}</p>+ </div>+ <button type="submit" class="btn">Request Reset</button>+ <p class="issue">Having issue ? <NuxtLink to="mailto:[email protected]">Contact us !</NuxtLink></p>+ </form>+ </div><AppFooter /></div></template>@@ -34,31 +36,33 @@ async function reset() {}</script><style scoped lang="scss">-h2 {- margin-top: 0;- padding-top: 0;-}.container {- height: 100%;display: flex;flex-direction: column;justify-content: space-between;- flex-grow: 1;- padding-top: 1.5rem;width: 95%;margin: 0 auto;+ padding-top: 1.5rem;+ height: 100%;}-.body {+.body-container {display: flex;flex-direction: column;align-items: center;- margin: 0 auto;+ justify-content: center;+ max-width: 600px;+ width: 100%;+ margin: 0 auto 10%;+}++h1 {+ font-size: 2.5em;+}++/* ===== Formulaire ===== */+form {width: 100%;- max-width: 620px;- padding: 3rem;- background-color: var(--bg-contrast);- border-radius: 15px;}.form-group {@@ -72,7 +76,7 @@ h2 {font-size: 1.2rem;border-radius: 50px;width: 100%;- background-color: $primary-light;+ background-color: var(--primary);color: white;&:hover {background: $primary-dark;@@ -94,7 +98,7 @@ input {color: $red;}-.sub {+.issue {text-align: center;font-size: 14px;diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vueindex a6cf35ad..6d9a413e 100644--- a/frontend/app/pages/(public)/signup.vue+++ b/frontend/app/pages/(public)/signup.vue@@ -182,30 +182,13 @@ input:-webkit-autofill:focus {}/* ===== Liens ===== */-.signup-link {+.login-link {display: block;margin-bottom: 1rem;text-align: center;color: var(--primary);text-decoration: none;-- &:hover {- text-decoration: underline;- }-}--.login-link {- text-align: center;- font-size: 16px;font-weight: 500;- margin: 1rem 0;- a {- text-decoration: underline;-- &:hover {- text-decoration: none;- }- }}/* ===== Boutons ===== */