Browse Source

调整页面显示样式

hejq 7 years ago
parent
commit
1d14a49ac3

+ 3 - 2
src/main/webapp/WEB-INF/views/normal/logs.html

@@ -93,12 +93,13 @@
             <input type="text" id="keyword" class="form-control" placeholder="请输入名称或UU号搜索"><span class="input-group-addon" id="p_search">搜索</span>
         </div>
     </div>
-	<table class="table table-striped table-hover">
-		<thead id="enterprise-head">
+	<table class="table table-striped table-hover" style="overflow: scroll">
+		<thead id="logList-head">
             <th class="text-center" width="60">序号</th>
             <th class="text-center" width="80">时间</th>
             <th class="text-center" width="100">企业UU</th>
             <th class="text-center" width="100">企业名称</th>
+            <th class="text-center" width="100">访问路径</th>
 			<th class="text-center" width="100">错误原因</th>
             <th class="text-center" width="150">详情</th>
             <th class="text-center" width="120">参数</th>

+ 0 - 153
src/main/webapp/resources/css/mobile/index.css

@@ -1,153 +0,0 @@
-/* nav */
-#nav {
-	background-color: #474443;
-	border-color: #474443;
-}
-
-.navbar {
-	margin-bottom: 0;
-	min-height: 40px;
-}
-
-.navbar-toggle {
-	padding: 4px 5px;
-}
-
-.navbar-default .navbar-collapse, .navbar-default .navbar-form {
-	border-color: #666666;
-}
-
-.navbar-default .navbar-nav>li>a {
-	color: #dddddd;
-}
-
-.navbar-brand {
-	padding: 10px 15px;
-	height: 40px;
-}
-
-/* header */
-header .carousel-caption {
-	bottom: 0;
-	left: 0;
-	right: 0;
-	padding-bottom: 5px;
-	padding-top: 5px;
-	text-align: left;
-	background: rgba(80, 80, 80, 0.8);
-}
-
-header .carousel-index {
-	position: absolute;
-	bottom: 0;
-	left: 0;
-	right: 0;
-	padding-bottom: 5px;
-	padding-top: 5px;
-	color: #ffffff;
-}
-
-/* section */
-section {
-	padding: 30px 0;
-    background: rgb(255,255,255);
-    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,239,239,1) 100%);
-    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(238,239,239,1) 100%);
-    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(238,239,239,1) 100%);
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeefef', GradientType=0 );
-	font-family: '微软雅黑', '宋体';
-}
-
-.section-title h2{
-	font-size: 1.5em;
-    margin-bottom: 20px;
-    color: #636b72;
-}
-
-.section-title hr {
-	height: 4px;
-    width: 40px;
-    background: #19B5FE;
-    position: relative;
-    border: 0;
-    margin-top: 15px;
-    margin-bottom: 15px;
-}
-
-/* about us */
-.us-item {
-	position: relative;
-	margin-bottom: 30px;
-	padding-left: 40px;
-}
-
-.us-item i {
-	position: absolute;
-	left: 0;
-	top: -8px;
-	display: inline-block;
-	width: 40px;
-	text-align: center;
-	font-size: 30px;
-	color: #19B5FE;
-}
-
-.us-item h5 {
-	margin-top: 0;
-	margin-bottom: 10px;
-	font-weight: 600;
-}
-
-.us-item p {
-	color: #777;
-}
-
-/* register */
-.reg-item {
-	position: relative;
-	padding-left: 40px;
-}
-
-.reg-number {
-	position: absolute;
-	top: 5px;
-	left: 0;
-	width: 40px;
-	text-align: center;
-}
-
-.reg-number h5 {
-	font-size: 18px;
-	color: #19B5FE;
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-.reg-number p {
-	color: #777;
-}
-
-.reg-text {
-	padding-top: 5px;
-	padding-bottom: 5px;
-}
-
-.reg-text h5 {
-	margin-top: 0;
-	margin-bottom: 0;
-}
-
-.reg-text p {
-	color: #777;
-}
-
-/* footer */
-footer {
-	padding: 30px 0;
-	background: #f5f5f5;
-}
-
-footer a {
-	display: inline-block;
-	margin-bottom: 10px;
-}

BIN
src/main/webapp/resources/images/banner.png


BIN
src/main/webapp/resources/images/banner_new.png


BIN
src/main/webapp/resources/images/icon-img.png


BIN
src/main/webapp/resources/images/icon.png


BIN
src/main/webapp/resources/images/loading.gif


BIN
src/main/webapp/resources/images/minkan.png


BIN
src/main/webapp/resources/images/qixian.png


BIN
src/main/webapp/resources/images/redu.png


+ 8 - 0
src/main/webapp/resources/js/common/log.js

@@ -109,6 +109,11 @@ function getDataRow(log, i) {
     nameCell.innerHTML = log.enName; //填充数据
     row.appendChild(nameCell);
 
+    var urlCell = document.createElement('td'); //enName
+    urlCell.setAttribute("class", "text-center");
+    urlCell.innerHTML = log.url; //填充数据
+    row.appendChild(urlCell);
+
     var msgCell = document.createElement('td'); //msg
     msgCell.setAttribute("class", "text-center");
     msgCell.innerHTML = log.msg; //填充数据
@@ -116,11 +121,14 @@ function getDataRow(log, i) {
 
     var detailCell = document.createElement('td'); //detail
     detailCell.setAttribute("class", "text-center");
+    detailCell.setAttribute("title", log.detail);
     detailCell.innerHTML = log.detail; //填充数据
     row.appendChild(detailCell);
 
     var paraCell = document.createElement('td'); //parameters
     paraCell.setAttribute("class", "text-center");
+    paraCell.setAttribute("style", "max-width: 500px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp:5");
+    paraCell.setAttribute("title", log.parameters);
     paraCell.innerHTML = log.parameters; //填充数据
     row.appendChild(paraCell);