登录页面添加微信公众号
This commit is contained in:
parent
7bee745f6f
commit
a875f76e3b
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
|
@ -1,7 +1,15 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><style type="text/css">[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\:form{display:block;}</style>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak, .ng-hide:not(.ng-hide-animate) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
ng\:form {
|
||||
display: block;
|
||||
}</style>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
|
@ -11,117 +19,144 @@
|
|||
<link rel="shortcut icon" href="{% static 'image/favicon.ico' %}" type="image/x-icon">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/login-vendor.css' %}">
|
||||
{# <link rel="stylesheet" href="{% static '' %}">#}
|
||||
{# <link rel="stylesheet" href="{% static '' %}">#}
|
||||
|
||||
<link rel="stylesheet" href="{% static 'css/login-app.css' %}">
|
||||
|
||||
<script charset="utf-8" type="text/javascript">
|
||||
<script charset="utf-8" type="text/javascript">
|
||||
|
||||
|
||||
</script>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body ng-app="app" ng-strict-di="" ng-controller="AppController" class="coding-center coding ng-scope random-background account-background" cg-random-background="" ng-class="{'account-background': isAccount}" style="margin: 0px; padding: 0px; background: transparent url("{% static 'image/background2.jpg' %}") no-repeat fixed center center / cover ; height: 100%;">
|
||||
<body ng-app="app" ng-strict-di="" ng-controller="AppController"
|
||||
class="coding-center coding ng-scope random-background account-background" cg-random-background=""
|
||||
ng-class="{'account-background': isAccount}"
|
||||
style="margin: 0px; padding: 0px; background: transparent url("{% static 'image/background2.jpg' %}") no-repeat fixed center center / cover ; height: 100%;">
|
||||
<div cg-flash="">
|
||||
<div class="cg flash center" ng-class="{active: messages && messages.length>0}" id="global-flash">
|
||||
<i class="ui close icon" ng-click="onClose()"></i>
|
||||
<div class="outer">
|
||||
<!-- ngRepeat: message in messages.slice(0,limit) -->
|
||||
<i class="ui close icon" ng-click="onClose()"></i>
|
||||
<div class="outer">
|
||||
<!-- ngRepeat: message in messages.slice(0,limit) -->
|
||||
|
||||
</div>
|
||||
<!-- ngIf: messages.length>limit -->
|
||||
</div>
|
||||
<!-- ngIf: messages.length>limit -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui fixed transparent main menu ng-scope" ng-dblclick="scrollToTop()" id="top-menu">
|
||||
<a href="#" class="left logo item ng-scope" ng-if="USER === false" cg-jump-out-angular-href="/" target="_self" style="padding: 0px 0px;">
|
||||
<img src="../../static/image/logo.png" height="50">
|
||||
</a>
|
||||
<div style="left: 0px;" class="left menu ng-scope" data-ng-controller="QuickSearchController" ng-style="{'left':USER === false ? '40px':'75px'}">
|
||||
<div class="public-pages ng-scope" ng-if="USER === false" style="width: 452px;">
|
||||
<div class="normal not-login-menu">
|
||||
<div class="ui simple dropdown">
|
||||
<a href="javascript:void(0);" class="item no-arrow ng-binding">AutoMagic</a>
|
||||
<div class="menu">
|
||||
<a class="item func-item" href="#" target="_blank">TestReport</a>
|
||||
<a class="item func-item" href="#" target="_blank">Git Server</a>
|
||||
<a href="#" class="left logo item ng-scope" ng-if="USER === false" cg-jump-out-angular-href="/" target="_self"
|
||||
style="padding: 0px 0px;">
|
||||
<img src="../../static/image/logo.png" height="50">
|
||||
</a>
|
||||
<div style="left: 0px;" class="left menu ng-scope" data-ng-controller="QuickSearchController"
|
||||
ng-style="{'left':USER === false ? '40px':'75px'}">
|
||||
<div class="public-pages ng-scope" ng-if="USER === false" style="width: 452px;">
|
||||
<div class="normal not-login-menu">
|
||||
<div class="ui simple dropdown">
|
||||
<a href="javascript:void(0);" class="item no-arrow ng-binding">AutoMagic</a>
|
||||
<div class="menu">
|
||||
<a class="item func-item" href="#" target="_blank">TestReport</a>
|
||||
<a class="item func-item" href="#" target="_blank">Git Server</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" target="_blank" class="item ng-binding">TeamCity</a>
|
||||
<a href="# " target="_blank" class="item ng-binding">TestRail</a>
|
||||
<a href="#" target="_blank" class="item ng-binding">YouTrack</a>
|
||||
</div>
|
||||
<a href="#" target="_blank" class="item ng-binding">TeamCity</a>
|
||||
<a href="# " target="_blank" class="item ng-binding">TestRail</a>
|
||||
<a href="#" target="_blank" class="item ng-binding">YouTrack</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header ng-scope">
|
||||
<span class="top-menu-title ng-binding ng-scope" ng-controller="TopMenuTitleController" ng-bind="top_menu_title">自动化测试管理平台</span>
|
||||
</div>
|
||||
<div class="header ng-scope">
|
||||
<span class="top-menu-title ng-binding ng-scope" ng-controller="TopMenuTitleController"
|
||||
ng-bind="top_menu_title">自动化测试管理平台</span>
|
||||
</div>
|
||||
|
||||
<!-- ngIf: USER -->
|
||||
<!-- ngIf: USER === false -->
|
||||
<!-- ngIf: USER -->
|
||||
<!-- ngIf: USER === false -->
|
||||
<div class="right menu ng-scope" ng-if="USER === false">
|
||||
<div class="ui item mart-logo">
|
||||
</div>
|
||||
<a href="#" class="ui coding register button ng-binding" cg-auto-refresh-href="/register">注册</a>
|
||||
<a href="#" class="ui coding white login button ng-binding" cg-auto-refresh-href="/login">登录</a>
|
||||
|
||||
<!-- end ngIf: USER === false -->
|
||||
<!-- end ngIf: USER === false -->
|
||||
</div>
|
||||
<!-- end ngIf: USER === false -->
|
||||
<!-- end ngIf: USER === false -->
|
||||
</div>
|
||||
{#{% extends "base.html" %}#}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
||||
<div class="wrapper ng-scope" ng-view="">
|
||||
<div class="account-flex-container ng-scope">
|
||||
<div ng-controller="LoginController" class="account-container ng-scope">
|
||||
<h2>用户登录</h2>
|
||||
<div id="content-main">
|
||||
<div class="wrapper ng-scope" ng-view="">
|
||||
<div class="account-flex-container ng-scope">
|
||||
<div ng-controller="LoginController" class="account-container ng-scope">
|
||||
<h2>用户登录</h2>
|
||||
<div id="content-main">
|
||||
|
||||
|
||||
<form method="post">{% csrf_token %}
|
||||
<form method="post">{% csrf_token %}
|
||||
|
||||
<div class="account-input dirty" ng-class="{dirty: dirty}">
|
||||
<input type="text" name="username">
|
||||
</div>
|
||||
<div class="account-input dirty" ng-class="{dirty: dirty}">
|
||||
<input type="text" name="username">
|
||||
</div>
|
||||
|
||||
<input-password class="ng-isolate-scope" ret="password" show-error="false">
|
||||
<div class="account-input" ng-class="{dirty: dirty}">
|
||||
<input type="password" name="password">
|
||||
<span ng-show="!ret.valid" class="error ng-binding ng-hide"></span>
|
||||
</div></input-password>
|
||||
<input-password class="ng-isolate-scope" ret="password" show-error="false">
|
||||
<div class="account-input" ng-class="{dirty: dirty}">
|
||||
<input type="password" name="password">
|
||||
<span ng-show="!ret.valid" class="error ng-binding ng-hide"></span>
|
||||
</div>
|
||||
</input-password>
|
||||
|
||||
<div style="position: relative">
|
||||
<input-remember-me class="ng-isolate-scope" ret="remember_me">
|
||||
<div style="position: relative">
|
||||
<input-remember-me class="ng-isolate-scope" ret="remember_me">
|
||||
|
||||
</input-remember-me>
|
||||
</input-remember-me>
|
||||
</div>
|
||||
<button id="login_btn" type="submit" ng-class="{loading: loading}" value="{{ next }}">登录
|
||||
</button>
|
||||
|
||||
<div class="bottom-link">
|
||||
<a href="#">还没有账户,联系管理员</a>
|
||||
</div>
|
||||
{% if form.errors %}
|
||||
<span class="" style="color: red">您输入的用户名或密码不正确,请重试。</span>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
<button id="login_btn" type="submit" ng-class="{loading: loading}" value="{{ next }}">登录</button>
|
||||
|
||||
<div class="bottom-link">
|
||||
<a href="#">还没有账户,联系管理员</a>
|
||||
</div>
|
||||
{% if form.errors %}
|
||||
<span class="" style="color: red">您输入的用户名或密码不正确,请重试。</span>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
<!-- ngInclude: undefined --><div class="account-about ng-scope" ng-controller="AccountAboutController">
|
||||
<!-- ngInclude: undefined -->
|
||||
<div class="account-about ng-scope" ng-controller="AccountAboutController">
|
||||
<span>Copyright © 2020 AutoMagic </span>
|
||||
{# <a href="#">首页</a>#}
|
||||
<a href="https://radiateboy.github.io/automagic/">关于 AutoMagic</a>
|
||||
<a href="#" >tsbc@vip.qq.com</a>
|
||||
<a href="https://radiateboy.github.io/automagic/" target="_blank">关于 AutoMagic</a>
|
||||
<a href='javascript:void(0);' onclick="picBig()">微信</a>
|
||||
<a href="#">tsbc@vip.qq.com</a>
|
||||
|
||||
</div>
|
||||
<div id="divCenter" align="center"
|
||||
style="position:absolute; display:none; top: 40%; width: 40%; height: 50%; z-index:99999;">
|
||||
<img src="{% static 'image/wx.jpg' %}" style="width:40%; height: 50%">
|
||||
<div style="margin-top: 30px;">
|
||||
<a href="javascript:void(0);" onclick="picClose()" class="close_photo">关闭</a></div>
|
||||
|
||||
</div>
|
||||
</ng-include>
|
||||
</div>
|
||||
<script>
|
||||
function picBig() {
|
||||
var v = document.getElementById('divCenter');
|
||||
v.style.display = "block";
|
||||
|
||||
}
|
||||
|
||||
function picClose() {
|
||||
var v = document.getElementById('divCenter');
|
||||
v.style.display = "none";
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue