Separated ŠOLAR from other portals.

This commit is contained in:
msinkec
2021-10-12 11:11:37 +02:00
parent 7d9d2b175c
commit cead80ed79
16 changed files with 803 additions and 1317 deletions

View File

@@ -18,12 +18,12 @@
<link rel="stylesheet" href="/static/style.css" type="text/css">
</head>
<body>
<a href="/solar/logout">Odjavi se</a>
<a href="../logout">Odjavi se</a>
{% if is_institution_coordinator %}
<br><a href="/solar/manage-institution">Upravljaj z institucijo</a>
<br><a href="../manage-institution">Upravljaj z institucijo</a>
{% endif %}
{% if is_admin %}
<br><a href="/solar/admin">Administracijski meni</a>
<br><a href="../admin">Administracijski meni</a>
{% endif %}
<br><a href="mailto:email@example.com">Pomoč</a>
<div class="bg"></div>
@@ -161,7 +161,7 @@
const reEmail = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
Dropzone.options.myDropzone = { // The camelized version of the ID of the form element
url: "/solar/upload",
url: "../upload",
autoProcessQueue: false,
uploadMultiple: true,
parallelUploads: 20,
@@ -266,13 +266,13 @@
btnZgodovina.addEventListener("click", function(e) {
e.preventDefault();
e.stopPropagation();
window.location.replace("/solar/zgodovina");
window.location.replace("../zgodovina");
});
btnPogodbe.addEventListener("click", function(e) {
e.preventDefault();
e.stopPropagation();
window.location.replace("/solar/pogodbe");
window.location.replace("../pogodbe");
});
// Enable final submit button only if user scrolls to the end of the terms.