瀏覽代碼

change login top

GGican 9 年之前
父節點
當前提交
71cd1c4051
共有 5 個文件被更改,包括 8 次插入97 次删除
  1. 2 1
      public/css/myself.css
  2. 二進制
      public/img/bohai_ld.jpg
  3. 二進制
      public/img/bohai_top.png
  4. 0 95
      resources/views/admin/old_login.blade.php
  5. 6 1
      resources/views/layouts/admin.blade.php

+ 2 - 1
public/css/myself.css

xqd
@@ -1,6 +1,7 @@
 body{
     height: 100%;
-    background-image: url('../img/bg.jpg');
+    background-image: url('../img/bohai_ld.jpg');
+    background-size: 100% ;
     margin: 0;
 }
 .container{

二進制
public/img/bohai_ld.jpg


二進制
public/img/bohai_top.png


+ 0 - 95
resources/views/admin/old_login.blade.php

xqd
@@ -1,95 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
-  <meta charset="utf-8">
-  <title>征拆局 管理系统</title>
-  <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <meta name="description" content="This is Blog Login">
-  <meta name="author" content="GT.Young">
-  <!-- Le styles -->
-  <script type="text/javascript" src="{{ asset('js/jquery.min.js')}}"></script>
-
-  <!--  <link rel="stylesheet" href="assets/css/style.css"> -->
-  <link rel="stylesheet" href="{{ asset('css/loader-style.css') }}">
-  <link rel="stylesheet" href="{{ asset('css/bootstrap.css') }}">
-  <link rel="stylesheet" href="{{ asset('css/signin.css') }}">
-
-  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
-  <!--[if lt IE 9]>
-  <!--<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>-->
-  <![endif]-->
-  <!-- Fav and touch icons -->
-  <link rel="shortcut icon" href="{{asset('img/minus.png')}}">
-</head>
-
-<div class="container">
-  <div class="" id="login-wrapper">
-    <div class="row">
-      <div class="col-md-4 col-md-offset-4">
-        <div id="logo-login">
-          <h1>征拆局 管理系统
-            <span>v &nbsp;1.0</span>
-          </h1>
-        </div>
-      </div>
-    </div>
-
-    <div class="row">
-      <div class="col-md-4 col-md-offset-4">
-        <div class="account-box">
-          <div style="align-content: center">
-            @if(session('msg'))
-            <p style="color: #b30b0b">{{ session('msg') }}</p>
-              @endif
-          </div>
-          <form role="form" action="{{asset('/login')}}" method="post" >
-            {{csrf_field()}}
-            <div class="form-group">
-              <!--a href="#" class="pull-right label-forgot">Forgot email?</a-->
-              <label for="inputUsernameEmail">用户名</label>
-              <input type="text" id="inputUsernameEmail" class="form-control" name="user_name">
-            </div>
-            <div class="form-group">
-              <!--a href="#" class="pull-right label-forgot">Forgot password?</a-->
-              <label for="inputPassword">密码</label>
-              <input type="password" id="inputPassword" class="form-control" name="user_pswd">
-            </div>
-            <div class="form-group">
-              <!--a href="#" class="pull-right label-forgot">Forgot password?</a-->
-              <label for="inputPassword">验证码</label><br>
-              <input type="text" id="inputPassword" class="form-control" style="width: 40%;float: left;" name="code">
-              <img src="{{ url('admin/captcha') }}" style="width: 30%;height: 70%;margin-left: 10%" onclick="this.src='{{ url('admin/captcha') }}?'+Math.random()">
-            </div>
-            <div class="checkbox pull-left">
-              <label>
-                <input type="checkbox">记住用户名</label>
-            </div>
-            <button class="btn btn-primary pull-right" type="submit">
-              登 录
-            </button>
-          </form>
-
-          <div class="row-block">
-            <div class="row">
-            </div>
-          </div>
-        </div>
-      </div>
-    </div>
-  </div>
-
-  <p>&nbsp;</p>
-  <div style="text-align:center;margin:0 auto;">
-    {{--<h6 style="color:#fff;">Copyright(C)2014 # All Rights Reserved<br />--}}
-      {{--xxxxx有限公司 版权所有 xIP备xxxxxxx号</h6>--}}
-  </div>
-</div>
-
-
-<!--  END OF PAPER WRAP -->
-
-</body>
-
-</html>
-

+ 6 - 1
resources/views/layouts/admin.blade.php

xqd
@@ -23,7 +23,12 @@
     <![endif]-->
 </head>
 <body class="hold-transition skin-blue sidebar-mini">
-<div class="wrapper">
+    <div style="height: 160px;width: 100%;">
+        <img style="height: 160px;width: 100%;"
+             src="{{ asset('img/bohai_top.png') }}" alt="顶部LOGO">
+    </div>
+
+    <div class="wrapper">
 
     {{--顶部菜单--}}
     <header class="main-header">