Merge branch 'main' into feature/documents-dropdown
Un conflit était là parce que le h2 a été changé à un summary; Il va falloir ajouter une section au CSS pour summary
This commit is contained in:
commit
413a001460
11 changed files with 61 additions and 28 deletions
|
@ -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
0
public/fonts/.gitkeep
Normal 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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue