Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
8a1af341
authored
Mar 11, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix css in node traits button
parent
13186982
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
circle/dashboard/forms.py
+9
-12
circle/dashboard/templates/dashboard/node-detail-home.html
+7
-1
No files found.
circle/dashboard/forms.py
View file @
8a1af341
...
@@ -815,20 +815,17 @@ class TraitForm(forms.ModelForm):
...
@@ -815,20 +815,17 @@ class TraitForm(forms.ModelForm):
self
.
helper
.
form_show_labels
=
False
self
.
helper
.
form_show_labels
=
False
self
.
helper
.
layout
=
Layout
(
self
.
helper
.
layout
=
Layout
(
Div
(
Div
(
Field
(
'name'
,
id
=
"node-details-traits-input"
,
css_class
=
"input-sm input-traits"
),
Div
(
Div
(
Field
(
'name'
,
id
=
"node-details-traits-input"
,
HTML
(
'<input type="submit" '
css_class
=
"input-sm input-traits"
),
'class="btn btn-default btn-sm input-traits" '
Div
(
'value="Add trait"/>'
,
HTML
(
'<input type="submit" '
),
'class="btn btn-default btn-sm input-traits" '
css_class
=
"input-group-btn"
,
'value="Add trait"/>'
,
),
css_class
=
"input-group-btn"
,
),
css_class
=
"input-group"
,
id
=
"node-details-traits-form"
,
),
),
css_class
=
"row"
,
css_class
=
"input-group"
,
id
=
"node-details-traits-form"
,
),
),
)
)
...
...
circle/dashboard/templates/dashboard/node-detail-home.html
View file @
8a1af341
...
@@ -40,4 +40,10 @@
...
@@ -40,4 +40,10 @@
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
</div>
</div>
</div>
</div>
<style>
.form-group
{
margin
:
0px
;
}
</style>
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