Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
77a694f9
Commit
77a694f9
authored
Oct 16, 2016
by
Daniel W Bond
Browse files
made search form responsive
parent
78431f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/templates/search/search.html
View file @
77a694f9
...
...
@@ -17,8 +17,10 @@ SRCT Roomlist • Search Students
<form
class=
"form-horizontal"
method=
"get"
action=
"."
>
<div
class=
"form-group"
>
<label
for=
"{{ form.q.id_for_label }}"
class=
"col-md-1 col-md-offset-3"
><strong>
Name
</strong>
or
<strong>
Username
</strong></label>
<div
class=
"col-md-4"
>
<label
for=
"{{ form.q.id_for_label }}"
class=
"col-lg-1 col-lg-offset-3 col-md-2 col-md-offset-1 col-sm-2 col-xs-2"
>
<strong>
Name
</strong>
or
<strong>
Username
</strong>
</label>
<div
class=
"col-lg-4 col-md-6 col-sm-8 col-xs-9"
>
{{ form.q }}
</div>
<button
type=
"submit"
class=
"btn btn-default"
><i
class=
"fa fa-search fa-fw fa-lg"
></i></button>
...
...
@@ -34,10 +36,10 @@ SRCT Roomlist • Search Students
{% if page.object_list %}
<table
class=
"table table-hover"
>
<thead>
<th
class=
"col-
md
-2"
><h3><small>
Username
</small></h3></th>
<th
class=
"col-
md
-5"
><h3><small>
Name
</small></h3></th>
<th
class=
"col-
md
-4"
><h3><small>
Major
</small></h3></th>
<th
class=
"col-
md
-1"
><h3><small>
Year
</small></h3></th>
<th
class=
"col-
xs
-2"
><h3><small>
Username
</small></h3></th>
<th
class=
"col-
xs
-5"
><h3><small>
Name
</small></h3></th>
<th
class=
"col-
xs
-4"
><h3><small>
Major
</small></h3></th>
<th
class=
"col-
xs
-1"
><h3><small>
Year
</small></h3></th>
</thead>
{% endif %}
...
...
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