Merge branch leon-redesign
This commit is contained in:
commit
fe1285d455
|
@ -785,8 +785,8 @@ def send_resetpass_mail(email, config):
|
||||||
body = '''
|
body = '''
|
||||||
Zahtevali ste ponastavitev gesla vašega uporabniškega računa.
|
Zahtevali ste ponastavitev gesla vašega uporabniškega računa.
|
||||||
|
|
||||||
Geslo lahko ponastavite na naslednji povezavi: https://zbiranje.slovenscina.eu/solar/resetpass/{}'''.format(jwt_token)
|
Geslo lahko ponastavite na naslednji povezavi: http://proc1.cjvt.si:5000/resetpass/{}'''.format(jwt_token)
|
||||||
|
logging.info(body)
|
||||||
message = MIMEMultipart()
|
message = MIMEMultipart()
|
||||||
message['From'] = config['MAIL_LOGIN']
|
message['From'] = config['MAIL_LOGIN']
|
||||||
message['To'] = email
|
message['To'] = email
|
||||||
|
|
|
@ -148,7 +148,8 @@ em {
|
||||||
background: white;
|
background: white;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
position: relative; }
|
position: relative;
|
||||||
|
margin-bottom: 1rem; }
|
||||||
.team-item .team-item-name {
|
.team-item .team-item-name {
|
||||||
line-height: 3.25rem; }
|
line-height: 3.25rem; }
|
||||||
.team-item .team-item-collaborations {
|
.team-item .team-item-collaborations {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"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,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AiB;MACf,OAAO,EAAC,KAAK;MACb,cAAc,EAAE,SAAS;MACzB,SAAS,EAAE,QAAQ;MACnB,WAAW,EAAE,OAAO",
|
||||||
"sources": ["slovenscina-theme.scss","slovenscina-elements.scss","contracts.scss"],
|
"sources": ["slovenscina-theme.scss","slovenscina-elements.scss","contracts.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "contracts.css"
|
"file": "contracts.css"
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
width:100%;
|
width:100%;
|
||||||
padding-left:1rem;
|
padding-left:1rem;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
margin-bottom:1rem;
|
||||||
.team-item-name {
|
.team-item-name {
|
||||||
line-height:3.25rem;
|
line-height:3.25rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,8 @@ em {
|
||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
transition: max-height 1s ease-out;
|
transition: max-height 1s ease-out;
|
||||||
cursor: pointer; }
|
cursor: pointer;
|
||||||
|
overflow: hidden; }
|
||||||
.history-item .history-item-chevron {
|
.history-item .history-item-chevron {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"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;EAC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AQ;QACjB,KAAK,EAAC,MAAM;QACZ,MAAM,EAAC,MAAM;QACb,IAAI,EAAC,CAAC;QACN,GAAG,EAAC,IAAI;MAEV,4DAAW;QACT,QAAQ,EAAC,QAAQ;QACjB,IAAI,EAAC,IAAI;QACT,GAAG,EAAC,IAAI;QACR,KAAK,EFrEL,OAAO;QEsEP,eAAe,EAAE,IAAI;QACrB,MAAM,EAAC,OAAO;QACd,kEAAQ;UACN,eAAe,EAAE,SAAS;EAKlC,kBAAO;IACL,UAAU,EAAE,KAAK;IACjB,qCAAmB;MAAC,OAAO,EAAC,KAAK;IACjC,yCAAuB;MACrB,OAAO,EAAC,KAAK;MACb,YAAY,EAAC,CAAC;MACd,WAAW,EAAC,CAAC;MACb,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"],
|
"sources": ["slovenscina-theme.scss","slovenscina-elements.scss","history.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "history.css"
|
"file": "history.css"
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
position:relative;
|
position:relative;
|
||||||
transition: max-height 1s ease-out;
|
transition: max-height 1s ease-out;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
|
overflow:hidden;
|
||||||
.history-item-chevron {
|
.history-item-chevron {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:1rem;
|
bottom:1rem;
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
</form>
|
</form>
|
||||||
{% with messages = get_flashed_messages() %}
|
{% with messages = get_flashed_messages() %}
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
<div class="alert">
|
<div class="alert alert-success">
|
||||||
<img src="../static/image/alert.svg" alt="alert"/>
|
<img src="../static/image/success.svg" alt="alert"/>
|
||||||
<p>{{ messages[0] }}</p>
|
<p>{{ messages[0] }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -21,11 +21,18 @@
|
||||||
<h1 class="m-b-3">Prijava</h1>
|
<h1 class="m-b-3">Prijava</h1>
|
||||||
{% with messages = get_flashed_messages() %}
|
{% with messages = get_flashed_messages() %}
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
|
{% if "potrditev" in messages[0] or "uspešna" in messages[0] %}
|
||||||
|
<div class="alert alert-success">
|
||||||
|
<img src="../static/image/success.svg" alt="alert"/>
|
||||||
|
<p>{{ messages[0] }}</p>
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
<div class="alert">
|
<div class="alert">
|
||||||
<img src="../static/image/alert.svg" alt="alert"/>
|
<img src="../static/image/alert.svg" alt="alert"/>
|
||||||
<p>{{ messages[0] }}</p>
|
<p>{{ messages[0] }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<div>
|
<div>
|
||||||
<form method="POST" action="../login" class="m-b-2">
|
<form method="POST" action="../login" class="m-b-2">
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<h1 class="title">Korpus Šolar</h1>
|
<h1 class="title">Korpus Šolar</h1>
|
||||||
<p class="subtitle">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.</p>
|
<p class="subtitle" style="width:60%">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.</p>
|
||||||
|
|
||||||
|
|
||||||
<div class="tab-nav">
|
<div class="tab-nav">
|
||||||
|
@ -237,7 +237,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<p>Oddate lahko eno ali (hkrati) več besedil, ki ustrezajo izbranim podatkom. Sprejemljivi formati so: txt, doc, docx, pdf, jpg in png.</p>
|
<p>Oddate lahko eno ali (hkrati) več besedil, ki ustrezajo izbranim podatkom. Sprejemljivi formati so: txt, csv, pdf, doc, docx, xls, xlsx, ppt, pptx, jpg, jpeg, png.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@
|
||||||
paramName: "file", // The name that will be used to transfer the file
|
paramName: "file", // The name that will be used to transfer the file
|
||||||
maxFilesize: 1000, // MB
|
maxFilesize: 1000, // MB
|
||||||
timeout: 5000000, // milliseconds
|
timeout: 5000000, // milliseconds
|
||||||
acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .jpg, .jpeg, .png, .mkv",
|
acceptedFiles: ".txt, .csv, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .jpg, .jpeg, .png",
|
||||||
maxFiles: 20,
|
maxFiles: 20,
|
||||||
previewsContainer: "#dropzone-previews",
|
previewsContainer: "#dropzone-previews",
|
||||||
dictDefaultMessage: "Kliknite to polje ali povlecite datoteke vanj.",
|
dictDefaultMessage: "Kliknite to polje ali povlecite datoteke vanj.",
|
||||||
|
|
|
@ -177,8 +177,19 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>-->
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<h2>Število oddaj na uporabnika</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-6">
|
||||||
|
<div id="my_dataviz">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>-->
|
||||||
|
|
||||||
|
|
||||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
|
||||||
|
@ -341,7 +352,83 @@
|
||||||
</div>#}-->
|
</div>#}-->
|
||||||
</body>
|
</body>
|
||||||
<script src="https://d3js.org/d3.v6.js"></script>
|
<script src="https://d3js.org/d3.v6.js"></script>
|
||||||
|
<style>
|
||||||
|
#my_dataviz .tick line{
|
||||||
|
visibility:hidden;
|
||||||
|
}
|
||||||
|
#my_dataviz path.domain{
|
||||||
|
visibility:hidden;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script>
|
<script>
|
||||||
|
// set the dimensions and margins of the graph
|
||||||
|
|
||||||
|
|
||||||
|
// append the svg object to the body of the page
|
||||||
|
|
||||||
|
var data;
|
||||||
|
// Parse the Data
|
||||||
|
d3.json("/topuploads-by-user/").then(function(jsondata) {
|
||||||
|
if(Object.keys(jsondata).length < 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
data = [];
|
||||||
|
console.log(Object.keys(jsondata).length);
|
||||||
|
var margin = {top: 20, right: 0, bottom: 40, left: 0};
|
||||||
|
var width = document.getElementById("my_dataviz").clientWidth - margin.left - margin.right;
|
||||||
|
var height = Object.keys(jsondata).length * 56;
|
||||||
|
var svg = d3.select("#my_dataviz")
|
||||||
|
.append("svg")
|
||||||
|
.attr("width", width + margin.left + margin.right)
|
||||||
|
.attr("height", height + margin.top + margin.bottom)
|
||||||
|
.style("overflow","visible")
|
||||||
|
.append("g")
|
||||||
|
.attr("transform",
|
||||||
|
"translate(" + margin.left + "," + margin.top + ")");
|
||||||
|
for(var key in jsondata) {
|
||||||
|
data.push({'name': key, 'value':jsondata[key]});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
console.log(data);
|
||||||
|
|
||||||
|
// Add X axis
|
||||||
|
var x = d3.scaleLinear()
|
||||||
|
.domain([0,d3.max(data, function (d) { return d.value})])
|
||||||
|
.range([ 0, width]);
|
||||||
|
svg.append("g")
|
||||||
|
.attr("transform", "translate(0," + height + ")")
|
||||||
|
.call(d3.axisBottom(x))
|
||||||
|
.selectAll("text")
|
||||||
|
.style("text-anchor", "center");
|
||||||
|
|
||||||
|
// Y axis
|
||||||
|
var y = d3.scaleBand()
|
||||||
|
.range([ 0, data.length*56 ])
|
||||||
|
.domain(data.map(function(d) { return d.name; }))
|
||||||
|
.padding(0);
|
||||||
|
svg.append("g")
|
||||||
|
.call(d3.axisLeft(y))
|
||||||
|
.selectAll("text")
|
||||||
|
.style("text-anchor", "start")
|
||||||
|
.style("font-size", "14px")
|
||||||
|
.attr("transform", "translate(8,-36)");
|
||||||
|
|
||||||
|
//Bars
|
||||||
|
svg.selectAll("myRect")
|
||||||
|
.data(data)
|
||||||
|
.enter()
|
||||||
|
.append("rect")
|
||||||
|
.attr("x", x(0) )
|
||||||
|
.attr("y", function(d) { return y(d.name); })
|
||||||
|
.attr("width", function(d) { return x(d.value); })
|
||||||
|
.attr("height", 32 )
|
||||||
|
.attr("fill", "#006CB7");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -20,6 +20,14 @@
|
||||||
<div class="text-center m-b-3"><em>Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje v pedagoški naziv.</em></div>
|
<div class="text-center m-b-3"><em>Zbiranje besedil za korpus Šolar poteka po naslednjem postopku, ki prinaša tudi točke za napredovanje v pedagoški naziv.</em></div>
|
||||||
|
|
||||||
<h1 class="m-b-3">Registracija</h1>
|
<h1 class="m-b-3">Registracija</h1>
|
||||||
|
{% with messages = get_flashed_messages() %}
|
||||||
|
{% if messages %}
|
||||||
|
<div class="alert">
|
||||||
|
<img src="../static/image/alert.svg" alt="alert"/>
|
||||||
|
<p>{{ messages[0] }}</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
<div>
|
<div>
|
||||||
<form method="POST" action="../register" class="m-b-2">
|
<form method="POST" action="../register" class="m-b-2">
|
||||||
<div class="input-wrapper">
|
<div class="input-wrapper">
|
||||||
|
@ -64,14 +72,7 @@
|
||||||
<button class="btn" style="margin-left: 46px;">REGISTRACIJA</button>
|
<button class="btn" style="margin-left: 46px;">REGISTRACIJA</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% with messages = get_flashed_messages() %}
|
|
||||||
{% if messages %}
|
|
||||||
<div class="alert">
|
|
||||||
<img src="../static/image/alert.svg" alt="alert"/>
|
|
||||||
<p>{{ messages[0] }}</p>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endwith %}
|
|
||||||
<div class="back-to-login">
|
<div class="back-to-login">
|
||||||
<img src="../static/image/chevron-left.svg"/>
|
<img src="../static/image/chevron-left.svg"/>
|
||||||
<a href="../login">Nazaj na prijavo</a>
|
<a href="../login">Nazaj na prijavo</a>
|
||||||
|
|
|
@ -55,23 +55,23 @@
|
||||||
"PTI" : "Poklicno-tehnično izobraževanje (PTI)"
|
"PTI" : "Poklicno-tehnično izobraževanje (PTI)"
|
||||||
}%}
|
}%}
|
||||||
{% set map_subject = {
|
{% set map_subject = {
|
||||||
"slo" : "Slovenščina",
|
"SLO" : "Slovenščina",
|
||||||
"drug-jez" : "Drugi jezikoslovni predmeti",
|
"DJP" : "Drugi jezikoslovni predmeti",
|
||||||
"drug-druz" : "Drugi družboslovni predmeti",
|
"DDP" : "Drugi družboslovni predmeti",
|
||||||
"drug-narav" : "Drugi naravoslovni predmeti",
|
"DNP" : "Drugi naravoslovni predmeti",
|
||||||
"drug-strok" : "Drugi strokovni predmeti",
|
"DSP" : "Drugi strokovni predmeti",
|
||||||
"drug-izb" : "Drugi izbirni ali dodatni predmeti",
|
"DIP" : "Drugi izbirni ali dodatni predmeti",
|
||||||
}%}
|
}%}
|
||||||
{% set map_text_type = {
|
{% set map_text_type = {
|
||||||
"esej-spis" : "Esej ali spis",
|
"E" : "Esej ali spis",
|
||||||
"prakticno" : "Praktično besedilo, napisano za oceno",
|
"PB" : "Praktično besedilo, napisano za oceno",
|
||||||
"solski-test" : "Šolski test",
|
"T" : "Šolski test",
|
||||||
"delo-v-razredu" : "Delo v razredu, ne za oceno",
|
"R" : "Delo v razredu, ne za oceno",
|
||||||
}%}
|
}%}
|
||||||
{% set map_grammar_corrections = {
|
{% set map_grammar_corrections = {
|
||||||
"popr-ne" : "Besedilo vsebuje učiteljske popravke",
|
"DD" : "Besedilo vsebuje učiteljske popravke",
|
||||||
"brez-popr" : "Besedilo ne vsebuje učiteljskih popravkov",
|
"N" : "Besedilo ne vsebuje učiteljskih popravkov",
|
||||||
"popr-da" : "Besedilo vsebuje učiteljske popravke in ne strinjam se z njihovo vključitvijo v korpus",
|
"DN" : "Besedilo vsebuje učiteljske popravke in ne strinjam se z njihovo vključitvijo v korpus",
|
||||||
}%}
|
}%}
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
<div class="history-item-filecount">Št. datotek: {{ item.upload_file_hashes|length }}</div>
|
<div class="history-item-filecount">Št. datotek: {{ item.upload_file_hashes|length }}</div>
|
||||||
<div class="history-item-chevron"><img src="../static/image/chevron-down.svg"/></div>
|
<div class="history-item-chevron"><img src="../static/image/chevron-down.svg"/></div>
|
||||||
<div class="history-item-desc">
|
<div class="history-item-desc">
|
||||||
{{ item_values | join(" | ") }}
|
{{ item_values | join(" | ") |truncate(120) }}
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6" style="margin:0">
|
<div class="col-6" style="margin:0">
|
||||||
|
@ -129,10 +129,16 @@
|
||||||
{% for f_name in item.upload_file_names %}
|
{% for f_name in item.upload_file_names %}
|
||||||
<div class="file-item">
|
<div class="file-item">
|
||||||
<div class="file-icon"><img src="../static/image/file.svg"/></div>
|
<div class="file-icon"><img src="../static/image/file.svg"/></div>
|
||||||
<a href="getuploadfile/{{item.id}}/{{item.upload_file_hashes[loop.index - 1]}}" class="file-name">{{f_name}}</a>
|
<a href="getuploadfile/{{item.id}}/{{item.upload_file_hashes[loop.index - 1]}}" class="file-name" {% if item.upload_file_codes != None %}download="{{item.upload_file_codes[loop.index - 1]}}.{{f_name.split('.')[1]}}"{%endif%}>
|
||||||
|
{% if item.upload_file_codes != None %}
|
||||||
|
{{item.upload_file_codes[loop.index - 1]}}.{{f_name.split('.')[1]}}
|
||||||
|
{%else%}
|
||||||
|
{{f_name}}
|
||||||
|
{% endif %}
|
||||||
|
</a>
|
||||||
</br>
|
</br>
|
||||||
{% if item.upload_file_codes != None %}
|
{% if item.upload_file_codes != None %}
|
||||||
<div>{{item.upload_file_codes[loop.index - 1]}}</div>
|
<!--<div>{{item.upload_file_codes[loop.index - 1]}}</div>-->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user