Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Deploying to dist-ghpages from @ 68e2e7f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjr committed Jul 7, 2024
0 parents commit 3569021
Show file tree
Hide file tree
Showing 16 changed files with 175 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bcspanel-web-login-preview.bddjr.com
Empty file added api-login/color-scheme
Empty file.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script> document.location.assign("/login/") </script>
1 change: 1 addition & 0 deletions login/assets/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions login/assets/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions login/config/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- <p><a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener">京ICP备99999999号-9</a></p> -->
<!-- <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=99999999999999">京公网安备99999999999999号</a></p> -->
Binary file added login/icon/BCSP-64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added login/icon/BCSPanel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added login/ie/icon/chrome-32-ie6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added login/ie/icon/edge-32-ie6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added login/ie/icon/firefox-32-ie6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added login/ie/icon/supermium-32-ie6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
166 changes: 166 additions & 0 deletions login/ie/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<!DOCTYPE html>
<!-- v1.2.5 , MIT license. https://github.com/bddjr/iehtml -->
<html>

<head>
<meta charset="UTF-8" />

<script type="module">
// ES2022
if ((class {
static {
this.a = location.hash[1]
}
}).a == '/') {
stop()
try { document.getElementsByTagName('html')[0].style.display = 'none' } catch (e) { }
location.replace(location.origin + location.hash.slice(1))
}
</script>

<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Please upgrade or change browser</title>
<link rel="shortcut icon" href="data:," />
<link rel="icon" href="data:," />
<style>
* {
font-family: Arial, "Microsoft Yahei", system-ui;
}

html {
background-color: #ececec;
}

body {
margin: 32px auto;
text-align: center;
}

