-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from MasterBrian99/change-language
add language
- Loading branch information
Showing
3 changed files
with
1,094 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2578,13 +2578,13 @@ | |
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files | ||
*/ | ||
// 在head 中 加载 必要静态 | ||
document.write('<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/css/mdui_v2.min.css">'); | ||
document.write('<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/css/nexmoe_v2.min.css">'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/js/mdui.min.js"></script>'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/js/flv.min.js"></script>'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/js/DPlayer.min.js"></script>'); | ||
document.write('<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/css/mdui_v2.min.css">'); | ||
document.write('<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/css/nexmoe_v2.min.css">'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/js/mdui.min.js"></script>'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/js/flv.min.js"></script>'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/js/DPlayer.min.js"></script>'); | ||
// markdown支持 | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected]/js/markdown-it.min.js"></script>'); | ||
document.write('<script src="//cdn.jsdelivr.net/gh/MasterBrian99/[email protected].1/js/markdown-it.min.js"></script>'); | ||
document.write('<style>.mdui-appbar .mdui-toolbar{height:56px;font-size:1pc}.mdui-toolbar>i{opacity:.5}.mdui-toolbar>i{padding:0}.mdui-toolbar>a:hover,a.active,a.mdui-typo-headline{opacity:1}.mdui-container{max-width:980px}.mdui-list-item{transition:none}.mdui-list>.th{background-color:initial}.mdui-list-item>a{width:100%;line-height:3pc}.mdui-list-item{margin:2px 0;padding:0}.mdui-toolbar>a:last-child{opacity:1}@media screen and (max-width:980px){.mdui-list-item .mdui-text-right{display:none}.mdui-container{width:100%!important;margin:0}}</style>'); | ||
// add custome theme and darkmode | ||
if (UI.dark_mode) { | ||
|
@@ -2598,6 +2598,8 @@ | |
var html = ` | ||
<header class="nexmoe-nav"> | ||
<div class="navSize"> | ||
<a href="/"><img class="avatar" src="https://i.imgur.com/5nPfZZ9.jpg"/></a> | ||
<div class="nav_menu"> | ||
<ul class="menu_ul"> | ||
<li class="menu_li"><a href="https://github.com/MasterBrian99/GDrive-Index" target="_blank">Source Code</a></li> | ||
|
@@ -3311,7 +3313,7 @@ | |
<pre id="editor" ></pre> | ||
</div> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">下载地址</label> | ||
<label class="mdui-textfield-label">Download Link</label> | ||
<input class="mdui-textfield-input" type="text" value="${href}"/> | ||
</div> | ||
<a href="${href}" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a> | ||
|
@@ -3392,11 +3394,11 @@ | |
<br>${playBtn} | ||
<!-- 固定标签 --> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">下载地址</label> | ||
<label class="mdui-textfield-label">Download Link</label> | ||
<input class="mdui-textfield-input" type="text" value="${url}"/> | ||
</div> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">HTML 引用地址</label> | ||
<label class="mdui-textfield-label">HTML Address</label> | ||
<textarea class="mdui-textfield-input"><video><source src="${url}" type="video/mp4"></video></textarea> | ||
</div> | ||
</div> | ||
|
@@ -3439,11 +3441,11 @@ | |
<br> | ||
<!-- 固定标签 --> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">下载地址</label> | ||
<label class="mdui-textfield-label">Download Link</label> | ||
<input class="mdui-textfield-input" type="text" value="${url}"/> | ||
</div> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">HTML 引用地址</label> | ||
<label class="mdui-textfield-label">HTML Address</label> | ||
<textarea class="mdui-textfield-input"><audio><source src="${url}"></audio></textarea> | ||
</div> | ||
</div> | ||
|
@@ -3520,15 +3522,15 @@ | |
</div> | ||
<br> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">下载地址</label> | ||
<label class="mdui-textfield-label">Download Link</label> | ||
<input class="mdui-textfield-input" type="text" value="${url}"/> | ||
</div> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">HTML 引用地址</label> | ||
<label class="mdui-textfield-label">HTML Address</label> | ||
<input class="mdui-textfield-input" type="text" value="<img src='${url}' />"/> | ||
</div> | ||
<div class="mdui-textfield"> | ||
<label class="mdui-textfield-label">Markdown 引用地址</label> | ||
<label class="mdui-textfield-label">Markdown Address</label> | ||
<input class="mdui-textfield-input" type="text" value="![](${url})"/> | ||
</div> | ||
<br> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.