diff --git a/public/css/admin-upload.css b/public/css/admin-upload.css new file mode 100644 index 0000000..3b821dd --- /dev/null +++ b/public/css/admin-upload.css @@ -0,0 +1,116 @@ +.adminUploadForm { + font-family: 'Poppins'; + display: flex; + flex-flow: column; + align-items: center; +} + +.formContent { + display: flex; + flex-flow: column; + +} + +.formSelectDiv { + display: flex; + flex-flow: column; + margin: 20px; +} + +.formLabel { + font-family: 'Poppins'; + font-size: 0.875rem; + font-weight: 600; + margin: 0; + padding-top: 10px; + padding-bottom: 10px; + color: #394596; +} + +.formSelect { + font-family: 'Poppins'; + font-size: 0.875rem; + font-weight: 400; + border: 1px #C4C4C4 solid; + padding: 10px; + +} + +/*La flèche de l'élément*/ +.formSelect:after { + color: #000 +} + +.formOption { + font-family: 'Poppins'; + font-size: 0.875rem; + font-weight: 400; + margin-top: 5px; + margin-bottom: 5px; +} + +.formOption:hover { + background-color: #C4C4C4; +} + +.formDocUploadDiv { + display: flex; + flex-flow: column; + margin: 20px; +} + +.formDocUpload { + font-family: 'Poppins'; + font-size: 0.875rem; + font-weight: 500; +} + +.formDocUpload::file-selector-button { + font-family: 'Poppins'; + font-size: 0.875rem; + font-weight: 400; + background-color: #FF563C; + padding: 7px; + color: #fff; + border: none; + cursor: pointer; + margin-right: 15px; +} + +.formSubmit { + font-family: 'Poppins'; + font-size: 1rem; + font-weight: 500; + background-color: #FF563C; + padding: 10px; + color: #fff; + border: none; + cursor: pointer; + margin: 20px; +} + +.confirmationMessage { + font-family: 'Poppins'; + font-size: 0.75rem; + font-weight: 500; + text-align: center; + margin: 10px; + padding: 5px; + background-color: #C4C4C4; +} + +@media screen and (min-width: 768px) { + .formContent { + display: flex; + flex-flow: row; + } +} + +@media screen and (min-width: 1140px) { + .confirmationMessage { + font-size: 1rem; + font-weight: 500; + margin: 20px; + padding: 10px; + } +} \ No newline at end of file diff --git a/public/css/admin.css b/public/css/admin.css new file mode 100644 index 0000000..b29ec16 --- /dev/null +++ b/public/css/admin.css @@ -0,0 +1,17 @@ +.adminOptions { + display: flex; + flex-flow: row wrap; + justify-content: space-around; + +} + +.adminOption { + font-family: 'Poppins'; + font-size: 1rem; + font-weight: 500; + background-color: #FF563C; + padding: 10px; + color: #fff; + border: none; + cursor: pointer; +} \ No newline at end of file diff --git a/templates/html/admin-upload.gohtml b/templates/html/admin-upload.gohtml index f7f7440..aee3a6c 100644 --- a/templates/html/admin-upload.gohtml +++ b/templates/html/admin-upload.gohtml @@ -5,24 +5,31 @@ AGECEM {{ template "general-html" }} + {{ template "header-html" }} -

Upload

-
- - -
- Document: -
-
- -
-

{{ .Message }}

+
+

Ajouter un document

+
+
+
+

Document à téléverser

+ +
+
+ + +
+
+ +
+

{{ .Message }}

+
{{ end }} diff --git a/templates/html/admin.gohtml b/templates/html/admin.gohtml index edcf8c4..c424ee4 100644 --- a/templates/html/admin.gohtml +++ b/templates/html/admin.gohtml @@ -5,13 +5,16 @@ AGECEM {{ template "general-html" }} + {{ template "header-html" }} -

Admin

- +
+

Admin

+
+
+
{{ end }}