mirror of
https://github.com/Tautulli/Tautulli.git
synced 2024-11-21 04:50:36 -08:00
132 lines
5.8 KiB
HTML
132 lines
5.8 KiB
HTML
<%doc>
|
|
USAGE DOCUMENTATION :: PLEASE LEAVE THIS AT THE TOP OF THIS FILE
|
|
|
|
For Mako templating syntax documentation please visit: http://docs.makotemplates.org/en/latest/
|
|
|
|
Filename: configuration_table.html
|
|
Version: 0.1
|
|
|
|
DOCUMENTATION :: END
|
|
</%doc>
|
|
|
|
<%!
|
|
import os
|
|
import sqlite3
|
|
import sys
|
|
import plexpy
|
|
from plexpy import common, logger
|
|
from plexpy.helpers import anon_url
|
|
%>
|
|
|
|
<table class="config-info-table small-muted">
|
|
<tbody>
|
|
% if plexpy.CURRENT_VERSION:
|
|
<tr>
|
|
<td>Git Branch:</td>
|
|
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/tree/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CONFIG.GIT_BRANCH))}" target="_blank" rel="noreferrer">${plexpy.CONFIG.GIT_BRANCH}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Git Commit Hash:</td>
|
|
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/commit/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CURRENT_VERSION))}" target="_blank" rel="noreferrer">${plexpy.CURRENT_VERSION}</a></td>
|
|
</tr>
|
|
% endif
|
|
<tr>
|
|
<td>Configuration File:</td>
|
|
<td><a class="no-highlight" href="download_config" data-toggle="tooltip" data-placement="right" title="Download Configuration">${plexpy.CONFIG_FILE}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Database File:</td>
|
|
<td><a class="no-highlight" href="download_database" data-toggle="tooltip" data-placement="right" title="Download Database">${plexpy.DB_FILE}</a> | <a class="no-highlight" href="status/database">Status</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Log File:</td>
|
|
<td><a class="no-highlight" href="download_log" data-toggle="tooltip" data-placement="right" title="Download Log">${os.path.join(plexpy.CONFIG.LOG_DIR, logger.FILENAME)}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Backup Directory:</td>
|
|
<td>${plexpy.CONFIG.BACKUP_DIR}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Cache Directory:</td>
|
|
<td>${plexpy.CONFIG.CACHE_DIR}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Export Directory:</td>
|
|
<td>${plexpy.CONFIG.EXPORT_DIR}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Newsletter Directory:</td>
|
|
<td>${plexpy.CONFIG.NEWSLETTER_DIR}</td>
|
|
</tr>
|
|
% if plexpy.ARGS:
|
|
<tr>
|
|
<td>Arguments:</td>
|
|
<td>${plexpy.ARGS}</td>
|
|
</tr>
|
|
% endif
|
|
<tr>
|
|
<td>Platform:</td>
|
|
<td>${'[Docker] ' if plexpy.DOCKER else ''}${common.PLATFORM} ${common.PLATFORM_RELEASE} (${common.PLATFORM_VERSION + (' - {}'.format(common.PLATFORM_LINUX_DISTRO) if common.PLATFORM_LINUX_DISTRO else '')})</td>
|
|
</tr>
|
|
<tr>
|
|
<td>System Timezone:</td>
|
|
<td>${str(plexpy.SYS_TIMEZONE)} (${'UTC{}'.format(plexpy.SYS_UTC_OFFSET)})
|
|
</tr>
|
|
<tr>
|
|
<td>System Language:</td>
|
|
<td>${plexpy.SYS_LANGUAGE}${' (override {})'.format(plexpy.CONFIG.PMS_LANGUAGE) if plexpy.CONFIG.PMS_LANGUAGE else ''}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Python Version:</td>
|
|
<td>${sys.version}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>SQLite Version:</td>
|
|
<td>${sqlite3.sqlite_version}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="top-line">Resources:</td>
|
|
<td class="top-line">
|
|
<a class="no-highlight" href="${anon_url('https://tautulli.com')}" target="_blank" rel="noreferrer">Tautulli Website</a> |
|
|
<a class="no-highlight" href="${anon_url('https://github.com/%s/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" target="_blank" rel="noreferrer">Source</a> |
|
|
<a class="no-highlight" href="${anon_url('https://github.com/%s/%s/wiki' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" target="_blank" rel="noreferrer">Wiki</a> |
|
|
<a class="no-highlight guidelines-modal-link" href="${anon_url('https://github.com/%s/%s/issues' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" rel="noreferrer" data-id="issue">Bug Reports</a> |
|
|
<a class="no-highlight guidelines-modal-link" href="${anon_url('https://github.com/%s/%s/issues' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" rel="noreferrer" data-id="feature request">Feature Requests</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Support:</td>
|
|
<td>
|
|
<a class="no-highlight support-modal-link" href="${anon_url('https://tautulli.com/discord')}" target="_blank" rel="noreferrer">Tautulli Discord Server</a> |
|
|
<a class="no-highlight support-modal-link" href="${anon_url('https://www.reddit.com/r/Tautulli')}" target="_blank" rel="noreferrer">Tautulli Subreddit</a> |
|
|
<a class="no-highlight support-modal-link" href="${anon_url('https://forums.plex.tv/t/tautulli-monitor-your-plex-media-server/225242')}" target="_blank" rel="noreferrer">Plex Forums</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
$('.guidelines-modal-link').on('click', function (e) {
|
|
e.preventDefault();
|
|
$('#guidelines-type').text($(this).data('id'))
|
|
$('#guidelines-modal').modal();
|
|
$('#guidelines-continue').attr('href', $(this).attr('href')).on('click', function () {
|
|
$('#guidelines-modal').modal('hide');
|
|
});
|
|
});
|
|
$('.support-modal-link').on('click', function (e) {
|
|
e.preventDefault();
|
|
$('#support-modal').modal();
|
|
$('#support-continue').attr('href', $(this).attr('href')).on('click', function () {
|
|
$('#support-modal').modal('hide');
|
|
});
|
|
});
|
|
|
|
$('body').tooltip({
|
|
selector: '[data-toggle="tooltip"]',
|
|
container: 'body'
|
|
});
|
|
|
|
});
|
|
</script> |