标签:www. 位置 ror ace 校园 navigate lang log file
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>{% block title %}{% endblock %}首页</title> <!-- 新 Bootstrap 核心 CSS 文件 --> <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <!-- 最新的 Bootstrap 核心 JavaScript 文件 --> <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script src="{{ url_for(‘static‘,filename=‘js/switch.js‘) }}"></script> <link rel="stylesheet" type="text/css" href="{{ url_for(‘static‘,filename=‘css/base.css‘) }}"> {% block head %}{% endblock %} </head> <body id="myBody"> <nav class="navbar"> <img src="{{ url_for(‘static‘,filename=‘images/8-1306061335461b.jpg‘) }}" alt="" width="50px"> <a href="{{ url_for(‘index‘) }}">首页</a> <input type="text" name="title" required lay-verify="required" placeholder="请输入搜索内容" autocomplete="off" class="layui-input"> <button class="seek" style="padding-left: 10px;" type="submit">搜索</button> <a class="login" href="{{ url_for(‘login‘) }}">登录</a> <a class="enroll" href="{{ url_for(‘enroll‘) }}">注册</a> <select class="navigate"> <option>学校概况</option> <option>专业部门</option> <option>校园管理</option> <option>招生信息</option> <option>国际教育</option> </select> <img id="myOnOff" onclick="mySwitch()" src="http://www.runoob.com/images/pic_bulbon.gif" width="25px"> </nav> {% block main %}{% endblock %} </body> <footer> <div class="footer_box"> copyright@yangjlee </div> </footer> </html>
{% extends‘base.html‘ %} {% block title %}注册{% endblock %} {% block head %} <link rel="stylesheet" type="text/css" href="{{ url_for(‘static‘,filename=‘css/enroll.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="zname" type="text"placeholder="设置您的用户名"> </div> <div class="input_box"> 密码:<input id="zpass1" type="text"placeholder="设置您的密码"> </div> <div class="input-box"> 重输该密码:<input id="zpass2" type="text" placeholder="重新输入一样的密码"> </div> <div class="input_box"> <a href="{{ url_for(‘login‘) }}">已有账号,登录</a> </div> <div id="error_box"><br></div> <div class="input_box"> <button class="button" onclick="fnEnroll()">立即注册</button> </div> </div> {% endblock %}
{% extends‘base.html‘ %} {% block title %}登录{% endblock %} {% block head %} <link rel="stylesheet" type="text/css" 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="text"placeholder="请输入密码"> </div> <div class="input_box"> <a href="{{ url_for(‘enroll‘) }}">没有账号?立即注册</a> </div> <div id="error_box"><br></div> <div class="input_box"> <button class="button" onclick="fnLogin()">登录</button> </div> </div> {% endblock %}
标签:www. 位置 ror ace 校园 navigate lang log file
原文地址:http://www.cnblogs.com/yangjlee/p/7798270.html