new menu, manage instutution reorganized
This commit is contained in:
parent
e1b1d194fd
commit
87f067b077
|
@ -130,14 +130,15 @@ table {
|
|||
border: 1px solid #ccc; }
|
||||
table th {
|
||||
background: #eee; }
|
||||
table input[type=submit] {
|
||||
font-size: 1rem;
|
||||
table input[type=submit], table a {
|
||||
font-size: 0.8rem;
|
||||
background: none;
|
||||
outline: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: #006CB7; }
|
||||
table input[type=submit]:hover {
|
||||
table input[type=submit]:hover, table a:hover {
|
||||
text-decoration: underline; }
|
||||
|
||||
/*# sourceMappingURL=slovenscina-admin.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;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,aA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AK,EDvFD,OAAO;ECwFX,aAAa,EAAC,IAAI;EAClB,oBAAgB;IACd,KAAK,EDnFD,OAAO;ECqFb,UAAI;IACF,QAAQ,EAAC,QAAQ;IACjB,GAAG,EAAC,OAAO;IACX,KAAK,EAAC,MAAM;EAEd,QAAE;IACA,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,MAAM;IACtB,eAAe,EAAE,MAAM;IACvB,WAAW,EAAE,MAAM;IACnB,MAAM,EAAC,IAAI;IACX,IAAI,EAAC,IAAI;IACT,GAAG,EAAE,CAAC;IACN,MAAM,EAAC,CAAC;IACR,cAAc,EAAE,SAAS;;AAI7B,aAAc;EACZ,UAAU,EAAC,KAAK;EAChB,MAAM,EAAE,iBAAsB;EAC9B,UAAU,EAAE,UAAU;EACtB,aAAa,EAAE,GAAG;EAClB,kBAAK;IACH,UAAU,EAAC,MAAM;IACjB,UAAU,ED/GN,OAAO;ICgHX,aAAa,EAAE,GAAG;;ACzHtB,aAAc;EACZ,UAAU,EAAE,MAAM;EAClB,UAAU,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,iCAAqB;IACnB,SAAS,EAAE,MAAM;IACjB,UAAU,EAAC,IAAI;IACf,OAAO,EAAC,IAAI;IACZ,MAAM,EAAC,IAAI;IACX,MAAM,EAAC,OAAO;IACd,eAAe,EAAE,IAAI;IACrB,KAAK,EFxBF,OAAO;IEyBV,6CAAQ;MACN,eAAe,EAAE,SAAS",
|
||||
"sources": ["slovenscina-theme.scss","slovenscina-elements.scss","slovenscina-admin.scss"],
|
||||
"names": [],
|
||||
"file": "slovenscina-admin.css"
|
||||
|
|
|
@ -17,12 +17,13 @@ table {
|
|||
th {
|
||||
background: #eee;
|
||||
}
|
||||
input[type=submit] {
|
||||
font-size: 1rem;
|
||||
input[type=submit],a {
|
||||
font-size: 0.8rem;
|
||||
background:none;
|
||||
outline:none;
|
||||
border:none;
|
||||
cursor:pointer;
|
||||
text-decoration: none;
|
||||
color:$blue;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
|
|
@ -46,8 +46,7 @@
|
|||
|
||||
<h1>TODO ime institucije</h1>
|
||||
<h3>Seznam uporabnikov v vaši instituciji</h3>
|
||||
<div class="tableFixHead">
|
||||
<table>
|
||||
<table class="tableFixHead">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Ime in priimek</th>
|
||||
|
@ -61,7 +60,20 @@
|
|||
<tr>
|
||||
<td>{{item.name}}</td>
|
||||
<td>{{item.email}}</td>
|
||||
<td>TODO: izpiši vlogo</td>
|
||||
<td>
|
||||
<div>
|
||||
TODO: izpiši vlogo <a href="javascript:void(0);" onclick="toggleEditForm(this)" class="toggle-edit-role">Spremeni</a>
|
||||
</div>
|
||||
<form action="../changeuserrole" method="post" style="display:none;">
|
||||
<input type="hidden" id="user-id" name="user-id" value="{{item.id}}"/>
|
||||
<select class="role">
|
||||
<option value="coordinator">Koordinator/-ka</option>
|
||||
<option value="mentor">Mentor/-ica</option>
|
||||
<option value="other">Druga vloga</option>
|
||||
</select>
|
||||
<input type="submit" value="Shrani"/>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<form action="../deluserfrominstitution" method="post">
|
||||
<input type="hidden" id="user_id" name="user_id" value="{{item.id}}">
|
||||
|
@ -76,3 +88,14 @@
|
|||
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
var toggleEditForm = function(el) {
|
||||
var td = el.closest("td");
|
||||
el.closest("div").style.display = "none";
|
||||
td.querySelector("form").style.display = "block";
|
||||
};
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user