Skip to content

Commit f4b3d93

Browse files
committed
ApiBoot Logging Admin UI界面 + VUE初始化
1 parent 26585c9 commit f4b3d93

File tree

91 files changed

+19504
-5832
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+19504
-5832
lines changed
Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1+
/*
2+
* Copyright 2014-2018 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
module.exports = {
218
presets: [
319
'@vue/app'
420
]
5-
}
21+
};

api-boot-project/api-boot-plugins/api-boot-plugin-logging-admin-ui/package-lock.json

Lines changed: 13820 additions & 5231 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 107 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,105 @@
11
{
2-
"name": "api-boot-plugin-logging-admin-ui",
3-
"description": "ApiBoot Logging Admin Ui",
4-
"version": "2.1.3",
2+
"name": "spring-boot-admin-server-ui",
3+
"description": "Spring Boot Admin UI",
54
"private": true,
65
"scripts": {
7-
"serve": "vue-cli-service serve",
6+
"dev": "vue-cli-service serve",
7+
"watch": "vue-cli-service build --watch",
88
"build": "vue-cli-service build",
9-
"lint": "vue-cli-service lint"
9+
"lint": "vue-cli-service lint",
10+
"test:unit": "vue-cli-service test:unit"
1011
},
1112
"dependencies": {
12-
"copy-webpack-plugin": "latest",
13-
"core-js": "^2.6.5",
14-
"html-loader": "^0.5.5",
13+
"@fortawesome/fontawesome-svg-core": "^1.2.19",
14+
"@fortawesome/free-brands-svg-icons": "^5.9.0",
15+
"@fortawesome/free-regular-svg-icons": "^5.9.0",
16+
"@fortawesome/free-solid-svg-icons": "^5.9.0",
17+
"@fortawesome/vue-fontawesome": "^0.1.6",
18+
"ansi_up": "^4.0.3",
19+
"autolinker": "^3.1.0",
20+
"axios": "^0.19.0",
21+
"bulma": "^0.7.5",
22+
"bulma-badge": "^3.0.1",
23+
"copy-webpack-plugin": "^5.0.4",
24+
"d3-array": "^2.2.0",
25+
"d3-axis": "^1.0.12",
26+
"d3-brush": "^1.0.6",
27+
"d3-scale": "^3.0.0",
28+
"d3-selection": "^1.4.0",
29+
"d3-shape": "^1.3.5",
30+
"d3-time": "^1.0.11",
31+
"event-source-polyfill": "^1.0.7",
32+
"lodash": "^4.17.15",
33+
"moment": "^2.24.0",
34+
"moment-shortformat": "^2.1.0",
35+
"popper.js": "^1.15.0",
36+
"pretty-bytes": "^5.2.0",
37+
"resize-observer-polyfill": "^1.5.1",
38+
"rxjs": "^6.5.2",
1539
"vue": "^2.6.10",
16-
"vue-router": "^3.0.7",
17-
"webpack": "latest",
18-
"webpack-bundle-analyzer": "latest"
40+
"vue-clickaway2": "^2.3.1",
41+
"vue-i18n": "^8.12.0",
42+
"vue-infinite-loading": "^2.4.4",
43+
"vue-router": "^3.0.7"
1944
},
2045
"devDependencies": {
21-
"@vue/cli-plugin-babel": "^3.9.0",
22-
"@vue/cli-plugin-eslint": "^3.9.0",
23-
"@vue/cli-service": "^3.9.0",
24-
"babel-eslint": "^10.0.1",
46+
"@vue/cli-plugin-babel": "^3.9.2",
47+
"@vue/cli-plugin-eslint": "^3.9.2",
48+
"@vue/cli-plugin-unit-jest": "^3.9.0",
49+
"@vue/cli-service": "^3.9.3",
50+
"@vue/eslint-config-standard": "^4.0.0",
51+
"@vue/test-utils": "^1.0.0-beta.29",
52+
"babel-core": "7.0.0-bridge.0",
53+
"babel-eslint": "^10.0.2",
54+
"babel-jest": "^23.6.0",
2555
"eslint": "^5.16.0",
26-
"eslint-plugin-vue": "^5.0.0",
27-
"vue-template-compiler": "^2.6.10"
56+
"eslint-plugin-vue": "^5.2.3",
57+
"html-loader": "^0.5.5",
58+
"jest": "^24.8.0",
59+
"node-sass": "^4.12.0",
60+
"sass-loader": "^7.0.1",
61+
"vue-template-compiler": "^2.6.10",
62+
"webpack": "^4.38.0",
63+
"webpack-bundle-analyzer": "^3.3.2"
2864
},
2965
"eslintConfig": {
3066
"root": true,
3167
"env": {
3268
"node": true
3369
},
3470
"extends": [
35-
"plugin:vue/essential",
36-
"eslint:recommended"
71+
"eslint:recommended",
72+
"plugin:vue/strongly-recommended"
3773
],
38-
"rules": {},
74+
"rules": {
75+
"quotes": [
76+
"error",
77+
"single"
78+
],
79+
"no-console": [
80+
"error",
81+
{
82+
"allow": [
83+
"warn"
84+
]
85+
}
86+
],
87+
"vue/max-attributes-per-line": "off",
88+
"vue/component-name-in-template-casing": "kebab-case"
89+
},
3990
"parserOptions": {
4091
"parser": "babel-eslint"
41-
}
92+
},
93+
"overrides": [
94+
{
95+
"files": [
96+
"*.spec.js"
97+
],
98+
"env": {
99+
"jest": true
100+
}
101+
}
102+
]
42103
},
43104
"postcss": {
44105
"plugins": {
@@ -47,6 +108,29 @@
47108
},
48109
"browserslist": [
49110
"> 1%",
50-
"last 2 versions"
51-
]
111+
"last 2 versions",
112+
"not ie <= 8"
113+
],
114+
"jest": {
115+
"moduleFileExtensions": [
116+
"js",
117+
"json",
118+
"vue"
119+
],
120+
"transform": {
121+
"^.+\\.vue$": "vue-jest",
122+
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
123+
"^.+\\.js$": "babel-jest"
124+
},
125+
"moduleNameMapper": {
126+
"^@/(.*)$": "<rootDir>/src/main/frontend/$1"
127+
},
128+
"snapshotSerializers": [
129+
"jest-serializer-vue"
130+
],
131+
"testMatch": [
132+
"**/*.spec.js"
133+
],
134+
"testURL": "http://example.com"
135+
}
52136
}

