Commit 3cbbde8d authored by Łukasz Nowak's avatar Łukasz Nowak

Improve pagination.

parent 68703f7a
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22211438.16</string> </value> <value> <string>ts22217690.16</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -120,6 +120,10 @@ function drawSoftwareReleaseList(data) {\n ...@@ -120,6 +120,10 @@ function drawSoftwareReleaseList(data) {\n
}\n }\n
else { a.addClass(\'sr_right_inactive\'); }\n else { a.addClass(\'sr_right_inactive\'); }\n
navigation_div.append(a);\n navigation_div.append(a);\n
var p = $(\'<div>\');\n
p.addClass(\'software_release_page\');\n
p.text(\'Page: \' + String(page + 1));\n
navigation_div.append(p);\n
var a = $(\'<div>\');\n var a = $(\'<div>\');\n
var param = {};\n var param = {};\n
if (data.title) { param[\'query\'] = data.title; }\n if (data.title) { param[\'query\'] = data.title; }\n
...@@ -282,7 +286,7 @@ function hashController ()\n ...@@ -282,7 +286,7 @@ function hashController ()\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>8258</int> </value> <value> <int>8394</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -254,6 +254,7 @@ div.software_release_more {position:relative; width:100%; height: 26px;backgroun ...@@ -254,6 +254,7 @@ div.software_release_more {position:relative; width:100%; height: 26px;backgroun
.sr_right_inactive {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_right_inactive.png);}\n .sr_right_inactive {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_right_inactive.png);}\n
.sr_left_active {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_left_active.png);cursor: pointer;}\n .sr_left_active {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_left_active.png);cursor: pointer;}\n
.sr_left_inactive {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_left_inactive.png);}\n .sr_left_inactive {float:right; margin: 2px; height:22px; width:24px; background:url(<tal:block tal:replace="images_path"/>sr_left_inactive.png);}\n
div.software_release_page {float:right; margin: 4px; height:22px; color: white; font-site: 18px;}\n
</tal:block> </tal:block>
]]></unicode> </value> ]]></unicode> </value>
......
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 to comment