Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
67bf3744
authored
Jan 27, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix css menu, changing node status
parent
399b45f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
1 deletions
+63
-1
circle/dashboard/static/dashboard/dashboard.css
+29
-0
circle/dashboard/templates/dashboard/base.html
+0
-1
circle/dashboard/templates/dashboard/confirm/node-status.html
+34
-0
No files found.
circle/dashboard/static/dashboard/dashboard.css
View file @
67bf3744
...
...
@@ -263,3 +263,32 @@ a.hover-black {
.font-awesome-font
{
font-family
:
"FontAwesome"
;
}
.dropdown-menu
{
position
:
absolute
;
display
:
none
;
z-index
:
1
;
}
.dropdown-toggle
:focus
+
.dropdown-menu
{
display
:
block
;
}
.dropdown-toggle
:focus
{
outline
:
none
;
}
.dropdown-menu
:hover
{
display
:
block
;
}
circle/dashboard/templates/dashboard/base.html
View file @
67bf3744
...
...
@@ -18,7 +18,6 @@
<script
src=
"{{ STATIC_URL}}dashboard/bootstrap-slider/bootstrap-slider.js"
></script>
<link
rel=
"stylesheet"
href=
"{{ STATIC_URL }}dashboard/bootstrap-slider/slider.css"
/>
<link
href=
"{{ STATIC_URL }}dashboard/dashboard.css"
rel=
"stylesheet"
>
<link
href=
"{{ STATIC_URL }}dashboard/node.css"
rel=
"stylesheet"
>
<script
src=
"{{ STATIC_URL }}dashboard/dashboard.js"
></script>
</head>
...
...
circle/dashboard/templates/dashboard/confirm/node-status.html
0 → 100644
View file @
67bf3744
{% extends "dashboard/base.html" %}
{% load i18n %}
{% block content %}
<div
class=
"body-content"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<h3
class=
"no-margin"
>
{% if title %}
{{ title }}
{% else %}
Status changing confirmation
{% endif %}
</h3>
</div>
<div
class=
"panel-body"
>
{% if text %}
{{ text }}
{% else %}
{%blocktrans with object=object%}
Are you sure you want to change
<strong>
{{ object }}
</strong>
status?
{%endblocktrans%}
{% endif %}
<div
class=
"pull-right"
>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
<a
class=
"btn btn-default"
>
Back
</a>
<input
type=
"hidden"
name=
"new_status"
value=
"{{ status }}"
/>
<button
class=
"btn btn-warning"
>
Yes, {{ status }}
</button>
</form>
</div>
</div>
</div>
{% endblock %}
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