diff --git a/static/css/header.css b/static/css/header.css index a266f1a..31f588d 100644 --- a/static/css/header.css +++ b/static/css/header.css @@ -168,7 +168,58 @@ h1.title { p.subtitle { font-size: 14px; - line-height: 150%; + line-height: 150%; margin-top: 0.5rem; } +/* Style The Dropdown Button */ +.dropbtn { + color: white; + line-height: 4rem; + border: none; + cursor: pointer; + background: none; + padding: 0 1rem; } + .dropbtn img { + position: relative; + top: 0.75rem; } + +/* The container
- needed to position the dropdown content */ +.dropdown { + margin-right: 1rem; + float: right; + display: inline-block; + position: relative; } + +/* Dropdown Content (Hidden by Default) */ +.dropdown-content { + display: none; + position: absolute; + right: 0; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + z-index: 1; } + +/* Links inside the dropdown */ +.dropdown-content a { + color: #848C90; + padding: 0.5rem 1rem; + text-decoration: none; + display: block; } + .dropdown-content a:hover { + background-color: #f1f1f1; + cursor: pointer; } +.dropdown-content hr { + margin-top: 0; + margin-bottom: 0; + border-top: 1px solid #B6BEC3; } + +/* Show the dropdown menu on hover */ +.dropdown:hover .dropdown-content { + display: block; } + +/* Change the background color of the dropdown button when the dropdown content is shown */ +.dropdown:hover .dropbtn { + background: rgba(0, 0, 0, 0.2); } + /*# sourceMappingURL=header.css.map */ diff --git a/static/css/header.css.map b/static/css/header.css.map index 0cfd0ae..bc67828 100644 --- a/static/css/header.css.map +++ b/static/css/header.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,E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AAO,EAAE,KAAK;;AAGhB,2FAA2F;AAC3F,wBAAyB;EACvB,UAAU,EAAC,kBAAe", "sources": ["slovenscina-theme.scss","slovenscina-elements.scss","header.scss"], "names": [], "file": "header.css" diff --git a/static/css/header.scss b/static/css/header.scss index 27a6777..2950cb3 100644 --- a/static/css/header.scss +++ b/static/css/header.scss @@ -67,4 +67,68 @@ p.subtitle { font-size: 14px; line-height: 150%; margin-top:0.5rem; +} + + +/* Style The Dropdown Button */ +.dropbtn { + color: white; + line-height:4rem; + border: none; + cursor: pointer; + background:none; + padding:0 1rem; + img { + position:relative; + top:0.75rem; + } +} + +/* The container
- needed to position the dropdown content */ +.dropdown { + margin-right:1rem; + float:right; + display: inline-block; + position:relative; +} + +/* Dropdown Content (Hidden by Default) */ +.dropdown-content { + display: none; + position: absolute; + right:0; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; +} + +/* Links inside the dropdown */ +.dropdown-content { + a { + color: $grey-dark; + padding: 0.5rem 1rem; + text-decoration: none; + display: block; + &:hover { + background-color: #f1f1f1; + cursor:pointer; + } + } + hr { + margin-top:0; + margin-bottom:0; + border-top: 1px solid $grey-border; + } +} + + +/* Show the dropdown menu on hover */ +.dropdown:hover .dropdown-content { + display: block; +} + +/* Change the background color of the dropdown button when the dropdown content is shown */ +.dropdown:hover .dropbtn { + background:rgba(0,0,0,0.2); } \ No newline at end of file diff --git a/static/css/slovenscina-admin.css b/static/css/slovenscina-admin.css new file mode 100644 index 0000000..cedb4cb --- /dev/null +++ b/static/css/slovenscina-admin.css @@ -0,0 +1,143 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,900,900italic,300italic,300,100italic,100); +html { + font-family: 'Roboto', sans-serif; + font-size: 16px; + color: #46535B; } + +body { + font-size: 16px; + padding: 0; + margin: 0; } + +h1 { + font-size: 30px; + font-style: normal; + font-weight: 300; + line-height: 35px; + color: #006CB7; } + +h2 { + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: 21px; + text-transform: uppercase; + color: #006CB7; } + +h3 { + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: 21px; } + +em { + font-weight: 300; } + +.btn { + border: none; + line-height: 2.5rem; + padding: 0 2.5rem; + color: white; + background: #006CB7; + border-radius: 20px; + font-size: 1.125rem; + font-weight: 400; + cursor: pointer; + transition: opacity 0.3s ease-out; } + .btn:hover { + opacity: 0.8; } + .btn:disabled { + cursor: default; + opacity: 0.5; } + +.panel { + background: #F5F5F5; + padding: 40px 60px; + border-radius: 20px; + max-width: 30rem; } + .panel .panel-logo { + position: absolute; + top: -60px; + left: 0; + right: 0; + display: block; + margin: auto; + background: #F5F5F5; + padding: 20px 30px; + width: 100px; + border-radius: 100%; + text-align: center; } + +.line { + background: #C4C4C4; + height: 2px; + width: 200px; + margin: auto; } + +.a-right { + display: block; + text-align: right; + font-size: 10px; + text-decoration: none; + color: #006CB7; + text-transform: uppercase; } + +.alert { + position: relative; + color: #8D3D3D; + margin-bottom: 2rem; } + .alert.alert-success { + color: #88B52F; } + .alert img { + position: relative; + top: 0.25rem; + width: 1.8rem; } + .alert p { + position: absolute; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + height: 2rem; + left: 3rem; + top: 0; + margin: 0; + text-transform: uppercase; } + +.submit-alert { + background: white; + border: 2px solid #B7DB70; + box-sizing: border-box; + border-radius: 8px; } + .submit-alert .btn { + margin-top: 0.5rem; + background: #88B52F; + border-radius: 4px; } + +.tableFixHead { + overflow-y: scroll; + max-height: 306px; } + +.tableFixHead thead th { + position: sticky; + top: 0; } + +table { + border-collapse: collapse; + width: 100%; } + table th, table td { + padding: 8px 16px; + border: 1px solid #ccc; } + table th { + background: #eee; } + table input[type=submit] { + font-size: 1rem; + background: none; + outline: none; + border: none; + cursor: pointer; + color: #006CB7; } + table input[type=submit]:hover { + text-decoration: underline; } + +/*# sourceMappingURL=slovenscina-admin.css.map */ diff --git a/static/css/slovenscina-admin.css.map b/static/css/slovenscina-admin.css.map new file mode 100644 index 0000000..9d375fe --- /dev/null +++ b/static/css/slovenscina-admin.css.map @@ -0,0 +1,7 @@ +{ +"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;EACD,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,GAAG;EAChB,WAAW,EAAE,IAAI;EACjB,cAAc,EAAE,SAAS;EACzB,KAAK,EDbA,OAAO;;ACgBd,EAAG;EACD,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,GAAG;EAChB,WAAW,EAAE,IAAI;;AAGnB,EAAG;EACD,WAAW,EAAE,GAAG;;AAGlB,IAAK;EACH,MAAM,EAAC,IAAI;EACX,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAC,KAAK;EACX,UAAU,EDhCL,OAAO;ECiCZ,aAAa,EAAE,IAAI;EACnB,SAAS,EAAE,QAAQ;EACnB,WAAW,EAAE,GAAG;EAChB,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,qBAAqB;EACjC,UAAQ;IACN,OAAO,EAAE,GAAG;EAEd,aAAW;IACT,MAAM,EAAC,OAAO;IACd,OAAO,EAAC,GAAG;;AAMf,MAAO;EACL,UAAU,ED5CJ,OAAO;EC6Cb,OAAO,EAAE,SAAS;EAClB,aAAa,EAAE,IAAI;EACnB,SAAS,EAAC,KAAK;EACf,kBAAY;IACV,QAAQ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AAU,EAAE,KAAK;;AAEnB,sBAAuB;EACrB,QAAQ,EAAE,MAAM;EAChB,GAAG,EAAE,CAAC;;AAER,KAAM;EACJ,eAAe,EAAE,QAAQ;EACzB,KAAK,EAAE,IAAI;EACX,kBAAM;IACJ,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,cAAc;EAExB,QAAG;IACD,UAAU,EAAE,IAAI;EAElB,wBAAmB;IACjB,SAAS,EAAE,IAAI;IACf,UAAU,EAAC,IAAI;IACf,OAAO,EAAC,IAAI;IACZ,MAAM,EAAC,IAAI;IACX,MAAM,EAAC,OAAO;IACd,KAAK,EFvBF,OAAO;IEwBV,8BAAQ;MACN,eAAe,EAAE,SAAS", +"sources": ["slovenscina-theme.scss","slovenscina-elements.scss","slovenscina-admin.scss"], +"names": [], +"file": "slovenscina-admin.css" +} \ No newline at end of file diff --git a/static/css/slovenscina-admin.scss b/static/css/slovenscina-admin.scss new file mode 100644 index 0000000..339975a --- /dev/null +++ b/static/css/slovenscina-admin.scss @@ -0,0 +1,32 @@ +@import "slovenscina-elements.scss"; +.tableFixHead { + overflow-y: scroll; + max-height: 306px; +} +.tableFixHead thead th { + position: sticky; + top: 0; +} +table { + border-collapse: collapse; + width: 100%; + th,td { + padding: 8px 16px; + border: 1px solid #ccc; + } + th { + background: #eee; + } + input[type=submit] { + font-size: 1rem; + background:none; + outline:none; + border:none; + cursor:pointer; + color:$blue; + &:hover { + text-decoration: underline; + } + } +} + diff --git a/static/image/menu.svg b/static/image/menu.svg new file mode 100644 index 0000000..078e319 --- /dev/null +++ b/static/image/menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/templates/solar-admin.html b/templates/solar-admin.html index c7ed7ac..023b314 100644 --- a/templates/solar-admin.html +++ b/templates/solar-admin.html @@ -36,16 +36,25 @@
-
@@ -155,6 +164,7 @@ Email Institucija Vloga v instituciji + Akcije @@ -165,16 +175,17 @@ {{item[0].email}} {{item[1].institution}} {{item[1].role}} + +
+ + +
+ {% endfor %}
-

Aktiviraj uporabnika

-
- -
- -
+

Institucije

Dodaj institucijo

diff --git a/templates/solar-manage-institution.html b/templates/solar-manage-institution.html index 5d6492d..309a051 100644 --- a/templates/solar-manage-institution.html +++ b/templates/solar-manage-institution.html @@ -6,84 +6,73 @@ + - + +
-
{% with messages = get_flashed_messages() %} {% if messages %} -
+
{{ messages[0] }}
{% endif %} {% endwith %} +

TODO ime institucije

Seznam uporabnikov v vaši instituciji

- + + {% for item in institution_users %} - + + {% endfor %}
ID Ime in priimek EmailVlogaAkcije
{{item.id}} {{item.name}} {{item.email}}TODO: izpiši vlogo +
+ + +
+

-

Odstrani uporabnika iz institucije

-
- -
- -
-
+
diff --git a/templates/solar-oddaja.html b/templates/solar-oddaja.html index eb0bdd9..12420d8 100644 --- a/templates/solar-oddaja.html +++ b/templates/solar-oddaja.html @@ -11,15 +11,25 @@
-
diff --git a/templates/solar-pogodbe.html b/templates/solar-pogodbe.html index 3660129..efd331e 100644 --- a/templates/solar-pogodbe.html +++ b/templates/solar-pogodbe.html @@ -11,15 +11,25 @@
-
diff --git a/templates/solar-zgodovina.html b/templates/solar-zgodovina.html index 2c6dc10..ce7b343 100644 --- a/templates/solar-zgodovina.html +++ b/templates/solar-zgodovina.html @@ -13,15 +13,25 @@
-