2021-05-24 08:15:54 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< title > Portal za oddajanje besedil< / title >
2022-11-06 12:51:12 +00:00
<!-- <link rel="stylesheet" href="{{ROUTE_PREFIX}}/static/style.css" type="text/css"> -->
< script src = "{{ROUTE_PREFIX}}/static/chart.js" > < / script >
2023-01-14 12:45:33 +00:00
< link rel = "icon" href = "/static/favicon.ico" type = "image/x-icon" >
< link rel = "icon" href = "static/favicon.svg" sizes = "any" type = "image/svg+xml" >
2022-11-06 12:51:12 +00:00
< link rel = "stylesheet" href = "{{ROUTE_PREFIX}}/static/css/header.css" type = "text/css" >
< link rel = "stylesheet" href = "{{ROUTE_PREFIX}}/static/css/form.css" type = "text/css" >
< link rel = "stylesheet" href = "{{ROUTE_PREFIX}}/static/css/simple-grid.css" type = "text/css" >
< link rel = "stylesheet" href = "{{ROUTE_PREFIX}}/static/css/history.css" type = "text/css" >
2023-01-17 18:09:18 +00:00
< link rel = "stylesheet" href = "{{ROUTE_PREFIX}}/static/css/footer.css" type = "text/css" >
2021-05-24 08:15:54 +00:00
< / head >
< body >
2021-11-16 17:45:20 +00:00
< header >
2022-11-06 12:51:12 +00:00
< div class = "logo" > < a href = "{{ROUTE_PREFIX}}/" > < img src = "{{ROUTE_PREFIX}}/static/image/logo-white.svg" / > < / a > < / div >
2022-02-14 20:56:10 +00:00
< div class = "menu-items" >
{% if is_institution_coordinator %}
2023-01-14 12:45:33 +00:00
< a href = "{{ROUTE_PREFIX}}/manage-institution" > Upravljaj z ekipo< / a >
2022-02-14 20:56:10 +00:00
{% endif %}
{% if is_admin %}
2022-11-06 12:51:12 +00:00
< a href = "{{ROUTE_PREFIX}}/admin" > Administracijski meni< / a >
2022-02-14 20:56:10 +00:00
{% endif %}
2023-01-21 17:02:16 +00:00
< a href = "https://rsdo.slovenscina.eu/zbiranje-besedil-za-korpus-solar" target = "_blank" > Več informacij o sodelovanju< / a >
2023-02-21 19:07:40 +00:00
< a href = "/about" > O orodju< / a >
2022-11-06 12:51:12 +00:00
< a href = "{{ROUTE_PREFIX}}/logout" > Odjava< / a >
2021-12-04 17:49:20 +00:00
< / div >
2021-11-16 17:45:20 +00:00
< / header >
< div class = "container" style = "margin-top:8rem;" >
< div class = "row" >
< div class = "col-12" >
2021-12-15 20:23:26 +00:00
< h1 class = "title" > Korpus Šolar< / h1 >
2021-12-13 20:01:28 +00:00
< p class = "subtitle" > < / p >
2021-11-16 17:45:20 +00:00
< div class = "tab-nav" >
2022-11-06 12:51:12 +00:00
< a href = "{{ROUTE_PREFIX}}/oddaja" > Oddaja besedil< / a >
< a href = "{{ROUTE_PREFIX}}/zgodovina" class = "active" > Zgodovina sodelovanja< / a >
< a href = "{{ROUTE_PREFIX}}/pogodbe" > Ekipa< / a >
2021-11-16 17:45:20 +00:00
< / div >
< / div >
< / div >
2021-12-13 20:01:28 +00:00
<!-- <div class="row">
2021-11-16 17:45:20 +00:00
< div class = "col-12" >
< h2 > Zgodovina naloženih datotek< / h2 >
< / div >
2021-12-13 20:01:28 +00:00
< / div > -->
2021-11-26 12:50:32 +00:00
{% set map_program = {
2022-01-23 21:28:21 +00:00
"OS" : "Osnovna šola",
"SSG" : "Splošna in strokovna gimnazija",
"MGP" : "Mednarodni gimnazijski programi",
"ZG" : "Zasebne gimnazije",
"NPI" : "Nižje poklicno izobraževanje",
"SPI" : "Srednje poklicno izobraževanje",
"SSI" : "Srednje strokovno izobraževanje",
"PTI" : "Poklicno-tehnično izobraževanje"
2021-11-26 12:50:32 +00:00
}%}
{% set map_subject = {
2022-01-05 18:33:43 +00:00
"SLO" : "Slovenščina",
"DJP" : "Drugi jezikoslovni predmeti",
"DDP" : "Drugi družboslovni predmeti",
"DNP" : "Drugi naravoslovni predmeti",
"DSP" : "Drugi strokovni predmeti",
"DIP" : "Drugi izbirni ali dodatni predmeti",
2021-11-26 12:50:32 +00:00
}%}
{% set map_text_type = {
2022-01-05 18:33:43 +00:00
"E" : "Esej ali spis",
"PB" : "Praktično besedilo, napisano za oceno",
"T" : "Šolski test",
"R" : "Delo v razredu, ne za oceno",
2021-11-26 12:50:32 +00:00
}%}
{% set map_grammar_corrections = {
2022-01-05 18:33:43 +00:00
"DD" : "Besedilo vsebuje učiteljske popravke",
"N" : "Besedilo ne vsebuje učiteljskih popravkov",
"DN" : "Besedilo vsebuje učiteljske popravke in ne strinjam se z njihovo vključitvijo v korpus",
2021-11-26 12:50:32 +00:00
}%}
2022-01-23 21:15:56 +00:00
{% set map_regions = {
"CE" : "Celje",
"GO" : "Nova Gorica",
"KK" : "Krško",
"KP" : "Koper",
"KR" : "Kranj",
"LJ" : "Ljubljana",
"MB" : "Maribor",
"MS" : "Murska Sobota",
"NM" : "Novo Mesto",
"PO" : "Postojna",
"SG" : "Slovenj Gradec",
}%}
2021-11-26 12:50:32 +00:00
2022-02-14 16:37:41 +00:00
{% if upload_history|length == 0 %}
< div class = "row" >
< div class = "col-6" >
< p > Zgodovina sodelovanja je trenutno še prazna.< / p >
< / div >
< / div >
{% endif %}
2021-11-16 17:45:20 +00:00
{% for item in upload_history %}
2021-11-26 12:50:32 +00:00
{% set item_values = [] %}
{% if institution_names[loop.index - 1] %}
{% set item_values = item_values + [institution_names[loop.index - 1]] %}
{% endif %}
2022-01-23 21:15:56 +00:00
{% if item.region %}
{% set item_values = item_values + [map_regions[item.region]] %}
{% endif %}
2021-11-26 12:50:32 +00:00
{% if item.program %}
{% set item_values = item_values + [map_program[item.program]] %}
{% endif %}
{% if item.subject %}
{% set item_values = item_values + [map_subject[item.subject]] %}
{% endif %}
{% if item.subject_custom %}
{% set item_values = item_values + [item.subject_custom] %}
{% endif %}
{% if item.grade %}
{% set item_values = item_values + [item.grade ~ ". razred"] %}
{% endif %}
{% if item.text_type %}
{% set item_values = item_values + [map_text_type[item.text_type]] %}
{% endif %}
{% if item.text_type_custom %}
{% set item_values = item_values + [item.text_type_custom] %}
{% endif %}
{% if item.school_year %}
{% set item_values = item_values + ['20' ~ item.school_year | replace("-", "/")] %}
{% endif %}
{% if item.grammar_corrections %}
{% set item_values = item_values + [map_grammar_corrections[item.grammar_corrections]] %}
{% endif %}
2021-11-16 17:45:20 +00:00
< div class = "row" >
< div class = "col-12" >
< div class = "history-item" >
< div class = "history-item-date" > Dodano {{ item.timestamp.strftime('%d. %m. %Y') }}< / div >
< div class = "history-item-uploader" > {{ uploader_names[loop.index - 1] }}< / div >
< div class = "history-item-filecount" > Št. datotek: {{ item.upload_file_hashes|length }}< / div >
2022-11-06 12:51:12 +00:00
< div class = "history-item-chevron" > < img src = "{{ROUTE_PREFIX}}/static/image/chevron-down.svg" / > < / div >
2021-11-16 17:45:20 +00:00
< div class = "history-item-desc" >
2022-01-05 18:33:43 +00:00
{{ item_values | join(" | ") |truncate(120) }}
2021-11-26 12:50:32 +00:00
< / div >
2021-12-04 17:49:20 +00:00
< div class = "row" >
< div class = "col-6" style = "margin:0" >
< div class = "history-item-desc-full" >
{% for v in item_values %}
{{v}}< br >
{% endfor %}
< / div >
< / div >
< div class = "col-6" style = "margin:0" >
< div class = "history-item-files-full" >
2021-12-14 14:36:36 +00:00
{% if item.upload_file_names != None %}
{% for f_name in item.upload_file_names %}
2021-12-04 17:49:20 +00:00
< div class = "file-item" >
2022-11-06 12:51:12 +00:00
< div class = "file-icon" > < img src = "{{ROUTE_PREFIX}}/static/image/file.svg" / > < / div >
2022-01-05 18:33:43 +00:00
< 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 >
2021-12-20 10:15:01 +00:00
< / br >
{% if item.upload_file_codes != None %}
2022-01-05 18:33:43 +00:00
<!-- <div>{{item.upload_file_codes[loop.index - 1]}}</div> -->
2021-12-20 10:15:01 +00:00
{% endif %}
2021-12-04 17:49:20 +00:00
< / div >
{% endfor %}
2021-12-14 14:36:36 +00:00
{% else %}
{% for f_hash in item.upload_file_hashes %}
< div class = "file-item" >
2022-11-06 12:51:12 +00:00
< div class = "file-icon" > < img src = "{{ROUTE_PREFIX}}/static/image/file.svg" / > < / div >
2021-12-14 14:36:36 +00:00
< a href = "getuploadfile/{{item.id}}/{{f_hash}}" class = "file-name" > {{f_hash}}< / a >
< / div >
{% endfor %}
{% endif %}
2021-12-04 17:49:20 +00:00
< / div >
< / div >
2021-11-16 17:45:20 +00:00
< / div >
2021-12-04 17:49:20 +00:00
2021-11-16 17:45:20 +00:00
< / div >
< / div >
< / div >
{% endfor %}
< / div >
2022-01-08 15:25:25 +00:00
< br / > < br / > < br / > < br / > < br / > < br / > < br / >
2021-11-16 17:45:20 +00:00
2023-01-17 18:09:18 +00:00
< footer >
< div class = "container" >
< div class = "row" >
< div class = "col-6" >
< p class = "mb-3.5 font-medium text-sm" > slovenščina.eu< / p >
< ul class = "text-sm font-light gap-3.5 grid md:grid-cols-2 links-grid" >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/prevajalnik" > Prevajalnik< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/razpoznavalnik" > Razpoznavalnik< / a > < / li >
< li > < a class = "hover:text-primary" href = "http://terminoloski.slovenscina.eu" > Terminološki portal< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/prepoznavanje-imenskih-entitet" > Prepoznavanje imenskih entitet< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/ekstrakcija-povezav" > Ekstrakcija povezav< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/odkrivanje-koreferencnosti" > Odkrivanje koreferenčnosti< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/povzemanje" > Povzemanje< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/odgovarjanje-na-vprasanja" > Odgovarjanje na vprašanja< / a > < / li >
< li > < a class = "hover:text-primary" href = "https://slovenscina.eu/razdvoumljanje" > Razdvoumljanje< / a > < / li >
< / ul >
< / div >
< div class = "col-6" >
< div class = "row" >
< div class = "col-4" style = "margin-top:0;" >
< p > < a href = "https://rsdo.slovenscina.eu/" style = "font-weight:400;" > PROJEKT RSDO< / a > < / p >
< / div >
< div class = "col-8" >
< div >
< div class = "logos" >
< img src = "{{ROUTE_PREFIX}}/static/image/mk.svg" alt = "Ministrstvo za kulturo Republike Slovenije" >
< img src = "{{ROUTE_PREFIX}}/static/image/ess.svg" alt = "Evropski sklad za regionalni razvoj" >
< / div >
< p style = "font-size:12px;margin-top:10px;font-weight:300;" > Naložbo sofinancirata Republika Slovenija in Evropska unija iz Evropskega sklada za regionalni razvoj< / p >
< p style = "font-size:12px;" >
< a style = "font-weight:400;" href = "https://www.eu-skladi.si" > https://www.eu-skladi.si< / a >
< / p >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / footer >
2021-11-16 17:45:20 +00:00
2021-11-26 12:50:32 +00:00
< script >
var toggleOpen = function() {
this.classList.toggle("open");
};
var elements = document.getElementsByClassName("history-item");
for (var i = 0; i < elements.length ; i + + ) {
elements[i].addEventListener('click', toggleOpen, false);
}
2021-12-15 20:23:26 +00:00
var files = document.getElementsByClassName("file-item");
for (var i = 0; i < files.length ; i + + ) {
files[i].addEventListener('click', function(e) {
e.stopPropagation();
}, false);
}
2021-11-26 12:50:32 +00:00
< / script >
2021-05-24 08:15:54 +00:00
< / body >
< / html >