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
209387e4
Commit
209387e4
authored
Jan 12, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UI
parent
db448f35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
8 deletions
+31
-8
nav.vue
components/nav.vue
+1
-0
categories.vue
pages/home/categories.vue
+3
-8
products.vue
pages/home/products.vue
+27
-0
No files found.
components/nav.vue
View file @
209387e4
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<b-navbar-nav>
<b-navbar-nav>
<b-nav-item
href=
"/home/users"
>
USER
</b-nav-item>
<b-nav-item
href=
"/home/users"
>
USER
</b-nav-item>
<b-nav-item
href=
"/home/categories"
>
CATEGORY
</b-nav-item>
<b-nav-item
href=
"/home/categories"
>
CATEGORY
</b-nav-item>
<b-nav-item
href=
"/home/products"
>
PRODUCT
</b-nav-item>
</b-navbar-nav>
</b-navbar-nav>
<!-- Right aligned nav items -->
<!-- Right aligned nav items -->
...
...
pages/home/categories.vue
View file @
209387e4
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
v-model=
"ordering"
v-model=
"ordering"
required
required
/>
/>
<
!--
<b-form-select
v-model=
"selected"
:options=
"options"
></b-form-select>
--
>
<
b-form-select
v-model=
"selected"
:options=
"options"
></b-form-select
>
<label>
Image :
</label>
<label>
Image :
</label>
<b-form-file
<b-form-file
@
change=
"fileSelected"
@
change=
"fileSelected"
...
@@ -208,6 +208,7 @@ import Nav from "@/components/Nav";
...
@@ -208,6 +208,7 @@ import Nav from "@/components/Nav";
import
Navigation
from
"
@/components/Navigation
"
;
import
Navigation
from
"
@/components/Navigation
"
;
import
axios
from
"
axios
"
;
import
axios
from
"
axios
"
;
import
notification
from
"
@/components/Notification
"
;
import
notification
from
"
@/components/Notification
"
;
import
{
BootstrapVue
,
BootstrapVueIcons
}
from
'
bootstrap-vue
'
export
default
{
export
default
{
layout
:
'
admin
'
,
layout
:
'
admin
'
,
...
@@ -225,13 +226,7 @@ export default {
...
@@ -225,13 +226,7 @@ export default {
error
:
''
,
error
:
''
,
dialog
:
false
,
dialog
:
false
,
dialogDelete
:
false
,
dialogDelete
:
false
,
options
:
[
options
:
[],
{
value
:
null
,
text
:
'
Please select an option
'
},
{
value
:
'
a
'
,
text
:
'
This is First option
'
},
{
value
:
'
b
'
,
text
:
'
Selected Option
'
},
{
value
:
{
C
:
'
3PO
'
},
text
:
'
This is an option with object value
'
},
{
value
:
'
d
'
,
text
:
'
This one is disabled
'
,
disabled
:
true
}
],
headers
:
[
headers
:
[
{
{
text
:
"
Name
"
,
text
:
"
Name
"
,
...
...
pages/home/products.vue
0 → 100644
View file @
209387e4
<
template
>
<div>
<b-breadcrumb>
<b-breadcrumb-item
href=
"/home"
>
<b-icon
icon=
"house-fill"
scale=
"1.25"
shift-v=
"1.25"
aria-hidden=
"true"
></b-icon>
Home
</b-breadcrumb-item>
<b-breadcrumb-item
href=
"/home/categories"
>
Product
</b-breadcrumb-item>
</b-breadcrumb>
</div>
</
template
>
<
script
>
import
{
onMounted
}
from
"
vue
"
;
import
axios
from
"
axios
"
;
import
VueAxios
from
"
vue-axios
"
;
import
Nav
from
"
@/components/Nav
"
;
export
default
{
layout
:
"
admin
"
,
components
:
{
Nav
},
middleware
:
[
'
web
'
],
};
</
script
>
\ No newline at end of file
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