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

Commit

Permalink
config your telegram group
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Jul 3, 2022
1 parent b7a840b commit ade7ae4
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 38 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var args = parse(Deno.args);
if (args.v || args.version || args.h || args.help || (args.mysqladdress && (!args.mysqlusername || !args.mysqlpassword || !args.mysqldbname))) {
echo("$ brook-manager --listen :8080 --ui default");
echo("$ brook-manager --listen :8080 --ui default --mysqladdress 127.0.0.1:3306 --mysqlusername root --mysqlpassword 111111 --mysqldbname brook");
echo(`v20220704`);
echo(`v20220705`);
Deno.exit(0);
}

Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/auth.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -65,7 +65,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p>{{l('Default username:')}} <code>brook</code> {{l('password:')}} <code>brook</code></p>
</header>
<main>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/block.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -88,7 +88,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/brook_link_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -95,7 +95,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p>{{l('Add brook link')}}</p>
<nav>
<a href="./unmanaged.html">{{l('Back')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -41,7 +41,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html" style="border-color: #ffb300">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/instance.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -80,7 +80,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/instance_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -270,7 +270,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p v-if="row.id">{{l('Edit Instance')}}</p>
<p v-if="!row.id">{{l('Add Instance')}}</p>
<nav>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/instance_view.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -70,7 +70,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p>{{name}}</p>
<nav>
<a href="./instance.html">{{l('Back')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/payment.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -92,7 +92,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/product.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -80,7 +80,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/product_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -107,7 +107,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p v-if="row.id">{{l('Edit Product')}}</p>
<p v-if="!row.id">{{l('Add Product')}}</p>
<nav>
Expand Down
9 changes: 7 additions & 2 deletions static/default/admin/setting.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -116,7 +116,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand All @@ -140,6 +140,11 @@ <h4>{{l('Site Domain')}}</h4>
<label>{{l('Domain')}}</label><br />
<input type="text" v-model="site_domain" />
</p>
<h4>{{l('Support')}}</h4>
<p>
<label>{{l('Telegram')}}</label><br />
<input type="text" v-model="site_telegram" />
</p>
<h4>{{l('Username')}} {{l('Password')}}</h4>
<p>
<label>{{l('Username')}}</label><br />
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/unmanaged.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -116,7 +116,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
6 changes: 3 additions & 3 deletions static/default/admin/unmanaged_instance.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -89,9 +89,9 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Dashboard')}}</a>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
<a href="./product.html">{{l('Products')}}</a>
<a href="./instance.html">{{l('Managed Brook')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/unmanaged_instance_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -96,7 +96,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p>{{l('Add Unmanaged Instance')}}</p>
<nav>
<a href="./unmanaged_instance.html">{{l('Back')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/user.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -92,7 +92,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/user_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -124,7 +124,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p>{{l('Edit User')}}</p>
<nav>
<a href="./user.html">{{l('Back')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/vip.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -68,7 +68,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<nav>
<a href="./index.html">{{l('Home')}}</a>
<a href="./vip.html" style="border-color: #ffb300">{{l('VIP Level')}}</a>
Expand Down
4 changes: 2 additions & 2 deletions static/default/admin/vip_edit.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Brook Dashboard</title>
<title>Brook Manager</title>
<meta charset="utf-8" />
<meta name="description" content="https://github.com/txthinking/brook" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down Expand Up @@ -85,7 +85,7 @@
</head>
<body>
<header>
<h1>Brook Dashboard</h1>
<h1>Brook Manager</h1>
<p v-if="row.id">{{l('Edit VIP Level')}}</p>
<p v-if="!row.id">{{l('Add VIP Level')}}</p>
<nav>
Expand Down
4 changes: 4 additions & 0 deletions static/default/lang/lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"zh-CN": "状态",
"": ""
},
"Support": {
"zh-CN": "客服",
"": ""
},
"Recover": {
"zh-CN": "恢复",
"": ""
Expand Down

0 comments on commit ade7ae4

Please sign in to comment.