Commit 8a1af341 by Oláh István Gergely

dashboard: fix css in node traits button

parent 13186982
...@@ -815,7 +815,6 @@ class TraitForm(forms.ModelForm): ...@@ -815,7 +815,6 @@ 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(
Div(
Field('name', id="node-details-traits-input", Field('name', id="node-details-traits-input",
css_class="input-sm input-traits"), css_class="input-sm input-traits"),
Div( Div(
...@@ -828,8 +827,6 @@ class TraitForm(forms.ModelForm): ...@@ -828,8 +827,6 @@ class TraitForm(forms.ModelForm):
css_class="input-group", css_class="input-group",
id="node-details-traits-form", id="node-details-traits-form",
), ),
css_class="row",
),
) )
class Meta: class Meta:
......
...@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment