Skip to content

Commit 8075563

Browse files
authored
Merge pull request #28 from ciatph/maintenance-page
maintenance page
2 parents 2d413f5 + 2e9fefd commit 8075563

5 files changed

Lines changed: 48 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Contains updated content with new AMIA Phase 2 information and documents.
99
<br>
1010

1111

12+
## Requirements
13+
14+
The following requirements and dependencies were used for this project. Other system and software configurations are open for testing.
15+
16+
1. Windows 10 Pro
17+
2. NodeJS
18+
- npm version 10.16.3
19+
- npm version 6.9.0
20+
1221
## Build Setup
1322

1423
1. Clone the project. <br>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template lang="pug">
2+
b-row(
3+
class="text-center thumbnail-container")
4+
b-col(sm="12")
5+
h3 This page is currently down for maintenance.
6+
br
7+
br
8+
br
9+
</template>
10+
11+
<script>
12+
export default {
13+
name: 'Maintenance'
14+
}
15+
</script>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<template lang="pug">
2+
b-container(fluid class="container-fluid-custom bg-greylight")
3+
maintenance
4+
5+
</template>
6+
7+
<script>
8+
import Maintenance from '@/components/templates/Maintenance'
9+
10+
export default {
11+
name: 'PageMaintenance',
12+
components: {
13+
Maintenance
14+
}
15+
}
16+
</script>

src/defines/menumaps/links-mainmenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ module.exports = {
3939
},
4040
{
4141
'title': 'CBA Tool',
42-
'link': 'http://cbatool.ciat.cgiar.org/',
43-
'external': 'true',
42+
'link': '/maintenance',
43+
'external': 'false',
4444
'children': []
4545
},
4646
{

src/router/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Home from '@/components/pages/Home'
44
import Maps from '@/components/pages/Maps'
55
import Documents from '@/components/pages/Documents'
66
import PageRedirect from '@/components/widgets/PageRedirect'
7+
import PageMaintenance from '@/components/widgets/PageMaintenance'
78
import CraDs from '@/components/pages/CraDs'
89
import Crva from '@/components/pages/Crva'
910
import MonitoringEvaluation from '@/components/pages/MonitoringEvaluation'
@@ -111,6 +112,11 @@ export default new Router({
111112
name: 'questionnaires',
112113
component: Questionnaires
113114
},
115+
{
116+
path: '/maintenance',
117+
name: 'PageMaintenace',
118+
component: PageMaintenance
119+
},
114120
{
115121
path: '/:projects',
116122
name: 'PageRedirect',

0 commit comments

Comments
 (0)