Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions templates/FR/backups.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div style="display:block; clear:both; float:none;">
<h3><strong><u>Gestion des Backups</strong></u></h3>

<a style="border:none; margin-right:25px;margin-right:25px;" href="/export"><button>Backup Now</button></a>
<a style="border:none; margin-right:25px;margin-right:25px;" href="/export"><button>Backup Maintenant</button></a>
<hr>
<h3><strong><u>Restaurer depuis un backup</strong></u></h3>

Expand Down Expand Up @@ -53,11 +53,11 @@ <h3><strong><u>Backup de fichiers</strong></u></h3>
</div>
<hr>

<h3><strong><u>Book List Exports</u></strong></h3>
<p>These are lists of books only -- for example if you want to move a bunch of books from one uBiblio library to another. Or if you just want a CSV file of your books that you can open with other appliations.</p>
<a style="border:none; margin-right:25px;margin-right:25px;" href="/exportcsv"><button>Create CSV</button></a>
<h3><strong><u>Exportation de la Liste de Livres</u></strong></h3>
<p>Il s'agit de listes de livres uniquement ; par exemple, si vous souhaitez transférer plusieurs livres d'une bibliothèque uBiblio à une autre. Ou si vous souhaitez simplement un fichier CSV de vos livres que vous pourrez ouvrir avec d'autres applications.</p>
<a style="border:none; margin-right:25px;margin-right:25px;" href="/exportcsv"><button>Créer CSV</button></a>

<p><br>Restoring from one of these files will <strong>NOT</strong> wipe the current database first. It will add all the books from the file to the current database. Generally it is a good idea to backup the database before attempting this.</p>
<p><br>La restauration à partir de l'un de ces fichiers <strong>n'effacera pas</strong> la base de données actuelle. Elle ajoutera tous les livres du fichier à la base de données actuelle. Il est généralement conseillé de sauvegarder la base de données avant de procéder à cette opération.</p>
<table>
<thead class="visible@l">
<tr>
Expand All @@ -67,24 +67,24 @@ <h3><strong><u>Book List Exports</u></strong></h3>
</thead>
<tbody id = "tablebody">
{% for bookexport in bookExports %}
<tr><td>{{ bookexport }}</td><td><a class="confirm" style="border:none;" href="/addByCSV/{{ bookexport }}" onclick="if (!confirm('This will add the books in this file to the database. Are you sure?')) return false;">Add to DB</a> | <a class="confirm" style="border:none;" href="/deleteBackup/{{ bookexport }}" onclick="if (!confirm('This will delete this book export. Are you sure?')) return false;">Delete</a> | <a class="confirm" style="border:none;" href="/downloadBackup/{{ bookexport }}" >Download</a></td>
<tr><td>{{ bookexport }}</td><td><a class="confirm" style="border:none;" href="/addByCSV/{{ bookexport }}" onclick="if (!confirm('This will add the books in this file to the database. Are you sure?')) return false;">Add to DB</a> | <a class="confirm" style="border:none;" href="/deleteBackup/{{ bookexport }}" onclick="if (!confirm('This will delete this book export. Are you sure?')) return false;">Delete</a> | <a class="confirm" style="border:none;" href="/downloadBackup/{{ bookexport }}" >Télécharger</a></td>

{% endfor %}
</tbody>
</table>
<hr>
<h3><strong><u>Upload a Backup</u></strong></h3>
<p>This will accept database backups, file backups, and book list exports, so you can use this to merge libraries, move to a new server, or move to a newer version of the application.</p>
<h3><strong><u>Téléverser une Backup</u></strong></h3>
<p>Cette fonction accepte les backups de bases de données, les backups de fichiers et les exportations de listes de livres. Vous pouvez donc l'utiliser pour fusionner des bibliothèques, migrer vers un nouveau serveur ou passer à une version plus récente de l'application.</p>
<div style="display:block; clear:both; float:none;">
<form action="/uploadBackup/" method="post" enctype="multipart/form-data">
<!-- File input field -->
<label for="file">Upload a backup: </label>
<label for="file">Téléverser une backup: </label>
<input type="file" id="file" name="file" required>

<br><br>

<!-- Submit button -->
<input type="submit" value="Upload">
<input type="submit" value="Téléverser">
</form>
</div>

Expand Down
2 changes: 0 additions & 2 deletions templates/FR/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
<li><a href="/withdrawn">Livres empruntés</a></li>
{% if user.isAdmin %}
<li><a href="/config">Configuration</a></li>
<li><a href="/userManagement">Gestion des Utilisateurs</a></li>
<li><a href="/manageVkeys">Fédération</a></li>
{% endif %}
</ul>
<ul class="actions stacked">
Expand Down
13 changes: 11 additions & 2 deletions templates/FR/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,18 @@ <h1>Modifier la configuration de la Librairie</h1>
<input type="submit" value="Appliquer">

</form>
<a style = "border:none;" href = "/backups"> <button>Gestion des backups</button></a>
<a style = "border:none;" href = "/backups"> <button>Statistiques</button></a>

<a style = "border:none;" href = "/"> <button>Retour</button></a>
<div style="margin-top:50px;">
<h4><u>Autres paramètres</u></h4>
<a style = "border:none;" href = "/userManagement"> <button>Gestion des utilisateurs</button></a>
<a style = "border:none;" href = "/backups"> <button>Gestion des backups</button></a>
</div>
<div style="margin-top:50px;">
<a style = "border:none;" href = "/stats"> <button>Statistiques</button></a>
<a style = "border:none;" href = "/manageVkeys"> <button>Fédération</button></a>

</div>
</div>

<hr>
Expand Down
2 changes: 1 addition & 1 deletion templates/FR/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{% endif %}
</select>
</span>
<input style ="float:left;" type="submit" value="Summarize!">
<input style ="float:left;" type="submit" value="Résumer!">
</form>
<br><br>

Expand Down
4 changes: 1 addition & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
<li><a href="/readingLists">Reading Lists</a></li>
<li><a href="/withdrawn">Withdrawn Books</a></li>
{% if user.isAdmin %}
<li><a href="/config">Config</a></li>
<li><a href="/userManagement">User Management</a></li>
<li><a href="/manageVkeys">Federation</a></li>
<li><a href="/config">Admin</a></li>
{% endif %}
</ul>
<ul class="actions stacked">
Expand Down
12 changes: 10 additions & 2 deletions templates/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<section id="two">
<div class="inner" style = "padding: 20px 0 1em 0;">

<h1>Update Library Configuration</h1>
<h1>Update Main Library Configuration</h1>

{% for error in errors %}
<p style="color: red">{{ error }}</p>
Expand Down Expand Up @@ -44,9 +44,17 @@ <h1>Update Library Configuration</h1>
<input type="submit" value="Submit">

</form>
<a style = "border:none;" href = "/"> <button>Back</button></a>
<div style="margin-top:50px;">
<h4><u>Other Settings and Features</u></h4>
<a style = "border:none;" href = "/userManagement"> <button>User Management</button></a>
<a style = "border:none;" href = "/backups"> <button>Backup Management</button></a>
</div>
<div style="margin-top:50px;">
<a style = "border:none;" href = "/stats"> <button>Library Stats</button></a>
<a style = "border:none;" href = "/"> <button>Back</button></a>
<a style = "border:none;" href = "/manageVkeys"> <button>Federation</button></a>

</div>
</div>

<hr>
Expand Down
Loading