62 lines
2.5 KiB
HTML
62 lines
2.5 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='python_css.css') }}">
|
|
<link rel="icon" href="{{ url_for('static', filename='icon.png') }}"> <!--添加图标-->
|
|
<title>Homepage</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<ul>
|
|
<!-- <li>yilv blog</li> -->
|
|
<li class="logo"><a href="{{ url_for('index') }}"><img src="{{ url_for('static', filename='icon.png') }}" alt="Logo"></a></li>
|
|
<li><a href="{{ url_for('index') }}">HOMEpage</a></li>
|
|
<li><a href="{{ url_for('signin') }}">Sign In</a></li>
|
|
<li><a href="{{ url_for('signup') }}">Sign Up</a></li>
|
|
<li><a href="{{ url_for('dashboard') }}">Dashboard</a></li>
|
|
{% if 'user' in session %}
|
|
<li><a href="{{ url_for('user') }}">User Profile</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<main>
|
|
<div class="container">
|
|
<div class="sidebar">
|
|
<h2 style="text-align: center;">python教程</h2>
|
|
<ul>
|
|
<li><a href="{{ url_for('python') }}">python环境搭建</a></li>
|
|
<li><a href="#">python基本语法</a></li>
|
|
<li><a href="#">第一个python程序</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
<!-- 这里添加内容-->
|
|
<div id="content-list">
|
|
<div class="content-item">
|
|
<div>
|
|
<h2>python基本语法</h2>
|
|
<ul>
|
|
<li>本章我们来讲解python的基本语法</li>
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<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>
|
|
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
|
|
</body>
|
|
</html>
|