Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c073030c
authored
Jul 14, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: remove trailing whitespaces
parent
b774b536
Hide whitespace changes
Inline
Side-by-side
Showing
79 changed files
with
343 additions
and
343 deletions
+343
-343
circle/dashboard/static/dashboard/bootstrap-slider/slider.css
+4
-4
circle/dashboard/static/dashboard/dashboard.css
+75
-75
circle/dashboard/static/dashboard/loopj-jquery-simple-slider-fa64f59/demo.html
+2
-2
circle/dashboard/static/template.css
+16
-16
circle/dashboard/templates/base.html
+1
-1
circle/dashboard/templates/crispy_forms/anytag.html
+1
-1
circle/dashboard/templates/dashboard/_base.html
+1
-1
circle/dashboard/templates/dashboard/_disk-list-element.html
+3
-3
circle/dashboard/templates/dashboard/_modal.html
+6
-6
circle/dashboard/templates/dashboard/_template-create.html
+1
-1
circle/dashboard/templates/dashboard/_vm-create-1.html
+6
-6
circle/dashboard/templates/dashboard/base.html
+8
-8
circle/dashboard/templates/dashboard/confirm/ajax-delete.html
+8
-8
circle/dashboard/templates/dashboard/confirm/ajax-node-flush.html
+8
-8
circle/dashboard/templates/dashboard/confirm/ajax-node-status.html
+8
-8
circle/dashboard/templates/dashboard/confirm/ajax-remove.html
+8
-8
circle/dashboard/templates/dashboard/confirm/base-delete.html
+1
-1
circle/dashboard/templates/dashboard/confirm/mass-delete.html
+10
-10
circle/dashboard/templates/dashboard/confirm/node-flush.html
+1
-1
circle/dashboard/templates/dashboard/confirm/node-status.html
+2
-2
circle/dashboard/templates/dashboard/group-detail.html
+4
-4
circle/dashboard/templates/dashboard/group-list/column-admin.html
+1
-1
circle/dashboard/templates/dashboard/group-list/column-name.html
+2
-2
circle/dashboard/templates/dashboard/group-list/column-username.html
+1
-1
circle/dashboard/templates/dashboard/group-list/column-users.html
+1
-1
circle/dashboard/templates/dashboard/group-list/test-one.html
+3
-3
circle/dashboard/templates/dashboard/index-groups.html
+3
-3
circle/dashboard/templates/dashboard/index-nodes.html
+1
-1
circle/dashboard/templates/dashboard/index-templates.html
+1
-1
circle/dashboard/templates/dashboard/index-vm.html
+2
-2
circle/dashboard/templates/dashboard/index.html
+1
-1
circle/dashboard/templates/dashboard/lease-create.html
+1
-1
circle/dashboard/templates/dashboard/lease-edit.html
+1
-1
circle/dashboard/templates/dashboard/modal-wrapper.html
+14
-14
circle/dashboard/templates/dashboard/node-detail.html
+4
-4
circle/dashboard/templates/dashboard/node-detail/_activity-timeline.html
+1
-1
circle/dashboard/templates/dashboard/node-detail/home.html
+1
-1
circle/dashboard/templates/dashboard/node-detail/vm.html
+1
-1
circle/dashboard/templates/dashboard/node-list/column-name.html
+2
-2
circle/dashboard/templates/dashboard/node-list/column-vm.html
+1
-1
circle/dashboard/templates/dashboard/node-list/test-one.html
+3
-3
circle/dashboard/templates/dashboard/notifications/ownership-offer.html
+1
-1
circle/dashboard/templates/dashboard/notifications/vm-destroyed.html
+1
-1
circle/dashboard/templates/dashboard/notifications/vm-expiring.html
+2
-2
circle/dashboard/templates/dashboard/notifications/vm-suspended.html
+1
-1
circle/dashboard/templates/dashboard/profile.html
+4
-4
circle/dashboard/templates/dashboard/profile_form.html
+3
-3
circle/dashboard/templates/dashboard/template-edit.html
+3
-3
circle/dashboard/templates/dashboard/userkey-create.html
+1
-1
circle/dashboard/templates/dashboard/userkey-edit.html
+1
-1
circle/dashboard/templates/dashboard/vm-detail.html
+8
-8
circle/dashboard/templates/dashboard/vm-detail/_activity-timeline.html
+2
-2
circle/dashboard/templates/dashboard/vm-detail/_network-port-add.html
+15
-15
circle/dashboard/templates/dashboard/vm-detail/home.html
+1
-1
circle/dashboard/templates/dashboard/vm-detail/network.html
+6
-6
circle/dashboard/templates/dashboard/vm-detail/resources.html
+6
-6
circle/dashboard/templates/dashboard/vm-list/column-name.html
+2
-2
circle/dashboard/templates/dashboard/vm-list/test-one.html
+3
-3
circle/dashboard/templates/display-form-errors.html
+1
-1
circle/network/templates/network/base.html
+1
-1
circle/network/templates/network/blacklist-list.html
+1
-1
circle/network/templates/network/columns/color-desc.html
+2
-2
circle/network/templates/network/columns/host-rule.html
+1
-1
circle/network/templates/network/columns/records-address.html
+1
-1
circle/network/templates/network/confirm/base_delete.html
+7
-7
circle/network/templates/network/confirm/remove_host_group.html
+6
-6
circle/network/templates/network/dashboard.html
+20
-20
circle/network/templates/network/domain-list.html
+1
-1
circle/network/templates/network/group-list.html
+1
-1
circle/network/templates/network/host-edit.html
+2
-2
circle/network/templates/network/host-list.html
+1
-1
circle/network/templates/network/menu.html
+1
-1
circle/network/templates/network/record-create.html
+3
-3
circle/network/templates/network/record-edit.html
+2
-2
circle/network/templates/network/switch-port-edit.html
+7
-7
circle/network/templates/network/switch-port-list.html
+1
-1
circle/network/templates/network/vlan-list.html
+1
-1
circle/templates/registration/base.html
+3
-3
circle/templates/registration/password_reset_done.html
+1
-1
No files found.
circle/dashboard/static/dashboard/bootstrap-slider/slider.css
View file @
c073030c
...
...
@@ -146,10 +146,10 @@
height
:
26px
;
margin-top
:
-4px
!important
;
margin-left
:
-6px
!important
;
border-radius
:
0px
;
-moz-border-radius
:
0px
;
-webkit-border-radius
:
0px
;
-webkit-border-radius
:
0px
;
text-shadow
:
0
1px
0
#fff
;
background-image
:
-webkit-gradient
(
linear
,
left
0%
,
left
100%
,
from
(
#428bca
),
to
(
#3071a9
));
...
...
@@ -196,10 +196,10 @@
}
.vm-slider
{
width
:
300px
;
width
:
300px
;
}
.output
{
padding-left
:
10px
;
font-weight
:
bold
;
}
}
circle/dashboard/static/dashboard/dashboard.css
View file @
c073030c
...
...
@@ -145,13 +145,13 @@ html {
background-color
:
transparent
;
}
.sub-timeline
{
}
.sub-timeline
{
}
.sub-activity
{
margin-left
:
30px
;
padding-left
:
10px
;
border-left
:
3px
solid
green
;
border-left
:
3px
solid
green
;
}
.sub-activity-active
{
...
...
@@ -235,7 +235,7 @@ html {
#vm-details-rename
,
#vm-details-h1-name
,
#vm-details-rename
,
#node-details-rename
,
#node-details-rename
*,
#node-details-h1-name
,
#node-list-rename
,
#node-list-rename
*
#group-details-rename
,
#group-details-rename
*,
#group-details-h1-name
,
#group-list-rename
,
#group-list-rename
*
{
display
:
inline
;
}
...
...
@@ -302,8 +302,8 @@ html {
}
/* port add buttons */
.vm-details-network-port-add
.input-group-addon
,
.vm-details-network-port-add
.input-group-btn
{
width
:
inherit
;
.vm-details-network-port-add
.input-group-addon
,
.vm-details-network-port-add
.input-group-btn
{
width
:
inherit
;
}
/* vm-create */
...
...
@@ -426,12 +426,12 @@ a.hover-black {
cursor
:
pointer
;
}
#vm-migrate-node-list
{
list-style
:
none
;
}
#vm-migrate-node-list
li
{
padding-bottom
:
10px
;
#vm-migrate-node-list
{
list-style
:
none
;
}
#vm-migrate-node-list
li
{
padding-bottom
:
10px
;
}
.vm-migrate-node-property
{
...
...
@@ -446,7 +446,7 @@ a.hover-black {
/* fancy stuff
border: 1px solid #ccc;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
border-radius: 8px;
border-radius: 8px;
*/
}
...
...
@@ -460,25 +460,25 @@ a.hover-black {
/* footer */
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
30px
;
background-color
:
#101010
;
color
:
white
;
font-size
:
13px
;
padding
:
5px
5px
0
5px
;
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
0.4
);
text-align
:
center
;
}
footer
a
,
footer
a
:hover
,
footer
a
:visited
{
color
:
white
;
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
30px
;
background-color
:
#101010
;
color
:
white
;
font-size
:
13px
;
padding
:
5px
5px
0
5px
;
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
0.4
);
text-align
:
center
;
}
footer
a
,
footer
a
:hover
,
footer
a
:visited
{
color
:
white
;
text-decoration
:
underline
;
}
.template-disk-list
{
list-style
:
none
;
padding-left
:
0
;
...
...
@@ -513,15 +513,15 @@ footer a, footer a:hover, footer a:visited {
}
/* template create vm help */
.alert-new-template
{
background
:
#3071a9
;
color
:
white
;
font-size
:
22px
;
}
.alert-new-template
ol
{
.alert-new-template
{
background
:
#3071a9
;
color
:
white
;
font-size
:
22px
;
}
.alert-new-template
ol
{
margin-left
:
25px
;
}
}
/* bootstrap tour */
.tour-template
{
...
...
@@ -542,11 +542,11 @@ footer a, footer a:hover, footer a:visited {
}
.index-vm-list-name
{
display
:
inline-block
;
max-width
:
70%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
display
:
inline-block
;
max-width
:
70%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
float
:
left
;
}
...
...
@@ -555,11 +555,11 @@ footer a, footer a:hover, footer a:visited {
}
.index-template-list-name
{
display
:
inline-block
;
max-width
:
50%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
display
:
inline-block
;
max-width
:
50%
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
float
:
left
;
}
...
...
@@ -574,7 +574,7 @@ footer a, footer a:hover, footer a:visited {
}
#vm-details-home-description
{
display
:
inline-block
;
display
:
inline-block
;
position
:
relative
;
}
...
...
@@ -588,8 +588,8 @@ footer a, footer a:hover, footer a:visited {
}
.vm-details-description-submit
{
position
:
absolute
;
bottom
:
10px
;
position
:
absolute
;
bottom
:
10px
;
right
:
20px
;
}
...
...
@@ -670,25 +670,25 @@ textarea[name="list-new-namelist"] {
}
/* vm list css */
.vm-list-selected
,
.vm-list-selected
td
{
background-color
:
#e8e8e8
!important
;
}
.vm-list-selected
:hover
,
.vm-list-selected
:hover
td
{
background-color
:
#d0d0d0
!important
;
}
.vm-list-selected
td
:first-child
{
font-weight
:
bold
;
}
.vm-list-table-thin
{
width
:
10px
;
}
.vm-list-table-admin
{
width
:
130px
;
}
.vm-list-selected
,
.vm-list-selected
td
{
background-color
:
#e8e8e8
!important
;
}
.vm-list-selected
:hover
,
.vm-list-selected
:hover
td
{
background-color
:
#d0d0d0
!important
;
}
.vm-list-selected
td
:first-child
{
font-weight
:
bold
;
}
.vm-list-table-thin
{
width
:
10px
;
}
.vm-list-table-admin
{
width
:
130px
;
}
#vm-details-connection-string-copy
{
cursor
:
pointer
;
...
...
@@ -705,9 +705,9 @@ textarea[name="list-new-namelist"] {
}
#group-detail-user-table
td
:nth-child
(
2
)
a
,
#group-detail-perm-table
td
:nth-child
(
2
)
a
,
#template-access-table
td
:nth-child
(
2
)
a
,
#vm-access-table
td
:nth-child
(
2
)
a
,
#group-detail-perm-table
td
:nth-child
(
2
)
a
,
#template-access-table
td
:nth-child
(
2
)
a
,
#vm-access-table
td
:nth-child
(
2
)
a
,
.no-style-link
,
.no-style-link
:hover
{
color
:
#555
!important
;
text-decoration
:
none
;
...
...
@@ -733,7 +733,7 @@ textarea[name="list-new-namelist"] {
border
:
1px
solid
#ccc
;
}
#group-detail-permissions
.selector-available
h2
,
#group-detail-permissions
.selector-available
h2
,
#group-detail-permissions
.selector-chosen
h2
{
margin
:
0
;
padding
:
5px
8px
5px
8px
;
...
...
@@ -749,5 +749,5 @@ textarea[name="list-new-namelist"] {
}
#group-detail-permissions
input
[
type
=
"submit"
]
{
margin-top
:
-6px
;
margin-top
:
-6px
;
}
circle/dashboard/static/dashboard/loopj-jquery-simple-slider-fa64f59/demo.html
View file @
c073030c
...
...
@@ -5,8 +5,8 @@
<script
src=
"js/simple-slider.js"
></script>
<link
href=
"css/simple-slider.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"css/simple-slider-volume.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"css/simple-slider-volume.css"
rel=
"stylesheet"
type=
"text/css"
/>
<!-- These styles are only used for this page, not required for the slider -->
<style>
body
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
}
...
...
circle/dashboard/static/template.css
View file @
c073030c
...
...
@@ -165,22 +165,22 @@ html {
}
/* footer */
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
30px
;
background-color
:
#101010
;
color
:
white
;
font-size
:
13px
;
padding
:
5px
5px
0
5px
;
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
0.4
);
text-align
:
center
;
}
footer
a
,
footer
a
:hover
,
footer
a
:visited
{
color
:
white
;
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
30px
;
background-color
:
#101010
;
color
:
white
;
font-size
:
13px
;
padding
:
5px
5px
0
5px
;
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
0.4
);
text-align
:
center
;
}
footer
a
,
footer
a
:hover
,
footer
a
:visited
{
color
:
white
;
text-decoration
:
underline
;
}
...
...
circle/dashboard/templates/base.html
View file @
c073030c
...
...
@@ -27,7 +27,7 @@
<body>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar-header"
>
<div
class=
"navbar-header"
>
{% block navbar-brand %}{% endblock %}
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-collapse"
>
<span
class=
"icon-bar"
></span>
...
...
circle/dashboard/templates/crispy_forms/anytag.html
View file @
c073030c
<
{{
tag
.
tag
}}
{%
if
tag
.
css_id
%}
id=
"{{ tag.css_id }}"
{%
endif
%}
<
{{
tag
.
tag
}}
{%
if
tag
.
css_id
%}
id=
"{{ tag.css_id }}"
{%
endif
%}
{%
if
tag
.
css_class
%}
class=
"{{ tag.css_class }}"
{%
endif
%}
{{
tag
.
flat_attrs
|
safe
}}
>
{{ fields|safe }}
</
{{
tag
.tag
}}
>
circle/dashboard/templates/dashboard/_base.html
View file @
c073030c
...
...
@@ -10,7 +10,7 @@
{{ title }}
{% else %}
{% trans "Confirmation" %}
{% endif %}
{% endif %}
</h3>
</div>
<div
class=
"panel-body"
>
...
...
circle/dashboard/templates/dashboard/_disk-list-element.html
View file @
c073030c
{% load i18n %}
{% load sizefieldtags %}
<i
class=
"fa {% if d.is_downloading %}fa-refresh fa-spin{% else %}fa-file{% if d.failed %}"
style=
"color: #d9534f;{% endif %}{% endif %}"
></i>
{{ d.name }} (#{{ d.id }}) -
<i
class=
"fa {% if d.is_downloading %}fa-refresh fa-spin{% else %}fa-file{% if d.failed %}"
style=
"color: #d9534f;{% endif %}{% endif %}"
></i>
{{ d.name }} (#{{ d.id }}) -
{% if not d.is_downloading %}
{% if not d.failed %}
{% if d.size %}{{ d.size|filesize }}{% endif %}
...
...
@@ -10,7 +10,7 @@
<div
class=
"label label-danger"
{%
if
user
.
is_superuser
%}
title=
"{{ d.get_latest_activity_result }}"
{%
endif
%}
>
{% trans "failed" %}
</div>
{% endif %}
{% else %}
<span
class=
"disk-list-disk-percentage"
data-disk-pk=
"{{ d.pk }}"
>
{{ d.get_download_percentage }}
</span>
%{% endif %}
<a
href=
"{% url "
dashboard
.
views
.
disk-remove
"
pk=
d.pk
%}?
next=
{{
request
.
path
}}"
<a
href=
"{% url "
dashboard
.
views
.
disk-remove
"
pk=
d.pk
%}?
next=
{{
request
.
path
}}"
data-disk-pk=
"{{ d.pk }}"
class=
"btn btn-xs btn-danger pull-right disk-remove"
{%
if
not
long_remove
%}
title=
"{% trans "
Remove
"
%}"{%
endif
%}
>
...
...
circle/dashboard/templates/dashboard/_modal.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% if template %}
{% include template %}
{% else %}
...
...
@@ -11,6 +11,6 @@
<div
class=
"clearfix"
></div>
</div>
<div
class=
"clearfix"
></div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/_template-create.html
View file @
c073030c
{% load i18n %}
{% load crispy_forms_tags %}
{% load crispy_forms_tags %}
{% if leases
<
1
%}
<
div
class=
"alert alert-warning"
>
...
...
circle/dashboard/templates/dashboard/_vm-create-1.html
View file @
c073030c
...
...
@@ -13,7 +13,7 @@
<li>
<i
class=
"fa fa-gears"
></i>
{% trans "CPU" %}
<div
class=
"progress pull-right"
>
<div
class=
"progress-bar progress-bar-success"
role=
"progressbar"
<div
class=
"progress-bar progress-bar-success"
role=
"progressbar"
aria-valuenow=
"{{ t.num_cores }}"
aria-valuemin=
"0"
aria-valuemax=
"8"
style=
"width: 80%"
>
<span
class=
"progress-bar-text"
>
{{ t.num_cores }} cores
</span>
</div>
...
...
@@ -22,15 +22,15 @@
<li>
<i
class=
"fa fa-ticket"
></i>
{% trans "Memory" %}
<div
class=
"progress pull-right"
>
<div
class=
"progress-bar progress-bar-info"
role=
"progressbar"
aria-valuenow=
"{{ t.ram_size }}"
aria-valuemin=
"0"
aria-valuemax=
"4096"
<div
class=
"progress-bar progress-bar-info"
role=
"progressbar"
aria-valuenow=
"{{ t.ram_size }}"
aria-valuemin=
"0"
aria-valuemax=
"4096"
style=
"width: 80%"
>
<span
class=
"progress-bar-text"
>
{{ t.ram_size }} MB
</span>
</div>
</div>
</li>
<li>
<i
class=
"fa fa-file"
></i>
{% trans "Disks" %}
<i
class=
"fa fa-file"
></i>
{% trans "Disks" %}
<span
style=
"float: right; text-align: right;"
>
{% for d in t.disks.all %}{{ d.name }} ({% if d.size %}{{ d.size|filesize }}{% endif %}){% if not forloop.last %}, {% endif %}{% endfor %}
</span>
...
...
@@ -131,11 +131,11 @@
width
:
100%
;
color
:
white
;
/* outline */
text-shadow
:
text-shadow
:
-1px
-1px
0
#000
,
1px
-1px
0
#000
,
-1px
1px
0
#000
,
1px
1px
0
#000
;
1px
1px
0
#000
;
font-size
:
10px
;
}
</style>
...
...
circle/dashboard/templates/dashboard/base.html
View file @
c073030c
...
...
@@ -20,18 +20,18 @@
{% block navbar %}
<ul
class=
"nav navbar-nav pull-right"
>
<li
class=
"dropdown"
id=
"notification-button"
>
<a
href=
"{% url "
dashboard
.
views
.
notifications
"
%}"
style=
"color: white; font-size: 12px;"
<li
class=
"dropdown"
id=
"notification-button"
>
<a
href=
"{% url "
dashboard
.
views
.
notifications
"
%}"
style=
"color: white; font-size: 12px;"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
{% trans "Notifications" %}
{% if NEW_NOTIFICATIONS_COUNT > 0 %}
{% if NEW_NOTIFICATIONS_COUNT > 0 %}
<span
class=
"badge badge-pulse"
>
{{ NEW_NOTIFICATIONS_COUNT }}
</span>
{% endif %}
</a>
<ul
class=
"dropdown-menu notification-messages"
>
<li>
{% trans "Loading..." %}
</li>
</ul>
</li>
</a>
<ul
class=
"dropdown-menu notification-messages"
>
<li>
{% trans "Loading..." %}
</li>
</ul>
</li>
</ul>
{% if user.is_authenticated and user.pk %}
...
...
circle/dashboard/templates/dashboard/confirm/ajax-delete.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% if text %}
{{ text|safe }}
{% else %}
...
...
@@ -12,13 +12,13 @@
{% endif %}
<br
/>
<div
class=
"pull-right"
style=
"margin-top: 15px;"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
id=
"confirmation-modal-button"
type=
"button"
class=
"btn btn-danger"
{%
if
disable_submit
%}
disabled
{%
endif
%}
>
{% trans "Delete" %}
</button>
>
{% trans "Delete" %}
</button>
</div>
<div
class=
"clearfix"
></div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/confirm/ajax-node-flush.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% if text %}
{{ text }}
{% else %}
...
...
@@ -14,7 +14,7 @@
<div
class=
"pull-right"
>
<form
action=
"{% url "
dashboard
.
views
.
flush-node
"
pk=
node.pk
%}?
next=
{{next}}"
method=
"POST"
>
{% csrf_token %}
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<input
type=
"hidden"
name=
"flush"
value=
""
/>
<button
class=
"btn btn-warning"
>
{% trans "Yes" %}
</button>
</form>
...
...
@@ -22,6 +22,6 @@
<div
class=
"clearfix"
></div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/confirm/ajax-node-status.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% if text %}
{{ text }}
{% else %}
...
...
@@ -14,7 +14,7 @@
<div
class=
"pull-right"
>
<form
action=
"{% url "
dashboard
.
views
.
status-node
"
pk=
object.pk
%}"
method=
"POST"
>
{% csrf_token %}
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<input
type=
"hidden"
name=
"change_status"
value=
""
/>
<button
class=
"btn btn-warning"
>
{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}
</button>
</form>
...
...
@@ -22,6 +22,6 @@
<div
class=
"clearfix"
></div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/confirm/ajax-remove.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% if text %}
{{ text }}
{% else %}
...
...
@@ -12,11 +12,11 @@
{% endif %}
<br
/>
<div
class=
"pull-right"
style=
"margin-top: 15px;"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Cancel
</button>
<button
id=
"confirmation-modal-button"
type=
"button"
class=
"btn btn-warning"
>
Remove
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Cancel
</button>
<button
id=
"confirmation-modal-button"
type=
"button"
class=
"btn btn-warning"
>
Remove
</button>
</div>
<div
class=
"clearfix"
></div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/confirm/base-delete.html
View file @
c073030c
...
...
@@ -10,7 +10,7 @@
{{ title }}
{% else %}
{% trans "Delete confirmation" %}
{% endif %}
{% endif %}
</h3>
</div>
<div
class=
"panel-body"
>
...
...
circle/dashboard/templates/dashboard/confirm/mass-delete.html
View file @
c073030c
{% load i18n %}
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
<div
class=
"modal fade"
id=
"confirmation-modal"
tabindex=
"-1"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-body"
>
{% trans "Are you sure you want to delete the following objects?" %}
<br
/>
{% for o in objects %}
<strong>
{{ o }}
</strong>
{% if not forloop.last %},{% endif %}
{% endfor %}
<strong>
{{ o }}
</strong>
{% if not forloop.last %},{% endif %}
{% endfor %}
<div
class=
"pull-right"
style=
"margin-top: 40px;"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
id=
"confirmation-modal-button"
type=
"button"
class=
"btn btn-danger"
>
{% trans "Delete" %}
</button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</button>
<button
id=
"confirmation-modal-button"
type=
"button"
class=
"btn btn-danger"
>
{% trans "Delete" %}
</button>
</div>
<div
class=
"clearfix"
></div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
circle/dashboard/templates/dashboard/confirm/node-flush.html
View file @
c073030c
...
...
@@ -9,7 +9,7 @@
{{ title }}
{% else %}
Flush confirmation
{% endif %}
{% endif %}
</h3>
</div>
<div
class=
"panel-body"
>
...
...
circle/dashboard/templates/dashboard/confirm/node-status.html
View file @
c073030c
...
...
@@ -10,7 +10,7 @@
{{ title }}
{% else %}
{% trans "Status changing confirmation" %}
{% endif %}
{% endif %}
</h3>
</div>
<div
class=
"panel-body"
>
...
...
@@ -25,7 +25,7 @@
<form
action=
""
method=
"POST"
>
{% csrf_token %}
<a
class=
"btn btn-default"
>
{% trans "Cancel" %}
</a>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
></button>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
></button>
<input
type=
"hidden"
name=
"change_status"
value=
""
/>
<button
class=
"btn btn-warning"
>
{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}
</button>
</form>
...
...
circle/dashboard/templates/dashboard/group-detail.html
View file @
c073030c
...
...
@@ -14,12 +14,12 @@
<div
id=
"group-details-rename"
>
<form
action=
""
method=
"POST"
id=
"group-details-rename-form"
>
{% csrf_token %}
<input
id=
"group-details-rename-name"
class=
"form-control"
name=
"new_name"
type=
"text"
value=
"{{ group.name }}"
/>
<input
id=
"group-details-rename-name"
class=
"form-control"
name=
"new_name"
type=
"text"
value=
"{{ group.name }}"
/>
<button
type=
"submit"
id=
"group-details-rename-submit"
class=
"btn"
>
{% trans "Rename" %}
</button>
</form>
</div>
<div
id=
"group-details-h1-name"
>
{{ group.name }}
{{ group.name }}
{% if group.groupprofile.org_id %}
<small>
{{group.groupprofile.org_id}}
</small>
{% endif %}
...
...
@@ -95,7 +95,7 @@
</tr>
</tbody>
</table>
<textarea
name=
"list-new-namelist"
class=
"form-control"
<textarea
name=
"list-new-namelist"
class=
"form-control"
placeholder=
"{% trans "
Add
multiple
users
at
once
(
one
identifier
per
line
)."
%}"
></textarea>
<div
class=
"form-actions"
>
<button
type=
"submit"
class=
"btn btn-success"
>
{% trans "Save" %}
</button>
...
...
@@ -131,7 +131,7 @@
<td
class=
"user-remove"
><a
data-group_pk=
"{{ group.pk }}"
data-member_pk=
"{{i.user.pk }}"
href=
"{% url "
dashboard
.
views
.
remove-acluser
"
member_pk=
i.user.pk
group_pk=
group.pk
%}"
class=
"real-link delete-from-group btn btn-link btn-xs"
><i
class=
"fa fa-times"
><span
class=
"sr-only"
>
{% trans "remove" %}
</span></i></a></td>
</tr>
{% endfor %}
{% for i in acl.groups %}
<tr>
<td>
...
...
circle/dashboard/templates/dashboard/group-list/column-admin.html
View file @
c073030c
<a
id=
"group-list-rename-button"
class=
"btn btn-default btn-xs"
title
data-original-title=
"Rename"
>
<i
class=
"fa fa-pencil"
></i>
</a>
circle/dashboard/templates/dashboard/group-list/column-name.html
View file @
c073030c
{% load i18n %}
{% load i18n %}
<div
id=
"group-list-rename"
>
<form
action=
"{% url "
dashboard
.
views
.
group-detail
"
pk=
record.pk
%}"
method=
"POST"
id=
"group-list-rename-form"
>
{% csrf_token %}
<input
id=
"group-list-rename-name"
class=
"form-control input-sm"
name=
"new_name"
type=
"text"
value=
"{{ record.name }}"
/>
<input
id=
"group-list-rename-name"
class=
"form-control input-sm"
name=
"new_name"
type=
"text"
value=
"{{ record.name }}"
/>
<button
type=
"submit"
class=
"group-list-rename-submit btn btn-sm"
>
{% trans "Rename" %}
</button>