38 lines
1.4 KiB
HTML
38 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
<link rel="icon" href="{{ url_for('static', filename='icon.png') }}"> <!--add the icon-->
|
|
|
|
<title>Dashboard</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="{{ url_for('index') }}">HOMEpage</a></li>
|
|
<li><a href="{{ url_for('user') }}">user-profile</a></li>
|
|
<li><a href="{{ url_for('dashboard') }}">Dashboard</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<main class="dashboard">
|
|
<h1>Dashboard</h1>
|
|
<form action="/publish" method="post" class="form-box">
|
|
<label for="content">Content:</label>
|
|
<textarea id="content" name="content" required></textarea><br>
|
|
<button type="submit">Publish</button>
|
|
</form>
|
|
<footer>
|
|
<div class="footer-container">
|
|
<div class="footer-item"><a href="{{url_for('aboutus')}}"><strong>About Us</strong></a></div>
|
|
<div class="footer-item"><a href="https://flask.palletsprojects.com"><strong>About Flask</strong></a></div>
|
|
<div class="footer-item"><a href="http://www.scuec.edu.cn"><strong>About SCEUC</strong></a></div>
|
|
</div>
|
|
</footer>
|
|
</main>
|
|
</body>
|
|
</html>
|