EOF & whitespace
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-success fade in">
|
||||
<a href="#" class="close" data-dismiss="alert">×</a>
|
||||
<strong>Success!</strong> {{ message }}
|
||||
<strong>Success!</strong> {{ message }}
|
||||
</div>
|
||||
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
@@ -19,7 +19,7 @@
|
||||
<p>
|
||||
<div class="alert alert-danger fade in"><strong>Error</strong>: {{ error }}</div>
|
||||
<div class="alert alert-warning"><strong>Notice</strong>: {{ info }}</div>
|
||||
|
||||
|
||||
<h4>Also, you can contact your <a href="mailto:{{ email }}?Subject=TISBACKUP%20Export"> System Administrator</a> for more details </h4>
|
||||
</p>
|
||||
{% elif not start %}
|
||||
@@ -31,28 +31,28 @@
|
||||
$("#backup").submit();
|
||||
};
|
||||
});
|
||||
});
|
||||
});
|
||||
$('#selectall').click(function(event) { //on click
|
||||
if(this.checked) { // check select status
|
||||
$('.checkbox1').each(function() { //loop through each checkbox
|
||||
this.checked = true; //select all checkboxes with class "checkbox1"
|
||||
this.checked = true; //select all checkboxes with class "checkbox1"
|
||||
});
|
||||
}else{
|
||||
$('.checkbox1').each(function() { //loop through each checkbox
|
||||
this.checked = false; //deselect all checkboxes with class "checkbox1"
|
||||
});
|
||||
this.checked = false; //deselect all checkboxes with class "checkbox1"
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<form id="backup" action='/export_backup'>
|
||||
<p> Select backups to save : <br/>
|
||||
<p> Select backups to save : <br/>
|
||||
<div class="row">
|
||||
<div class="checkbox"><label><input type="checkbox" class="checkbox1" id="selectall" checked>Select all</label></div>
|
||||
<div class="checkbox"><label><input type="checkbox" class="checkbox1" id="selectall" checked>Select all</label></div>
|
||||
{% for entry in sections|sort %}
|
||||
<div class="col-xs-6 col-md-4">
|
||||
<div class="form-group">
|
||||
<div class="checkbox"><label><input type="checkbox" name="sections" class="checkbox1" value="{{entry}}" checked>{{entry}}</label></div>
|
||||
<div class="checkbox"><label><input type="checkbox" name="sections" class="checkbox1" value="{{entry}}" checked>{{entry}}</label></div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
{% else %}
|
||||
<h2 class="title">Backups is running: </h2>
|
||||
<table id="table" class='table'>
|
||||
@@ -79,7 +79,7 @@
|
||||
</table>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
|
||||
//Refresh periode in seconds
|
||||
var refresh = 5;
|
||||
@@ -97,7 +97,7 @@ function status(){
|
||||
done = false;
|
||||
}else{
|
||||
$('tbody').append('<td>'+val.status+'</td>');
|
||||
|
||||
|
||||
done = data.finish;
|
||||
}
|
||||
$('#table-design').append('</tr>');
|
||||
|
||||
Reference in New Issue
Block a user