页面优化

This commit is contained in:
yaoyuan2.chu
2020-11-30 00:09:38 +08:00
parent df3b826b3e
commit 1e0fcfb6e2
7 changed files with 26 additions and 33 deletions
+10 -17
View File
@@ -1,29 +1,22 @@
#h2 配置
#mysql 配置
spring:
cache:
type: ehcache
ehcache:
config: classpath:ehcache.xml
jpa:
generate-ddl: false
database: MYSQL
show-sql: true
hibernate:
ddl-auto: none
h2:
console:
path: /h2-console
enabled: true
settings:
web-allow-others: true
ddl-auto: update
datasource:
platform: h2
url: jdbc:h2:~/testjiscuss
username: sa
password:
schema: classpath:schema.sql
data: classpath:data.sql
driver-class-name: org.h2.Driver
url: jdbc:mysql://101.200.164.179:3306/jiscuss?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false
username: jiscuss
password: jiscusscyy
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
tomcat:
init-s-q-l: SET NAMES utf8mb4
druid:
min-idle: 2
initial-size: 5
@@ -34,7 +27,7 @@ spring:
filter:
stat:
enabled: true
db-type: h2
db-type: mysql
log-slow-sql: true
slow-sql-millis: 2000
# 监控过滤器
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="ui main menu" id="menu">
<div class="ui fixed menu" id="menu">
<div class="ui container">
<div href="/" class="header borderless item">
<img class="logo" src="static/assets/images/logo.png">
+3 -3
View File
@@ -12,7 +12,7 @@
<#include "comm/commjs.ftl"/>
</head>
<body>
<body style=" background: #f7f8fa;">
<#include "comm/header.ftl"/>
<div class="ui container" id="container">
@@ -28,8 +28,8 @@
<h3 class="ui center aligned header"></h3>
<div class="ui four column grid">
<div class="widescreen large screen computer tablet only twelve wide column">
<div id="context2">
<div class="ui widescreen large screen computer tablet only twelve wide column segment">
<div id="context2" >
<h2 class="ui header">
<i class="edit outline icon"></i>
+1 -1
View File
@@ -9,7 +9,7 @@
<#include "comm/commjs.ftl"/>
</head>
<body>
<body style=" background: #f7f8fa;">
<#include "comm/header.ftl"/>
<div class="ui container" id="container">
+1 -1
View File
@@ -6,7 +6,7 @@
<style type="text/css">
body {
background-color: #DADADA;
background-color: #f7f8fa;
}
body > .grid {
+1 -1
View File
@@ -9,7 +9,7 @@
<meta name="_csrf_header" content="${_csrf.headerName}"/>
<#include "comm/commjs.ftl"/>
</head>
<body>
<body style=" background: #f7f8fa;">
<#include "comm/header.ftl"/>
<div class="ui container" id="container">