.divBrowsers {
width: 280px;
max-width: 100%;
margin: 50px auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.browsera {
color: #0069c2;
border: 2px solid #ffffff;
background-color: #ffffff;
text-decoration: none;
display: inline-block;
cursor: pointer;
width: 100px;
padding: 11px 8px;
margin: 8px;
}

.browsera:hover {
border-color: #0069c2;
}

img {
background: none;
border-width: 0;
width: 32px;
height: 32px;
display: block;
margin: 0 auto;
}

.browserspantitle {
font-size: 18px;
line-height: 22px;
height: 22px;
cursor: pointer;
display: block;
margin: 12px 0;
}

.browserspanVersion {
color: #808080;
font-size: 14px;
display: block;
}

.h1 {
font-weight: normal;
}

.footerLinkP {
margin: 8px auto;
}

.footerLinkA {
color: #808080;
text-decoration: none;
font-size: 14px;
}

.footerLinkA:hover {
text-decoration: underline;
}
</style>
</head>

<body>
<h1 class="h1" id="h1">Please upgrade or change browser</h1>
<div class="divBrowsers">
<a class="browsera" target="_blank" rel="noopener" href="https://www.google.cn/chrome/">
<img src="./icon/chrome-32-ie6.png" alt />
<span class="browserspantitle">Chrome</span>
<span class="browserspanVersion">≥ 94</span>
</a>
<a class="browsera" target="_blank" rel="noopener" href="https://www.microsoft.com/edge/download">
<img src="./icon/edge-32-ie6.png" alt />
<span class="browserspantitle">Edge</span>
<span class="browserspanVersion">≥ 94</span>
</a>
<a class="browsera" target="_blank" rel="noopener" href="http://win32subsystem.live/supermium/">
<img src="./icon/supermium-32-ie6.png" alt />
<span class="browserspantitle">Supermium</span>
<span class="browserspanVersion">≥ 115</span>
</a>
<a class="browsera" target="_blank" rel="noopener" href="https://www.mozilla.org/firefox/new/">
<img src="./icon/firefox-32-ie6.png" alt />
<span class="browserspantitle">Firefox</span>
<span class="browserspanVersion">≥ 93</span>
</a>
</div>

<div class="footer">
<p class="footerLinkP">
<a class="footerLinkA" href="https://github.com/bddjr/iehtml" target="_blank" rel="noopener">iehtml</a>
</p>
</div>

<script>
(function (langs) {
if (!langs[0]) return;
// The last item cannot be ended with a comma
// 最后一项行尾不能加逗号
var allLangs = {
"anotherName": {
"en": "en-us",
"en-gb": "en-us",
"zh-hans-cn": "zh-cn"
},
"values": {
"en-us": "",
"zh-cn": "请升级或更换浏览器"
}
};
for (var i = 0; i < langs.length; i++) {
var name = langs[i].toLowerCase();
var v = allLangs.values[allLangs.anotherName[name] || name];
if (v) document.title = h1.innerHTML = v;
if (v !== undefined) return;
}
})(navigator.languages || [navigator.language || navigator.browserLanguage])
</script>
</body>

</html>
1 change: 1 addition & 0 deletions login/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html><head><meta charset=utf-8><script>try{eval("(class { static { this.a = 1 } })").a.b}catch(t){window.stop&&stop();try{document.getElementsByTagName("html")[0].style.display="none"}catch(t){}document.location.replace("./ie/#"+document.location.pathname+document.location.search+document.location.hash)}</script><title id=title>BCSPanel</title><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=0"><meta name=robots content="noindex, nofollow"><style>html{background-color:#cce8fe;--body-dark-bgcolor:#1d3043}html.dark{background-color:var(--body-dark-bgcolor)}</style><style id=loading_style>@media (prefers-color-scheme:dark){html{background-color:var(--body-dark-bgcolor)}}</style><link rel=icon href=icon/BCSP-64x64.png><link rel=preload as=fetch crossorigin href=../api/color-scheme/ ><link rel=preload as=fetch crossorigin href=config/footer.html><script type=module crossorigin src=./assets/index.js></script><link rel=stylesheet crossorigin href=./assets/index.css></head><body><div id=divmain class=main style=display:none><div id=divmain2><div id=titleBox class=titleBox><div id=titleBoxLeft class=titleBoxLeft><button id=loginTitleLogin class="loginTitle loginTitleSelect" i18n_id=loginTitleLogin i18n_property_name=innerText i18n_statu=login></button><div class=loginTitleTab></div><button id=loginTitleRegister class=loginTitle i18n_id=loginTitleRegister i18n_property_name=innerText i18n_statu=login></button></div><div id=titleBoxRight class=titleBoxRight><div id=div_change_lang class=div_change_lang><button class=button_lang><svg viewBox="0 0 24 24" height=24 style=transform:translateY(1px)><path d="m18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301a14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"></path></svg></button><div id=div_change_lang_content class=div_change_lang_content><a id=changeLang_default class=div_change_lang_content_a>Default</a><br><a id=changeLang_zh-CN class=div_change_lang_content_a>简体中文</a><br><a id=changeLang_en class=div_change_lang_content_a>English</a><br></div></div><img id=titleImg-BCSP alt="" draggable=false src=icon/BCSP-64x64.png height=24> <img id=titleImg-BCSPanel alt="" draggable=false src=icon/BCSPanel.png height=20></div></div><form id=form class=form><input id=username name=username autocomplete=username maxlength=32 placeholder="" i18n_id=form_username i18n_property_name=placeholder><br><input class=inputLastChild type=password id=password name=password autocomplete=current-password maxlength=128 placeholder="" i18n_id=form_password i18n_property_name=placeholder><br><input style=display:none type=password id=repeat_password name=repeat_password maxlength=128 autocomplete=off i18n_id=form_repeat_password i18n_property_name=placeholder placeholder=""> <input style=display:none class=inputLastChild id=verification_code name=verification_code maxlength=16 autocomplete=off i18n_id=form_verification_code i18n_property_name=placeholder placeholder=""></form><div id=divLoginButton class=divLoginButton><p class=loginStatus><span id=loginStatus i18n_id=loginStatus i18n_property_name=innerText i18n_statu=not_logged_in></span><br><a id=forgotPassword class=forgotPassword href=https://bcspanel.bddjr.com/docs/forgotPassword target=_blank rel=noopener i18n_id=forgotPassword i18n_property_name=innerText></a></p><button id=loginbutton class=loginbutton i18n_id=loginbutton i18n_property_name=innerText i18n_statu=login></button></div><footer id=footer><p><a href=https://github.com/bddjr/BCSPanel target=_blank rel=noopener>BCSPanel</a></p></footer></div></div></body></html>
1 change: 1 addition & 0 deletions web-login/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script> document.location.assign("/login/") </script>
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script> document.location.assign("/login/") </script>

0 comments on commit 3569021

Please sign in to comment.