First version of alternate style login page.

This commit is contained in:
Ylian Saint-Hilaire 2020-09-01 11:51:06 -07:00
parent c30d06491b
commit 4f03629274
17 changed files with 400 additions and 118 deletions

View File

@ -141,6 +141,7 @@
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
"siteStyle": { "type": "integer", "default": 1, "description": "Valid numbers are 1 and 2, changes the style of the login page and some secondary pages." }
"title": { "type": "string" }, "title": { "type": "string" },
"title2": { "type": "string" }, "title2": { "type": "string" },
"titlePicture": { "type": "string" }, "titlePicture": { "type": "string" },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

File diff suppressed because one or more lines are too long

View File

@ -114,6 +114,7 @@
}, },
"_domains": { "_domains": {
"": { "": {
"_siteStyle": 2,
"title": "MyServer", "title": "MyServer",
"title2": "Servername", "title2": "Servername",
"_titlePicture": "title-sample.png", "_titlePicture": "title-sample.png",

View File

@ -23,9 +23,11 @@ var meshCentralSourceFiles = [
"../views/default.handlebars", "../views/default.handlebars",
"../views/default-mobile.handlebars", "../views/default-mobile.handlebars",
"../views/download.handlebars", "../views/download.handlebars",
"../views/download2.handlebars",
"../views/error404.handlebars", "../views/error404.handlebars",
"../views/error404-mobile.handlebars", "../views/error404-mobile.handlebars",
"../views/login.handlebars", "../views/login.handlebars",
"../views/login2.handlebars",
"../views/login-mobile.handlebars", "../views/login-mobile.handlebars",
"../views/terms.handlebars", "../views/terms.handlebars",
"../views/terms-mobile.handlebars", "../views/terms-mobile.handlebars",

View File

@ -727,6 +727,8 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->resetAccountDiv", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->resetAccountDiv",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv", "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv", "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->newAccountDiv",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv",
"terms-mobile.handlebars->container->page_content->column_l->75->1", "terms-mobile.handlebars->container->page_content->column_l->75->1",
"terms.handlebars->container->column_l->75->1" "terms.handlebars->container->column_l->75->1"
] ]
@ -830,7 +832,9 @@
"xloc": [ "xloc": [
"default-mobile.handlebars->9->118", "default-mobile.handlebars->9->118",
"default-mobile.handlebars->9->453", "default-mobile.handlebars->9->453",
"default.handlebars->27->1531" "default.handlebars->27->1531",
"download.handlebars->3->1",
"download2.handlebars->5->1"
] ]
}, },
{ {
@ -2319,7 +2323,8 @@
"zh-cht": "拒絕訪問。", "zh-cht": "拒絕訪問。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->16", "login-mobile.handlebars->5->16",
"login.handlebars->5->16" "login.handlebars->5->16",
"login2.handlebars->7->16"
] ]
}, },
{ {
@ -2380,7 +2385,8 @@
"zh-cht": "賬戶創建", "zh-cht": "賬戶創建",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->5->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->5->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->5->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->5->1",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->5->1"
] ]
}, },
{ {
@ -2401,7 +2407,8 @@
"zh-cht": "賬戶重置", "zh-cht": "賬戶重置",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->5->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->5->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->5->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->5->1",
"login2.handlebars->centralTable->1->0->logincell->resetpanel->1->5->1"
] ]
}, },
{ {
@ -2506,7 +2513,8 @@
"zh-cht": "達到帳戶限制。", "zh-cht": "達到帳戶限制。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->6", "login-mobile.handlebars->5->6",
"login.handlebars->5->6" "login.handlebars->5->6",
"login2.handlebars->7->6"
] ]
}, },
{ {
@ -2527,7 +2535,8 @@
"zh-cht": "帳戶被鎖定。", "zh-cht": "帳戶被鎖定。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->15", "login-mobile.handlebars->5->15",
"login.handlebars->5->15" "login.handlebars->5->15",
"login2.handlebars->7->15"
] ]
}, },
{ {
@ -2548,7 +2557,8 @@
"zh-cht": "找不到帳戶。", "zh-cht": "找不到帳戶。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->12", "login-mobile.handlebars->5->12",
"login.handlebars->5->12" "login.handlebars->5->12",
"login2.handlebars->7->12"
] ]
}, },
{ {
@ -5263,7 +5273,13 @@
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->10", "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->10",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->10", "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->10",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->8", "login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->8",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->10" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->10",
"login2.handlebars->centralTable->1->0->logincell->checkemailpanel->1->8",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->12",
"login2.handlebars->centralTable->1->0->logincell->resetpanel->1->10",
"login2.handlebars->centralTable->1->0->logincell->resetpasswordpanel->1->10",
"login2.handlebars->centralTable->1->0->logincell->resettokenpanel->1->8",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->10"
] ]
}, },
{ {
@ -5948,6 +5964,7 @@
"desktop.handlebars->p11->dialog->idx_dlgButtonBar", "desktop.handlebars->p11->dialog->idx_dlgButtonBar",
"login-mobile.handlebars->dialog->idx_dlgButtonBar", "login-mobile.handlebars->dialog->idx_dlgButtonBar",
"login.handlebars->dialog->idx_dlgButtonBar", "login.handlebars->dialog->idx_dlgButtonBar",
"login2.handlebars->dialog->idx_dlgButtonBar",
"player.handlebars->p11->dialog->idx_dlgButtonBar", "player.handlebars->p11->dialog->idx_dlgButtonBar",
"xterm.handlebars->p11->dialog->idx_dlgButtonBar" "xterm.handlebars->p11->dialog->idx_dlgButtonBar"
] ]
@ -6066,7 +6083,8 @@
"zh-cht": "更改電子郵件地址", "zh-cht": "更改電子郵件地址",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->checkemailpanel->1->checkCheckOperations->1->2->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->checkemailpanel->1->checkCheckOperations->1->2->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1",
"login2.handlebars->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1"
] ]
}, },
{ {
@ -8532,7 +8550,8 @@
"xloc": [ "xloc": [
"default.handlebars->27->1658", "default.handlebars->27->1658",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->12->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->12->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->12->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->12->1->1",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->12->1->1"
] ]
}, },
{ {
@ -8665,7 +8684,8 @@
"zh-cht": "創建一個", "zh-cht": "創建一個",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->newAccountDiv->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->newAccountDiv->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv->1",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->newAccountDiv->1"
] ]
}, },
{ {
@ -8728,7 +8748,8 @@
"zh-cht": "創建令牌:", "zh-cht": "創建令牌:",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->newAccountPass->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->newAccountPass->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->newAccountPass->nuToken" "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->newAccountPass->nuToken",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->newAccountPass->nuToken"
] ]
}, },
{ {
@ -10857,7 +10878,8 @@
"zh-cht": "還沒有帳號?", "zh-cht": "還沒有帳號?",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->newAccountDiv", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->newAccountDiv",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->newAccountDiv",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->newAccountDiv"
] ]
}, },
{ {
@ -12101,7 +12123,11 @@
"login-mobile.handlebars->5->42", "login-mobile.handlebars->5->42",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3",
"login.handlebars->5->43", "login.handlebars->5->43",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3",
"login2.handlebars->7->43",
"login2.handlebars->centralTable->1->0->logincell->resetpanel->1->7->1->0->1",
"login2.handlebars->centralTable->1->0->logincell->resetpanel->1->7->1->0->1",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->2farow->1->3"
] ]
}, },
{ {
@ -12160,7 +12186,8 @@
"zh-cht": "郵件確認", "zh-cht": "郵件確認",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->43", "login-mobile.handlebars->5->43",
"login.handlebars->5->44" "login.handlebars->5->44",
"login2.handlebars->7->44"
] ]
}, },
{ {
@ -12315,7 +12342,8 @@
"zh-cht": "郵件已發送。", "zh-cht": "郵件已發送。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->2", "login-mobile.handlebars->5->2",
"login.handlebars->5->2" "login.handlebars->5->2",
"login2.handlebars->7->2"
] ]
}, },
{ {
@ -12332,7 +12360,8 @@
"zh-cht": "需要通過電子郵件驗證,請檢查您的郵箱,然後單擊確認鏈接。", "zh-cht": "需要通過電子郵件驗證,請檢查您的郵箱,然後單擊確認鏈接。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->3", "login-mobile.handlebars->5->3",
"login.handlebars->5->3" "login.handlebars->5->3",
"login2.handlebars->7->3"
] ]
}, },
{ {
@ -12385,7 +12414,9 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->7->1->0->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->7->1->0->1",
"login.handlebars->5->21", "login.handlebars->5->21",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->2->nuEmail", "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->2->nuEmail",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->7->1->0->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->7->1->0->1",
"login2.handlebars->7->21",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->2->nuEmail"
] ]
}, },
{ {
@ -12874,7 +12905,8 @@
"zh-cht": "輸入帳戶創建令牌", "zh-cht": "輸入帳戶創建令牌",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1"
] ]
}, },
{ {
@ -13094,7 +13126,8 @@
"zh-cht": "使用此電子郵件地址的現有帳戶。", "zh-cht": "使用此電子郵件地址的現有帳戶。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->7", "login-mobile.handlebars->5->7",
"login.handlebars->5->7" "login.handlebars->5->7",
"login2.handlebars->7->7"
] ]
}, },
{ {
@ -13374,6 +13407,12 @@
"default.handlebars->27->1081" "default.handlebars->27->1081"
] ]
}, },
{
"en": "File",
"xloc": [
"download2.handlebars->centralTable->1->0->1->filetable->1->0->1->fileimagelink"
]
},
{ {
"cs": "Editor souborů", "cs": "Editor souborů",
"de": "Datei-Editor", "de": "Datei-Editor",
@ -13740,7 +13779,8 @@
"zh-cht": "忘記密碼?", "zh-cht": "忘記密碼?",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->22", "login-mobile.handlebars->5->22",
"login.handlebars->5->22" "login.handlebars->5->22",
"login2.handlebars->7->22"
] ]
}, },
{ {
@ -13780,7 +13820,8 @@
"zh-chs": "忘記用戶名/密碼了嗎?", "zh-chs": "忘記用戶名/密碼了嗎?",
"zh-cht": "忘記用戶名/密碼了嗎?", "zh-cht": "忘記用戶名/密碼了嗎?",
"xloc": [ "xloc": [
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->resetAccountSpan" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->resetAccountSpan",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->resetAccountSpan"
] ]
}, },
{ {
@ -14621,7 +14662,9 @@
"login-mobile.handlebars->5->29", "login-mobile.handlebars->5->29",
"login-mobile.handlebars->5->33", "login-mobile.handlebars->5->33",
"login.handlebars->5->29", "login.handlebars->5->29",
"login.handlebars->5->33" "login.handlebars->5->33",
"login2.handlebars->7->29",
"login2.handlebars->7->33"
] ]
}, },
{ {
@ -15394,7 +15437,8 @@
"zh-cht": "IP位址已封鎖請稍後再試。", "zh-cht": "IP位址已封鎖請稍後再試。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->19", "login-mobile.handlebars->5->19",
"login.handlebars->5->19" "login.handlebars->5->19",
"login2.handlebars->7->19"
] ]
}, },
{ {
@ -15660,7 +15704,8 @@
"zh-cht": "如果有效,請重置已發送的郵件。", "zh-cht": "如果有效,請重置已發送的郵件。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->1", "login-mobile.handlebars->5->1",
"login.handlebars->5->1" "login.handlebars->5->1",
"login2.handlebars->7->1"
] ]
}, },
{ {
@ -17013,7 +17058,8 @@
"zh-cht": "無效的帳戶創建令牌。", "zh-cht": "無效的帳戶創建令牌。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->8", "login-mobile.handlebars->5->8",
"login.handlebars->5->8" "login.handlebars->5->8",
"login2.handlebars->7->8"
] ]
}, },
{ {
@ -17034,7 +17080,15 @@
"zh-cht": "不合規電郵。", "zh-cht": "不合規電郵。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->11", "login-mobile.handlebars->5->11",
"login.handlebars->5->11" "login.handlebars->5->11",
"login2.handlebars->7->11"
]
},
{
"en": "Invalid file link",
"xloc": [
"download.handlebars->3->3",
"download2.handlebars->5->3"
] ]
}, },
{ {
@ -17075,7 +17129,8 @@
"zh-cht": "令牌無效,請重試。", "zh-cht": "令牌無效,請重試。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->13", "login-mobile.handlebars->5->13",
"login.handlebars->5->13" "login.handlebars->5->13",
"login2.handlebars->7->13"
] ]
}, },
{ {
@ -19130,7 +19185,9 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->5->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->5->1",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->4->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->4->3",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->5->1", "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->5->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->4->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->4->3",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->6->1",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->2->1->1"
] ]
}, },
{ {
@ -19144,7 +19201,8 @@
"zh-cht": "使用現有帳戶登錄", "zh-cht": "使用現有帳戶登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->3",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->3",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->3"
] ]
}, },
{ {
@ -19186,7 +19244,8 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resettokenpanel->1->5->1->2->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resettokenpanel->1->5->1->2->1->1",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->5->1->2->1->1", "login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->5->1->2->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->1",
"login2.handlebars->centralTable->1->0->logincell->resettokenpanel->1->5->1->2->1->1"
] ]
}, },
{ {
@ -19243,7 +19302,8 @@
"zh-cht": "登錄失敗,請檢查用戶名和密碼。", "zh-cht": "登錄失敗,請檢查用戶名和密碼。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->17", "login-mobile.handlebars->5->17",
"login.handlebars->5->17" "login.handlebars->5->17",
"login2.handlebars->7->17"
] ]
}, },
{ {
@ -19265,7 +19325,8 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resettokenpanel->1->5->1->0->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resettokenpanel->1->5->1->0->1",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->0->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->0->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->5->1->0->1", "login.handlebars->container->column_l->centralTable->1->0->logincell->resettokenpanel->1->5->1->0->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->0->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->0->1",
"login2.handlebars->centralTable->1->0->logincell->resettokenpanel->1->5->1->0->1"
] ]
}, },
{ {
@ -20204,7 +20265,8 @@
"zh-cht": "最大長度為{0}", "zh-cht": "最大長度為{0}",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->37", "login-mobile.handlebars->5->37",
"login.handlebars->5->37" "login.handlebars->5->37",
"login2.handlebars->7->37"
] ]
}, },
{ {
@ -20976,7 +21038,8 @@
"zh-cht": "最小長度為{0}", "zh-cht": "最小長度為{0}",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->36", "login-mobile.handlebars->5->36",
"login.handlebars->5->36" "login.handlebars->5->36",
"login2.handlebars->7->36"
] ]
}, },
{ {
@ -23215,6 +23278,7 @@
"desktop.handlebars->p11->dialog->idx_dlgButtonBar", "desktop.handlebars->p11->dialog->idx_dlgButtonBar",
"login-mobile.handlebars->dialog->idx_dlgButtonBar", "login-mobile.handlebars->dialog->idx_dlgButtonBar",
"login.handlebars->dialog->idx_dlgButtonBar", "login.handlebars->dialog->idx_dlgButtonBar",
"login2.handlebars->dialog->idx_dlgButtonBar",
"player.handlebars->p11->dialog->idx_dlgButtonBar", "player.handlebars->p11->dialog->idx_dlgButtonBar",
"xterm.handlebars->p11->dialog->idx_dlgButtonBar" "xterm.handlebars->p11->dialog->idx_dlgButtonBar"
] ]
@ -23913,6 +23977,8 @@
"default.handlebars->27->289", "default.handlebars->27->289",
"default.handlebars->27->320", "default.handlebars->27->320",
"default.handlebars->27->741", "default.handlebars->27->741",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->2->1",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->2->1",
"mstsc.handlebars->main->1->3->1->6->1->0", "mstsc.handlebars->main->1->3->1->6->1->0",
"mstsc.handlebars->main->1->3->1->6->3" "mstsc.handlebars->main->1->3->1->6->3"
] ]
@ -23935,7 +24001,9 @@
"zh-cht": "密碼提示", "zh-cht": "密碼提示",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->27", "login-mobile.handlebars->5->27",
"login.handlebars->5->27" "login.handlebars->5->27",
"login2.handlebars->7->27",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->4->1"
] ]
}, },
{ {
@ -23957,7 +24025,9 @@
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpasswordpanel->1->7->1->resetpasswordpanelHint->rnuHint", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpasswordpanel->1->7->1->resetpasswordpanelHint->rnuHint",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->createPanelHint->nuHint", "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->createPanelHint->nuHint",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->resetpasswordpanelHint->rnuHint" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->resetpasswordpanelHint->rnuHint",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->createPanelHint->nuHint",
"login2.handlebars->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->resetpasswordpanelHint->rnuHint"
] ]
}, },
{ {
@ -23981,7 +24051,10 @@
"login-mobile.handlebars->5->35", "login-mobile.handlebars->5->35",
"login.handlebars->5->31", "login.handlebars->5->31",
"login.handlebars->5->35", "login.handlebars->5->35",
"login.handlebars->5->42" "login.handlebars->5->42",
"login2.handlebars->7->31",
"login2.handlebars->7->35",
"login2.handlebars->7->42"
] ]
}, },
{ {
@ -24002,7 +24075,8 @@
"zh-cht": "要求更改密碼。", "zh-cht": "要求更改密碼。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->18", "login-mobile.handlebars->5->18",
"login.handlebars->5->18" "login.handlebars->5->18",
"login2.handlebars->7->18"
] ]
}, },
{ {
@ -24100,7 +24174,8 @@
"zh-cht": "密碼被拒絕,請使用其他密碼。", "zh-cht": "密碼被拒絕,請使用其他密碼。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->10", "login-mobile.handlebars->5->10",
"login.handlebars->5->10" "login.handlebars->5->10",
"login2.handlebars->7->10"
] ]
}, },
{ {
@ -24155,7 +24230,11 @@
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->6->nuPass2", "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->6->nuPass2",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->2->1", "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->2->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->0->rnuPass1", "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->0->rnuPass1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->2->rnuPass2" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->2->rnuPass2",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->4->nuPass1",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->6->nuPass2",
"login2.handlebars->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->0->rnuPass1",
"login2.handlebars->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->2->rnuPass2"
] ]
}, },
{ {
@ -25898,7 +25977,8 @@
"zh-cht": "記住此設備{0}天。", "zh-cht": "記住此設備{0}天。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->20", "login-mobile.handlebars->5->20",
"login.handlebars->5->20" "login.handlebars->5->20",
"login2.handlebars->7->20"
] ]
}, },
{ {
@ -26729,7 +26809,8 @@
"zh-cht": "重發確認郵件", "zh-cht": "重發確認郵件",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->checkemailpanel->1->checkCheckOperations->1->2->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->checkemailpanel->1->checkCheckOperations->1->2->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1",
"login2.handlebars->centralTable->1->0->logincell->checkemailpanel->1->checkCheckOperations->1->2->1->1"
] ]
}, },
{ {
@ -26772,7 +26853,8 @@
"zh-cht": "重設帳戶", "zh-cht": "重設帳戶",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->7->1->2->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpanel->1->7->1->2->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->7->1->2->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpanel->1->7->1->2->1->1",
"login2.handlebars->centralTable->1->0->logincell->resetpanel->1->7->1->2->1"
] ]
}, },
{ {
@ -26793,7 +26875,8 @@
"zh-cht": "重設密碼", "zh-cht": "重設密碼",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpasswordpanel->1->7->1->6->1->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->resetpasswordpanel->1->7->1->6->1->1",
"login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->6->1->1" "login.handlebars->container->column_l->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->6->1->1",
"login2.handlebars->centralTable->1->0->logincell->resetpasswordpanel->1->7->1->6->1->1"
] ]
}, },
{ {
@ -26814,7 +26897,8 @@
"zh-cht": "重設帳戶", "zh-cht": "重設帳戶",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->resetAccountDiv->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->resetAccountDiv->3",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->3",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->resetAccountDiv->3"
] ]
}, },
{ {
@ -27280,7 +27364,8 @@
"default.handlebars->27->1798", "default.handlebars->27->1798",
"default.handlebars->27->1803", "default.handlebars->27->1803",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->2farow->1->3"
] ]
}, },
{ {
@ -27312,7 +27397,8 @@
"zh-cht": "短信已發送。", "zh-cht": "短信已發送。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->4", "login-mobile.handlebars->5->4",
"login.handlebars->5->4" "login.handlebars->5->4",
"login2.handlebars->7->4"
] ]
}, },
{ {
@ -27754,7 +27840,9 @@
"login-mobile.handlebars->5->23", "login-mobile.handlebars->5->23",
"login-mobile.handlebars->5->25", "login-mobile.handlebars->5->25",
"login.handlebars->5->23", "login.handlebars->5->23",
"login.handlebars->5->25" "login.handlebars->5->25",
"login2.handlebars->7->23",
"login2.handlebars->7->25"
] ]
}, },
{ {
@ -28310,7 +28398,8 @@
"zh-cht": "將令牌發送到註冊的電子郵件地址?", "zh-cht": "將令牌發送到註冊的電子郵件地址?",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->24", "login-mobile.handlebars->5->24",
"login.handlebars->5->24" "login.handlebars->5->24",
"login2.handlebars->7->24"
] ]
}, },
{ {
@ -28326,7 +28415,8 @@
"zh-cht": "將令牌發送到註冊電話號碼?", "zh-cht": "將令牌發送到註冊電話號碼?",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->26", "login-mobile.handlebars->5->26",
"login.handlebars->5->26" "login.handlebars->5->26",
"login2.handlebars->7->26"
] ]
}, },
{ {
@ -29203,7 +29293,8 @@
"zh-cht": "顯示提示", "zh-cht": "顯示提示",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->4->1->showPassHintLink->0", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->4->1->showPassHintLink->0",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->4->1->showPassHintLink->0" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->4->1->showPassHintLink->0",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->4->1->showPassHintLink->0"
] ]
}, },
{ {
@ -29408,7 +29499,8 @@
"zh-cht": "使用Azure登錄", "zh-cht": "使用Azure登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-azure", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-azure",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-azure" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-azure",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-azure"
] ]
}, },
{ {
@ -29422,7 +29514,8 @@
"zh-cht": "使用GitHub登錄", "zh-cht": "使用GitHub登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-github", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-github",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-github" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-github",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-github"
] ]
}, },
{ {
@ -29436,7 +29529,8 @@
"zh-cht": "使用Google登錄", "zh-cht": "使用Google登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-google", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-google",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-google" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-google",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-google"
] ]
}, },
{ {
@ -29450,7 +29544,8 @@
"zh-cht": "使用英特爾登錄", "zh-cht": "使用英特爾登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-intel", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-intel",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-intel" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-intel",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-intel"
] ]
}, },
{ {
@ -29464,7 +29559,8 @@
"zh-cht": "使用JumpCloud登錄", "zh-cht": "使用JumpCloud登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-jumpcloud", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-jumpcloud",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-jumpcloud" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-jumpcloud",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-jumpcloud"
] ]
}, },
{ {
@ -29478,7 +29574,8 @@
"zh-cht": "使用Reddit登錄", "zh-cht": "使用Reddit登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-reddit", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-reddit",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-reddit" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-reddit",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-reddit"
] ]
}, },
{ {
@ -29492,7 +29589,8 @@
"zh-cht": "使用Twitter登錄", "zh-cht": "使用Twitter登錄",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-twitter", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-twitter",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-twitter" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-twitter",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-twitter"
] ]
}, },
{ {
@ -29587,7 +29685,8 @@
"zh-cht": "單一登入", "zh-cht": "單一登入",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-saml", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->authStrategies->auth-saml",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-saml" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-saml",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->authStrategies->auth-saml"
] ]
}, },
{ {
@ -30790,7 +30889,9 @@
"login-mobile.handlebars->5->28", "login-mobile.handlebars->5->28",
"login-mobile.handlebars->5->32", "login-mobile.handlebars->5->32",
"login.handlebars->5->28", "login.handlebars->5->28",
"login.handlebars->5->32" "login.handlebars->5->32",
"login2.handlebars->7->28",
"login2.handlebars->7->32"
] ]
}, },
{ {
@ -31380,8 +31481,10 @@
"xloc": [ "xloc": [
"default.handlebars->container->footer->3->termsLinkFooter", "default.handlebars->container->footer->3->termsLinkFooter",
"download.handlebars->container->page_content->footer->1->1->0->3->1", "download.handlebars->container->page_content->footer->1->1->0->3->1",
"download2.handlebars->centralTable->1->2->1->1->flink->1",
"login-mobile.handlebars->container->footer->1->1->0->3->1", "login-mobile.handlebars->container->footer->1->1->0->3->1",
"login.handlebars->container->footer->3->termsLinkFooter", "login.handlebars->container->footer->3->termsLinkFooter",
"login2.handlebars->centralTable->1->2->1->1->flink->1",
"message.handlebars->container->page_content->footer->1->1->0->3->1" "message.handlebars->container->page_content->footer->1->1->0->3->1"
] ]
}, },
@ -32368,6 +32471,13 @@
"default.handlebars->container->column_l->p12->termTable->1->1->6->1->1->terminalSettingsButtons" "default.handlebars->container->column_l->p12->termTable->1->1->6->1->1->terminalSettingsButtons"
] ]
}, },
{
"en": "Token",
"xloc": [
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->0->1",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->0->1"
]
},
{ {
"cs": "Nástroje", "cs": "Nástroje",
"de": "Werkzeuge", "de": "Werkzeuge",
@ -32844,7 +32954,8 @@
"zh-cht": "無法創建帳戶。", "zh-cht": "無法創建帳戶。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->5", "login-mobile.handlebars->5->5",
"login.handlebars->5->5" "login.handlebars->5->5",
"login2.handlebars->7->5"
] ]
}, },
{ {
@ -32903,7 +33014,8 @@
"zh-cht": "無法發送電子郵件。", "zh-cht": "無法發送電子郵件。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->14", "login-mobile.handlebars->5->14",
"login.handlebars->5->14" "login.handlebars->5->14",
"login2.handlebars->7->14"
] ]
}, },
{ {
@ -33515,7 +33627,8 @@
"zh-cht": "使用安全密鑰", "zh-cht": "使用安全密鑰",
"xloc": [ "xloc": [
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->tokenpanel->1->7->1->4->1->3",
"login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3" "login.handlebars->container->column_l->centralTable->1->0->logincell->tokenpanel->1->7->1->4->1->3",
"login2.handlebars->centralTable->1->0->logincell->tokenpanel->1->7->1->2farow->1->3"
] ]
}, },
{ {
@ -34075,6 +34188,8 @@
"default.handlebars->27->287", "default.handlebars->27->287",
"default.handlebars->27->319", "default.handlebars->27->319",
"default.handlebars->27->740", "default.handlebars->27->740",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->0->1",
"login2.handlebars->centralTable->1->0->logincell->loginpanel->1->5->1->0->1",
"mstsc.handlebars->main->1->3->1->4->1->0", "mstsc.handlebars->main->1->3->1->4->1->0",
"mstsc.handlebars->main->1->3->1->4->3", "mstsc.handlebars->main->1->3->1->4->3",
"player.handlebars->3->4" "player.handlebars->3->4"
@ -34098,7 +34213,8 @@
"zh-cht": "此用戶名已存在。", "zh-cht": "此用戶名已存在。",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->9", "login-mobile.handlebars->5->9",
"login.handlebars->5->9" "login.handlebars->5->9",
"login2.handlebars->7->9"
] ]
}, },
{ {
@ -34122,7 +34238,8 @@
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->nuUserRow->1", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->createpanel->1->1->9->1->nuUserRow->1",
"login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->0->loginusername", "login-mobile.handlebars->container->page_content->column_l->1->1->0->1->loginpanel->1->7->1->0->loginusername",
"login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->nuUserRow->nuUser", "login.handlebars->container->column_l->centralTable->1->0->logincell->createpanel->1->9->1->nuUserRow->nuUser",
"login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->0->loginusername" "login.handlebars->container->column_l->centralTable->1->0->logincell->loginpanel->1->7->1->0->loginusername",
"login2.handlebars->centralTable->1->0->logincell->createpanel->1->9->1->nuUserRow->nuUser"
] ]
}, },
{ {
@ -34770,7 +34887,9 @@
"login-mobile.handlebars->5->30", "login-mobile.handlebars->5->30",
"login-mobile.handlebars->5->34", "login-mobile.handlebars->5->34",
"login.handlebars->5->30", "login.handlebars->5->30",
"login.handlebars->5->34" "login.handlebars->5->34",
"login2.handlebars->7->30",
"login2.handlebars->7->34"
] ]
}, },
{ {
@ -35605,7 +35724,8 @@
"default-mobile.handlebars->dialog->1->id_dialogclose->0", "default-mobile.handlebars->dialog->1->id_dialogclose->0",
"default.handlebars->container->column_l->p1->xdevicesmap->xmapSearchResultsDlg->xmapSearchResultsBck->xmapSearchClose->0", "default.handlebars->container->column_l->p1->xdevicesmap->xmapSearchResultsDlg->xmapSearchResultsBck->xmapSearchClose->0",
"login-mobile.handlebars->dialog->1->id_dialogclose->0", "login-mobile.handlebars->dialog->1->id_dialogclose->0",
"login.handlebars->dialog->dialogHeader->id_dialogclose->0" "login.handlebars->dialog->dialogHeader->id_dialogclose->0",
"login2.handlebars->dialog->dialogHeader->id_dialogclose->0"
] ]
}, },
{ {
@ -37471,7 +37591,9 @@
"xloc": [ "xloc": [
"default-mobile.handlebars->9->119", "default-mobile.handlebars->9->119",
"default.handlebars->27->1532", "default.handlebars->27->1532",
"default.handlebars->27->1891" "default.handlebars->27->1891",
"download.handlebars->3->2",
"download2.handlebars->5->2"
] ]
}, },
{ {
@ -37623,7 +37745,8 @@
"zh-cht": "{0}小寫", "zh-cht": "{0}小寫",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->39", "login-mobile.handlebars->5->39",
"login.handlebars->5->39" "login.handlebars->5->39",
"login2.handlebars->7->39"
] ]
}, },
{ {
@ -37723,7 +37846,8 @@
"zh-cht": "{0}非字母數字", "zh-cht": "{0}非字母數字",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->41", "login-mobile.handlebars->5->41",
"login.handlebars->5->41" "login.handlebars->5->41",
"login2.handlebars->7->41"
] ]
}, },
{ {
@ -37744,7 +37868,8 @@
"zh-cht": "{0}數字", "zh-cht": "{0}數字",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->40", "login-mobile.handlebars->5->40",
"login.handlebars->5->40" "login.handlebars->5->40",
"login2.handlebars->7->40"
] ]
}, },
{ {
@ -37909,7 +38034,8 @@
"zh-cht": "{0}大寫", "zh-cht": "{0}大寫",
"xloc": [ "xloc": [
"login-mobile.handlebars->5->38", "login-mobile.handlebars->5->38",
"login.handlebars->5->38" "login.handlebars->5->38",
"login2.handlebars->7->38"
] ]
}, },
{ {

View File

@ -48,12 +48,12 @@
<div id="container"> <div id="container">
<!-- Begin Masthead --> <!-- Begin Masthead -->
<div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;"> <div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px">
<strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;">{{{title1}}}</font></strong> <strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px">
<strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;">{{{title2}}}</font></strong> <strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
<p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;">{{{logoutControl}}}</p> <p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;">{{{logoutControl}}}</p>
</div> </div>

View File

@ -14,18 +14,18 @@
<div id=container style=max-height:100vh> <div id=container style=max-height:100vh>
<div id=mastheadx></div> <div id=mastheadx></div>
<div id=masthead style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden"> <div id=masthead style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style=float:left;height:66px;color:#c8c8c8;padding-left:14px;padding-top:7px> <div style=float:left;height:66px;color:#c8c8c8;padding-left:14px;padding-top:7px>
<strong><font style="font-size:46px;font-family:Arial,Helvetica,sans-serif">{{{title1}}}</font></strong> <strong><font style="font-size:46px;font-family:Arial,Helvetica,sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style=float:left;height:66px;color:#c8c8c8;padding-left:5px;padding-top:14px> <div style=float:left;height:66px;color:#c8c8c8;padding-left:5px;padding-top:14px>
<strong><font style="font-size:14px;font-family:Arial,Helvetica,sans-serif">{{{title2}}}</font></strong> <strong><font style="font-size:14px;font-family:Arial,Helvetica,sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
</div> </div>
<div id=page_content style=max-height:calc(100vh-138px)> <div id=page_content style=max-height:calc(100vh-138px)>
<div id=column_l> <div id=column_l>
<h1>Download</h1> <h1>Download</h1>
<p style=margin-left:20px>{{{message}}}</p> <p id="message" style=margin-left:20px></p>
<br /> <br />
</div> </div>
<div id=footer> <div id=footer>
@ -41,5 +41,29 @@
</div> </div>
</div> </div>
</div> </div>
<script>
var messageid = parseInt('{{{messageid}}}');
var fileurl = '{{{fileurl}}}';
var filename = '{{{filename}}}';
var filesize = parseInt('{{{filesize}}}');
// Quick UI functions, a bit of a replacement for jQuery
function Q(x) { return document.getElementById(x); } // "Q"
function QS(x) { try { return Q(x).style; } catch (x) { } } // "Q" style
function QE(x, y) { try { Q(x).disabled = !y; } catch (x) { } } // "Q" enable
function QV(x, y) { try { QS(x).display = (y ? '' : 'none'); } catch (x) { } } // "Q" visible
function QA(x, y) { Q(x).innerHTML += y; } // "Q" append
function QH(x, y) { Q(x).innerHTML = y; } // "Q" html
function QC(x) { try { return Q(x).classList; } catch (x) { } } // "Q" class
function format(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function (match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); };
function EscapeHtml(x) { if (typeof x == 'string') return x.replace(/&/g, '&amp;').replace(/>/g, '&gt;').replace(/</g, '&lt;').replace(/"/g, '&quot;').replace(/'/g, '&apos;'); if (typeof x == 'boolean') return x; if (typeof x == 'number') return x; }
if (messageid == 1) {
var lenstr = (filesize == 1)?format("1 byte"):format("{0} bytes", filesize);
QH('message', '<a href="' + fileurl + '">' + EscapeHtml(filename) + '</a>, ' + lenstr);
} else if (messageid == 2) {
QH('message', "Invalid file link");
}
</script>
</body> </body>
</html> </html>

View File

@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=X-UA-Compatible content="IE=edge" />
<meta content="text/html;charset=utf-8" http-equiv=Content-Type />
<meta name=viewport content="user-scalable=1.0,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" />
<meta name=apple-mobile-web-app-capable content=yes />
<meta name=format-detection content="telephone=no" />
<link type=text/css href="/styles/style.css" media="screen" rel="stylesheet" title="CSS" />
<link rel="apple-touch-icon" href="/favicon-303x303.png" />
<title>{{{title1}}} - Download</title>
<style>
body {
background-color: cadetblue;
background: linear-gradient(to bottom right, #369, #036);
height:100%;
overflow:hidden;
}
a:link { color: #c8c8c8; }
a:visited { color: #c8c8c8; }
a:hover { color: #c8c8c8; }
a:active { color: #c8c8c8; }
</style>
</head>
<body>
<img style="position:absolute;left:0;bottom:0;z-index:-1;height:60%;opacity:0.1" src="../../images/login/back.png" />
<table id="centralTable" class="container" style="height:100%;z-index:1">
<tr>
<td style="width:100%;text-align:center">
<div id="message" style="display:none;color:#c8c8c8;font-size:20px"></div>
<table id="filetable" style="margin: 0 auto;color:#c8c8c8">
<tr>
<td>
<a id=fileimagelink>
<img id=fileimage src="../../images/login/file48.png" title="File" loading="lazy" width="48" height="48" style="margin-left:3px;margin-right:3px;border-radius:3px;box-shadow:2px 2px 5px black;cursor:pointer;background-color:#FFF;margin-right:8px" />
</a>
</td>
<td style="text-align:left">
<div id="flink" style="font-size:22px">
<a id="filelink"></a>
</div>
<div id="filesize" style="font-size:16px"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr style="height:20px">
<td>
<div>
<div id="flink" style="margin-left:4px">{{{footer}}}</div>
<div id="flink" style="float:right;margin-right:4px">{{{rootCertLink}}}&nbsp;<a href=../../terms>Terms &amp; Privacy</a></div>
</div>
</td>
</tr>
</table>
<script>
var messageid = parseInt('{{{messageid}}}');
var fileurl = '{{{fileurl}}}';
var filename = '{{{filename}}}';
var filesize = parseInt('{{{filesize}}}');
// Quick UI functions, a bit of a replacement for jQuery
function Q(x) { return document.getElementById(x); } // "Q"
function QS(x) { try { return Q(x).style; } catch (x) { } } // "Q" style
function QE(x, y) { try { Q(x).disabled = !y; } catch (x) { } } // "Q" enable
function QV(x, y) { try { QS(x).display = (y ? '' : 'none'); } catch (x) { } } // "Q" visible
function QA(x, y) { Q(x).innerHTML += y; } // "Q" append
function QH(x, y) { Q(x).innerHTML = y; } // "Q" html
function QC(x) { try { return Q(x).classList; } catch (x) { } } // "Q" class
function format(format) { var args = Array.prototype.slice.call(arguments, 1); return format.replace(/{(\d+)}/g, function (match, number) { return typeof args[number] != 'undefined' ? args[number] : match; }); };
function EscapeHtml(x) { if (typeof x == 'string') return x.replace(/&/g, '&amp;').replace(/>/g, '&gt;').replace(/</g, '&lt;').replace(/"/g, '&quot;').replace(/'/g, '&apos;'); if (typeof x == 'boolean') return x; if (typeof x == 'number') return x; }
QV('filetable', messageid == 1);
QV('message', messageid == 2);
if (messageid == 1) {
QH('filelink', EscapeHtml(filename));
Q('filelink').href = fileurl;
Q('fileimagelink').href = fileurl;
if (filesize == 1) { QH('filesize', format("1 byte")); } else { QH('filesize', format("{0} bytes", filesize)); }
} else if (messageid == 2) {
QH('message', "Invalid file link");
}
</script>
</body>
</html>

View File

@ -14,12 +14,12 @@
<div id="container"> <div id="container">
<!-- Begin Masthead --> <!-- Begin Masthead -->
<div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;"> <div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:16px; padding-top:7px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:16px; padding-top:7px">
<strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;">{{{title1}}}</font></strong> <strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px">
<strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;">{{{title2}}}</font></strong> <strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
</div> </div>
<div id="page_leftbar"> <div id="page_leftbar">

View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=X-UA-Compatible content="IE=edge" />
<meta content="text/html;charset=utf-8" http-equiv=Content-Type />
<meta name=viewport content="user-scalable=1.0,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" />
<meta name=apple-mobile-web-app-capable content=yes />
<meta name=format-detection content="telephone=no" />
<link type=text/css href="/styles/style.css" media="screen" rel="stylesheet" title="CSS" />
<link rel="apple-touch-icon" href="/favicon-303x303.png" />
<title>{{{title1}}} - Download</title>
<style>
body {
background-color: cadetblue;
background: linear-gradient(to bottom right, #369, #036);
height: 100%;
overflow: hidden;
}
a:link { color: #c8c8c8; }
a:visited { color: #c8c8c8; }
a:hover { color: #c8c8c8; }
a:active { color: #c8c8c8; }
</style>
</head>
<body>
<img style="position:absolute;left:0;bottom:0;z-index:-1;height:60%;opacity:0.1" src="../../images/login/back.png" />
<table id="centralTable" class="container" style="height:100%;z-index:1">
<tr>
<td style="width:100%;text-align:center">
<div style="text-align:center;padding-top:30px;font-size:160px;font-family:Arial;color:#bbb"><b>404</b></div>
<div style="text-align:center;font-size:20px;font-family:Arial;color:#999">This page does not exist</div>
<div style="text-align:center;padding-top:20px;font-size:20px;font-family:Arial;color:#999"><a href="/"><b>Go to main site</b></a></div>
</td>
</tr>
<tr style="height:20px">
<td>
<div>
<div id="flink" style="margin-left:4px">{{{footer}}}</div>
<div id="flink" style="float:right;margin-right:4px">{{{rootCertLink}}}&nbsp;<a href=../../terms>Terms &amp; Privacy</a></div>
</div>
</td>
</tr>
</table>
</body>
</html>

View File

@ -48,12 +48,12 @@
<div id="container"> <div id="container">
<!-- Begin Masthead --> <!-- Begin Masthead -->
<div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;"> <div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px">
<strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;">{{{title1}}}</font></strong> <strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px">
<strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;">{{{title2}}}</font></strong> <strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
<p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;">{{{logoutControl}}}</p> <p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;">{{{logoutControl}}}</p>
</div> </div>

View File

@ -18,21 +18,10 @@
background: linear-gradient(to bottom right, #369, #036); background: linear-gradient(to bottom right, #369, #036);
} }
#flink a:link { #flink a:link { color: #c8c8c8; }
color: #c8c8c8; #flink a:visited { color: #c8c8c8; }
} #flink a:hover { color: #c8c8c8; }
#flink a:active { color: #c8c8c8; }
#flink a:visited {
color: #c8c8c8;
}
#flink a:hover {
color: #c8c8c8;
}
#flink a:active {
color: #c8c8c8;
}
</style> </style>
</head> </head>
<body id="body" onload="if (typeof(startup) !== 'undefined') startup();" class="arg_hide login"> <body id="body" onload="if (typeof(startup) !== 'undefined') startup();" class="arg_hide login">
@ -140,15 +129,15 @@
<div> <div>
<b>Account Reset</b> <b>Account Reset</b>
</div> </div>
<table> <table style="width:100%;margin-top:4px;margin-bottom:4px">
<tr> <tr>
<td align=right width=100>Email:</td> <td>
<td><input id=remail type=text inputmode="email" name=email maxlength=256 onchange=validateReset() onkeyup=validateReset(event) /></td> <input id=remail title="Email" style="width:250px;border:0;border-radius:8px;padding:8px;background-color:#FFF8CC" autocomplete="username" placeholder="Email" type=text maxlength=256 name=email onchange=validateReset() onkeyup=validateReset(event) />
</td>
</tr> </tr>
<tr> <tr>
<td colspan=2> <td>
<div style=float:right><input id=eresetButton type=submit value="Reset Account" disabled="disabled" /></div> <input id=eresetButton style="width:250px;border:0;border-radius:4px;padding:6px" type=submit value="Reset Account" disabled="disabled" />
<div id=passWarning style="padding-top:6px"></div>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -15,12 +15,12 @@
<div id=container style=max-height:100vh> <div id=container style=max-height:100vh>
<div id=mastheadx></div> <div id=mastheadx></div>
<div id=masthead style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden"> <div id=masthead style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style=float:left;height:66px;color:#c8c8c8;padding-left:14px;padding-top:7px> <div style=float:left;height:66px;color:#c8c8c8;padding-left:14px;padding-top:7px>
<strong><font style="font-size:46px;font-family:Arial,Helvetica,sans-serif">{{{title1}}}</font></strong> <strong><font style="font-size:46px;font-family:Arial,Helvetica,sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style=float:left;height:66px;color:#c8c8c8;padding-left:5px;padding-top:14px> <div style=float:left;height:66px;color:#c8c8c8;padding-left:5px;padding-top:14px>
<strong><font style="font-size:14px;font-family:Arial,Helvetica,sans-serif">{{{title2}}}</font></strong> <strong><font style="font-size:14px;font-family:Arial,Helvetica,sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
</div> </div>
<div id=page_content style=max-height:calc(100vh-138px)> <div id=page_content style=max-height:calc(100vh-138px)>

View File

@ -15,12 +15,12 @@
<div id="container"> <div id="container">
<!-- Begin Masthead --> <!-- Begin Masthead -->
<div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;"> <div id="masthead" class=noselect style="background:url(logo.png) 0px 0px;background-color:#036;background-repeat:no-repeat;height:66px;width:100%;overflow:hidden;">
<div style="float:left">{{{titlehtml}}}</div> <div style="float:left;text-shadow: 1px 1px 2px #000">{{{titlehtml}}}</div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:14px; padding-top:7px">
<strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;">{{{title1}}}</font></strong> <strong><font style="font-size:46px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title1}}}</font></strong>
</div> </div>
<div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px"> <div style="float:left; height: 66px; color:#c8c8c8; padding-left:5px; padding-top:14px">
<strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;">{{{title2}}}</font></strong> <strong><font style="font-size:14px; font-family: Arial, Helvetica, sans-serif;text-shadow: 1px 1px 2px #000">{{{title2}}}</font></strong>
</div> </div>
<p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;"></p> <p id="logoutControl" style="color:white;font-size:11px;margin: 10px 10px 0;"></p>
</div> </div>

View File

@ -2459,7 +2459,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
if (domain.customui != null) { customui = encodeURIComponent(JSON.stringify(domain.customui)); } if (domain.customui != null) { customui = encodeURIComponent(JSON.stringify(domain.customui)); }
// Render the login page // Render the login page
render(req, res, getRenderPage('login', req, domain), getRenderArgs({ loginmode: loginmode, rootCertLink: getRootCertLink(), newAccount: newAccountsAllowed, newAccountPass: (((domain.newaccountspass == null) || (domain.newaccountspass == '')) ? 0 : 1), serverDnsName: obj.getWebServerName(domain), serverPublicPort: httpsPort, emailcheck: emailcheck, features: features, sessiontime: args.sessiontime, passRequirements: passRequirements, customui: customui, footer: (domain.footer == null) ? '' : domain.footer, hkey: encodeURIComponent(hardwareKeyChallenge).replace(/'/g, '%27'), messageid: msgid, passhint: passhint, welcometext: domain.welcometext ? encodeURIComponent(domain.welcometext).split('\'').join('\\\'') : null, hwstate: hwstate, otpemail: otpemail, otpsms: otpsms, twoFactorCookieDays: twoFactorCookieDays, authStrategies: authStrategies.join(',') }, req, domain)); render(req, res, getRenderPage((domain.sitestyle == 2)?'login2':'login', req, domain), getRenderArgs({ loginmode: loginmode, rootCertLink: getRootCertLink(), newAccount: newAccountsAllowed, newAccountPass: (((domain.newaccountspass == null) || (domain.newaccountspass == '')) ? 0 : 1), serverDnsName: obj.getWebServerName(domain), serverPublicPort: httpsPort, emailcheck: emailcheck, features: features, sessiontime: args.sessiontime, passRequirements: passRequirements, customui: customui, footer: (domain.footer == null) ? '' : domain.footer, hkey: encodeURIComponent(hardwareKeyChallenge).replace(/'/g, '%27'), messageid: msgid, passhint: passhint, welcometext: domain.welcometext ? encodeURIComponent(domain.welcometext).split('\'').join('\\\'') : null, hwstate: hwstate, otpemail: otpemail, otpsms: otpsms, twoFactorCookieDays: twoFactorCookieDays, authStrategies: authStrategies.join(',') }, req, domain));
} }
// Handle a post request on the root // Handle a post request on the root
@ -2780,10 +2780,12 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
} }
try { res.sendFile(obj.path.resolve(__dirname, path)); } catch (e) { res.sendStatus(404); } try { res.sendFile(obj.path.resolve(__dirname, path)); } catch (e) { res.sendStatus(404); }
} else { } else {
render(req, res, getRenderPage('download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), message: "<a href='" + req.path + "?download=1'>" + filename + "</a>, " + stat.size + " byte" + ((stat.size < 2) ? '' : 's') + "." }, req, domain)); render(req, res, getRenderPage((domain.sitestyle == 2) ? 'download2' : 'download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), messageid: 1, fileurl: req.path + '?download=1', filename: filename, filesize: stat.size }, req, domain));
//render(req, res, getRenderPage((domain.sitestyle == 2) ? 'download2' : 'download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), message: "<a href='" + req.path + "?download=1'>" + filename + "</a>, " + stat.size + " byte" + ((stat.size < 2) ? '' : 's') + "." }, req, domain));
} }
} else { } else {
render(req, res, getRenderPage('download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), message: "Invalid file link, please check the URL again." }, req, domain)); render(req, res, getRenderPage((domain.sitestyle == 2) ? 'download2' : 'download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), messageid: 2 }, req, domain));
//render(req, res, getRenderPage((domain.sitestyle == 2) ? 'download2' : 'download', req, domain), getRenderArgs({ rootCertLink: getRootCertLink(), message: "Invalid file link, please check the URL again." }, req, domain));
} }
} }
@ -5116,6 +5118,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
}); });
}); });
// Allows agents to transfer files
obj.agentapp.ws(url + 'devicefile.ashx', function (ws, req) { obj.meshDeviceFileHandler.CreateMeshDeviceFile(obj, ws, null, req, domain); });
// Setup agent to/from server file transfer handler // Setup agent to/from server file transfer handler
obj.agentapp.ws(url + 'agenttransfer.ashx', handleAgentFileTransfer); // Setup agent to/from server file transfer handler obj.agentapp.ws(url + 'agenttransfer.ashx', handleAgentFileTransfer); // Setup agent to/from server file transfer handler
} }
@ -5143,7 +5148,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
var domain = getDomain(req); var domain = getDomain(req);
if ((domain == null) || (domain.auth == 'sspi')) { res.sendStatus(404); return; } if ((domain == null) || (domain.auth == 'sspi')) { res.sendStatus(404); return; }
if ((domain.loginkey != null) && (domain.loginkey.indexOf(req.query.key) == -1)) { res.sendStatus(404); return; } // Check 3FA URL key if ((domain.loginkey != null) && (domain.loginkey.indexOf(req.query.key) == -1)) { res.sendStatus(404); return; } // Check 3FA URL key
res.status(404).render(getRenderPage('error404', req, domain), getRenderArgs({}, req, domain)); res.status(404).render(getRenderPage((domain.sitestyle == 2) ? 'error4042' : 'error404', req, domain), getRenderArgs({}, req, domain));
}); });
} }