11.5

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>
        {% block title %}{% endblock %}
        首页</title>
{#    <link type="text/css" rel="stylesheet" href="{{ url_for('static',filename='css/jianshu.css') }}">#}
    <link type="text/css" rel="stylesheet" href="{{ url_for('static',filename='css/base.css') }}">
    <script src="{{ url_for('static',filename='js/nightmode.js') }}">
    </script>
    {% block head %}{% endblock %}
</head>
<body id="mybody">

<nav class="navbody">
    <img src="https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=1534382273,3993676399&fm=58&s=B0327032C5B46F826C7478E2030070B0&bpow=121&bpoh=75" height="100" width="100">
    <a href="http://www.514200.com/"></a>
    <input type="text" name="search">
    <button type="submit">搜索</button>
    <a href="{{ url_for('jianshu') }}">首页</a>
    <a href="{{ url_for('login') }}">登录
{%  extends 'fu.html'%}
{% block title %}登录{% endblock %}

{% block head %}
    <link type="text/css" rel="stylesheet" href="{{ url_for('static',filename='css/login.css') }}">
    <script src="{{ url_for('static',filename='js/login.js') }}"></script>
{% endblock %}
{% block main %}

<div class="box">
    <h2>登录</h2>
    <div class="input_box">
        <input id="uname" type="text" placeholder="请输入用户名">
    </div>
    <div class="input_box">
        <input id="upass" type="password" placeholder="请输入密码">
    </div>
    <div id="error_box"><br></div>
    <div class="input_box">
        <button onclick="fnlogin()">登录</button>

    </div>
</div>


{% endblock %}
{% extends 'fu.html' %}
{% block title %}注册{% endblock %}

{% block head %}
    <link type="text/css" rel="stylesheet" href="{{ url_for('static',filename='css/login.css') }}">
    <script src="{{ url_for('static',filename='js/enroll.js') }}"></script>
{% endblock %}
{% block main %}

    <div class="box">
        <h2>注册</h2>
        <div class="input_box">
            <input id="uname" type="text" placeholder="请输入昵称">
        </div>
        <div class="input_box">
            <input id="upass" type="password" placeholder="请输入密码">
        </div>
        <div class="input_box">
            <input id="upass1" type="password" placeholder="请再次输入密码">
        </div>
        <div id="error_box"><br></div>
        <div class="input_box">
            <button onclick="tnlogin()">注册</button>

        </div>
    </div>

{% endblock %}

 



{% block main %}{% endblock %}

 

posted @ 2017-11-05 09:02  037吴宜珊  阅读(153)  评论(0)    收藏  举报