Skip to content

Commit 610e9c5

Browse files
author
cg33
committed
add table
1 parent 3b39527 commit 610e9c5

File tree

10 files changed

+547
-117
lines changed

10 files changed

+547
-117
lines changed

backend/admin.db

0 Bytes
Binary file not shown.

backend/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/GoAdminGroup/goadmin-vue-example
33
go 1.13
44

55
require (
6-
github.com/GoAdminGroup/go-admin v1.2.8-0.20200402092625-ca9dbe858a0a
7-
github.com/GoAdminGroup/themes v0.0.29
6+
github.com/GoAdminGroup/go-admin v1.2.8-0.20200409021812-51aca4c034fe
7+
github.com/GoAdminGroup/themes v0.0.30-0.20200409025656-74ebc1308000
88
github.com/fsnotify/fsnotify v1.4.7
99
github.com/gin-gonic/gin v1.5.0
1010
)

backend/go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ github.com/GoAdminGroup/go-admin v1.2.8-0.20200401080611-839367ab35c6 h1:kQrjKen
4343
github.com/GoAdminGroup/go-admin v1.2.8-0.20200401080611-839367ab35c6/go.mod h1:9Kk8rbrMUUiKQCRaAtdV1aHOTHaqzeyjChq9ykQ76Rg=
4444
github.com/GoAdminGroup/go-admin v1.2.8-0.20200402092625-ca9dbe858a0a h1:uJy+Jf0pJSl0ulzSOQkBBtI7wzk3xJlo/CF4Ox4A+3w=
4545
github.com/GoAdminGroup/go-admin v1.2.8-0.20200402092625-ca9dbe858a0a/go.mod h1:9Kk8rbrMUUiKQCRaAtdV1aHOTHaqzeyjChq9ykQ76Rg=
46+
github.com/GoAdminGroup/go-admin v1.2.8-0.20200409021812-51aca4c034fe h1:JBvFj+DYmzalTgv+9gZR7Yd6pymMoBvKLJGnls9z1Jk=
47+
github.com/GoAdminGroup/go-admin v1.2.8-0.20200409021812-51aca4c034fe/go.mod h1:9Kk8rbrMUUiKQCRaAtdV1aHOTHaqzeyjChq9ykQ76Rg=
4648
github.com/GoAdminGroup/html v0.0.1 h1:SdWNWl4OKPsvDk2GDp5ZKD6ceWoN8n4Pj6cUYxavUd0=
4749
github.com/GoAdminGroup/html v0.0.1/go.mod h1:A1laTJaOx8sQ64p2dE8IqtstDeCNBHEazrEp7hR5VvM=
4850
github.com/GoAdminGroup/themes v0.0.9 h1:F1AouzisRS9mNdC2/17r586g9V28qHl7PGyQUY5YN9Q=
@@ -83,6 +85,8 @@ github.com/GoAdminGroup/themes v0.0.28 h1:NOK8jmxkhO4YHj6inD9Oi8dMY/Da74IjT+3cSO
8385
github.com/GoAdminGroup/themes v0.0.28/go.mod h1:ABCOeBeibfg9DxAsGVa1NzYK9/nIbHT/BuFrCRIKo8A=
8486
github.com/GoAdminGroup/themes v0.0.29 h1:zC19Pu4xyDyqh5BjJS+b76FSlUP3Qjz+iukxcQH0piU=
8587
github.com/GoAdminGroup/themes v0.0.29/go.mod h1:ABCOeBeibfg9DxAsGVa1NzYK9/nIbHT/BuFrCRIKo8A=
88+
github.com/GoAdminGroup/themes v0.0.30-0.20200409025656-74ebc1308000 h1:RTaCu1r8vASJRzfxYN4c9RG1QdlZM2g/LMVgmRN5H3E=
89+
github.com/GoAdminGroup/themes v0.0.30-0.20200409025656-74ebc1308000/go.mod h1:ABCOeBeibfg9DxAsGVa1NzYK9/nIbHT/BuFrCRIKo8A=
8690
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e h1:n+DcnTNkQnHlwpsrHoQtkrJIO7CBx029fw6oR4vIob4=
8791
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e/go.mod h1:Bdzq+51GR4/0DIhaICZEOm+OHvXGwwB2trKZ8B4Y6eQ=
8892
github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=

frontend/admin.db

0 Bytes
Binary file not shown.

frontend/src/src/App.vue

-8
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,4 @@
1111
</script>
1212

1313
<style>
14-
#app {
15-
font-family: 'Avenir', Helvetica, Arial, sans-serif;
16-
-webkit-font-smoothing: antialiased;
17-
-moz-osx-font-smoothing: grayscale;
18-
text-align: center;
19-
color: #2c3e50;
20-
margin-top: 60px;
21-
}
2214
</style>

frontend/src/src/components/Form.vue

Whitespace-only changes.

frontend/src/src/components/GoAdmin.vue

