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|
|---|---|---|
|port|8081|http port to listen on|
|debug|true|run the server in debug mode|
|library_path|/data/library|file path to tv media library|
|label|"sickrage"|deluge label to look for sortable torrents under|
|label_done|"sorted"|deluge label to mark sortable torrents as|
|stashprefix|"Sorted"|when stashing torrents, prefix for the stash path|
|port|http port to listen on|`8081`|
|debug|run the server in debug mode|`true`|
|library_path|file path to tv media library|`/data/library`|
|label|deluge label to look for sortable torrents under|`"sickrage"`|
|label_done|deluge label to mark sortable torrents as|`"sorted"`|
|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.

View File

@ -22,7 +22,7 @@
{% for torid, tor in torrents.items()|tsortbyname %}{% if tor.is_finished %}
<tr>
<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>
{{ tor.name }}<br />
<span class="small">{{ tor.save_path }}</span>
@ -65,21 +65,25 @@
</tr>
{% endif %}{% endfor %}
</table>
<h2>Shows</h2>
<table>
<tr>
<th>name</th>
<th>path</th>
<th>sorting</th>
</tr>
{% for show in shows %}
<tr>
<td>{{ show.name }}</td>
<td>{{ show.dir }}</td>
<td>{{ show.mode }}</td>
</tr>
{% endfor %}
</table>
<div class="libraryinfo">
<details>
<summary>Library information</summary>
<table>
<tr>
<th>name</th>
<th>path</th>
<th>sorting</th>
</tr>
{% for show in shows %}
<tr>
<td>{{ show.name }}</td>
<td>{{ show.dir }}</td>
<td>{{ show.mode }}</td>
</tr>
{% endfor %}
</table>
</details>
</div>
</div>
{% endblock %}

View File

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