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
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):
self
.
helper
.
form_show_labels
=
False
self
.
helper
.
layout
=
Layout
(
Div
(
Field
(
'name'
,
id
=
"node-details-traits-input"
,
css_class
=
"input-sm input-traits"
),
Div
(
Field
(
'name'
,
id
=
"node-details-traits-input"
,
css_class
=
"input-sm input-traits"
),
Div
(
HTML
(
'<input type="submit" '
'class="btn btn-default btn-sm input-traits" '
'value="Add trait"/>'
,
),
css_class
=
"input-group-btn"
,
),
css_class
=
"input-group"
,
id
=
"node-details-traits-form"
,
HTML
(
'<input type="submit" '
'class="btn btn-default btn-sm input-traits" '
'value="Add trait"/>'
,
),
css_class
=
"input-group-btn"
,
),
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 @@
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
</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