mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Fix header padding.
Use user_id on sync table. Fix nav tabs direct linking.
This commit is contained in:
parent
6a97537249
commit
17d2c615cf
4 changed files with 10 additions and 16 deletions
|
@ -15,22 +15,9 @@ from plexpy import version
|
|||
<link href="interfaces/default/css/plexpy.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
|
||||
<link href="interfaces/default/css/font-awesome.min.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
.sidebar-nav {
|
||||
padding: 9px 0;
|
||||
}
|
||||
.spinner {
|
||||
padding-bottom: 25px;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
${next.headIncludes()}
|
||||
<link rel="icon" type="image/x-icon" href="interfaces/default/images/favicon.ico"/>
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="interfaces/default/images/favicon.ico"/>
|
||||
<!-- touch icons -->
|
||||
<link rel="shortcut icon" href="interfaces/default/images/favicon.png">
|
||||
<link rel="apple-touch-icon" href="interfaces/default/images/icon_iphone.png">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
color: #fff;
|
||||
padding-top: 50px;
|
||||
}
|
||||
a {
|
||||
color: #eee;
|
||||
|
|
|
@ -33,7 +33,13 @@ sync_table_options = {
|
|||
"data": "friendly_name",
|
||||
"createdCell": function (td, cellData, rowData, row, col) {
|
||||
if (cellData !== '') {
|
||||
$(td).html('<a href="user?user=' + rowData['username'] + '">' + cellData + '</a>');
|
||||
if (rowData['user_id']) {
|
||||
$(td).html('<a href="user?user_id=' + rowData['user_id'] + '">' + cellData + '</a>');
|
||||
} else {
|
||||
$(td).html('<a href="user?user=' + rowData['user'] + '">' + cellData + '</a>');
|
||||
}
|
||||
} else {
|
||||
$(td).html(cellData);
|
||||
}
|
||||
},
|
||||
"className": "no-wrap"
|
||||
|
|
|
@ -804,7 +804,7 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
// Change hash for page-reload
|
||||
$('.nav-settings a').on('shown', function (e) {
|
||||
$('.nav-settings a').on('shown.bs.tab', function (e) {
|
||||
window.location.hash = e.target.hash.replace("#", "#" + prefix);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue