setup pre-commit hook

This commit is contained in:
ziirish 2021-05-12 18:08:44 +02:00
parent 43253d8265
commit 4f0bf4ca9c
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
50 changed files with 140 additions and 131 deletions

View file

@ -134,7 +134,7 @@ width:100%;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
width:100%;
width:100%;
}
.tt-suggestion {
@ -219,7 +219,7 @@ svg text {
color: #697075;
}
@keyframes blink {
@keyframes blink {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }

View file

@ -23,4 +23,4 @@
"sSortAscending": ": Activar para ordenar la columna de manera ascendente",
"sSortDescending": ": Activar para ordenar la columna de manera descendente"
}
}
}

View file

@ -22,4 +22,4 @@
"sSortAscending": ": attiva per ordinare la colonna in ordine crescente",
"sSortDescending": ": attiva per ordinare la colonna in ordine decrescente"
}
}
}

View file

@ -116,7 +116,7 @@ var _sessions_table = $('#table-sessions').DataTable( {
return '<span data-toggle="tooltip" title="'+data+'">'+moment(data, moment.ISO_8601).tz(TIMEZONE).subtract(3, 'seconds').fromNow()+'</span>';
}
},
{
{
data: 'ua',
render: function( data, type, row ) {
if (type === 'filter' || type === 'sort') {

View file

@ -71,7 +71,7 @@ $( document ).ready(function() {
path: '{{ url_for("api.client_tree", name=cname, backup=nbackup, server=server) }}',
},
},
source: function() {
source: function() {
{% if edit and edit.found -%}
url = '{{ url_for("api.client_tree", name=cname, backup=nbackup, server=server, root=edit.roots, recursive=True, selected=True) }}';
{% else -%}
@ -230,7 +230,7 @@ $( document ).ready(function() {
$("#form-restore").on('submit', function(e) {
var $preparingFileModal = $("#restore-modal");
$preparingFileModal.modal('toggle');
{% if config.WITH_CELERY -%}

View file

@ -102,7 +102,7 @@ var _client = function() {
var html = table.node().outerHTML;
if (d.footer !== undefined)
html += "<div class='footer'>" + d.footer + "</div>";
return html;
return html;
});
_chart_stats.bars.forceY([0]);

View file

@ -285,7 +285,7 @@ var _sessions_table = $('#table-sessions').DataTable( {
return '<span data-toggle="tooltip" title="'+data+'">'+moment(data, moment.ISO_8601).tz(TIMEZONE).subtract(3, 'seconds').fromNow()+'</span>';
}
},
{
{
data: 'ua',
render: function( data, type, row ) {
if (type === 'filter' || type === 'sort') {

View file

@ -3,9 +3,9 @@
{% include "notifications.html" %}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
{% include "small_topbar.html" %}
<ul class="breadcrumb" style="margin-bottom: 5px;">
<li class="active">{{ _('Home') }}</li>
</ul>
<ul class="breadcrumb" style="margin-bottom: 5px;">
<li class="active">{{ _('Home') }}</li>
</ul>
<br />
<h1 class="page-header">{{ _('Servers') }}</h1>

View file

@ -2782,4 +2782,3 @@ msgstr ""
#~ " <em>moderator</em> o con <em> demo "
#~ "</em> / <em> demo </em>. \n"
#~ " "

View file

@ -2428,4 +2428,3 @@ msgstr "Mise à jour"
#~ msgid "Backends list"
#~ msgstr "Liste des Backends"

View file

@ -2709,4 +2709,3 @@ msgstr ""
#~ " / <em>moderator</em> sia come "
#~ "<em>demo</em> / <em>demo</em>.\n"
#~ " "