modify the html

main
ColsonZhang 2021-03-31 14:49:39 +08:00
parent 028057e462
commit 45342ffdac
7 changed files with 9 additions and 8 deletions

View File

@ -40,6 +40,7 @@ app.py ----服务器的主程序
* `tornado` * `tornado`
* `datetime` * `datetime`
* `pycket` * `pycket`
* `redis`
* `pymongo` * `pymongo`
* `pymysql` * `pymysql`

View File

@ -6,6 +6,7 @@ class Mongo_DB():
def __init__(self, Mongo_URL = 'mongodb://localhost:27017/'): def __init__(self, Mongo_URL = 'mongodb://localhost:27017/'):
self.Client = MongoClient(Mongo_URL) self.Client = MongoClient(Mongo_URL)
print("open mongodb success !!!")
def connect(self,DataBase = 'default', Collection = 'default'): def connect(self,DataBase = 'default', Collection = 'default'):
self.DataBase = self.Client[DataBase] self.DataBase = self.Client[DataBase]

View File

@ -9,7 +9,7 @@ table_name = "user_info"
# 打开数据库连接 # 打开数据库连接
db = pymysql.connect( database_ip, database_user, database_passwd, database_name ) db = pymysql.connect(host=database_ip, user=database_user, password=database_passwd, database=database_name )
print('open mysql success !!!') print('open mysql success !!!')
# 使用cursor()方法获取操作游标 # 使用cursor()方法获取操作游标
cursor = db.cursor() cursor = db.cursor()

View File

@ -7,7 +7,7 @@ License URL: http://creativecommons.org/licenses/by/3.0/
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Business Login Form Responsive Widget Template :: w3layouts</title> <title>Login CZ_OpenSpice</title>
<!-- Meta-Tags --> <!-- Meta-Tags -->
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8"> <meta charset="utf-8">
@ -44,8 +44,8 @@ License URL: http://creativecommons.org/licenses/by/3.0/
<div class="agile_info"> <div class="agile_info">
<div class="w3l_form"> <div class="w3l_form">
<div class="left_grid_info"> <div class="left_grid_info">
<h1>Manage Your Business Account</h1> <h1>CZ_OpenSpice</h1>
<p>Donec dictum nisl nec mi lacinia, sed maximus tellus eleifend. Proin molestie cursus sapien ac eleifend.</p> <p>The new online circuit simulation platform !</p>
<img src="static/login/images/image_login_1.jpg" alt="" /> <img src="static/login/images/image_login_1.jpg" alt="" />
</div> </div>
</div> </div>

View File

@ -10,7 +10,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>Gadget Sign Up Form a Flat Responsive Widget Template :: w3layouts </title> <title>Sign up CZ_OpenSpice</title>
<!-- Meta tags --> <!-- Meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@ -37,9 +37,8 @@
<!---728x90---> <!---728x90--->
<div class="mid-class"> <div class="mid-class">
<div class="img-right-side"> <div class="img-right-side">
<h3>Manage Your Gadgets Account</h3> <h3>CZ_OpenSpice</h3>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget Lorem ipsum dolor sit <p>The new online circuit simulation platform</p>
amet, consectetuer adipiscing elit. Aenean commodo ligula ege</p>
<img src="static/register/images/image_register_1.png" class="img-fluid" alt=""> <img src="static/register/images/image_register_1.png" class="img-fluid" alt="">
</div> </div>
<div class="txt-left-side"> <div class="txt-left-side">