+11
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<li>
1212
<a href="https://www.go-admin.com" target="_blank">Official</a>
1313
</li>
14+
<li>
15+
<router-link to='/table'>Table</router-link>
16+
</li>
1417
</ul>
1518
</div>
1619
</template>
@@ -42,4 +45,12 @@
4245
a {
4346
color: #42b983;
4447
}
48+
.hello {
49+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
50+
-webkit-font-smoothing: antialiased;
51+
-moz-osx-font-smoothing: grayscale;
52+
text-align: center;
53+
color: #2c3e50;
54+
margin-top: 60px;
55+
}
4556
</style>
+118-107
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,128 @@
11
<template>
2-
<div class="hello">
3-
<img src="./../assets/logo.png">
4-
<h1>{{ msg }}</h1>
5-
<h2>Essential Links</h2>
6-
<ul>
7-
<li>
8-
<a
9-
href="https://vuejs.org"
10-
target="_blank"
11-
>
12-
Core Docs
13-
</a>
14-
</li>
15-
<li>
16-
<a
17-
href="https://forum.vuejs.org"
18-
target="_blank"
19-
>
20-
Forum
21-
</a>
22-
</li>
23-
<li>
24-
<a
25-
href="https://chat.vuejs.org"
26-
target="_blank"
27-
>
28-
Community Chat
29-
</a>
30-
</li>
31-
<li>
32-
<a
33-
href="https://twitter.com/vuejs"
34-
target="_blank"
35-
>
36-
Twitter
37-
</a>
38-
</li>
39-
<br>
40-
<li>
41-
<a
42-
href="http://vuejs-templates.github.io/webpack/"
43-
target="_blank"
44-
>
45-
Docs for This Template
46-
</a>
47-
</li>
48-
</ul>
49-
<h2>Ecosystem</h2>
50-
<ul>
51-
<li>
52-
<a
53-
href="http://router.vuejs.org/"
54-
target="_blank"
55-
>
56-
vue-router
57-
</a>
58-
</li>
59-
<li>
60-
<a
61-
href="http://vuex.vuejs.org/"
62-
target="_blank"
63-
>
64-
vuex
65-
</a>
66-
</li>
67-
<li>
68-
<a
69-
href="http://vue-loader.vuejs.org/"
70-
target="_blank"
71-
>
72-
vue-loader
73-
</a>
74-
</li>
75-
<li>
76-
<a
77-
href="https://github.com/vuejs/awesome-vue"
78-
target="_blank"
79-
>
80-
awesome-vue
81-
</a>
82-
</li>
83-
<li>
84-
<router-link to='/goadmin'>go-admin</router-link>
85-
</li>
86-
</ul>
87-
</div>
2+
<div class="hello">
3+
<img src="./../assets/logo.png">
4+
<h1>{{ msg }}</h1>
5+
<h2>Essential Links</h2>
6+
<ul>
7+
<li>
8+
<a
9+
href="https://vuejs.org"
10+
target="_blank"
11+
>
12+
Core Docs
13+
</a>
14+
</li>
15+
<li>
16+
<a
17+
href="https://forum.vuejs.org"
18+
target="_blank"
19+
>
20+
Forum
21+
</a>
22+
</li>
23+
<li>
24+
<a
25+
href="https://chat.vuejs.org"
26+
target="_blank"
27+
>
28+
Community Chat
29+
</a>
30+
</li>
31+
<li>
32+
<a
33+
href="https://twitter.com/vuejs"
34+
target="_blank"
35+
>
36+
Twitter
37+
</a>
38+
</li>
39+
<br>
40+
<li>
41+
<a
42+
href="http://vuejs-templates.github.io/webpack/"
43+
target="_blank"
44+
>
45+
Docs for This Template
46+
</a>
47+
</li>
48+
</ul>
49+
<h2>Ecosystem</h2>
50+
<ul>
51+
<li>
52+
<a
53+
href="http://router.vuejs.org/"
54+
target="_blank"
55+
>
56+
vue-router
57+
</a>
58+
</li>
59+
<li>
60+
<a
61+
href="http://vuex.vuejs.org/"
62+
target="_blank"
63+
>
64+
vuex
65+
</a>
66+
</li>
67+
<li>
68+
<a
69+
href="http://vue-loader.vuejs.org/"
70+
target="_blank"
71+
>
72+
vue-loader
73+
</a>
74+
</li>
75+
<li>
76+
<a
77+
href="https://github.com/vuejs/awesome-vue"
78+
target="_blank"
79+
>
80+
awesome-vue
81+
</a>
82+
</li>
83+
<li>
84+
<router-link to='/goadmin'>go-admin</router-link>
85+
</li>
86+
</ul>
87+
</div>
8888
</template>
8989

9090
<script>
91-
export default {
92-
name: 'HelloWorld',
93-
data () {
94-
return {
95-
msg: 'Welcome to Your Vue.js App'
91+
export default {
92+
name: 'HelloWorld',
93+
data() {
94+
return {
95+
msg: 'Welcome to Your Vue.js App'
96+
}
97+
}
9698
}
97-
}
98-
}
9999
</script>
100100

101101
<!-- Add "scoped" attribute to limit CSS to this component only -->
102102
<style scoped>
103-
h1, h2 {
104-
font-weight: normal;
105-
}
106-
ul {
107-
list-style-type: none;
108-
padding: 0;
109-
}
110-
li {
111-
display: inline-block;
112-
margin: 0 10px;
113-
}
114-
a {
115-
color: #42b983;
116-
}
103+
h1, h2 {
104+
font-weight: normal;
105+
}
106+
107+
ul {
108+
list-style-type: none;
109+
padding: 0;
110+
}
111+
112+
li {
113+
display: inline-block;
114+
margin: 0 10px;
115+
}
116+
117+
a {
118+
color: #42b983;
119+
}
120+
.hello {
121+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
122+
-webkit-font-smoothing: antialiased;
123+
-moz-osx-font-smoothing: grayscale;
124+
text-align: center;
125+
color: #2c3e50;
126+
margin-top: 60px;
127+
}
117128
</style>

0 commit comments

Comments
 (0)