Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
154d7a4f
authored
Jan 21, 2015
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: fix host list search looking bad on smaller screens
parent
f6be607a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
circle/network/static/network/network.less
+4
-0
circle/network/templates/network/host-list.html
+10
-4
No files found.
circle/network/static/network/network.less
View file @
154d7a4f
...
@@ -11,3 +11,7 @@
...
@@ -11,3 +11,7 @@
text-align: center;
text-align: center;
width: 60px;
width: 60px;
}
}
.table-responsive {
margin-top: 15px;
}
circle/network/templates/network/host-list.html
View file @
154d7a4f
...
@@ -18,7 +18,9 @@
...
@@ -18,7 +18,9 @@
</h1>
</h1>
</div>
</div>
<ul
class=
"nav nav-pills"
style=
"margin: 5px 0 20px 0;"
>
<div
class=
"row"
>
<div
class=
"col-md-9"
>
<ul
class=
"nav nav-pills"
style=
"margin: 5px 0 20px 0;"
>
<li
class=
"disabled"
><a
href=
"#"
>
{% trans "Filter by vlans" %}
</a></li>
<li
class=
"disabled"
><a
href=
"#"
>
{% trans "Filter by vlans" %}
</a></li>
<li
{%
if
not
request
.
GET
.
vlan
%}
class=
"active"
{%
endif
%}
>
<li
{%
if
not
request
.
GET
.
vlan
%}
class=
"active"
{%
endif
%}
>
<a
href=
"{{ request.path }}"
>
{% trans "ALL" %}
</a>
<a
href=
"{{ request.path }}"
>
{% trans "ALL" %}
</a>
...
@@ -28,16 +30,20 @@
...
@@ -28,16 +30,20 @@
<a
href=
"?vlan={{ vlan.id }}"
>
{{ vlan.name }}
</a>
<a
href=
"?vlan={{ vlan.id }}"
>
{{ vlan.name }}
</a>
</li>
</li>
{% endfor %}
{% endfor %}
</ul>
</div>
<div
class=
"col-md-3"
>
<form
action=
""
method=
"GET"
>
<form
action=
""
method=
"GET"
>
<div
class=
"input-group pull-right"
style=
"max-width: 300px;
"
>
<div
class=
"input-group pull-right
"
>
<input
type=
"text"
id=
"network-host-list-input"
name=
"s"
class=
"form-control"
<input
type=
"text"
id=
"network-host-list-input"
name=
"s"
class=
"form-control"
value=
"{{ request.GET.s }
}"
/>
value=
"{{ request.GET.s }}"
placeholder=
"{% trans "
Search
..."
%
}"
/>
<span
class=
"input-group-btn"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-primary"
><i
class=
"fa fa-search"
></i></button>
<button
class=
"btn btn-primary"
><i
class=
"fa fa-search"
></i></button>
</span>
</span>
</div>
</div>
</form>
</form>
</ul>
</div>
</div>
<div
class=
"table-responsive"
>
<div
class=
"table-responsive"
>
{% render_table table %}
{% render_table table %}
...
...
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