Commit 0ac9dd03 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Show success alert after saving

parent 3c9a8615
......@@ -160,6 +160,12 @@
</ul>
<div class="tabs-content">
<div class="content" id="backup_details">
<div id="save-alert" class="hide">
<div data-alert class="alert-box success radius">
Successfully saved backup set.
<a href="#" class="close">&times;</a>
</div>
</div>
<form>
<fieldset>
<div class="clearfix">
......
......@@ -108,7 +108,8 @@ function save_backup_set() {
render_backup_sets("");
write_conf_file(BACKUP_CONF_FILE, backups);
activate_li("li_" + backup_name);
$("#save-alert").show();
setTimeout( function() {$("#save-alert").fadeOut()}, 1000);
}
function delete_backup(backup) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment