Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
baas
Commits
d0cb00df
Commit
d0cb00df
authored
Oct 20, 2015
by
Efthymia Bika
Browse files
Hide tabs on delete, show on create
parent
f6069ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
backup-list.html
View file @
d0cb00df
...
...
@@ -53,7 +53,8 @@
.
attr
(
"
href
"
,
"
#
"
)
.
attr
(
"
class
"
,
"
right
"
)
.
click
(
function
()
{
if
(
confirm
(
"
Are you sure you want to delete
"
+
backup
.
name
+
'
?
'
))
{
if
(
confirm
(
"
Are you sure you want to delete
"
+
backup
.
name
+
'
?
'
+
"
\n
NOTE: To actually remove backup sets from remote container you have to manually purge it.
"
))
{
delete_backup
(
backup
);
}
});
...
...
@@ -65,6 +66,8 @@
}
function
load_backup
(
backup
)
{
$
(
"
.tabs
"
).
show
();
$
(
"
.tabs-content
"
).
show
();
$
(
'
#backup_details_tab
'
).
addClass
(
'
active
'
);
$
(
'
#backup-name-error small
'
).
hide
();
$
(
'
#directory-error small
'
).
hide
();
...
...
@@ -183,6 +186,8 @@
var
root_backup_sets
=
{
"
backups
"
:
""
};
root_backup_sets
.
backups
=
backups
;
write_conf_file
(
BACKUP_CONF_FILE
,
root_backup_sets
);
$
(
"
.tabs
"
).
hide
();
$
(
"
.tabs-content
"
).
hide
();
}
function
set_envs
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment