Ajouter routes /admin et /admin/documents/upload
This commit is contained in:
parent
2bfa133349
commit
a1146d182f
3 changed files with 38 additions and 1 deletions
14
public/html/admin-upload.gohtml
Normal file
14
public/html/admin-upload.gohtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "admin-upload-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Upload</h1>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
17
public/html/admin.gohtml
Normal file
17
public/html/admin.gohtml
Normal file
|
@ -0,0 +1,17 @@
|
|||
{{ define "admin-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM</title>
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<h1>Admin</h1>
|
||||
<ul>
|
||||
<li><a href="/admin/documents/upload">Ajout de document</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue