mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added date sort option
This commit is contained in:
4
src/interface/static/js/pyshelf_ux.js
vendored
4
src/interface/static/js/pyshelf_ux.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
$(document).ready(function(){
|
$:buffers:bu(document).ready(function(){
|
||||||
function customlog(outstream) {
|
function customlog(outstream) {
|
||||||
/* Gather my variables and output them */
|
/* Gather my variables and output them */
|
||||||
for (var i = 0; i < outstream.length; i++){
|
for (var i = 0; i < outstream.length; i++){
|
||||||
@@ -110,7 +110,7 @@ $(document).ready(function(){
|
|||||||
// Set the dialog title
|
// Set the dialog title
|
||||||
$('#pop_over_0').dialog({
|
$('#pop_over_0').dialog({
|
||||||
title: "Collections",
|
title: "Collections",
|
||||||
maxHeight: win_height,
|
maxHeight: (win_height-100),
|
||||||
minWidth: $("#horiz_nav_main").width(),
|
minWidth: $("#horiz_nav_main").width(),
|
||||||
hide: { effect: "blind", duration: 1000 },
|
hide: { effect: "blind", duration: 1000 },
|
||||||
show: { effect: "blind", duration: 1000 },
|
show: { effect: "blind", duration: 1000 },
|
||||||
|
|||||||
1
src/interface/templates/index.html
vendored
1
src/interface/templates/index.html
vendored
@@ -61,6 +61,7 @@
|
|||||||
<option value = "sort/author" id="author-sort">Author</option>
|
<option value = "sort/author" id="author-sort">Author</option>
|
||||||
<option value = "sort/collections" id="collection-sort">Collection</option>
|
<option value = "sort/collections" id="collection-sort">Collection</option>
|
||||||
<option value = "sort/tags" id="tags-sort">Tags</option>
|
<option value = "sort/tags" id="tags-sort">Tags</option>
|
||||||
|
<option value = "sort/date" id="tags-sort">Date Added</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div id="horiz_nav_center">
|
<div id="horiz_nav_center">
|
||||||
|
|||||||
Reference in New Issue
Block a user