Remplacer types de documents h2 -> details #79

Merged
vlbeaudoin merged 2 commits from feature/documents-dropdown into main 2023-07-25 14:34:24 -04:00
11 changed files with 61 additions and 28 deletions
Showing only changes of commit 413a001460 - Show all commits

View file

@ -1,3 +1,36 @@
h1 {
.header {
width: 100%;
}
.headerMenu {
font-family: Poppins;
font-weight: 400; /*regular*/
font-size: 1.25rem; /*20px*/
color: #000; /*Noir pur*/
display: flex;
flex-flow: row;
justify-content: space-around;
align-items: center;
}
.headerMenuElement:hover {
border-bottom: 5px #FF563C solid; /*Orange Highlight*/
cursor: pointer;
}
.heading1 {
font-family: Poppins;
font-weight: 600; /*semi-bold*/
font-size: 6rem; /*96px*/
color: #394596; /*Bleu AGECEM*/
text-align: center; text-align: center;
} }
.heading2 {
font-family: Poppins;
font-weight: 600; /*semi-bold*/
font-size: 1.5rem; /*24px*/
color: #394596; /*Bleu AGECEM*/
text-align: center;
}

0
public/fonts/.gitkeep Normal file
View file

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>À propos</h1> <h1 class="heading1">À propos</h1>
</body> </body>
</html> </html>
{{ end }} {{ end }}

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Actualité</h1> <h1 class="heading1">Actualité</h1>
</body> </body>
</html> </html>
{{ end }} {{ end }}

View file

@ -8,19 +8,19 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Upload</h1> <h1 class="heading1">Upload</h1>
<form action="/admin/documents/upload" method="post" enctype="multipart/form-data"> <form class="form adminUploadForm" action="/admin/documents/upload" method="post" enctype="multipart/form-data">
<label for="bucket">Type de document:</label> <label class="formLabel" for="bucket">Type de document:</label>
<select name="bucket" id="bucket"> <select class="formSelect" name="bucket" id="bucket">
<option value="proces-verbaux">Procès verbaux</option> <option class="formOption" value="proces-verbaux">Procès verbaux</option>
<option value="politiques-et-reglements">Politiques et Règlements</option> <option class="formOption" value="politiques-et-reglements">Politiques et Règlements</option>
</select> </select>
<br> <br>
Document: <input type="file" name="document"> Document: <input class="formDocUpload" type="file" name="document">
<br> <br>
<br> <br>
<input type="submit" value="Submit"> <input class="formSubmit" type="submit" value="Submit">
</form> </form>
<p>{{ .Message }}</p> <p>{{ .Message }}</p>
</body> </body>

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Admin</h1> <h1 class="heading1">Admin</h1>
<ul> <ul>
<li><a href="/admin/documents/upload">Ajout de document</a></li> <li><a href="/admin/documents/upload">Ajout de document</a></li>
</ul> </ul>

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Documentation</h1> <h1 class="heading1">Documentation</h1>
<p> <p>
{{ range . }} {{ range . }}
{{ $bucket_name := .Name }} {{ $bucket_name := .Name }}

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Formulaires</h1> <h1 class="heading1">Formulaires</h1>
</body> </body>
</html> </html>
{{ end }} {{ end }}

View file

@ -1,16 +1,16 @@
{{ define "header-html" }} {{ define "header-html" }}
<ul> <div class="header">
<li><a href="/">index</a></li> <ul class="headerMenu">
<li><a href="/a-propos">À propos</a></li> <li class="headerMenuElement"><a href="/">index</a></li>
<li><a href="/actualite">Actualité</a></li> <li class="headerMenuElement"><a href="/a-propos">À propos</a></li>
<li><a href="/vie-etudiante">Vie étudiante</a></li> <li class="headerMenuElement"><a href="/actualite">Actualité</a></li>
<li><a href="/documentation">Documentation</a></li> <li class="headerMenuElement"><a href="/vie-etudiante">Vie étudiante</a></li>
<li><a href="/formulaires">Formulaires</a></li> <li class="headerMenuElement"><a href="/documentation">Documentation</a></li>
</ul> <li class="headerMenuElement"><a href="/formulaires">Formulaires</a></li>
<li class="headerMenuElement"><a href="/admin">admin</a></li>
</ul>
</div>
<ul>
<li><a href="/admin">admin</a></li>
</ul>
{{ end }} {{ end }}

View file

@ -9,7 +9,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Association Générale Étudiante du Cégep Édouard-Montpetit</h1> <h1 class="heading1">Association Générale Étudiante du Cégep Édouard-Montpetit</h1>
</body> </body>
</html> </html>
{{ end }} {{ end }}

View file

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1>Vie étudiante</h1> <h1 class="heading1">Vie étudiante</h1>
</body> </body>
</html> </html>
{{ end }} {{ end }}