api-boot-project/api-boot-plugins/api-boot-plugin-logging-admin-ui/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,20 @@
4545
<artifactId>spring-boot-starter-web</artifactId>
4646
<optional>true</optional>
4747
</dependency>
48+
<dependency>
49+
<groupId>org.springframework.boot</groupId>
50+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
51+
</dependency>
4852
<!--ApiBoot Logging Admin-->
4953
<dependency>
5054
<groupId>org.minbox.framework</groupId>
5155
<artifactId>api-boot-plugin-logging-admin</artifactId>
5256
</dependency>
57+
<dependency>
58+
<groupId>org.springframework.boot</groupId>
59+
<artifactId>spring-boot-starter-security</artifactId>
60+
<scope>test</scope>
61+
</dependency>
5362
</dependencies>
5463
<build>
5564
<plugins>

api-boot-project/api-boot-plugins/api-boot-plugin-logging-admin-ui/src/main/frontend/App.vue

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*!
2+
* Copyright 2014-2018 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
// Import the initial variables
17+
@import "~bulma/sass/utilities/initial-variables";
18+
@import "~bulma/sass/utilities/functions";
19+
20+
//$turquoise: rgb(66, 211, 165);
21+
$turquoise: #78a744;
22+
// overrides
23+
$primary: $turquoise;
24+
$primary-invert: $white;
25+
26+
// Add new color variables to the color map.
27+
@import "~bulma/sass/utilities/derived-variables.sass";
28+
29+
$addColors: ();
30+
$colors: map-merge($colors, $addColors);
31+
32+
$link: $primary;
33+
34+
$modal-card-head-background-color: $white;
35+
$modal-content-width: calc(100vh - 40px);
36+
37+
$navbar-background-color: $black-ter;
38+
$navbar-item-color: $grey;
39+
$navbar-item-hover-color: $white;
40+
$navbar-item-hover-background-color: $navbar-background-color;
41+
$navbar-item-active-color: $white;
42+
$navbar-item-active-background-color: $navbar-background-color;
43+
44+
@import "~bulma/sass/utilities/mixins.sass";
45+
46+
// for calculations / originally rem
47+
$navbar-height-px: 52px;

0 commit comments

Comments
 (0)