Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
d318b797
Commit
d318b797
authored
Feb 01, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post + product
parent
ef3630f7
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1308 additions
and
574 deletions
+1308
-574
admin.vue
layouts/admin.vue
+3
-1
index.vue
pages/posts/index.vue
+397
-101
index.vue
pages/products/index.vue
+799
-358
index.vue
pages/users/index.vue
+109
-114
No files found.
layouts/admin.vue
View file @
d318b797
<
template
>
<
template
>
<div>
<div>
<NavBar
/>
<NavBar
/>
<v-app>
<nuxt
/>
<nuxt
/>
</v-app>
</div>
</div>
</
template
>
</
template
>
...
...
pages/posts/index.vue
View file @
d318b797
This diff is collapsed.
Click to expand it.
pages/products/index.vue
View file @
d318b797
This diff is collapsed.
Click to expand it.
pages/users/index.vue
View file @
d318b797
...
@@ -10,12 +10,7 @@
...
@@ -10,12 +10,7 @@
</v-breadcrumbs>
</v-breadcrumbs>
</div>
</div>
<div
style=
"float: right"
>
<div
style=
"float: right"
>
<v-dialog
<v-dialog
v-model=
"dialog1"
persistent
max-width=
"600px"
@
submit.prevent=
"createUser"
>
v-model=
"dialog1"
persistent
max-width=
"600px"
@
submit.prevent=
"createUser"
>
<
template
#activator
="{
on
,
attrs
}"
>
<
template
#activator
="{
on
,
attrs
}"
>
<v-btn
<v-btn
color=
"primary"
color=
"primary"
...
@@ -155,7 +150,7 @@
...
@@ -155,7 +150,7 @@
<v-spacer
/>
<v-spacer
/>
</v-toolbar>
</v-toolbar>
</
template
>
</
template
>
<
template
#item.actions
=
"{ item }"
>
<
template
#
[`
item
.
actions
`
]
=
"{ item }"
>
<v-icon
:id=
"item.id"
small
class=
"mr-2"
@
click=
"dialog2 = true; editUser(item);"
>
<v-icon
:id=
"item.id"
small
class=
"mr-2"
@
click=
"dialog2 = true; editUser(item);"
>
mdi-pencil
mdi-pencil
</v-icon>
</v-icon>
...
@@ -170,7 +165,7 @@
...
@@ -170,7 +165,7 @@
</
template
>
</
template
>
</v-data-table>
</v-data-table>
</div>
</div>
</v-app>
</v-app>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment