mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added sync help buttons
This commit is contained in:
parent
93203c53b9
commit
340fcbb607
5 changed files with 24 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="serverlessPage">
|
<body class="serverlessPage">
|
||||||
<div class="backdropContainer" style="background-image:url(css/images/splash.png);top:0;"></div>
|
<div class="backdropContainer" style="background-image:url(css/images/splash.png);top:0;"></div>
|
||||||
<div id="connectLoginPage" data-role="page" class="page standalonePage connectLoginPage lightBackdropPage backdropPage staticBackdropPage" data-theme="b" style="background-color: rgba(20, 20,20, .82)!important;">
|
<div id="connectLoginPage" data-role="page" class="page standalonePage connectLoginPage lightBackdropPage backdropPage staticBackdropPage" data-theme="b" style="background-color: rgba(20, 20,20, .75)!important;">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<input type="password" id="txtManualPassword" required="required" />
|
<input type="password" id="txtManualPassword" required="required" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="submit" data-icon="check" data-mini="true">
|
<button type="submit" data-icon="check">
|
||||||
${ButtonSignIn}
|
${ButtonSignIn}
|
||||||
</button>
|
</button>
|
||||||
<p>
|
<p>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<h2 style="text-align: left;">${HeaderNewUsers}</h2>
|
<h2 style="text-align: left;">${HeaderNewUsers}</h2>
|
||||||
<a data-role="button" data-icon="action" href="http://mediabrowser.tv/community/index.php?app=core&module=global§ion=register" target="_blank" data-mini="true">${ButtonSignUp}</a>
|
<a data-role="button" data-icon="action" href="http://mediabrowser.tv/community/index.php?app=core&module=global§ion=register" target="_blank">${ButtonSignUp}</a>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1024,6 +1024,10 @@ h1 + .accentButton {
|
||||||
margin: 18px 0 0 20px;
|
margin: 18px 0 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detailSectionHeader .accentButton {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
.dashboardFooter {
|
.dashboardFooter {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -141,12 +141,13 @@
|
||||||
var lastTargetName = '';
|
var lastTargetName = '';
|
||||||
|
|
||||||
var cardBoxCssClass = 'cardBox visualCardBox';
|
var cardBoxCssClass = 'cardBox visualCardBox';
|
||||||
var barCssClass = 'detailSectionHeader';
|
|
||||||
|
|
||||||
var syncJobPage = 'syncjob.html';
|
var syncJobPage = 'syncjob.html';
|
||||||
|
var showHelpButtons = false;
|
||||||
|
|
||||||
if ($(page).hasClass('mySyncPage')) {
|
if ($(page).hasClass('mySyncPage')) {
|
||||||
syncJobPage = 'mysyncjob.html';
|
syncJobPage = 'mysyncjob.html';
|
||||||
|
showHelpButtons = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i = 0, length = jobs.length; i < length; i++) {
|
for (var i = 0, length = jobs.length; i < length; i++) {
|
||||||
|
@ -164,7 +165,18 @@
|
||||||
|
|
||||||
lastTargetName = targetName;
|
lastTargetName = targetName;
|
||||||
|
|
||||||
html += '<div class="' + barCssClass + '" style="padding: 0 1em;"><p>' + targetName + '</p></div>';
|
html += '<div class="detailSectionHeader" style="padding: .85em 0 .85em 1em;">';
|
||||||
|
|
||||||
|
html += '<div style="display:inline-block;vertical-align:middle;">' + targetName + '</div>';
|
||||||
|
|
||||||
|
if (showHelpButtons) {
|
||||||
|
html += '<a class="accentButton accentButton-g" style="display:inline-block;vertical-align:middle;margin-top:0;margin-left: 20px;" href="https://github.com/MediaBrowser/Wiki/wiki/Sync" target="_blank">';
|
||||||
|
html += '<i class="fa fa-info-circle"></i>';
|
||||||
|
html += Globalize.translate('ButtonHelp');
|
||||||
|
html += '</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += getSyncJobHtml(page, job, cardBoxCssClass, syncJobPage);
|
html += getSyncJobHtml(page, job, cardBoxCssClass, syncJobPage);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title>${TitleSync}</title>
|
<title>${TitleSync}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="syncActivityPage" data-role="page" class="page type-interior syncConfigurationPage syncActivityPage">
|
<div id="syncActivityPage" data-role="page" class="page type-interior syncConfigurationPage syncActivityPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Sync">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<div>
|
<div>
|
||||||
${HeaderEnjoyDayTrial}
|
${HeaderEnjoyDayTrial}
|
||||||
</div>
|
</div>
|
||||||
<div style="font-weight:normal;font-size:90%;margin-top:5px;">
|
<div style="font-weight:normal;font-size:90%;margin-top:5px;">
|
||||||
${ButtonLearnMore}
|
${ButtonLearnMore}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<title>${TitleSync}</title>
|
<title>${TitleSync}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="syncSettingsPage" data-role="page" class="page type-interior syncConfigurationPage">
|
<div id="syncSettingsPage" data-role="page" class="page type-interior syncConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Sync">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue