Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gwells-2258] FEATURE-xtool page #2328

Open
wants to merge 2 commits into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/frontend/src/common/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<b-navbar-nav class="gwells-nav">
<b-nav-item id="ribbon-search" class="navbar-link lvl2-link" :to="{ name: 'wells-home'}">Well Search</b-nav-item>
<b-nav-item id="ribbon-aquifers" v-if="show.aquifers" class="navbar-link lvl2-link" :to="{ name: 'aquifers-home' }">Aquifer Search</b-nav-item>
<b-nav-item id="ribbon-crosssection" v-if="show.dataEntry" class="navbar-link lvl2-link" :to="{ name: 'CrossHome' }">Cross Section</b-nav-item>
<b-nav-item id="ribbon-registry" class="navbar-link lvl2-link" :to="{ name: 'SearchHome'}">Registry Search</b-nav-item>
<b-nav-item class="navbar-link lvl2-link" v-if="show.dataEntry" :to="{ name: 'SubmissionsHome'}">Submit Report</b-nav-item>
<b-nav-item id="ribbon-bulk" class="navbar-link lvl2-link" v-if="show.bulk" :to="{ name: 'bulk-home' }">Bulk Upload</b-nav-item>
Expand Down
29 changes: 29 additions & 0 deletions app/frontend/src/crosssection/views/CrossHome.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
<template>
<b-card class="container p-1">
<h1 class="card-title" id="CrossSectionTitle">Cross Section Home</h1>
<div>
</div>
</b-card>
</template>

<script>
export default {
name: 'CrossHome',
}
</script>

<style>
</style>
17 changes: 17 additions & 0 deletions app/frontend/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import WellDetail from '@/wells/views/WellDetail.vue'
import EditWellAquifers from '@/wells/views/EditWellAquifers.vue'
import GroundwaterInformation from '@/wells/views/GroundwaterInformation.vue'

// Crossection components
import CrossHome from './crosssection/views/CrossHome.vue'

// Registries components
import SearchHome from '@/registry/components/search/SearchHome.vue'
import PersonDetail from '@/registry/components/people/PersonDetail.vue'
Expand All @@ -42,6 +45,7 @@ import Surveys from '@/surveys/views/Surveys.vue'

// QaQc
import QaQcDashboard from '@/qaqc/views/QaQcDashboard.vue'
import Crossmap from './crosssection/views/CrossHome.vue'

Vue.use(Router)

Expand Down Expand Up @@ -134,6 +138,19 @@ const router = new Router({
}
},

// Cross section tool routes
{
path: '/crosssection',
name: 'CrossHome',
component: CrossHome,
beforeEnter: AuthGuard,
meta: {
// list of required permissions (e.g. "edit: true" means user needs edit permission)
edit: true,
app: 'registry'
}
},

// Registries routes
{
path: '/registries/people/edit/:person_guid',
Expand Down
Loading