350 lines
15 KiB
HTML
350 lines
15 KiB
HTML
|
<div id="container">
|
|||
|
<!doctype html>
|
|||
|
<html lang="{{ "lang_code"|tr(lang) }}">
|
|||
|
<head>
|
|||
|
<title>{{ "index_title"|tr(lang) }} – {{ "index_description"|tr(lang) }}</title>
|
|||
|
<meta charset="utf-8" />
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
<meta name="description" content="{{ "meta_description"|tr(lang) }}" />
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
|
<link rel="icon" type="image/png" sizes="48x48" href="/assets/favicon.svg" />
|
|||
|
<link rel="stylesheet" href="/assets/index.css?v=1.2" />
|
|||
|
<link rel="stylesheet" href="/assets/cloud.css?v=1.0" />
|
|||
|
<link rel="stylesheet" href="/assets/digitalcourage.css" />
|
|||
|
<link rel="stylesheet" href="/assets/bootstrap.min.css" />
|
|||
|
|
|||
|
<style>
|
|||
|
.break {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 0;
|
|||
|
}
|
|||
|
|
|||
|
.grid-container {
|
|||
|
display: grid;
|
|||
|
grid-template-columns: auto auto;
|
|||
|
width: 725px;
|
|||
|
grid-gap: 25px;
|
|||
|
}
|
|||
|
.grid-container2 {
|
|||
|
display: grid;
|
|||
|
grid-template-columns: auto auto auto;
|
|||
|
width: 532px;
|
|||
|
grid-gap: 35px;
|
|||
|
}
|
|||
|
@media only screen and (max-width: 768px) {
|
|||
|
/* For mobile phones: */
|
|||
|
[class*="grid-container"] {
|
|||
|
grid-template-columns: auto;
|
|||
|
max-width: 100%;
|
|||
|
justify-content: center;
|
|||
|
}
|
|||
|
[class*="grid-container2"] {
|
|||
|
grid-template-columns: auto;
|
|||
|
max-width: 100%;
|
|||
|
justify-content: center;
|
|||
|
grid-gap: 20px;
|
|||
|
}
|
|||
|
[class*="item2"] {
|
|||
|
grid-template-columns: auto;
|
|||
|
max-width: 100%;
|
|||
|
align-items: center;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
.div_120 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 120px;
|
|||
|
}
|
|||
|
|
|||
|
.div_60 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 60px;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.div_45 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 45px;
|
|||
|
}
|
|||
|
|
|||
|
.div_35 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 35px;
|
|||
|
}
|
|||
|
|
|||
|
.div_25 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 25px;
|
|||
|
}
|
|||
|
|
|||
|
.div_10 {
|
|||
|
flex-basis: 100%;
|
|||
|
height: 10px;
|
|||
|
}
|
|||
|
|
|||
|
.item1 {
|
|||
|
width: 350px;
|
|||
|
height: 200px;
|
|||
|
display: flex;
|
|||
|
justify-content: center;
|
|||
|
align-items: center;
|
|||
|
}
|
|||
|
.item2 {
|
|||
|
width: 350px;
|
|||
|
height: 200px;
|
|||
|
#display: flex;
|
|||
|
#justify-content: center;
|
|||
|
#align-items: center;
|
|||
|
}
|
|||
|
.h3 {
|
|||
|
font-size: 20pt;
|
|||
|
}
|
|||
|
h2 {
|
|||
|
font-size: 30pt;
|
|||
|
}
|
|||
|
.a1 {
|
|||
|
font-size: 20pt;
|
|||
|
}
|
|||
|
p {
|
|||
|
font-size: 14pt;
|
|||
|
}
|
|||
|
p1 {
|
|||
|
font-size: 20pt;
|
|||
|
}
|
|||
|
.downDC {
|
|||
|
height: 90px;
|
|||
|
padding: 10px;
|
|||
|
}
|
|||
|
|
|||
|
.c-img-shadow {
|
|||
|
height: 200px;
|
|||
|
max-width: 100%;
|
|||
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.18),0 5px 5px rgba(0, 0, 0, 0.18);
|
|||
|
border-radius: 2px;
|
|||
|
}
|
|||
|
|
|||
|
</style>
|
|||
|
|
|||
|
|
|||
|
<noscript><style> .jsonly { display: none } </style></noscript>
|
|||
|
<script>
|
|||
|
window.onload = function() {
|
|||
|
// retrieved from server-side template
|
|||
|
let csrf_token = "{{ csrf_token }}";
|
|||
|
let lang = "{{ lang }}";
|
|||
|
document.getElementById('langs').value=lang;
|
|||
|
document.getElementById('new_link_button1').addEventListener('click', function () {
|
|||
|
new_link(csrf_token);
|
|||
|
});
|
|||
|
document.getElementById('new_link_button2').addEventListener('click', function () {
|
|||
|
new_link(csrf_token);
|
|||
|
});
|
|||
|
|
|||
|
}
|
|||
|
function getSelectedOption(sel) {
|
|||
|
var opt;
|
|||
|
for ( var i = 0, len = sel.options.length; i < len; i++ ) {
|
|||
|
opt = sel.options[i];
|
|||
|
if ( opt.selected === true ) {
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
return opt;
|
|||
|
}
|
|||
|
function new_link(csrf) {
|
|||
|
var sel = document.getElementById('langs');
|
|||
|
let opt = getSelectedOption(sel);
|
|||
|
let lang = opt.value;
|
|||
|
document.getElementById('langs').value = lang;
|
|||
|
document.getElementById("link_lang").value = lang;
|
|||
|
document.getElementById("csrf_token").value = csrf;
|
|||
|
document.getElementById('new_link').submit();
|
|||
|
document.getElementById('new_link_button').classList.add("hidden");
|
|||
|
document.getElementById('loading_ring').classList.remove("hidden");
|
|||
|
}
|
|||
|
|
|||
|
</script>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div class="container ombre">
|
|||
|
<header role="banner" class="clearfix">
|
|||
|
<form method="get" action="/" class="hidden-print">
|
|||
|
<div class="input-group input-group-sm pull-right col-xs-12 col-sm-2 langs" style="margin-right: 8px">
|
|||
|
<select id="langs" name="lang" class="form-control" title="Select language" >
|
|||
|
<option lang="fr" value="fr">Français</option>
|
|||
|
<option lang="en" selected value="en">English</option>
|
|||
|
<option lang="oc" value="oc">Occitan</option>
|
|||
|
<option lang="es" value="es">Español</option>
|
|||
|
<option lang="de" value="de">Deutsch</option>
|
|||
|
<option lang="nl" value="nl">Dutch</option>
|
|||
|
<option lang="it" value="it">Italiano</option>
|
|||
|
<option lang="br" value="br">Brezhoneg</option>
|
|||
|
</select>
|
|||
|
<span class="input-group-btn">
|
|||
|
<button type="submit" id="language_button" class="btn btn-default btn-sm language_button" title="Change language">OK</button>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
|
|||
|
<a href="https://foorms.digitalcourage.de/" title="Home - foorms" style="margin-left: 8px" >
|
|||
|
<img src="/assets/foorms_logo_beta.svg" alt="foorms" class="" height="58vh" />
|
|||
|
</a>
|
|||
|
<h2 class="lead col-xs-12"></h2> <div class="trait col-xs-12" role="presentation"></div>
|
|||
|
</header>
|
|||
|
<main role="main">
|
|||
|
<div class="div_10"></div>
|
|||
|
<div class="div_10"></div>
|
|||
|
<div class="div_10"></div>
|
|||
|
<div class="flex has-text-centered">
|
|||
|
<p>
|
|||
|
<div>
|
|||
|
<h2 class="title">{{ "index_title2"|tr(lang) }}</h2>
|
|||
|
</div>
|
|||
|
<br/>
|
|||
|
<div class="break"></div>
|
|||
|
</div>
|
|||
|
<div class="div_25"></div>
|
|||
|
<div class="flex has-text-centered">
|
|||
|
<div>
|
|||
|
<h3 class="title">{{ "index_description"|tr(lang) }}</h3>
|
|||
|
</div>
|
|||
|
<div class="break"></div>
|
|||
|
<div>
|
|||
|
<h3 class="title">{{ "index_description2"|tr(lang) }}</h3>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</p>
|
|||
|
<div class="div_60"></div>
|
|||
|
<div class="flex has-text-centered">
|
|||
|
<div class=" flex">
|
|||
|
<noscript>
|
|||
|
<a class="ncstyle-button">{{ "index_nojs"|tr(lang) }}</a>
|
|||
|
</noscript>
|
|||
|
<form id="new_link" action="/link" method="post">
|
|||
|
<input id="csrf_token" name="csrf_token" type="text" class="hidden">
|
|||
|
<input id="link_lang" name="link_lang" type="text" class="hidden">
|
|||
|
<a id="new_link_button1" class="c-button ncstyle-button" >{{ "index_createform_button"|tr(lang) }}</a> </form>
|
|||
|
|
|||
|
<div id="loading_ring" class="hidden lds-ring"><div></div><div></div><div></div><div></div></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="break"></div>
|
|||
|
<div class="div_120"></div>
|
|||
|
<div class="has-text-centered">
|
|||
|
<h2>{{ "index_panel1_title"|tr(lang) }}</h2>
|
|||
|
</div>
|
|||
|
<div class="div_25"></div>
|
|||
|
<center>
|
|||
|
<div class="grid-container">
|
|||
|
<div class="item1">
|
|||
|
<a target="_blank" href="/assets/screen/{{ "lang_code"|tr(lang) }}/fields.png" width="350px" height="200px"><img class="c-img-shadow" alt="" src="/assets/screen/{{ "lang_code"|tr(lang) }}/fields.png" height="200px" width="350px" /></a>
|
|||
|
</div>
|
|||
|
<div class= "item2">
|
|||
|
<h3 id="item2_header">{{ "index_panel2_title"|tr(lang) }}</h3>
|
|||
|
<p class="item2_paragraph">{{ "index_panel2_desc1"|tr(lang) }}</p><p class="item2_paragraph">{{ "index_panel2_desc2"|tr(lang) }}<a href="https://github.com/nextcloud/forms/issues?q=is%3Aissue+is%3Aopen+label%3A%22feature%3A+%E2%9D%93+question+types%22">{{ "index_panel2_desc2_link"|tr(lang) }}</a>.</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</br>
|
|||
|
<div class="grid2gridspace"></div>
|
|||
|
<div class="grid-container">
|
|||
|
<div class="item1">
|
|||
|
<a target="_blank" href="/assets/screen/{{ "lang_code"|tr(lang) }}/responses.png" height="200px" width="350px"><img class="c-img-shadow" alt="" src="/assets/screen/{{ "lang_code"|tr(lang) }}/responses.png" height="200px" width="350px" /></a>
|
|||
|
</div>
|
|||
|
<div class="item2">
|
|||
|
<h3>{{ "index_panel3_title"|tr(lang) }}</h3>
|
|||
|
<p>{{ "index_panel3_desc1"|tr(lang) }}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</br>
|
|||
|
<div class="grid-container">
|
|||
|
<div class="item1">
|
|||
|
<a target="_blank" href="/assets/screen/{{ "lang_code"|tr(lang) }}/responses-export.png" height="200px" width="350px"><img class="c-img-shadow" alt="" src="/assets/screen/{{ "lang_code"|tr(lang) }}/responses-export.png" height="200px" width="350px" /></a>
|
|||
|
</div>
|
|||
|
<div class="item2">
|
|||
|
<h3>{{ "index_panel4_title"|tr(lang) }}</h3>
|
|||
|
<p>{{ "index_panel4_desc1"|tr(lang) }}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</br>
|
|||
|
<div class="grid-container">
|
|||
|
<div class="item1">
|
|||
|
<a target="_blank" href="/assets/screen/{{ "lang_code"|tr(lang) }}/params.png" height="200px" width="350px"><img class="c-img-shadow" alt="" src="/assets/screen/{{ "lang_code"|tr(lang) }}/params.png"height="200px" width="350px" /></a>
|
|||
|
</div>
|
|||
|
<div class="item2">
|
|||
|
<h3>{{ "index_panel5_title"|tr(lang) }}</h3>
|
|||
|
<p>{{ "index_panel5_desc1"|tr(lang) }}</p>
|
|||
|
<p>{{ "index_panel5_desc2"|tr(lang) }}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</br>
|
|||
|
<div class="grid-container">
|
|||
|
<div class="item1">
|
|||
|
<a target="_blank" href="/assets/screen/{{ "lang_code"|tr(lang) }}/formslist.png"><img class="c-img-shadow" alt="" src="/assets/screen/{{ "lang_code"|tr(lang) }}/formslist.png" height="200px" width="350px" /></a>
|
|||
|
</div>
|
|||
|
<div class="item2">
|
|||
|
<h3>{{ "index_panel6_title"|tr(lang) }}</h3>
|
|||
|
<p>{{ "index_panel5_desc1"|tr(lang) }}</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="div_60"></div>
|
|||
|
<div class="flex has-text-centered">
|
|||
|
<div class=" flex">
|
|||
|
<noscript>
|
|||
|
<a class="ncstyle-button">{{ "index_nojs"|tr(lang) }}</a>
|
|||
|
</noscript>
|
|||
|
<form id="new_link" action="/link" method="post">
|
|||
|
<input id="csrf_token" name="csrf_token" type="text" class="hidden">
|
|||
|
<input id="link_lang" name="link_lang" type="text" class="hidden">
|
|||
|
<a id="new_link_button2" class="c-button ncstyle-button" >{{ "index_createform_button"|tr(lang) }}</a> </form>
|
|||
|
<div id="loading_ring" class="hidden lds-ring"><div></div><div></div><div></div><div></div></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="div_120"></div>
|
|||
|
<p>
|
|||
|
<div class="flex has-text-centered">
|
|||
|
<div>
|
|||
|
<h2 class="title">{{ "index_disclaimer_title"|tr(lang) }}</h2>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="break"></div>
|
|||
|
<div class="div_25"></div>
|
|||
|
<div>
|
|||
|
<p1 class="title">{{ "index_disclaimer1"|tr(lang) }}</p1>
|
|||
|
<a href="https://www.digitalcourage.de" class="a1">{{ "index_disclaimer2_link_org"|tr(lang) }}</a1>
|
|||
|
<p1 class="title">{{ "index_disclaimer2"|tr(lang) }}</p1>
|
|||
|
</div>
|
|||
|
<br>
|
|||
|
<div class="break"></div>
|
|||
|
<div>
|
|||
|
<p1 class="title">{{ "index_disclaimer2_but"|tr(lang) }}</p1>
|
|||
|
<a href="https://www.digitalcourage.de" class="a1">{{ "index_disclaimer2_link_don"|tr(lang) }}</a>
|
|||
|
</div>
|
|||
|
<br>
|
|||
|
<div class="break"></div>
|
|||
|
<div>
|
|||
|
<p1 class="title">{{ "index_disclaimer3"|tr(lang) }}</p1>
|
|||
|
<a href="https://www.digitalcourage.de" class="a1">{{ "index_disclaimer3_link"|tr(lang) }}</a>
|
|||
|
<p1 class="title">{{ "index_disclaimer4"|tr(lang) }}</p1>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</p>
|
|||
|
<div class="div_120"></div>
|
|||
|
<div class="c-blue grid-container2">
|
|||
|
<a href="https://42l.fr/Rapport-technique" style="font-size:15px" class="c-button" target="_blank">{{ "index_bottom_docs"|tr(lang) }}</a>
|
|||
|
<a href="https://git.42l.fr/neil/sncf" style="font-size:15px;" class="c-button" target="_blank">{{ "index_bottom_source"|tr(lang) }}</a>
|
|||
|
<a href="https://git.42l.fr/neil/sncf/src/branch/root/LICENSE" style="font-size:15px;" class="c-button" target="_blank">{{ "index_bottom_lic"|tr(lang) }}</a>
|
|||
|
</div>
|
|||
|
<div class="div_10"></div>
|
|||
|
</center>
|
|||
|
</main>
|
|||
|
</div> <!-- .container -->
|
|||
|
|
|||
|
<div class="container ombre downDC" style="display:flex;align-items:center;">
|
|||
|
<h2 class="lead"><a target="_blank" href="https://digitalcourage.de/">Digitalcourage</a> | <a target="_blank" href="https://digitalcourage.de/newsletter">Newsletter</a> | <a target="_blank" href="https://digitalcourage.de/spenden">{{ "impressum_donations"|tr(lang) }}</a> | <a target="_blank" href="https://digitalcourage.de/en">Impressum</a> | <a target="_blank" href="https://digitalcourage.de/en">{{ "impressum_privacy"|tr(lang) }}</a> </h2>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|