mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add about page to help section
This commit is contained in:
parent
65303c8816
commit
efea777b99
@ -415,6 +415,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
{
|
{
|
||||||
"Extensions.js",
|
"Extensions.js",
|
||||||
"Site.js",
|
"Site.js",
|
||||||
|
"AboutPage.js",
|
||||||
"AddPluginPage.js",
|
"AddPluginPage.js",
|
||||||
"AdvancedConfigurationPage.js",
|
"AdvancedConfigurationPage.js",
|
||||||
"AdvancedMetadataConfigurationPage.js",
|
"AdvancedMetadataConfigurationPage.js",
|
||||||
|
36
MediaBrowser.WebDashboard/Html/about.html
Normal file
36
MediaBrowser.WebDashboard/Html/about.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>About</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="aboutPage" data-role="page" class="page type-interior">
|
||||||
|
|
||||||
|
<div data-role="content">
|
||||||
|
<div class="content-primary">
|
||||||
|
<div class="readOnlyContent">
|
||||||
|
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||||
|
<a href="support.html" data-role="button">General</a>
|
||||||
|
<a href="log.html" data-role="button">View Log</a>
|
||||||
|
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
||||||
|
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
||||||
|
<a href="about.html" data-role="button" class="ui-btn-active">About</a>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
<img class="imgLogoIcon" src="css/images/mblogoicon.png" /><img class="imgLogoText" src="css/images/mblogotextblack.png" />
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
Version <span id="appVersionNumber"></span>
|
||||||
|
</p>
|
||||||
|
<hr/>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<p>
|
||||||
|
Utilizing <a href="http://www.pismotechnic.com/pfm/" />Pismo File Mount</a> through a donated license.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -12,7 +12,8 @@
|
|||||||
<a href="support.html" data-role="button">General</a>
|
<a href="support.html" data-role="button">General</a>
|
||||||
<a href="log.html" data-role="button" class="ui-btn-active">View Log</a>
|
<a href="log.html" data-role="button" class="ui-btn-active">View Log</a>
|
||||||
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
||||||
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
||||||
|
<a href="about.html" data-role="button">About</a>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<label for="chkAutoScroll">Auto-scroll</label>
|
<label for="chkAutoScroll">Auto-scroll</label>
|
||||||
|
24
MediaBrowser.WebDashboard/Html/scripts/aboutPage.js
Normal file
24
MediaBrowser.WebDashboard/Html/scripts/aboutPage.js
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
var AboutPage = {
|
||||||
|
|
||||||
|
onPageShow: function () {
|
||||||
|
AboutPage.pollForInfo();
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
pollForInfo: function () {
|
||||||
|
$.getJSON("dashboardInfo").done(AboutPage.renderInfo);
|
||||||
|
},
|
||||||
|
|
||||||
|
renderInfo: function (dashboardInfo) {
|
||||||
|
AboutPage.renderSystemInfo(dashboardInfo);
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
renderSystemInfo: function (dashboardInfo) {
|
||||||
|
var page = $.mobile.activePage;
|
||||||
|
$('#appVersionNumber', page).html(dashboardInfo.SystemInfo.Version);
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
$(document).on('pageshow', "#aboutPage", AboutPage.onPageShow);
|
@ -835,7 +835,7 @@ var Dashboard = {
|
|||||||
}, {
|
}, {
|
||||||
name: "Help",
|
name: "Help",
|
||||||
href: "support.html",
|
href: "support.html",
|
||||||
selected: pageElem.id == "supportPage" || pageElem.id == "logPage" || pageElem.id == "supporterPage" || pageElem.id == "supporterKeyPage"
|
selected: pageElem.id == "supportPage" || pageElem.id == "logPage" || pageElem.id == "supporterPage" || pageElem.id == "supporterKeyPage" || pageElem.id == "aboutPage"
|
||||||
}];
|
}];
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
<a href="log.html" data-role="button">View Log</a>
|
<a href="log.html" data-role="button">View Log</a>
|
||||||
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
||||||
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
||||||
|
<a href="about.html" data-role="button">About</a>
|
||||||
</div>
|
</div>
|
||||||
<h2>General Help</h2>
|
<h2>General Help</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
<a href="log.html" data-role="button">View Log</a>
|
<a href="log.html" data-role="button">View Log</a>
|
||||||
<a href="supporter.html" data-role="button" class="ui-btn-active">Become a Supporter</a>
|
<a href="supporter.html" data-role="button" class="ui-btn-active">Become a Supporter</a>
|
||||||
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
<a href="supporterKey.html" data-role="button">Supporter Key</a>
|
||||||
|
<a href="about.html" data-role="button">About</a>
|
||||||
</div>
|
</div>
|
||||||
<h2>Support the Media Browser Team</h2>
|
<h2>Support the Media Browser Team</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
<a href="log.html" data-role="button">View Log</a>
|
<a href="log.html" data-role="button">View Log</a>
|
||||||
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
<a href="supporter.html" data-role="button">Become a Supporter</a>
|
||||||
<a href="supporterKey.html" data-role="button" class="ui-btn-active">Supporter Key</a>
|
<a href="supporterKey.html" data-role="button" class="ui-btn-active">Supporter Key</a>
|
||||||
|
<a href="about.html" data-role="button">About</a>
|
||||||
</div>
|
</div>
|
||||||
<h2>Supporter Key</h2>
|
<h2>Supporter Key</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@ -385,6 +385,7 @@
|
|||||||
<EmbeddedResource Include="Html\scripts\ItemDetailPage.js" />
|
<EmbeddedResource Include="Html\scripts\ItemDetailPage.js" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Html\scripts\AboutPage.js" />
|
||||||
<EmbeddedResource Include="Html\css\images\supporterflag.png" />
|
<EmbeddedResource Include="Html\css\images\supporterflag.png" />
|
||||||
<EmbeddedResource Include="Html\scripts\ItemListPage.js" />
|
<EmbeddedResource Include="Html\scripts\ItemListPage.js" />
|
||||||
<EmbeddedResource Include="Html\itemList.html" />
|
<EmbeddedResource Include="Html\itemList.html" />
|
||||||
@ -404,6 +405,7 @@
|
|||||||
<EmbeddedResource Include="Html\css\images\mblogotextwhite.png" />
|
<EmbeddedResource Include="Html\css\images\mblogotextwhite.png" />
|
||||||
<EmbeddedResource Include="Html\css\images\clients\dlna.png" />
|
<EmbeddedResource Include="Html\css\images\clients\dlna.png" />
|
||||||
<EmbeddedResource Include="ApiClient.js" />
|
<EmbeddedResource Include="ApiClient.js" />
|
||||||
|
<EmbeddedResource Include="Html\about.html" />
|
||||||
<Content Include="Html\css\images\stars.png" />
|
<Content Include="Html\css\images\stars.png" />
|
||||||
<EmbeddedResource Include="Html\scripts\MediaPlayer.js" />
|
<EmbeddedResource Include="Html\scripts\MediaPlayer.js" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user