Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
imageboard-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Trirst
imageboard-web
Commits
3121d4b0
Commit
3121d4b0
authored
3 years ago
by
Trirst
Browse files
Options
Downloads
Patches
Plain Diff
Remove upload image on sidebar. Move it to its own page
parent
93c26a52
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#880
passed
3 years ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/App.vue
+6
-0
6 additions, 0 deletions
src/App.vue
src/router/index.js
+6
-0
6 additions, 0 deletions
src/router/index.js
src/views/Home.vue
+0
-1
0 additions, 1 deletion
src/views/Home.vue
src/views/UploadNew.vue
+15
-0
15 additions, 0 deletions
src/views/UploadNew.vue
with
27 additions
and
1 deletion
src/App.vue
+
6
−
0
View file @
3121d4b0
<
template
>
<div
id=
"app"
>
<header>
<nav>
<router-link
:to=
"`/`"
class=
"p-4"
>
Home
</router-link>
<router-link
:to=
"`/upload`"
>
Upload
</router-link>
</nav>
</header>
<router-view
/>
</div>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
src/router/index.js
+
6
−
0
View file @
3121d4b0
import
Vue
from
"
vue
"
;
import
VueRouter
from
"
vue-router
"
;
import
Home
from
"
../views/Home.vue
"
;
import
UploadNew
from
"
../views/UploadNew.vue
"
import
ImageView
from
"
../views/ImageView.vue
"
;
Vue
.
use
(
VueRouter
);
...
...
@@ -11,6 +12,11 @@ const routes = [
name
:
"
Home
"
,
component
:
Home
,
},
{
path
:
"
/upload
"
,
name
:
"
UploadNew
"
,
component
:
UploadNew
,
},
{
path
:
"
/:page
"
,
name
:
"
Page
"
,
...
...
This diff is collapsed.
Click to expand it.
src/views/Home.vue
+
0
−
1
View file @
3121d4b0
...
...
@@ -9,7 +9,6 @@
class=
"stroke-current text-gray-500 hover:text-gray-600"
></IconXCircle>
</button>
<ImageUpload></ImageUpload>
<TagCreation></TagCreation>
<UserAuthentication
class=
"absolute bottom-0"
></UserAuthentication>
</section>
...
...
This diff is collapsed.
Click to expand it.
src/views/UploadNew.vue
0 → 100644
+
15
−
0
View file @
3121d4b0
<
template
>
<div>
<image-upload></image-upload>
</div>
</
template
>
<
script
>
import
ImageUpload
from
"
../components/ImageUpload.vue
"
;
export
default
{
components
:
{
ImageUpload
,
},
};
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment