From adf85012638a9971e13ee88d7ff57dba6a1e0d0a Mon Sep 17 00:00:00 2001 From: Leon Noe Jovan Date: Mon, 13 Dec 2021 21:01:28 +0100 Subject: [PATCH] review fixes --- static/css/form.css | 13 ++- static/css/form.css.map | 2 +- static/css/form.scss | 14 ++- static/css/history.css | 11 ++- static/css/history.css.map | 2 +- static/css/history.scss | 14 ++- static/image/chevron-down.svg | 3 + static/image/trash.svg | 6 ++ templates/solar-login.html | 2 +- templates/solar-manage-institution.html | 2 +- templates/solar-oddaja.html | 42 ++++----- templates/solar-pogodbe.html | 109 ++++++++++++------------ templates/solar-register.html | 2 +- templates/solar-zgodovina.html | 17 ++-- 14 files changed, 142 insertions(+), 97 deletions(-) create mode 100644 static/image/chevron-down.svg create mode 100644 static/image/trash.svg diff --git a/static/css/form.css b/static/css/form.css index 3c044b7..5da4ec6 100644 --- a/static/css/form.css +++ b/static/css/form.css @@ -165,7 +165,7 @@ em { position: absolute; left: 1rem; top: 1rem; - background: url("/static/image/file.svg"); + background: url(/static/image/file.svg); background-repeat: no-repeat; background-position: center; width: 2rem; @@ -183,7 +183,7 @@ em { .form-wrapper .dz-preview.dz-file-preview .dz-details .dz-size { position: absolute; top: 1.5rem; - right: 1rem; } + right: 2.5rem; } .form-wrapper .dz-preview.dz-file-preview .dz-success-mark, .form-wrapper .dz-preview.dz-file-preview .dz-error-mark { display: none; } .form-wrapper .dz-preview.dz-file-preview .dz-progress { @@ -197,5 +197,14 @@ em { height: 20px; display: inline-block; background: #006CB7; } + .form-wrapper .dz-preview.dz-file-preview .dz-remove { + position: absolute; + top: 1.5rem; + right: 1rem; + width: 1rem; + height: 1rem; + background: url(/static/image/trash.svg); + background-repeat: no-repeat; + background-position: center; } /*# sourceMappingURL=form.css.map */ diff --git a/static/css/form.css.map b/static/css/form.css.map index e6b5a9b..cd630fa 100644 --- a/static/css/form.css.map +++ b/static/css/form.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAQ,+IAAuI;AAa/I,IA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jB,UAAU,EAAC,KAAK;IAChB,MAAM,EAAC,MAAM;IACb,UAAU,EAAC,IAAI;IACf,mDAAU;MACR,QAAQ,EAAC,QAAQ;MACjB,IAAI,EAAC,IAAI;MACT,GAAG,EAAC,IAAI;MACR,UAAU,EAAE,2BAA2B;MACvC,iBAAiB,EAAE,SAAS;MAC5B,mBAAmB,EAAE,MAAM;MAC3B,KAAK,EAAC,IAAI;MACV,MAAM,EAAC,IAAI;MACX,uDAAI;QACF,OAAO,EAAE,IAAI;IAIf,kEAAa;MACX,QAAQ,EAAC,QAAQ;MACjB,GAAG,EAAC,MAAM;MACV,IAAI,EAAC,IAAI;MACT,KAAK,EAAC,GAAG;MACT,WAAW,EAAE,MAAM;MACnB,QAAQ,EAAE,MAAM;MAChB,aAAa,EAAE,QAAQ;IAEzB,8DAAS;MACP,QAAQ,EAAC,QAAQ;MACjB,GAAG,EAAC,MAAM;MACV,KAAK,EAAC,MAAM;IAIhB,oHAAgC;MAAC,OAAO,EAAC,IAAI;IAC7C,sDAAa;MACX,QAAQ,EAAC,QAAQ;MACjB,IAAI,EAAC,GAAG;MACR,GAAG,EAAE,MAAM;MACX,KAAK,EAAC,GAAG;MACT,aAAa,EAAE,IAAI;MACnB,QAAQ,EAAE,MAAM;MAChB,iEAAW;QACT,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,YAAY;QACrB,UAAU,EFjGX,OAAO;IEoGV,oDAAW;MACT,QAAQ,EAAC,QAAQ;MACjB,GAAG,EAAC,MAAM;MACV,KAAK,EAAC,IAAI;MACV,KAAK,EAAC,IAAI;MACV,MAAM,EAAC,IAAI;MACX,UAAU,EAAE,4BAA4B;MACxC,iBAAiB,EAAE,SAAS;MAC5B,mBAAmB,EAAE,MAAM", "sources": ["slovenscina-theme.scss","slovenscina-elements.scss","form.scss"], "names": [], "file": "form.css" diff --git a/static/css/form.scss b/static/css/form.scss index a5e2675..4a7826f 100644 --- a/static/css/form.scss +++ b/static/css/form.scss @@ -60,7 +60,7 @@ position:absolute; left:1rem; top:1rem; - background: url("/static/image/file.svg"); + background: url(/static/image/file.svg); background-repeat: no-repeat; background-position: center; width:2rem; @@ -82,7 +82,7 @@ .dz-size { position:absolute; top:1.5rem; - right:1rem; + right:2.5rem; } } @@ -100,5 +100,15 @@ background:$blue; } } + .dz-remove { + position:absolute; + top:1.5rem; + right:1rem; + width:1rem; + height:1rem; + background: url(/static/image/trash.svg); + background-repeat: no-repeat; + background-position: center; + } } } \ No newline at end of file diff --git a/static/css/history.css b/static/css/history.css index 86ddd7b..7c4a834 100644 --- a/static/css/history.css +++ b/static/css/history.css @@ -118,7 +118,12 @@ em { max-height: 2.875rem; padding: 1rem 1.5rem; position: relative; - transition: max-height 0.3s ease-out; } + transition: max-height 1s ease-out; + cursor: pointer; } + .history-item .history-item-chevron { + position: absolute; + bottom: 1rem; + right: 1rem; } .history-item .history-item-date { text-transform: uppercase; display: inline-block; @@ -171,7 +176,7 @@ em { left: 3rem; top: 1rem; } .history-item.open { - max-height: 100rem; } + max-height: 20rem; } .history-item.open .history-item-date { display: block; } .history-item.open .history-item-uploader { @@ -185,5 +190,7 @@ em { display: block; } .history-item.open .history-item-files-full { display: block; } + .history-item.open .history-item-chevron { + transform: rotate(180deg); } /*# sourceMappingURL=history.css.map */ diff --git a/static/css/history.css.map b/static/css/history.css.map index f30facb..3381061 100644 --- a/static/css/history.css.map +++ b/static/css/history.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAQ,+IAAuI;AAa/I,IAAK;EACH,WAAW,EAAE,oBAAoB;EACjC,SAAS,EAAC,IAAI;EACd,KAAK,EAZC,OAAO;;AAef,IAAK;EACH,SAAS,EAAC,IAAI;EACd,OAAO,EAAC,CAAC;EACT,MAAM,EAAC,CAAC;;ACpBV,EAAG;EACD,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,GAAG;EAChB,WAAW,EAAE,IAAI;EACjB,KAAK,EDLA,OAAO;;ACOd,EAAG;E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ACb,WAAW,EAAE,IAAI;IAEnB,qCAAmB;MACjB,OAAO,EAAE,IAAI;IAEf,0CAAwB;MACtB,OAAO,EAAE,KAAK;IAEhB,2CAAyB;MACvB,OAAO,EAAE,KAAK;IAEhB,wCAAsB;MACpB,SAAS,EAAC,cAAc", "sources": ["slovenscina-theme.scss","slovenscina-elements.scss","history.scss"], "names": [], "file": "history.css" diff --git a/static/css/history.scss b/static/css/history.scss index 5f3f0a1..26673af 100644 --- a/static/css/history.scss +++ b/static/css/history.scss @@ -6,8 +6,13 @@ max-height:2.875rem; padding:1rem 1.5rem; position:relative; - transition: max-height 0.3s ease-out; - + transition: max-height 1s ease-out; + cursor:pointer; + .history-item-chevron { + position:absolute; + bottom:1rem; + right:1rem; + } .history-item-date { text-transform: uppercase; display: inline-block; @@ -69,7 +74,7 @@ } } &.open { - max-height: 100rem; + max-height: 20rem; .history-item-date {display:block;} .history-item-uploader { display:block; @@ -86,5 +91,8 @@ .history-item-files-full { display: block; } + .history-item-chevron { + transform:rotate(180deg); + } } } \ No newline at end of file diff --git a/static/image/chevron-down.svg b/static/image/chevron-down.svg new file mode 100644 index 0000000..7aed7e8 --- /dev/null +++ b/static/image/chevron-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/image/trash.svg b/static/image/trash.svg new file mode 100644 index 0000000..136908a --- /dev/null +++ b/static/image/trash.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/templates/solar-login.html b/templates/solar-login.html index 11900f9..c01e8e0 100644 --- a/templates/solar-login.html +++ b/templates/solar-login.html @@ -16,7 +16,7 @@

Korpus ŠOLAR

-
Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.
+
Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje v pedagoški naziv.

Prijava

{% with messages = get_flashed_messages() %} diff --git a/templates/solar-manage-institution.html b/templates/solar-manage-institution.html index b4da1d5..88d51a7 100644 --- a/templates/solar-manage-institution.html +++ b/templates/solar-manage-institution.html @@ -45,7 +45,7 @@ Administracijski meni {% endif %} Oddaja - Pomoč + Več informacij
diff --git a/templates/solar-oddaja.html b/templates/solar-oddaja.html index f198a65..8858ef4 100644 --- a/templates/solar-oddaja.html +++ b/templates/solar-oddaja.html @@ -19,20 +19,20 @@ {% if is_admin %} Administracijski meni {% endif %} - Pomoč + Več informacij
-

Koprus SOLAR

-

Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.

+

Korpus SOLAR

+

Prosimo, določite podatke o besedilih, ki jih želite oddati, in nato naložite besedila. Če oddajate besedila, ki so nastala v različnih razredih, se razlikujejo glede učiteljskih popravkov in podobno, jih oddajte v ločenih paketih.

@@ -78,7 +78,7 @@
-

lalala

+

@@ -96,7 +96,7 @@
-

lalala

+

@@ -108,7 +108,7 @@
-

lalala

+

@@ -130,7 +130,7 @@
-

lalala

+

@@ -147,7 +147,7 @@
-

lalala

+

@@ -159,7 +159,7 @@
-

lalala

+

@@ -174,7 +174,7 @@
-

lalala

+

@@ -190,7 +190,7 @@
-

lalala

+

@@ -210,7 +210,7 @@
-

lalala

+

Oddate lahko eno ali (hkrati) več besedil, ki ustrezajo izbranim podatkom. Sprejemljivi formati so: txt, doc, docx, pdf, jpg in png.

@@ -232,7 +232,7 @@
-

Prosimo, preverite in potrdite vnešene podatke.

+

Prosimo, preverite, če so vneseni podatki ustrezni in besedila prava. Naknadno spreminjanje ne bo več mogoče.

@@ -315,17 +315,17 @@ acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .jpg, .jpeg, .png, .mkv", maxFiles: 20, previewsContainer: "#dropzone-previews", - dictDefaultMessage: "Kliknite ali odložite datoteke sem.", + dictDefaultMessage: "Kliknite to polje ali povlecite datoteke vanj.", dictFallbackMessage: "Vaš brskalnik ne podpira izbiranje datotek z odlaganjem (\"drag & drop\").", dictInvalidFileType: "Datoteka je napačnega formata.", dictFileTooBig: "Datoteke je prevelika {{filesize}}. Največja dovoljena velikost: {{maxFilesize}}MiB.", dictResponseError: "Napaka strežnika: {{statusCode}}", dictMaxFilesExceeded: "Ne morete naložiti več datotek.", - dictCancelUpload: "Prekini prenos", - dictRemoveFile: "Odstrani datoteko", + dictCancelUpload: "", + dictRemoveFile: "", dictCancelUploadConfirmation: "Ali res želite odstraniti to datoteko?", dictUploadCanceled: "Prenos prekinjen", - + addRemoveLinks: true, // The setting up of the dropzone init: function() { var dz = this; @@ -357,7 +357,7 @@ } else { // Hand off data to dropzone - dz.processQueue(); + //dz.processQueue(); // Clear fields and hide popup agian dataConfirmNotification.style.display = "none"; diff --git a/templates/solar-pogodbe.html b/templates/solar-pogodbe.html index 69ee45e..dbe93dd 100644 --- a/templates/solar-pogodbe.html +++ b/templates/solar-pogodbe.html @@ -19,75 +19,76 @@ {% if is_admin %} Administracijski meni {% endif %} - Pomoč + Več informacij
-

Koprus SOLAR

-

Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.

+

Korpus SOLAR

+

- -
-
-

Oddaj pogodbo

-
-
- {% if show_upload_form %} -
+ +
@@ -173,7 +174,7 @@ {% if is_admin %}
Administracijski meni {% endif %} -
Pomoč +
Več informacij
diff --git a/templates/solar-register.html b/templates/solar-register.html index 7540eb2..ab90c82 100644 --- a/templates/solar-register.html +++ b/templates/solar-register.html @@ -17,7 +17,7 @@

Korpus ŠOLAR

-
Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.
+
Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje v pedagoški naziv.

Registracija

diff --git a/templates/solar-zgodovina.html b/templates/solar-zgodovina.html index b16fac9..6f4bf06 100644 --- a/templates/solar-zgodovina.html +++ b/templates/solar-zgodovina.html @@ -21,29 +21,29 @@ {% if is_admin %} Administracijski meni {% endif %} - Pomoč + Več informacij
-

Koprus SOLAR

-

Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje.

+

Korpus SOLAR

+

-
+ {% set map_program = { "OS" : "Osnovna šola (OŠ)", "SSG" : "Splošna in strokovna gimnazija (SGG)", @@ -111,6 +111,7 @@
Dodano {{ item.timestamp.strftime('%d. %m. %Y') }}
{{ uploader_names[loop.index - 1] }}
Št. datotek: {{ item.upload_file_hashes|length }}
+
{{ item_values | join(" | ") }}