Skip to content

Commit

Permalink
fixed assets bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed Oct 7, 2019
1 parent 991e1e2 commit f2d78dc
Show file tree
Hide file tree
Showing 11 changed files with 469 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ assets:
mkdir ./template/adminlte/resource/assets/dist/js
mkdir ./template/adminlte/resource/assets/dist/css
cp ./template/adminlte/resource/assets/src/js/*.js ./template/adminlte/resource/assets/dist/js/
cp ./template/adminlte/resource/assets/src/css/blue.png ./template/adminlte/resource/assets/dist/css/blue.png
cp ./template/adminlte/resource/assets/src/css/*.png ./template/adminlte/resource/assets/dist/css/
cp -R ./template/adminlte/resource/assets/src/css/fonts ./template/adminlte/resource/assets/dist/css/
cp -R ./template/adminlte/resource/assets/src/img ./template/adminlte/resource/assets/dist/
cp -R ./template/adminlte/resource/assets/src/fonts ./template/adminlte/resource/assets/dist/
Expand Down
4 changes: 2 additions & 2 deletions admincli/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GOCMD=go
GOBUILD=$(GOCMD) build
BINARY_NAME=admincli
LASTVERSION=v0.4.0
VERSION=v0.4.1
LASTVERSION=v0.4.1
VERSION=v0.4.2

all:
GO111MODULE=on $(GOBUILD) -o ./build/mac/$(BINARY_NAME)
Expand Down
2 changes: 1 addition & 1 deletion modules/system/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package system

const Version = "v0.4.1"
const Version = "v0.4.2"
204 changes: 171 additions & 33 deletions template/adminlte/resource/assets.go

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions template/adminlte/resource/assets_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package resource
var AssetsList = []string{
"/dist/css/all.min.css",
"/dist/css/blue.png",
"/dist/css/blue@2x.png",
"/dist/css/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf",
"/dist/css/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf",
"/dist/css/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdr.ttf",
Expand All @@ -16,6 +17,11 @@ var AssetsList = []string{
"/dist/fonts/fontawesome-webfont.ttf",
"/dist/fonts/fontawesome-webfont.woff",
"/dist/fonts/fontawesome-webfont.woff2",
"/dist/fonts/glyphicons-halflings-regular.eot",
"/dist/fonts/glyphicons-halflings-regular.svg",
"/dist/fonts/glyphicons-halflings-regular.ttf",
"/dist/fonts/glyphicons-halflings-regular.woff",
"/dist/fonts/glyphicons-halflings-regular.woff2",
"/dist/fonts/ionicons.ttf",
"/dist/fonts/ionicons.woff",
"/dist/img/avatar04.png",
Expand Down

0 comments on commit f2d78dc

Please sign in to comment.