Help wanted #23
|
@ -1,21 +1,27 @@
|
||||||
<template>
|
<template>
|
||||||
<aside class="collapse show p-3">
|
<aside class="collapse show p-3">
|
||||||
<p class="home-link"><router-link to="/">Jobs, Jobs, Jobs</router-link></p>
|
<p class="home-link pb-3"><router-link to="/">Jobs, Jobs, Jobs</router-link></p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<nav>
|
<nav>
|
||||||
<template v-if="isLoggedOn">
|
<template v-if="isLoggedOn">
|
||||||
<router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" /> Dashboard</router-link>
|
<router-link to="/citizen/dashboard"><icon icon="view-dashboard-variant" /> Dashboard</router-link>
|
||||||
<router-link to="/citizen/profile"><icon icon="pencil" /> Edit Your Profile</router-link>
|
<router-link to="/citizen/profile"><icon icon="pencil" /> My Profile</router-link>
|
||||||
<router-link to="/profile/search"><icon icon="view-list-outline" /> View Profiles</router-link>
|
<router-link to="/profile/search" class="separator">
|
||||||
<router-link to="/success-story/list"><icon icon="thumb-up" /> Success Stories</router-link>
|
<icon icon="view-list-outline" /> View Profiles
|
||||||
<router-link to="/citizen/log-off"><icon icon="logout-variant" /> Log Off</router-link>
|
</router-link>
|
||||||
|
<router-link to="/listings/mine"><icon icon="sign-text" /> My Job Listings</router-link>
|
||||||
|
<router-link to="/listings/search" class="separator">
|
||||||
|
<icon icon="newspaper-variant-multiple-outline" /> View Listings
|
||||||
|
</router-link>
|
||||||
|
<router-link to="/success-story/list"><icon icon="thumb-up" /> Success Stories</router-link>
|
||||||
|
<router-link to="/citizen/log-off"><icon icon="logout-variant" /> Log Off</router-link>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<router-link to="/"><icon icon="home" /> Home</router-link>
|
<router-link to="/"><icon icon="home" /> Home</router-link>
|
||||||
<router-link to="/profile/seeking"><icon icon="view-list-outline" /> Job Seekers</router-link>
|
<router-link to="/profile/seeking"><icon icon="view-list-outline" /> Job Seekers</router-link>
|
||||||
<router-link to="/citizen/log-on"><icon icon="login-variant" /> Log On</router-link>
|
<router-link to="/citizen/log-on"><icon icon="login-variant" /> Log On</router-link>
|
||||||
</template>
|
</template>
|
||||||
<router-link to="/how-it-works"><icon icon="help-circle-outline" /> How It Works</router-link>
|
<router-link to="/how-it-works"><icon icon="help-circle-outline" /> How It Works</router-link>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
</template>
|
</template>
|
||||||
|
@ -42,7 +48,7 @@ aside
|
||||||
background-image: linear-gradient(180deg, darkgreen 0%, green 70%)
|
background-image: linear-gradient(180deg, darkgreen 0%, green 70%)
|
||||||
color: white
|
color: white
|
||||||
font-size: 1.2rem
|
font-size: 1.2rem
|
||||||
height: 100vh
|
min-height: 100vh
|
||||||
width: 250px
|
width: 250px
|
||||||
min-width: 250px
|
min-width: 250px
|
||||||
position: sticky
|
position: sticky
|
||||||
|
@ -72,4 +78,7 @@ nav > a
|
||||||
&:hover
|
&:hover
|
||||||
background-color: rgba(255, 255, 255, .5)
|
background-color: rgba(255, 255, 255, .5)
|
||||||
color: black
|
color: black
|
||||||
|
text-decoration: none
|
||||||
|
nav > a.separator
|
||||||
|
border-bottom: solid 1px white
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -83,6 +83,11 @@ const routes: Array<RouteRecordRaw> = [
|
||||||
name: 'MyListings',
|
name: 'MyListings',
|
||||||
component: () => import(/* webpackChunkName: "joblist" */ '../views/listing/MyListings.vue')
|
component: () => import(/* webpackChunkName: "joblist" */ '../views/listing/MyListings.vue')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/listings/search',
|
||||||
|
name: 'SearchListings',
|
||||||
|
component: () => import(/* webpackChunkName: "joblist" */ '../views/listing/ListingSearch.vue')
|
||||||
|
},
|
||||||
// Profile URLs
|
// Profile URLs
|
||||||
{
|
{
|
||||||
path: '/profile/:id/view',
|
path: '/profile/:id/view',
|
||||||
|
|
3
src/JobsJobsJobs/App/src/views/listing/ListingSearch.vue
Normal file
3
src/JobsJobsJobs/App/src/views/listing/ListingSearch.vue
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<template>
|
||||||
|
<p>TODO: write this</p>
|
||||||
|
</template>
|
|
@ -3,7 +3,7 @@
|
||||||
<page-title title="My Job Listings" />
|
<page-title title="My Job Listings" />
|
||||||
<h3 class="pb-3">My Job Listings</h3>
|
<h3 class="pb-3">My Job Listings</h3>
|
||||||
<p>
|
<p>
|
||||||
<router-link class="btn btn-primary-outline" to="/listing/new/edit">Add a New Job Listing</router-link>
|
<router-link class="btn btn-outline-primary" to="/listing/new/edit">Add a New Job Listing</router-link>
|
||||||
</p>
|
</p>
|
||||||
<load-data :load="getListings">
|
<load-data :load="getListings">
|
||||||
<table v-if="listings.length > 0">
|
<table v-if="listings.length > 0">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user