pull/641/head
parent
0b6c8a80dd
commit
bea4bf1035
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -25,39 +25,37 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fontsource/noto-sans-hk/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/@fontsource/noto-sans-hk/500.css" />
|
||||
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
|
||||
<script src="//cdn.jsdelivr.net/npm/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//cdn.jsdelivr.net/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background-color: #222222;
|
||||
< !--BackgroundStart-->background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
< !--BackgroundEnd-->margin: 0;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
@ -73,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -96,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -126,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -151,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -208,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -217,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -263,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -304,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -339,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -398,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -495,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -514,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -578,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -590,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -624,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -636,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -694,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -761,10 +743,10 @@
|
|||
|
||||
function loadpdf() {
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc =
|
||||
"//cdn.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
var loadingTask = pdfjsLib.getDocument({
|
||||
url: "<!--FileDownUrl-->",
|
||||
cMapUrl: "//cdn.jsdelivr.net/npm/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapPacked: true,
|
||||
rangeChunkSize: 65535
|
||||
});
|
||||
|
@ -788,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -803,36 +784,32 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
<script src="//cdn.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/jquery"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/jquery"></script>
|
||||
<script src="//cdn.jsdelivr.net/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/extra.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/extra.js"></script>
|
||||
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script
|
||||
src="//cdn.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//cdn.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -25,39 +25,37 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/@fontsource/noto-sans-hk/500.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/@fontsource/noto-sans-hk/500.css" />
|
||||
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
|
||||
<script src="//fastly.jsdelivr.net/npm/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//fastly.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/npm/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//fastly.jsdelivr.net/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//fastly.jsdelivr.net/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background-color: #222222;
|
||||
< !--BackgroundStart-->background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
< !--BackgroundEnd-->margin: 0;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
@ -73,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -96,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -126,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -151,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -208,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -217,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -263,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -304,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -339,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -398,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -495,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -514,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -578,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -590,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -624,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -636,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -694,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -761,10 +743,10 @@
|
|||
|
||||
function loadpdf() {
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc =
|
||||
"//fastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
var loadingTask = pdfjsLib.getDocument({
|
||||
url: "<!--FileDownUrl-->",
|
||||
cMapUrl: "//fastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapPacked: true,
|
||||
rangeChunkSize: 65535
|
||||
});
|
||||
|
@ -788,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -803,42 +784,32 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
<script src="//fastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/npm/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/npm/jquery"></script>
|
||||
<script src="//fastly.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/jquery"></script>
|
||||
<script src="//fastly.jsdelivr.net/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/extra.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/extra.js"></script>
|
||||
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script
|
||||
src="//fastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//fastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -25,39 +25,37 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/@fontsource/noto-sans-hk/500.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/@fontsource/noto-sans-hk/500.css" />
|
||||
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
|
||||
<script src="//gcore.jsdelivr.net/npm/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//gcore.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/npm/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//gcore.jsdelivr.net/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//gcore.jsdelivr.net/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background-color: #222222;
|
||||
< !--BackgroundStart-->background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
< !--BackgroundEnd-->margin: 0;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
@ -73,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -96,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -126,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -151,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -208,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -217,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -263,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -304,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -339,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -398,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -495,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -514,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -578,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -590,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -624,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -636,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -694,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -761,10 +743,10 @@
|
|||
|
||||
function loadpdf() {
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc =
|
||||
"//gcore.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
var loadingTask = pdfjsLib.getDocument({
|
||||
url: "<!--FileDownUrl-->",
|
||||
cMapUrl: "//gcore.jsdelivr.net/npm/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapPacked: true,
|
||||
rangeChunkSize: 65535
|
||||
});
|
||||
|
@ -788,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -803,42 +784,32 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
<script src="//gcore.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/npm/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/npm/jquery"></script>
|
||||
<script src="//gcore.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/jquery"></script>
|
||||
<script src="//gcore.jsdelivr.net/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/extra.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/extra.js"></script>
|
||||
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script
|
||||
src="//gcore.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//gcore.jsdelivr.net/renexmoe-tw527e-edition@1.1.1/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -25,39 +25,37 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/@fontsource/noto-sans-hk/500.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/@fontsource/noto-sans-sc/500.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/@fontsource/noto-sans-hk/500.css" />
|
||||
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/mdui@1.0.1/dist/css/mdui.min.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/@fontsource/fira-code@4.2.2/400.css" />
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/@highlightjs/cdn-assets/styles/github.min.css" />
|
||||
|
||||
<script src="//originfastly.jsdelivr.net/npm/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//originfastly.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/npm/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/dplayer/dist/DPlayer.min.js"></script>
|
||||
<link rel="stylesheet" href="//originfastly.jsdelivr.net/aplayer/dist/APlayer.min.css" />
|
||||
<script src="//originfastly.jsdelivr.net/aplayer/dist/APlayer.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/jsmediatags/dist/jsmediatags.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background-color: #222222;
|
||||
< !--BackgroundStart-->background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
< !--BackgroundEnd-->margin: 0;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
@ -73,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -96,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -126,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -151,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -208,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -217,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -263,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -304,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -339,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -398,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -495,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -514,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -578,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -590,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -624,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -636,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -694,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -761,10 +743,10 @@
|
|||
|
||||
function loadpdf() {
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc =
|
||||
"//originfastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
var loadingTask = pdfjsLib.getDocument({
|
||||
url: "<!--FileDownUrl-->",
|
||||
cMapUrl: "//originfastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapPacked: true,
|
||||
rangeChunkSize: 65535
|
||||
});
|
||||
|
@ -788,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -803,42 +784,32 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
<script src="//originfastly.jsdelivr.net/npm/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/npm/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/npm/jquery"></script>
|
||||
<script src="//originfastly.jsdelivr.net/npm/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/mdui@1.0.1/dist/js/mdui.min.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/sha-1@1.0.0/dist/sha1.umd.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/jquery"></script>
|
||||
<script src="//originfastly.jsdelivr.net/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/extra.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/extra.js"></script>
|
||||
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script
|
||||
src="//originfastly.jsdelivr.net/npm/renexmoe-tw527e-edition@1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//originfastly.jsdelivr.net/renexmoe-tw527e-edition@1.2.3/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
<html lang="<!--constStr@language-->">
|
||||
|
||||
<head>
|
||||
<link rel="preconnect" href="//cdn.statically.io" />
|
||||
<link rel="preconnect" href="//npm.elemecdn.com" />
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="" content="IE=edge,chrome=1" />
|
||||
|
@ -25,16 +25,12 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//cdn.statically.io/gh/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//cdn.statically.io/gh/@fontsource/noto-sans-sc/500.css" />
|
||||
|
@ -52,12 +48,14 @@
|
|||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background-color: #222222;
|
||||
< !--BackgroundStart-->background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
< !--BackgroundEnd-->margin: 0;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
@ -73,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -96,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -126,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -151,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -208,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -217,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -263,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -304,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -339,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -398,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -495,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -514,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -578,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -590,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -624,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -636,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -694,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -761,10 +743,10 @@
|
|||
|
||||
function loadpdf() {
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc =
|
||||
"//cdn.statically.io/gh/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
|
||||
var loadingTask = pdfjsLib.getDocument({
|
||||
url: "<!--FileDownUrl-->",
|
||||
cMapUrl: "//cdn.statically.io/gh/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
|
||||
cMapPacked: true,
|
||||
rangeChunkSize: 65535
|
||||
});
|
||||
|
@ -788,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -803,12 +784,10 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
|
@ -818,21 +797,19 @@
|
|||
<script src="//cdn.statically.io/gh/jquery"></script>
|
||||
<script src="//cdn.statically.io/gh/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/extra.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/extra.js"></script>
|
||||
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script
|
||||
src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//cdn.statically.io/gh/renexmoe-tw527e-edition@v1.2.3/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!--IconValuesStart-->
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
{
|
||||
"music":"audiotrack",
|
||||
"video":"ondemand_video",
|
||||
"img":"image",
|
||||
"pdf":"picture_as_pdf",
|
||||
"txt":"description",
|
||||
"apk":"android",
|
||||
"exe":"desktop_windows",
|
||||
"default":"insert_drive_file"
|
||||
}
|
||||
<!--IconValuesEnd-->
|
||||
|
||||
|
@ -25,16 +25,12 @@
|
|||
<!--BackgroundMStart-->
|
||||
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
|
||||
<!--BackgroundMEnd-->
|
||||
<title>
|
||||
<!--Title-->
|
||||
</title>
|
||||
<title><!--Title--></title>
|
||||
<meta name="keywords" content="<!--Keywords-->" />
|
||||
<meta name="description" content="<!--Description-->" />
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="//unpkg.com/renexmoe-tw527e-edition@1.2.1/css/min/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet"
|
||||
href="//unpkg.com/renexmoe-tw527e-edition@1.2.1/css/min/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
<link rel="stylesheet" href="//unpkg.com/renexmoe-tw527e-edition@1.2.3/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
|
||||
<link rel="stylesheet" href="//unpkg.com/renexmoe-tw527e-edition@1.2.3/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
|
||||
|
||||
<link rel="stylesheet" href="//unpkg.com/@fontsource/noto-sans-tc/500.css" />
|
||||
<link rel="stylesheet" href="//unpkg.com/@fontsource/noto-sans-sc/500.css" />
|
||||
|
@ -52,10 +48,13 @@
|
|||
<script>
|
||||
window.disableddarkmode = true;
|
||||
</script>
|
||||
|
||||
|
||||
<style>
|
||||
html {
|
||||
background: < !--BackgroundStart-->url("<!--BackgroundUrl-->") fixed no-repeat, < !--BackgroundEnd-->#222222;
|
||||
background-color: #222222;
|
||||
<!--BackgroundStart-->
|
||||
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
|
||||
<!--BackgroundEnd-->
|
||||
margin: 0;
|
||||
background-size: cover;
|
||||
}
|
||||
|
@ -72,17 +71,16 @@
|
|||
background-color: #222222 !important;
|
||||
}
|
||||
|
||||
* {
|
||||
*{
|
||||
color: #ffd2b3;
|
||||
font-family: 'Noto Sans TC', 'Noto Sans SC', 'Noto Sans HK', sans-serif;
|
||||
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
|
||||
}
|
||||
|
||||
#footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mdui-typo code,
|
||||
.mdui-typo kbd {
|
||||
.mdui-typo code,.mdui-typo kbd {
|
||||
color: #7787ff;
|
||||
background-color: #dfdfdf;
|
||||
border-radius: 6px
|
||||
|
@ -95,7 +93,7 @@
|
|||
.mdui-icon {
|
||||
color: #fff8f3;
|
||||
}
|
||||
|
||||
|
||||
.mdui-menu {
|
||||
background-color: rgb(22 22 22 / 43%);
|
||||
}
|
||||
|
@ -125,15 +123,13 @@
|
|||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.markdown code,
|
||||
.mdui-typo code {
|
||||
.markdown code, .mdui-typo code {
|
||||
padding: 2px 4px !important;
|
||||
color: #e3adff !important;
|
||||
background-color: #464646 !important;
|
||||
}
|
||||
|
||||
.markdown a *,
|
||||
.mdui-typo a * {
|
||||
.markdown a *, .mdui-typo a * {
|
||||
color: #ff4d7e !important;
|
||||
}
|
||||
|
||||
|
@ -150,13 +146,13 @@
|
|||
}
|
||||
|
||||
input#url-input {
|
||||
color: rgb(103 95 217);
|
||||
color: rgb(103 95 217);
|
||||
}
|
||||
|
||||
label.mdui-textfield-label {
|
||||
color: #e91e63 !important;
|
||||
color: #e91e63 !important;
|
||||
}
|
||||
|
||||
|
||||
.clp {
|
||||
margin: 0.25rem;
|
||||
color: #1A202C;
|
||||
|
@ -207,7 +203,7 @@
|
|||
margin: -0.25rem;
|
||||
}
|
||||
|
||||
.blur {
|
||||
.blur{
|
||||
z-index: 0;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
|
@ -216,21 +212,20 @@
|
|||
filter: blur(0px);
|
||||
}
|
||||
|
||||
ul.mdui-menu {
|
||||
ul.mdui-menu{
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.aplayer,
|
||||
.aplayer-pic {
|
||||
.aplayer, .aplayer-pic {
|
||||
padding: inherit;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.mdui-menu {
|
||||
width: auto;
|
||||
.mdui-menu{
|
||||
width: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--customCss-->
|
||||
</head>
|
||||
|
||||
|
@ -262,11 +257,9 @@
|
|||
<div class="mdui-drawer" id="main-drawer">
|
||||
<div class="mdui-list" mdui-collapse="{accordion: true}">
|
||||
<!--LoginStart-->
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}">
|
||||
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
|
||||
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}">
|
||||
<!--constStr@Login-->
|
||||
</a>
|
||||
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
|
||||
</li>
|
||||
<!--LoginEnd-->
|
||||
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
|
||||
|
@ -303,23 +296,21 @@
|
|||
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
|
||||
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
|
||||
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
|
||||
<select class="mdui-select" name="language" mdui-select
|
||||
onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->>
|
||||
<!--SelectLanguageValue-->
|
||||
</option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<!--SelectLanguageStart-->
|
||||
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
|
||||
<!--SelectLanguageEnd-->
|
||||
</select>
|
||||
</div>
|
||||
</li>
|
||||
<script>
|
||||
function changelanguage(str) {
|
||||
if (str == 'Language') str = '';
|
||||
function changelanguage(str)
|
||||
{
|
||||
if (str=='Language') str = '';
|
||||
var expd = new Date();
|
||||
expd.setTime(expd.getTime() + (2 * 60 * 60 * 1000));
|
||||
var expires = "expires=" + expd.toGMTString();
|
||||
document.cookie = 'language=' + str + '; path=/; ' + expires;
|
||||
expd.setTime(expd.getTime()+(2*60*60*1000));
|
||||
var expires = "expires="+expd.toGMTString();
|
||||
document.cookie='language='+str+'; path=/; '+expires;
|
||||
location.href = location.href;
|
||||
}
|
||||
</script>
|
||||
|
@ -338,15 +329,11 @@
|
|||
|
||||
<!--LoginStart-->
|
||||
<div class="mdui-dialog" id="login_input">
|
||||
<div class="mdui-dialog-title">
|
||||
<!--constStr@Login-->
|
||||
</div>
|
||||
<div class="mdui-dialog-title"><!--constStr@Login--></div>
|
||||
<div class="mdui-dialog-content" style="height: 108px">
|
||||
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
|
||||
<div class="mdui-textfield mdui-textfield-floating-label">
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label">
|
||||
<!--constStr@InputPassword-->
|
||||
</label>
|
||||
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
|
||||
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
|
||||
<input name="timestamp" type="hidden" value="">
|
||||
</div>
|
||||
|
@ -397,14 +384,11 @@
|
|||
</span>
|
||||
<span class="mdui-chip-title">HEAD.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);"
|
||||
id="head">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
|
||||
<textarea id="head-md"><!--HeadmdContent--></textarea>
|
||||
</div>
|
||||
<!--HeadmdEnd-->
|
||||
<div class="mdui-row mdui-shadow-3"
|
||||
style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
|
||||
<ul class="mdui-list" id="file-list">
|
||||
<li class="mdui-list-item mdui-ripple">
|
||||
<div class="mdui-row mdui-col-xs-12">
|
||||
|
@ -494,8 +478,7 @@
|
|||
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
|
||||
class="mdui-chip-title">README.md</span>
|
||||
</div>
|
||||
<div class="mdui-typo mdui-shadow-3 markdown"
|
||||
style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
|
||||
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
|
||||
</div>
|
||||
<!--ReadmemdEnd-->
|
||||
|
@ -513,17 +496,17 @@
|
|||
<!--MorePageStart-->
|
||||
<script>
|
||||
window.MorePage = [
|
||||
< !--MorePageListNowStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListNowEnd-->
|
||||
< !--MorePageListStart-->
|
||||
< !--PageNum-->,
|
||||
< !--MorePageListEnd-->
|
||||
<!--MorePageListNowStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListNowEnd-->
|
||||
<!--MorePageListStart-->
|
||||
<!--PageNum-->,
|
||||
<!--MorePageListEnd-->
|
||||
];
|
||||
</script>
|
||||
<!--MorePageEnd-->
|
||||
<!--IsFolderEnd-->
|
||||
|
||||
|
||||
|
||||
<!--IsFileStart-->
|
||||
<script>
|
||||
|
@ -577,10 +560,10 @@
|
|||
loop: 'all',
|
||||
audio: [
|
||||
{
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
|
||||
artist: " ",
|
||||
url: "<!--FileDownUrl-->",
|
||||
cover: " "
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -589,29 +572,29 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function AudioTime() {
|
||||
if (!isRecover) {
|
||||
if (ap.audio.duration > 0) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function AudioTime(){
|
||||
if(!isRecover){
|
||||
if(ap.audio.duration > 0){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16) {
|
||||
}else{
|
||||
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function AudioPause() {
|
||||
if (window.location.href != oldURL) {
|
||||
if (ap != undefined) {
|
||||
function AudioPause(){
|
||||
if(window.location.href != oldURL){
|
||||
if(ap != undefined){
|
||||
ap.pause();
|
||||
}
|
||||
oldURL = window.location.href;
|
||||
|
@ -623,8 +606,8 @@
|
|||
setInterval(AudioTime, 1000);
|
||||
|
||||
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
|
||||
onSuccess: function (tag) {
|
||||
if (tag.tags.picture != undefined) {
|
||||
onSuccess: function(tag) {
|
||||
if(tag.tags.picture != undefined){
|
||||
const data = tag.tags.picture.data;
|
||||
const format = tag.tags.picture.format;
|
||||
let base64String = "";
|
||||
|
@ -635,18 +618,18 @@
|
|||
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
|
||||
}
|
||||
|
||||
if (tag.tags.title != undefined) {
|
||||
if(tag.tags.title != undefined){
|
||||
ap.options.audio[0].name = tag.tags.title;
|
||||
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
|
||||
}
|
||||
|
||||
if (tag.tags.artist != undefined) {
|
||||
if(tag.tags.artist != undefined){
|
||||
ap.options.audio[0].artist = tag.tags.artist;
|
||||
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
|
||||
}
|
||||
|
||||
},
|
||||
onError: function (error) {
|
||||
onError: function(error) {
|
||||
p = document.getElementById('aplayer');
|
||||
parent = p.parentNode;
|
||||
audio = document.createElement('audio');
|
||||
|
@ -693,21 +676,21 @@
|
|||
|
||||
isRecover = false;
|
||||
|
||||
function VideoTime() {
|
||||
if (!isRecover) {
|
||||
if (dp.video.duration > 0 && dp.video.duration != NaN) {
|
||||
if (localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null') {
|
||||
function VideoTime(){
|
||||
if(!isRecover){
|
||||
if(dp.video.duration > 0 && dp.video.duration != NaN){
|
||||
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
|
||||
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
|
||||
mdui.snackbar('已恢復至上次播放位置');
|
||||
isRecover = true;
|
||||
} else {
|
||||
}else{
|
||||
isRecover = true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31) {
|
||||
}else{
|
||||
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
|
||||
} else {
|
||||
}else{
|
||||
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
|
||||
}
|
||||
}
|
||||
|
@ -787,8 +770,7 @@
|
|||
</script>
|
||||
<!--IspdfFileEnd-->
|
||||
<!--IstxtFileStart-->
|
||||
<pre id="editor"
|
||||
style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
|
||||
<script>
|
||||
document.querySelector("#admin-menu").innerHTML +=
|
||||
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
|
||||
|
@ -802,12 +784,10 @@
|
|||
<!--constStr@FileNotSupport-->
|
||||
<!--IsOtherFileEnd-->
|
||||
</div>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank"
|
||||
class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i
|
||||
class="mdui-icon material-icons">file_download</i></a>
|
||||
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
|
||||
<!--IsFileEnd-->
|
||||
</div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
|
||||
</body>
|
||||
|
||||
|
||||
|
@ -817,20 +797,19 @@
|
|||
<script src="//unpkg.com/jquery"></script>
|
||||
<script src="//unpkg.com/@highlightjs/cdn-assets/highlight.min.js"></script>
|
||||
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/extra.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/extra.js"></script>
|
||||
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.1/js/min/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
|
||||
<script src="//unpkg.com/renexmoe-tw527e-edition@1.2.3/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
|
||||
|
||||
<script>
|
||||
window.renexmoe.toggle_theme();
|
||||
</script>
|
||||
|
||||
<!--customScript-->
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue