aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
-rw-r--r--static/style.scss2
-rw-r--r--templates/nav.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 8237f90..15e7281 100644
--- a/main.go
+++ b/main.go
@@ -641,7 +641,7 @@ func main() {
//http.Handle("/docs/", http.StripPrefix("/docs/", http.FileServer(http.Dir("docs"))))
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
http.HandleFunc("/", index)
- http.HandleFunc("/createuser", createuser)
+ //http.HandleFunc("/createuser", createuser)
http.HandleFunc("/login", login)
http.HandleFunc("/logout", logout)
http.HandleFunc("/upload", upload)
diff --git a/static/style.scss b/static/style.scss
index 9bc4e57..3fb651a 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -44,7 +44,7 @@ ul.navloggedadmin {
padding-right: 5px;
padding-left: 5px;
width: 150px;*/
- width: 50%;
+ width: 100%;
height: 100%;
text-align: center;
background: lightgrey;
diff --git a/templates/nav.html b/templates/nav.html
index f8e7b7f..daf061c 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -4,7 +4,7 @@
<!--<li><a href="/admin">Admin</a></li>
<li><a href="/">Accueil</a></li>-->
<li><a href="/login">Se connecter</a></li>
- <li><a href="/createuser">Créer un compte</a></li>
+ <!--<li><a href="/createuser">Créer un compte</a></li>-->
</ul>
</nav>
{{end}}