ui tweaks

This commit is contained in:
dave 2019-08-17 18:30:30 -07:00
parent 9c3eb8399b
commit 862584875d
3 changed files with 32 additions and 22 deletions

View File

@ -45,12 +45,12 @@ Basic options
|key|meaning|example| |key|meaning|example|
|---|---|---| |---|---|---|
|port|8081|http port to listen on| |port|http port to listen on|`8081`|
|debug|true|run the server in debug mode| |debug|run the server in debug mode|`true`|
|library_path|/data/library|file path to tv media library| |library_path|file path to tv media library|`/data/library`|
|label|"sickrage"|deluge label to look for sortable torrents under| |label|deluge label to look for sortable torrents under|`"sickrage"`|
|label_done|"sorted"|deluge label to mark sortable torrents as| |label_done|deluge label to mark sortable torrents as|`"sorted"`|
|stashprefix|"Sorted"|when stashing torrents, prefix for the stash path| |stashprefix|when stashing torrents, prefix for the stash path|`"Sorted"`|
Beyond these options, mediasort has several more options to tune how it sorts your media that require more explanation. Beyond these options, mediasort has several more options to tune how it sorts your media that require more explanation.

View File

@ -22,7 +22,7 @@
{% for torid, tor in torrents.items()|tsortbyname %}{% if tor.is_finished %} {% for torid, tor in torrents.items()|tsortbyname %}{% if tor.is_finished %}
<tr> <tr>
<td><input type="checkbox" name="torrents" value="{{ torid }}"{% if torid in moves %} checked="checked"{% endif %}></td> <td><input type="checkbox" name="torrents" value="{{ torid }}"{% if torid in moves %} checked="checked"{% endif %}></td>
<td>{{ torid[0:6] }}</td> <td>{{ torid[0:8] }}</td>
<td> <td>
{{ tor.name }}<br /> {{ tor.name }}<br />
<span class="small">{{ tor.save_path }}</span> <span class="small">{{ tor.save_path }}</span>
@ -65,21 +65,25 @@
</tr> </tr>
{% endif %}{% endfor %} {% endif %}{% endfor %}
</table> </table>
<h2>Shows</h2> <div class="libraryinfo">
<table> <details>
<tr> <summary>Library information</summary>
<th>name</th> <table>
<th>path</th> <tr>
<th>sorting</th> <th>name</th>
</tr> <th>path</th>
{% for show in shows %} <th>sorting</th>
<tr> </tr>
<td>{{ show.name }}</td> {% for show in shows %}
<td>{{ show.dir }}</td> <tr>
<td>{{ show.mode }}</td> <td>{{ show.name }}</td>
</tr> <td>{{ show.dir }}</td>
{% endfor %} <td>{{ show.mode }}</td>
</table> </tr>
{% endfor %}
</table>
</details>
</div>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -32,6 +32,12 @@
.right { .right {
float: right; float: right;
} }
.libraryinfo {
margin-top: 30px;
}
details summary:hover {
cursor: pointer;
}
</style> </style>
</head> </head>
<body> <body>