Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ClubCedille/hackqc2024
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine-BL committed Mar 17, 2024
2 parents e08c813 + a3c3366 commit 317c664
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
2 changes: 1 addition & 1 deletion k8s/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Kustomization
namespace: hackqc2024
images:
- name: ghcr.io/clubcedille/hackqc2024
newTag: commit-d70ee69ed5c59777bc294b6a4cc233d393ddc32b
newTag: commit-1407546ff1f2031a789c726760188f8e1124e5ce

resources:
- namespace.yaml
Expand Down
51 changes: 28 additions & 23 deletions templates/components/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@
}

.aa-Gray .aa-Label {
margin: 0 !important;
margin: 0 !important;
}

.aa-Gray .aa-Input {
margin: 0 !important;
height:100% !important;
height: 100% !important;
}

.aa-Gray .aa-InputWrapperSuffix {
Expand All @@ -75,7 +75,7 @@
}

.aa-Gray .aa-ClearIcon {
color: rgba(var(--aa-primary-color-rgb),1) !important;
color: rgba(var(--aa-primary-color-rgb), 1) !important;
}
</style>

Expand Down Expand Up @@ -149,13 +149,16 @@
</div>
</nav>
<div class="w3-sidebar w3-bar-block" style="width:70%;z-index: 99999;" x-show="mobile && sidebar">
<a href="/map" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile">Carte</a>
<a href="/grid" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile">Grille
évènement/aide</a>
<a href="/a-propos" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile">À propos</a>
<div class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile" x-data="{dropdown: false}">
<button class="w3-button munis-navbar-button w3-mobile w3-bar-item"
@click="dropdown = !dropdown">Modération</button>
<a href="/map"
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-margin-top w3-mobile"><b>Carte</b></a>
<a href="/grid" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile"><b>Grille
évènement/aide</b></a>
<a href="/a-propos" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile"><b>À
propos</b></a>
<div class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile w3-margin-bottom"
x-data="{dropdown: false}">
<button class="w3-button munis-navbar-button w3-mobile" style="padding: 0;"
@click="dropdown = !dropdown"><b>Modération</b></button>
<div x-show="dropdown">
<a href="/events/table"
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-mobile">Tableau
Expand All @@ -168,28 +171,30 @@
{{ if .ActiveSession }}
<form action="/logout" method="post" style="display: inline;">
<button type="submit"
class="w3-bar-item munis-navbar-item w3-margin-right w3-button munis-navbar-button w3-right w3-mobile">Se
déconnecter</button>
class="w3-bar-item munis-navbar-item w3-margin-right w3-button munis-navbar-button w3-right w3-mobile"><b>Se
déconnecter</b></button>
</form>
<a href="/manage-post"
class="w3-bar-item munis-navbar-item w3-margin-right w3-button munis-navbar-button w3-right w3-mobile">Bonjour,
{{ .UserName }} !</a>
{{ else if .SigningUp }}
<span class="w3-bar-item munis-navbar-item w3-right w3-mobile">Déjà inscrit ?</span>
<a href="/login"
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-margin-right w3-right w3-mobile">Se
connecter</a>
<span class="w3-bar-item munis-navbar-item w3-right w3-margin-right w3-mobile">Déjà inscrit ?</span>
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-right w3-mobile"><b>Se
connecter</b></a>
{{ else if .LoggingIn }}
<span class="w3-bar-item munis-navbar-item w3-right w3-mobile" style="padding: 0;">Pas encore de compte
?</span>
<a href="/create-account"
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-right w3-mobile">Créer un
compte</a>
<span class="w3-bar-item munis-navbar-item w3-right w3-margin-right w3-mobile">Pas encore de compte ?</span>
class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-right w3-mobile"><b>Créer un
compte</b></a>
{{ else }}
<a href="/login" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-right w3-mobile">Se
connecter</a>
<a href="/login" class="w3-bar-item munis-navbar-item w3-button munis-navbar-button w3-right w3-mobile"
style="padding: 0;"><b>Se
connecter</b></a>
<a href="/create-account"
class="w3-bar-item munis-navbar-item w3-margin-right w3-button munis-navbar-button w3-right w3-mobile">Créer
un compte</a>
class="w3-bar-item munis-navbar-item w3-margin-right w3-button munis-navbar-button w3-right w3-mobile"><b>Créer
un compte</b></a>
{{ end }}
</div>
</div>
Expand Down

0 comments on commit 317c664

Please sign in to comment.