]> git.parisson.com Git - telemeta.git/commitdiff
fix sorttable in desk list for playlist
authorKaltar5679 <killian.mary@outlook.fr>
Thu, 4 Jun 2015 10:18:40 +0000 (12:18 +0200)
committerKaltar5679 <killian.mary@outlook.fr>
Thu, 4 Jun 2015 10:18:40 +0000 (12:18 +0200)
examples/sandbox/settings.py
src/django-haystack
telemeta/static/telemeta/css/images/asc.gif [new file with mode: 0644]
telemeta/static/telemeta/css/images/bg.gif [new file with mode: 0644]
telemeta/static/telemeta/css/images/desc.gif [new file with mode: 0644]
telemeta/static/telemeta/css/lists_sorttable.css [new file with mode: 0644]
telemeta/templates/telemeta/lists.html

index 2a4b9621c76859853deb54930d0ae1bd2658c68c..57d2d5e719922218daeb9e0edad93f2f5932fd38 100644 (file)
@@ -296,4 +296,4 @@ HAYSTACK_CONNECTIONS = {
 
 HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
 
-HAYSTACK_SEARCH_RESULTS_PER_PAGE = 500
\ No newline at end of file
+HAYSTACK_SEARCH_RESULTS_PER_PAGE = 50
\ No newline at end of file
index 3c88d41f9a02299d031eef8114dfd4fdc5ed358f..0576c8093caf59bebedce75e0d711aacfd36f03f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 3c88d41f9a02299d031eef8114dfd4fdc5ed358f
+Subproject commit 0576c8093caf59bebedce75e0d711aacfd36f03f
diff --git a/telemeta/static/telemeta/css/images/asc.gif b/telemeta/static/telemeta/css/images/asc.gif
new file mode 100644 (file)
index 0000000..7415786
Binary files /dev/null and b/telemeta/static/telemeta/css/images/asc.gif differ
diff --git a/telemeta/static/telemeta/css/images/bg.gif b/telemeta/static/telemeta/css/images/bg.gif
new file mode 100644 (file)
index 0000000..fac668f
Binary files /dev/null and b/telemeta/static/telemeta/css/images/bg.gif differ
diff --git a/telemeta/static/telemeta/css/images/desc.gif b/telemeta/static/telemeta/css/images/desc.gif
new file mode 100644 (file)
index 0000000..3b30b3c
Binary files /dev/null and b/telemeta/static/telemeta/css/images/desc.gif differ
diff --git a/telemeta/static/telemeta/css/lists_sorttable.css b/telemeta/static/telemeta/css/lists_sorttable.css
new file mode 100644 (file)
index 0000000..8582d43
--- /dev/null
@@ -0,0 +1,19 @@
+/* tables */
+table.listing thead tr th, table.listing tfoot tr th {
+       padding-right: 15px;
+}
+table.listing thead tr .header {
+       background-image: url(images/bg.gif);
+       background-repeat: no-repeat;
+       background-position: right;
+       cursor: pointer;
+}
+table.listing thead tr .headerSortUp {
+       background-image: url(images/asc.gif);
+}
+table.listing thead tr .headerSortDown {
+       background-image: url(images/desc.gif);
+}
+table.listing thead tr .headerSortDown, table.listing thead tr .headerSortUp {
+       background-color: #8dbdd8;
+}
\ No newline at end of file
index aa5671cf025a3e16c6dc6b1f0f0dfdcfc52bbd61..0a0fc359ab7e9db39cca1f4132a866b5cf184b83 100644 (file)
@@ -5,6 +5,7 @@
 {% comment "added by Killian Mary" %}{% endcomment %}
 {% block extra_stylesheets %}
     <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/jquery-ui.css" />
+    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}telemeta/css/lists_sorttable.css" media="print, projection, screen"/>
 {% endblock %}
 {% comment "added by Killian Mary end" %}{% endcomment %}