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
itminedu
synnefo
Commits
84814a1a
Commit
84814a1a
authored
Sep 21, 2012
by
Olga Brani
Browse files
- Pagination style change
- Extra select for sorting table
parent
8bada24b
Changes
2
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/static/im/css/forms.css
View file @
84814a1a
...
...
@@ -156,7 +156,9 @@ form.link-like input[type="submit"]:hover { text-decoration:underline; }
.projects
form
.with-checkbox
{
margin
:
20px
0
;
}
.projects
form
.with-checkbox
label
{
padding-top
:
7px
;
}
.projects
form
.with-checkbox
span
.info
{
bottom
:
24px
;
}
.projects
.minimal
{
float
:
right
;
position
:
relative
;
margin-bottom
:
-20px
;}
.projects
.minimal
select
{
padding
:
3px
;
width
:
250px
;
}
.projects
.minimal
label
{
position
:
absolute
;
right
:
290px
;
top
:
5px
;
white-space
:
nowrap
}
@media
screen
and
(
max-width
:
630px
)
{
form
.withlabels
.extra-img
{
left
:
260px
;
}
...
...
snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html
View file @
84814a1a
...
...
@@ -116,24 +116,35 @@
</table>
</div>
<div
class=
"pagination"
>
<span
class=
"step-links
"
>
{% if page_obj.has_previous %}
<p
class=
"next-prev
"
>
{% if page_obj.has_previous %}
<a
href=
"?page={{ page_obj.previous_page_number }}{% if q %}&q={{q}}{% endif %}"
>
previous
</a>
{% endif %}
<span
class=
"current"
>
Page {{ page_obj.number }} of {{ paginator.num_pages }}.
</span>
{% if page_obj.has_next %}
<a
href=
"?page={{ page_obj.next_page_number }}{% if q %}&q={{q}}{% endif %}"
>
next
</a>
{% endif %}
</span>
</div>
</p>
<p
class=
"nums"
>
<span
class=
"current"
>
Page {{ page_obj.number }} of {{ paginator.num_pages }}
</span>
</p>
</div>
{% else %}
{% if mine %}
<div
class=
"full-dotted"
>
<form
method=
"POST"
class=
"minimal"
action=
"/im/billing"
<
div
class=
"form-row"
>
<label
for=
"month"
>
Sort by
</label>
<select
name=
"sorting"
>
<option
value=
"name"
>
Name
</option>
<option
value=
"name"
>
Type
</option>
</select>
</div>
</form>
<table
class=
"alt-style complex"
id=
""
>
<caption>
MY GROUPS
</caption>
<thead>
...
...
@@ -179,24 +190,25 @@
</table>
</div>
<div
class=
"pagination"
>
<span
class=
"step-links
"
>
{% if mine.has_previous %}
<p
class=
"next-prev
"
>
{% if mine.has_previous %}
<a
href=
"?own_page={{ mine.previous_page_number }}"
>
previous
</a>
{% endif %}
<span
class=
"current"
>
Page {{ mine.number }} of {{ mine.paginator.num_pages }}.
</span>
{% if mine.has_next %}
{% if mine.has_next %}
<a
href=
"?own_page={{ mine.next_page_number }}"
>
next
</a>
{% endif %}
</span>
</div>
</p>
<p
class=
"nums"
>
<span
class=
"current"
>
Page {{ mine.number }} of {{ mine.paginator.num_pages }}
</span>
</p>
</div>
{% endif %}
{% if other %}
<div
class=
"full-dotted"
>
<table
class=
"alt-style complex"
>
<table
class=
"alt-style complex
table_sorting
"
>
<caption>
{% if is_search %}
SEARCH RESULTS
...
...
@@ -271,20 +283,21 @@
</div>
<div
class=
"pagination"
>
<span
class=
"step-links
"
>
{% if other.has_previous %}
<p
class=
"next-prev
"
>
{% if other.has_previous %}
<a
href=
"?other_page={{ other.previous_page_number }}"
>
previous
</a>
{% endif %}
<span
class=
"current"
>
Page {{ other.number }} of {{ other.paginator.num_pages }}.
</span>
{% if other.has_next %}
<a
href=
"?other_page={{ other.next_page_number }}"
>
next
</a>
{% if other.has_previous %}
<a
href=
"?other_page={{ other.previous_page_number }}"
>
previous
</a>
{% endif %}
</span>
</div>
</p>
<p
class=
"nums"
>
<span
class=
"current"
>
Page {{ other.number }} of {{ other.paginator.num_pages }}
</span>
</p>
</div>
{% endif %}
{% if q %}
<h2>
No groups found!
</h2>
...
...
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