Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
leiyun
/
ssl_manage
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
save
master
leiyun
há 10 meses
ascendente
6f13c51ec3
cometimento
3ac72a610f
3 ficheiros alterados
com
76 adições
e
5 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+4
-0
src/home/controller/index.js
+0
-5
view/home/index_index.html
+72
-0
view/home/index_showssl.html
+ 4
- 0
src/home/controller/index.js
Ver ficheiro
@@ -124,6 +124,10 @@ export default class extends Base {
* @return {Promise} []
*/
async indexAction () {
return this.display();
}
async showsslAction(){
console.log("==".repeat(20), "开始检查证书", "==".repeat(20));
let domains = this.config().domains;
let msgs = []
+ 0
- 5
view/home/index_index.html
Ver ficheiro
@@ -62,11 +62,6 @@
<h1>证书自动更新系统</h1>
</div>
</header>
<div class="content">
<div class="list">
<%= msgs %>
</div>
</div>
</body>
</html>
+ 72
- 0
view/home/index_showssl.html
Ver ficheiro
@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>证书自动更新系统</title>
<style>
* {
padding: 0;
margin: 0;
font-size: 16px;
line-height: 20px;
font-family: arial;
}
a,
a:visited {
color: #337ab7;
text-decoration: none;
}
header {
padding: 70px 0 70px 0;
background-color: #4A6495
}
h1 {
font-size: 36px;
color: #fff;
font-weight: normal;
}
code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
.content {
width: 1000px;
margin: auto
}
.wrap {
width: 1000px;
margin: auto
}
.list {
width: 800px;
white-space: pre-line;
line-height: 3;
}
</style>
</head>
<body>
<header>
<div class="wrap">
<h1>证书自动更新系统</h1>
</div>
</header>
<div class="content">
<div class="list">
<%= msgs %>
</div>
</div>
</body>
</html>
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar