forked from tykayn/funky-framadate-front
abe07bc978
Closes issues #48 and #44 - Add all translation keys into admin.component.html - Add missing translation keys needed for admin component to en.json and fr.json - Minor corrections into fr.json - Add missing keys from fr.json to en.json - Translate keys of en.json - Format admin.component.html with tabs
165 lines
4.6 KiB
HTML
165 lines
4.6 KiB
HTML
<form>
|
|
<h1>Nom du sondage</h1>
|
|
|
|
<!--Infos-->
|
|
<h2>{{"admin.info_section_title"|translate}}</h2>
|
|
|
|
<label for="title">
|
|
{{"admin.choose_title"|translate}}
|
|
</label>
|
|
<input type="text" name="title">
|
|
|
|
<label for="desc">
|
|
{{"admin.description"|translate}}
|
|
</label>
|
|
<textarea name="desc"> </textarea>
|
|
|
|
<label for="name">
|
|
{{"creation.name"|translate}}
|
|
</label>
|
|
<input type="text" name="name">
|
|
|
|
<!--Params-->
|
|
<h2>{{"admin.settings_section_title"|translate}}</h2>
|
|
<h3>{{"visibility.title"|translate}}</h3>
|
|
|
|
<section class="row">
|
|
<label for="answer-visible">
|
|
{{"visibility.visibility_want"|translate}}
|
|
</label>
|
|
<select name="answer-visible">
|
|
<option value="all" selected>
|
|
{{"visibility.visibility_link"|translate}}
|
|
</option>
|
|
<option value="per">
|
|
{{"visibility.visibility_nobody"|translate}}
|
|
</option>
|
|
</select>
|
|
<label for="answer-visible">
|
|
{{"visibility.visibility_see"|translate}}
|
|
</label>
|
|
</section>
|
|
|
|
<h3>{{"visibility.votes"|translate}}</h3>
|
|
<section>
|
|
<label for="vote-date">
|
|
{{"visibility.archiving"|translate}}
|
|
</label>
|
|
<input type="date" name="vote-date">
|
|
</section>
|
|
<section>
|
|
<label for="alter-vote">
|
|
{{"visibility.archiving_start"|translate}}
|
|
</label>
|
|
<select name="alter-vote">
|
|
<option value="yes" selected>
|
|
{{"visibility.archiving_can"|translate}}
|
|
</option>
|
|
<option value="no">
|
|
{{"visibility.archiving_can_not"|translate}}
|
|
</option>
|
|
</select>
|
|
<label for="type-vote">
|
|
{{"visibility.archiving_end"|translate}}
|
|
</label>
|
|
<select name="type-vote">
|
|
<option value="solo" selected>
|
|
{{"visibility.modfiy_their"|translate}}
|
|
</option>
|
|
<option value="all">
|
|
{{"visibility.modfiy_everyone"|translate}}
|
|
</option>
|
|
</select>
|
|
</section>
|
|
|
|
<label for="del-vote">
|
|
{{"admin.votes_deletion_desc"|translate}}
|
|
</label>
|
|
<input class="btn btn--alert btn--outline" type="submit"
|
|
name="del-vote" value="{{'admin.votes_deletion_btn'|translate}}">
|
|
|
|
<h3>{{"admin.comments_deletion_title"|translate}}</h3>
|
|
<label for="del-com">
|
|
{{"admin.comments_deletion_desc"|translate}}
|
|
</label>
|
|
<input class="btn btn--alert btn--outline" type="submit"
|
|
name="del-com" value="{{'admin.comments_deletion_btn'|translate}}">
|
|
|
|
<h3>{{"admin.archiving_title"|translate}}</h3>
|
|
<section class="row">
|
|
<label for="arch">
|
|
{{"admin.archiving_desc"|translate}}
|
|
</label>
|
|
<input type="date" name="arch">
|
|
</section>
|
|
|
|
<h3>{{"visibility.access"|translate}}</h3>
|
|
<section class="row">
|
|
<label for="password">Je</label>
|
|
<select name="password">
|
|
<option value="yes" selected>
|
|
{{"visibility.access_want_yes"|translate}}
|
|
</option>
|
|
<option value="no">
|
|
{{"visibility.access_want_no"|translate}}
|
|
</option>
|
|
</select>
|
|
<label for="alter-vote">
|
|
{{"visibility.access_protect"|translate}}
|
|
</label>
|
|
</section>
|
|
|
|
<h3>{{"admin.deletion"|translate}}</h3>
|
|
<label for="del"> {{"admin.deletion_desc"|translate}} </label>
|
|
<input class="btn btn--alert" type="submit"
|
|
name="del" value="{{'admin.deletion_btn'|translate}}">
|
|
|
|
<!-- Access link -->
|
|
<h2>{{"admin.link"|translate}}</h2>
|
|
<h3>{{"admin.link_admin"|translate}}</h3>
|
|
|
|
<label for="copy-link-admin">
|
|
{{"admin.link_admin_desc"|translate}}
|
|
https://framadate.org/urladmindusondage
|
|
</label>
|
|
<input class="btn btn--mini" type="submit" name="copy-link-admin"
|
|
value="{{'admin.copy_link'|translate}}">
|
|
<a href="#" class="next">{{"admin.link_admin_btn"|translate}}</a>
|
|
|
|
<h3>{{"admin.polled_people"|translate}}</h3>
|
|
<label for="copy-link">
|
|
{{"admin.polled_people_desc"|translate}}
|
|
https://framadate.org/urladmindusondage</label>
|
|
<input class="btn btn--mini" type="submit" name="copy-link"
|
|
value="{{'admin.copy_link'|translate}}">
|
|
<a href="#" class="next">{{"admin.polled_people_btn"|translate}}</a>
|
|
|
|
<h3>{{"admin.email_links"|translate}}</h3>
|
|
<label for="mail">{{"admin.email_links_desc"|translate}}</label>
|
|
<input type="email" name="mail">
|
|
<input class="btn btn--mini" type="submit" name="send-mail"
|
|
value="{{'admin.email_links_btn'|translate}}">
|
|
|
|
<section class="deletion">
|
|
{{"admin.deletion"|translate}}
|
|
{{"admin.deletion_desc"|translate}}
|
|
{{"admin.deletion_btn"|translate}}
|
|
</section>
|
|
|
|
<section class="links">
|
|
{{"admin.link"|translate}}
|
|
{{"admin.link_admin"|translate}}
|
|
{{"admin.link_admin_desc"|translate}}
|
|
{{"admin.link_admin_btn"|translate}}
|
|
{{"admin.copy_link"|translate}}
|
|
|
|
{{"admin.polled_people"|translate}}
|
|
{{"admin.polled_people_desc"|translate}}
|
|
{{"admin.polled_people_btn"|translate}}
|
|
{{"admin.email_links"|translate}}
|
|
{{"admin.email_links_desc"|translate}}
|
|
{{"admin.email_links_key"|translate}}
|
|
{{"admin.email_links_btn"|translate}}
|
|
</section>
|
|
</form>
|