Skip to content

Commit

Permalink
Merge pull request #111 from acmauth/103-powered-by-acm-footer-covers…
Browse files Browse the repository at this point in the history
…-login-button-when-writing-usernamepassword

Changed powered-by footer
  • Loading branch information
neron-png authored Mar 8, 2024
2 parents 6f5cc31 + 7702b7f commit f72697b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions src/lib/components/loginService/login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import Vector from "$lib/components/loginService/Vector.svg"
import Vector1 from "$lib/components/loginService/Vector(1).svg"
import Logo from "$lib/assets/Logo_head.png";
import { onMount } from 'svelte';
let username = '';
let password = '';
Expand Down Expand Up @@ -63,27 +61,23 @@
{/if}

<ion-button class="custom" on:click={submit} style="margin-bottom:20px; margin-top:20px;">ΕΙΣΟΔΟΣ</ion-button>
<ion-checkbox label-placement="start" style="margin-top: 5px; margin-bottom:15px" class="custom" checked="true">
<ion-checkbox label-placement="start" style="margin-top: 5px; margin-bottom:15px" class="custom" checked={true}>
<ion-label class="custom" style="font-size:small;">Διατήρηση σύνδεσης</ion-label>
</ion-checkbox>
</div>

<div class="footer">
<ion-title size="small" color="primary" style="padding-bottom: 10px; font-size: small;">Powered by <strong>ACM AUTH</strong></ion-title>
</div>

</ion-content>

<ion-footer>
<ion-title size="small" color="primary" style="padding-bottom: 15px; font-size: small;">Powered by <strong>ACM AUTH</strong></ion-title>
</ion-footer>

<style>
.footer {
ion-footer {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
position: absolute;
top: 95%;
width: 100%;
box-shadow: none;
}
ion-input.custom {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Handling the redirect to the homepage
onMount(async () => {
await delay(2000);
await delay(1000);
if (await judgeAuth()) {
await preFlightCache();
goto('pages/homepage');
Expand Down

0 comments on commit f72697b

Please sign in to comment.