Commit 0144d9b1 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Add bar to display selected backup

parent d8a1eeb9
......@@ -13,11 +13,14 @@
if(typeof selected_backup != 'undefined') {
$.each(backups, function(i, backup) {
if(backup.name == selected_backup) {
$("#selected-bar").html(backup.name);
$("#selected-bar").show();
load_backup(backup);
return;
}
});
} else {
$("#selected-bar").hide();
disable_actions(true);
}
});
......@@ -139,6 +142,7 @@
<body>
<div class="row">
<div class="small-12 columns selected-bar" id="selected-bar"></div>
<div class="small-2 columns" id="sidebar">
<a href="#" onclick="load_backup();" class="button radius small">
<i class="fa fa-plus-circle">&nbsp;Add</i>
......
......@@ -46,3 +46,10 @@
padding: 5px;
display: inline-block;
}
.selected-bar {
background: #2BA6CB;
margin-top: 0;
margin-bottom: 10px;
padding-top: 0;
color: white;
}
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