diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index 0ecd729..e67c50d 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -27,7 +27,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.035 + image: git.baumann.gr/adebaumann/labhelper:0.036 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/labhelper/templates/base.html b/labhelper/templates/base.html index 2d9ad59..1ff4fc0 100644 --- a/labhelper/templates/base.html +++ b/labhelper/templates/base.html @@ -69,7 +69,8 @@ gap: 8px; } - .navbar-nav a:hover { + .navbar-nav a:hover, + .navbar-nav button:hover { background: #667eea; color: white; transform: translateY(-2px); @@ -230,9 +231,14 @@ Search Admin {% if user.is_authenticated %} - Logout ({{ user.username }}) +
+ {% csrf_token %} + +
{% else %} - Login + Login {% endif %}