Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baas
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
baas
Commits
a0f5def1
Commit
a0f5def1
authored
Nov 30, 2015
by
Efthymia Bika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide advanced settings on load to save space
Also move passphrase to 'To' fieldset
parent
57b859a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
15 deletions
+40
-15
baas/backup-list.html
baas/backup-list.html
+37
-15
baas/static/stylesheets/custom.css
baas/static/stylesheets/custom.css
+3
-0
No files found.
baas/backup-list.html
View file @
a0f5def1
...
...
@@ -211,6 +211,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
return
true
;
}
function
toggle_settings
()
{
var
l_html
=
$
(
"
#more_icon
"
).
html
();
if
(
l_html
==
"
More
"
)
{
$
(
"
#more_settings
"
).
show
();
$
(
"
#more_icon
"
).
html
(
"
Less
"
);
$
(
"
#more_icon
"
).
removeClass
(
"
fa fa-plus-square-o
"
);
$
(
"
#more_icon
"
).
addClass
(
"
fa fa-minus-square-o
"
);
}
else
{
$
(
"
#more_settings
"
).
hide
();
$
(
"
#more_icon
"
).
html
(
"
More
"
);
$
(
"
#more_icon
"
).
removeClass
(
"
fa fa-minus-square-o
"
);
$
(
"
#more_icon
"
).
addClass
(
"
fa fa-plus-square-o
"
);
}
}
</script>
<div
class=
"row"
>
...
...
@@ -302,8 +317,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Backup name will also appear as a container in your cloud
</div>
</div>
<div
class=
"clearfix"
>
<div
class=
"small-3 columns"
>
<label
id=
"passphrase_label"
for=
"passphrase"
class=
"right inline"
>
Passphrase
</label>
</div>
<div
class=
"small-6 columns error"
id=
"passphrase-error"
>
<input
type=
"password"
id=
"passphrase"
placeholder=
"Passphrase"
>
<small
class=
"error"
></small>
</div>
<div
class=
"small-3 columns"
>
<label
for=
"save_passphrase"
class=
"left"
>
Save
<input
id=
"save_passphrase"
type=
"checkbox"
class=
"right"
>
</label>
</div>
</div>
</fieldset>
<fieldset>
<div
class=
"clearfix pad-bottom"
>
<div
class=
"small-3 columns"
>
<a
onclick=
"toggle_settings()"
>
<i
class=
"fa fa-plus-square-o"
id=
"more_icon"
>
More
</i>
<a/>
</div>
</div>
<fieldset
id=
"more_settings"
class=
"hide"
>
<div
class=
"clearfix"
>
<div
class=
"small-3 columns"
>
<label
id=
"backup-type-label"
for=
"backup-type"
class=
"right inline"
>
...
...
@@ -353,20 +389,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<br>
** Matches any string
</div>
</div>
<div
class=
"clearfix"
>
<div
class=
"small-3 columns"
>
<label
id=
"passphrase_label"
for=
"passphrase"
class=
"right inline"
>
Passphrase
</label>
</div>
<div
class=
"small-6 columns error"
id=
"passphrase-error"
>
<input
type=
"password"
id=
"passphrase"
placeholder=
"Passphrase"
>
<small
class=
"error"
></small>
</div>
<div
class=
"small-3 columns"
>
<label
for=
"save_passphrase"
class=
"left"
>
Save
<input
id=
"save_passphrase"
type=
"checkbox"
class=
"right"
>
</label>
</div>
</div>
</fieldset>
<div
class=
"clearfix"
>
<div
id=
"success-alert"
class=
"hide"
>
...
...
baas/static/stylesheets/custom.css
View file @
a0f5def1
...
...
@@ -112,3 +112,6 @@ body legend, .template-list-title {
.add-button
{
margin-bottom
:
10px
;
}
.pad-bottom
{
padding-bottom
:
20px
;
}
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