lexlepty commited on
Commit
8b68885
·
verified ·
1 Parent(s): f8b770a

Update templates/login.html

Browse files
Files changed (1) hide show
  1. templates/login.html +2 -14
templates/login.html CHANGED
@@ -13,13 +13,11 @@
13
  --card-bg: #ffffff;
14
  --border-color: #e0e0e0;
15
  }
16
-
17
  * {
18
  margin: 0;
19
  padding: 0;
20
  box-sizing: border-box;
21
  }
22
-
23
  body {
24
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
25
  background: var(--background);
@@ -29,7 +27,6 @@
29
  align-items: center;
30
  justify-content: center;
31
  }
32
-
33
  .login-container {
34
  background: var(--card-bg);
35
  padding: 40px;
@@ -39,25 +36,21 @@
39
  max-width: 400px;
40
  transition: all 0.3s ease;
41
  }
42
-
43
  .login-container:hover {
44
  transform: translateY(-5px);
45
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
46
  }
47
-
48
  .login-title {
49
  text-align: center;
50
  margin-bottom: 30px;
51
  font-size: 24px;
52
  color: var(--text);
53
  }
54
-
55
  .login-form {
56
  display: flex;
57
  flex-direction: column;
58
  gap: 20px;
59
  }
60
-
61
  .password-input {
62
  width: 100%;
63
  padding: 12px 20px;
@@ -66,13 +59,11 @@
66
  font-size: 16px;
67
  transition: all 0.3s ease;
68
  }
69
-
70
  .password-input:focus {
71
  outline: none;
72
  border-color: var(--primary-glow);
73
  box-shadow: 0 0 10px rgba(255, 149, 128, 0.3);
74
  }
75
-
76
  .login-button {
77
  width: 100%;
78
  padding: 12px 20px;
@@ -84,12 +75,10 @@
84
  cursor: pointer;
85
  transition: all 0.3s ease;
86
  }
87
-
88
  .login-button:hover {
89
  transform: translateY(-2px);
90
  box-shadow: 0 5px 15px rgba(255, 149, 128, 0.4);
91
  }
92
-
93
  .error-message {
94
  color: #ff4444;
95
  text-align: center;
@@ -100,8 +89,8 @@
100
  </head>
101
  <body>
102
  <div class="login-container">
103
- <h1 class="login-title"> Cloud Vault的登录界面</h1>
104
- <h2>没错在这输一下密码,密码1234</h2>
105
  <form class="login-form" id="loginForm">
106
  <input type="password" class="password-input" placeholder="请输入访问密码" required>
107
  <button type="submit" class="login-button">登录</button>
@@ -123,7 +112,6 @@
123
  },
124
  body: `password=${encodeURIComponent(password)}`
125
  });
126
-
127
  if (response.ok) {
128
  window.location.href = '/';
129
  } else {
 
13
  --card-bg: #ffffff;
14
  --border-color: #e0e0e0;
15
  }
 
16
  * {
17
  margin: 0;
18
  padding: 0;
19
  box-sizing: border-box;
20
  }
 
21
  body {
22
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
23
  background: var(--background);
 
27
  align-items: center;
28
  justify-content: center;
29
  }
 
30
  .login-container {
31
  background: var(--card-bg);
32
  padding: 40px;
 
36
  max-width: 400px;
37
  transition: all 0.3s ease;
38
  }
 
39
  .login-container:hover {
40
  transform: translateY(-5px);
41
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
42
  }
 
43
  .login-title {
44
  text-align: center;
45
  margin-bottom: 30px;
46
  font-size: 24px;
47
  color: var(--text);
48
  }
 
49
  .login-form {
50
  display: flex;
51
  flex-direction: column;
52
  gap: 20px;
53
  }
 
54
  .password-input {
55
  width: 100%;
56
  padding: 12px 20px;
 
59
  font-size: 16px;
60
  transition: all 0.3s ease;
61
  }
 
62
  .password-input:focus {
63
  outline: none;
64
  border-color: var(--primary-glow);
65
  box-shadow: 0 0 10px rgba(255, 149, 128, 0.3);
66
  }
 
67
  .login-button {
68
  width: 100%;
69
  padding: 12px 20px;
 
75
  cursor: pointer;
76
  transition: all 0.3s ease;
77
  }
 
78
  .login-button:hover {
79
  transform: translateY(-2px);
80
  box-shadow: 0 5px 15px rgba(255, 149, 128, 0.4);
81
  }
 
82
  .error-message {
83
  color: #ff4444;
84
  text-align: center;
 
89
  </head>
90
  <body>
91
  <div class="login-container">
92
+ <h1 class="login-title"> Cloud Vault的登录界面(云盘)</h1>
93
+ <p class="login-title">没错在这输一下密码,密码1234</p>
94
  <form class="login-form" id="loginForm">
95
  <input type="password" class="password-input" placeholder="请输入访问密码" required>
96
  <button type="submit" class="login-button">登录</button>
 
112
  },
113
  body: `password=${encodeURIComponent(password)}`
114
  });
 
115
  if (response.ok) {
116
  window.location.href = '/';
117
  } else {