styl przycisków zmiany strony
This commit is contained in:
parent
e3bb9dd669
commit
6affb9915b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -65,3 +65,16 @@ a {
|
||||
padding: 10px;
|
||||
border: 2px solid grey;
|
||||
}
|
||||
#page {
|
||||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
||||
display:inline-block;
|
||||
color: #444;
|
||||
border: 1px solid #CCC;
|
||||
background: #efefef;
|
||||
box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
max-width: 100px;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -84,21 +84,21 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br><br>
|
||||
<br>
|
||||
<center>
|
||||
{% if firstpage == False %}
|
||||
<a href="{% url 'indexpage' currentpage|add:'-1' %}"><button>Poprzednia strona</button></a>
|
||||
<a href="{% url 'indexpage' currentpage|add:'-1' %}"><button id="page"><<</button></a>
|
||||
{% endif %}
|
||||
|
||||
{% for p in pages %}
|
||||
<a href="{% url 'indexpage' p %}">{{ p }}</a>
|
||||
<a href="{% url 'indexpage' p %}"><div id="page">{{ p }}</div></a>
|
||||
{% endfor %}
|
||||
|
||||
{% if lastpage == False %}
|
||||
<a href="{% url 'indexpage' currentpage|add:'+1' %}"><button>Następna strona</button></a>
|
||||
<a href="{% url 'indexpage' currentpage|add:'+1' %}"><button id="page">>></button></a>
|
||||
{% endif %}
|
||||
|
||||
<br />
|
||||
<br>
|
||||
<table id="images">
|
||||
<th><input type="image" src="static/images/background1.jpg" height="150px" width="250px" onClick="changeBackground(imageUrl='static/images/background1.jpg')"/></th>
|
||||
<th><input type="image" src="static/images/background2.jpg" height="150px" width="250px" onClick="changeBackground(imageUrl='static/images/background2.jpg')"/></th>
|
||||
|
Loading…
Reference in New Issue
Block a user