Showing
4 changed files
with
9 additions
and
140 deletions
views/user/templates/base_login.html
deleted
100644 → 0
| 1 | -<!doctype html> | ||
| 2 | -<html lang="en"> | ||
| 3 | - <head> | ||
| 4 | - <meta charset="utf-8"> | ||
| 5 | - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
| 6 | - <title>{% block title %} | ||
| 7 | - 登录 | ||
| 8 | - {% endblock %}</title> | ||
| 9 | - <link rel="stylesheet" href="/static/css/backend-plugin.min.css"> | ||
| 10 | - <link rel="stylesheet" href="/static/css/backend.css"> | ||
| 11 | - <meta name="referrer" content="no-referrer" /> | ||
| 12 | - </head> | ||
| 13 | - <body class=" "> | ||
| 14 | - <!-- loader Start --> | ||
| 15 | - <div id="loading"> | ||
| 16 | - <div id="loading-center"> | ||
| 17 | - </div> | ||
| 18 | - </div> | ||
| 19 | - <!-- loader END --> | ||
| 20 | - | ||
| 21 | - <div class="wrapper"> | ||
| 22 | - <section class="login-content" style="background-image: url(https://img0.baidu.com/it/u=4260343253,426122526&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800);background-repeat: no-repeat;background-size: cover"> | ||
| 23 | - <div class="container h-100"> | ||
| 24 | - <div class="row align-items-center justify-content-center h-100"> | ||
| 25 | - <div class="col-md-5"> | ||
| 26 | - <div class="card p-3"> | ||
| 27 | - {% block content %} | ||
| 28 | - <div class="card-body"> | ||
| 29 | - <div class="auth-logo"> | ||
| 30 | - <img src="https://weibo.com/favicon.ico" class="img-fluid rounded-normal light-logo" alt="logo"> | ||
| 31 | - </div> | ||
| 32 | - <h3 class="mb-3 font-weight-bold text-center">登录</h3> | ||
| 33 | - <p class="text-center text-secondary mb-4">微博话题舆情分析可视化系统 - flask echarts SnowNLP</p> | ||
| 34 | - <div class="mb-5"> | ||
| 35 | - <p class="line-around text-secondary mb-0"><span class="line-around-1">输入您的用户名和密码</span></p> | ||
| 36 | - </div> | ||
| 37 | - <form method="POST" action="/user/login"> | ||
| 38 | - <div class="row"> | ||
| 39 | - <div class="col-lg-12"> | ||
| 40 | - <div class="form-group"> | ||
| 41 | - <label class="text-secondary">用户名</label> | ||
| 42 | - <input class="form-control" name="username" type="text" placeholder="请输入您的用户名"> | ||
| 43 | - </div> | ||
| 44 | - </div> | ||
| 45 | - <div class="col-lg-12 mt-2"> | ||
| 46 | - <div class="form-group"> | ||
| 47 | - <div class="d-flex justify-content-between align-items-center"> | ||
| 48 | - <label class="text-secondary">密码</label> | ||
| 49 | - </div> | ||
| 50 | - <input class="form-control" name="password" type="password" placeholder="请输入您的密码"> | ||
| 51 | - </div> | ||
| 52 | - </div> | ||
| 53 | - </div> | ||
| 54 | - <button type="submit" class="btn btn-primary btn-block mt-2">登录</button> | ||
| 55 | - <div class="col-lg-12 mt-3"> | ||
| 56 | - <p class="mb-0 text-center">还没有账号? <a href="/user/register">注册</a></p> | ||
| 57 | - </div> | ||
| 58 | - </form> | ||
| 59 | - </div> | ||
| 60 | - {% endblock %} | ||
| 61 | - </div> | ||
| 62 | - </div> | ||
| 63 | - </div> | ||
| 64 | - </div> | ||
| 65 | - </section> | ||
| 66 | - </div> | ||
| 67 | - | ||
| 68 | - <script src="/static/js/backend-bundle.min.js"></script> | ||
| 69 | - <script src="/static/js/customizer.js"></script> | ||
| 70 | - <script src="/static/js/sidebar.js"></script> | ||
| 71 | - <script src="/static/js/flex-tree.min.js"></script> | ||
| 72 | - <script src="/static/js/tree.js"></script> | ||
| 73 | - <script src="/static/js/table-treeview.js"></script> | ||
| 74 | - <script src="/static/js/sweetalert.js"></script> | ||
| 75 | - <script src="/static/js/vector-map-custom.js"></script> | ||
| 76 | - <script src="/static/js/chart-custom.js"></script> | ||
| 77 | - <script src="/static/js/01.js"></script> | ||
| 78 | - <script src="/static/js/02.js"></script> | ||
| 79 | - <script src="/static/js/slider.js"></script> | ||
| 80 | - <script src="/static/js/index.js" type="module"></script> | ||
| 81 | - <script src="/static/js/app.js"></script> </body> | ||
| 82 | -</html> |
views/user/templates/login.html
deleted
100644 → 0
| 1 | -{% extends 'base_login.html' %} |
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | -<html lang="en"> | 2 | +<html lang="zh"> |
| 3 | 3 | ||
| 4 | <head> | 4 | <head> |
| 5 | <meta charset="UTF-8"> | 5 | <meta charset="UTF-8"> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | - <title>原神登录</title> | 7 | + <title>微博舆情分析系统 | 登录</title> |
| 8 | <link rel="icon" href="../../../static/原神启动/favicon.ico"> | 8 | <link rel="icon" href="../../../static/原神启动/favicon.ico"> |
| 9 | </head> | 9 | </head> |
| 10 | 10 | ||
| @@ -326,7 +326,7 @@ | @@ -326,7 +326,7 @@ | ||
| 326 | <div id="black-hid"> | 326 | <div id="black-hid"> |
| 327 | </div> | 327 | </div> |
| 328 | 328 | ||
| 329 | - <form id="login" class="login show"> | 329 | + <form id="login" class="login show" method="POST" action="/user/login"> |
| 330 | <div class="login_box"> | 330 | <div class="login_box"> |
| 331 | <div class="title"> | 331 | <div class="title"> |
| 332 | <!-- <a class="QRcode" href=""><img src="login_resources/二维码 (1).png" alt=""></a> --> | 332 | <!-- <a class="QRcode" href=""><img src="login_resources/二维码 (1).png" alt=""></a> --> |
| @@ -335,8 +335,8 @@ | @@ -335,8 +335,8 @@ | ||
| 335 | </div> | 335 | </div> |
| 336 | </div> | 336 | </div> |
| 337 | <div class="content"> | 337 | <div class="content"> |
| 338 | - <div class="input"><input type="text" placeholder="输入手机号/邮箱"></div> | ||
| 339 | - <div class="input"><input type="password" placeholder="输入密码"></div> | 338 | + <div class="input"><input type="text" name="username" placeholder="输入账号/原神"></div> |
| 339 | + <div class="input"><input type="password" name="password" placeholder="输入密码/始める!"></div> | ||
| 340 | </div> | 340 | </div> |
| 341 | <div class="register-text"> | 341 | <div class="register-text"> |
| 342 | <span> | 342 | <span> |
| @@ -355,7 +355,7 @@ | @@ -355,7 +355,7 @@ | ||
| 355 | </form> | 355 | </form> |
| 356 | 356 | ||
| 357 | 357 | ||
| 358 | - <form id="register" class="register"> | 358 | + <form id="register" class="register" method="POST" action="/user/register"> |
| 359 | <div class="login_box"> | 359 | <div class="login_box"> |
| 360 | <div class="title"> | 360 | <div class="title"> |
| 361 | <a class="logo" href=""><img src="../../../static/原神启动//logo2.08ebb840.png" alt=""></a> | 361 | <a class="logo" href=""><img src="../../../static/原神启动//logo2.08ebb840.png" alt=""></a> |
| @@ -367,11 +367,11 @@ | @@ -367,11 +367,11 @@ | ||
| 367 | <span | 367 | <span |
| 368 | style="display: inline-block;width: 60px;height: 60px;font-size: 21px;font-weight: 800;color: black;line-height: 60px;text-align: center; "> | 368 | style="display: inline-block;width: 60px;height: 60px;font-size: 21px;font-weight: 800;color: black;line-height: 60px;text-align: center; "> |
| 369 | +86</span> | 369 | +86</span> |
| 370 | - <input style="width: 452px;float: right;" type="text" placeholder="输入手机号"> | 370 | + <input style="width: 452px;float: right;" type="text" name="username" placeholder="输入要注册的账号"> |
| 371 | <a class="yanzhengma" href="" | 371 | <a class="yanzhengma" href="" |
| 372 | - style="position: absolute; top: 43px;right: 60px;color: #d6c194;font-weight: 700;letter-spacing: 0.1em;">获取验证码</a> | 372 | + style="position: absolute; top: 43px;right: 60px;color: #d6c194;font-weight: 700;letter-spacing: 0.1em;">我是假按钮</a> |
| 373 | </div> | 373 | </div> |
| 374 | - <div class="input"><input type="text" placeholder="输入短信验证码"></div> | 374 | + <div class="input"><input type="text" name="password" placeholder="设定密码"></div> |
| 375 | </div> | 375 | </div> |
| 376 | <div class="xieyi"> | 376 | <div class="xieyi"> |
| 377 | <input type="checkbox"> | 377 | <input type="checkbox"> |
views/user/templates/register.html
deleted
100644 → 0
| 1 | -{% extends 'base_login.html' %} | ||
| 2 | - | ||
| 3 | -{% block title %} | ||
| 4 | -注册 | ||
| 5 | -{% endblock %} | ||
| 6 | - | ||
| 7 | -{% block content %} | ||
| 8 | -<div class="card-body"> | ||
| 9 | - <div class="auth-logo"> | ||
| 10 | - <img src="https://weibo.com/favicon.ico" class="img-fluid rounded-normal light-logo" alt="logo"> | ||
| 11 | - </div> | ||
| 12 | - <h3 class="mb-3 font-weight-bold text-center">注册</h3> | ||
| 13 | - <p class="text-center text-secondary mb-4">微博话题舆情分析可视化系统 - flask echarts SnowNLP</p> | ||
| 14 | - <div class="mb-5"> | ||
| 15 | - <p class="line-around text-secondary mb-0"><span class="line-around-1">输填写好注册信息方可完成注册</span></p> | ||
| 16 | - </div> | ||
| 17 | - <form method="POST" action="/user/register"> | ||
| 18 | - <div class="row"> | ||
| 19 | - <div class="col-lg-12"> | ||
| 20 | - <div class="form-group"> | ||
| 21 | - <label class="text-secondary">用户名</label> | ||
| 22 | - <input class="form-control" name="username" type="text" placeholder="请输入您的用户名"> | ||
| 23 | - </div> | ||
| 24 | - </div> | ||
| 25 | - <div class="col-lg-12 mt-2"> | ||
| 26 | - <div class="form-group"> | ||
| 27 | - <div class="d-flex justify-content-between align-items-center"> | ||
| 28 | - <label class="text-secondary">密码</label> | ||
| 29 | - </div> | ||
| 30 | - <input class="form-control" name="password" type="password" placeholder="请输入您的密码"> | ||
| 31 | - </div> | ||
| 32 | - </div> | ||
| 33 | - <div class="col-lg-12 mt-2"> | ||
| 34 | - <div class="form-group"> | ||
| 35 | - <div class="d-flex justify-content-between align-items-center"> | ||
| 36 | - <label class="text-secondary">确认密码</label> | ||
| 37 | - </div> | ||
| 38 | - <input class="form-control" name="checkPassword" type="password" placeholder="请再次输入您的密码"> | ||
| 39 | - </div> | ||
| 40 | - </div> | ||
| 41 | - </div> | ||
| 42 | - <button type="submit" class="btn btn-primary btn-block mt-2">注册</button> | ||
| 43 | - <div class="col-lg-12 mt-3"> | ||
| 44 | - <p class="mb-0 text-center">已有账号? <a href="/user/login">登录</a></p> | ||
| 45 | - </div> | ||
| 46 | - </form> | ||
| 47 | - </div> | ||
| 48 | -{% endblock %} |
-
Please register or login to post a comment