Skip to content

Commit 73f839d

Browse files
authored
Merge pull request #31 from opencdms/v0.0.5
v0.0.5
2 parents 431fd81 + 1dc969f commit 73f839d

8 files changed

Lines changed: 938 additions & 351 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
API="https://blue.opencdms.org"
1+
API="https://green.opencdms.org"
22
BUCKET="http://localhost:9000"
33
MINIO_UID='opencdms'
44
MINIO_PWD='insecure-change-me'

src/_nav.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ var registry = require("./registry.json")
77
// default menu item
88
var pages = [
99
{
10+
/*
1011
component: 'VListItem',
1112
name: 'home',
1213
to: '/dashboard',
1314
routeName: "home",
1415
icon: 'mdi-view-dashboard',
16+
*/
1517
},
1618
]
1719

src/components/AppSidebar.vue

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@
4949
<v-list-item v-bind="props" prepend-icon="mdi-table" title="Data"/>
5050
</template>
5151
<v-list-item router :to="{name: 'data-table'}" prepend-icon="mdi-table-search" title="Search"/>
52-
<v-list-item router :to="{name: 'data-ingest'}" prepend-icon="mdi-database-arrow-left" title="data-ingest"/>
53-
<v-list-item router :to="{name: 'data-extract'}" prepend-icon="mdi-database-arrow-right" title="data-extract"/>
54-
<v-list-item router :to="{name: 'data-inventory'}" prepend-icon="mdi-abacus" title="data-inventory"/>
55-
<v-list-item router :to="{name: 'data-map'}" prepend-icon="mdi-map" title="data-map"/>
52+
<!--<v-list-item router :to="{name: 'data-ingest'}" prepend-icon="mdi-database-arrow-left" title="data-ingest"/>-->
53+
<!--<v-list-item router :to="{name: 'data-extract'}" prepend-icon="mdi-database-arrow-right" title="data-extract"/>-->
54+
<!--<v-list-item router :to="{name: 'data-inventory'}" prepend-icon="mdi-abacus" title="data-inventory"/>-->
55+
<!--<v-list-item router :to="{name: 'data-map'}" prepend-icon="mdi-map" title="data-map"/>-->
5656
<v-list-item router :to="{name: 'data-station'}" prepend-icon="mdi-map-marker" title="data-station"/>
57-
<v-list-item router :to="{name: 'data-parameter'}" prepend-icon="mdi-thermometer" title="data-parameter"/>
57+
<!--<v-list-item router :to="{name: 'data-parameter'}" prepend-icon="mdi-thermometer" title="data-parameter"/>-->
5858
</v-list-group>
5959
<v-divider/>
6060

61+
<!--
6162
<v-list-group value="Forms">
6263
<template v-slot:activator="{ props }">
6364
<v-list-item v-bind="props" prepend-icon="mdi-spirit-level" title="Forms"/>
@@ -69,7 +70,9 @@
6970
<v-list-item router :to="{name: 'collection-form'}" prepend-icon="mdi-spirit-level" title="New collection"/>
7071
</v-list-group>
7172
<v-divider/>
72-
73+
-->
74+
75+
<!--
7376
<v-list-group value="Products">
7477
<template v-slot:activator="{ props }">
7578
<v-list-item v-bind="props" prepend-icon="mdi-spirit-level" title="Products"/>
@@ -79,32 +82,39 @@
7982
<v-list-item router :to="{name: 'product-daycli'}" prepend-icon="mdi-spirit-level" title="product-daycli"/>
8083
</v-list-group>
8184
<v-divider/>
85+
-->
8286

87+
<!--
8388
<v-list-group value="Quality control">
8489
<template v-slot:activator="{ props }">
8590
<v-list-item v-bind="props" prepend-icon="mdi-spirit-level" title="Quality control"/>
8691
</template>
8792
<v-list-item router :to="{name: 'quality-control'}" prepend-icon="mdi-spirit-level" title="quality-control"/>
8893
</v-list-group>
8994
<v-divider/>
95+
-->
9096

97+
<!--
9198
<v-list-group value="Settings">
9299
<template v-slot:activator="{ props }">
93100
<v-list-item v-bind="props" prepend-icon="mdi-spirit-level" title="Settings"/>
94101
</template>
95102
<v-list-item router :to="{name: 'settings-user'}" prepend-icon="mdi-spirit-level" title="settings-user"/>
96103
</v-list-group>
97104
<v-divider/>
105+
-->
98106

107+
<!--
99108
<v-list-group value="WIS2">
100109
<template v-slot:activator="{ props }">
101110
<v-list-item v-bind="props" prepend-icon="mdi-spirit-level" title="WIS2"/>
102111
</template>
103-
<v-list-item router :to="{name: 'wis2-publication'}" prepend-icon="mdi-publish" title="Manage publications"/>
104-
<v-list-item router :to="{name: 'wis2-subscription'}" prepend-icon="mdi-spirit-level" title="Manage subscriptions"/>
105-
<v-list-item router :to="{name: 'wis2-catalogue'}" prepend-icon="mdi-cloud-search" title="Catalogue"/>
112+
<v-list-item router :to="{name: 'wis2-publication'}" prepend-icon="mdi-publish" title="Manage publications"/>
113+
<v-list-item router :to="{name: 'wis2-subscription'}" prepend-icon="mdi-spirit-level" title="Manage subscriptions"/>
114+
<v-list-item router :to="{name: 'wis2-catalogue'}" prepend-icon="mdi-cloud-search" title="Catalogue"/>
106115
</v-list-group>
107116
<v-divider/>
117+
-->
108118

109119
</v-list>
110120

src/registry.bak

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
[
2+
{
3+
"component": "VListItem",
4+
"name": "dashboard",
5+
"to": "/home",
6+
"routeName": "dashboard",
7+
"icon": "mdi-home",
8+
"display": true,
9+
"package": "@opencdms"
10+
},
11+
{
12+
"component": "VListItem",
13+
"name": "dashboard",
14+
"to": "/dashboard",
15+
"routeName": "dashboard",
16+
"icon": "mdi-home",
17+
"display": true,
18+
"package": "@opencdms"
19+
},
20+
{
21+
"component": "VListItem",
22+
"name": "data-ingest",
23+
"to": "/observations/ingest",
24+
"routeName": "data-ingest",
25+
"icon": "mdi-construction",
26+
"display": true,
27+
"package": "@opencdms"
28+
},
29+
{
30+
"component": "VListItem",
31+
"name": "data-extract",
32+
"to": "/observations/extract",
33+
"routeName": "data-extract",
34+
"icon": "mdi-construction",
35+
"display": true,
36+
"package": "@opencdms"
37+
},
38+
{
39+
"component": "VListItem",
40+
"name": "data-inventory",
41+
"to": "/observations/inventory",
42+
"routeName": "data-inventory",
43+
"icon": "mdi-construction",
44+
"display": true,
45+
"package": "@opencdms"
46+
},
47+
{
48+
"component": "VListItem",
49+
"name": "data-map",
50+
"to": "/observations/map",
51+
"routeName": "data-map",
52+
"icon": "mdi-construction",
53+
"display": true,
54+
"package": "@opencdms"
55+
},
56+
{
57+
"component": "VListItem",
58+
"name": "data-parameter",
59+
"to": "/observations/parameter",
60+
"routeName": "data-parameter",
61+
"icon": "mdi-construction",
62+
"display": true,
63+
"package": "@opencdms"
64+
},
65+
{
66+
"component": "VListItem",
67+
"name": "data-parameter",
68+
"to": "/observations/parameter/",
69+
"routeName": "data-parameter",
70+
"icon": "mdi-construction",
71+
"display": true,
72+
"package": "@opencdms"
73+
},
74+
{
75+
"component": "VListItem",
76+
"name": "observation-form",
77+
"to": "/observations/forms/",
78+
"routeName": "observation-form",
79+
"icon": "mdi-construction",
80+
"display": true,
81+
"package": "@opencdms"
82+
},
83+
{
84+
"component": "VListItem",
85+
"name": "product-climate-normal",
86+
"to": "/products/normals",
87+
"routeName": "product-climate-normal",
88+
"icon": "mdi-construction",
89+
"display": true,
90+
"package": "@opencdms"
91+
},
92+
{
93+
"component": "VListItem",
94+
"name": "product-climate-normal",
95+
"to": "/products/normals/",
96+
"routeName": "product-climate-normal",
97+
"icon": "mdi-construction",
98+
"display": true,
99+
"package": "@opencdms"
100+
},
101+
{
102+
"component": "VListItem",
103+
"name": "product-climat",
104+
"to": "/products/monthly",
105+
"routeName": "product-climat",
106+
"icon": "mdi-construction",
107+
"display": true,
108+
"package": "@opencdms"
109+
},
110+
{
111+
"component": "VListItem",
112+
"name": "product-climat",
113+
"to": "/products/monthly/",
114+
"routeName": "product-climat",
115+
"icon": "mdi-construction",
116+
"display": true,
117+
"package": "@opencdms"
118+
},
119+
{
120+
"component": "VListItem",
121+
"name": "product-daycli",
122+
"to": "/products/daily",
123+
"routeName": "product-daycli",
124+
"icon": "mdi-construction",
125+
"display": true,
126+
"package": "@opencdms"
127+
},
128+
{
129+
"component": "VListItem",
130+
"name": "product-daycli",
131+
"to": "/products/daily/",
132+
"routeName": "product-daycli",
133+
"icon": "mdi-construction",
134+
"display": true,
135+
"package": "@opencdms"
136+
},
137+
{
138+
"component": "VListItem",
139+
"name": "quality-control",
140+
"to": "/quality-control",
141+
"routeName": "quality-control",
142+
"icon": "mdi-construction",
143+
"display": true,
144+
"package": "@opencdms"
145+
},
146+
{
147+
"component": "VListItem",
148+
"name": "settings-user",
149+
"to": "/settings/user/",
150+
"routeName": "settings-user",
151+
"icon": "mdi-construction",
152+
"display": true,
153+
"package": "@opencdms"
154+
},
155+
{
156+
"component": "VListItem",
157+
"name": "wis2-publication",
158+
"to": "/wis2/publication",
159+
"routeName": "wis2-publication",
160+
"icon": "mdi-construction",
161+
"display": true,
162+
"package": "@opencdms"
163+
},
164+
{
165+
"component": "VListItem",
166+
"name": "wis2-publication",
167+
"to": "/wis2/publication//view",
168+
"routeName": "wis2-publication",
169+
"icon": "mdi-construction",
170+
"display": true,
171+
"package": "@opencdms"
172+
},
173+
{
174+
"component": "VListItem",
175+
"name": "wis2-publication",
176+
"to": "/wis2/publication//edit",
177+
"routeName": "wis2-publication",
178+
"icon": "mdi-construction",
179+
"display": true,
180+
"package": "@opencdms"
181+
},
182+
{
183+
"component": "VListItem",
184+
"name": "wis2-subscription",
185+
"to": "/wis2/subscriptions",
186+
"routeName": "wis2-subscription",
187+
"icon": "mdi-construction",
188+
"display": true,
189+
"package": "@opencdms"
190+
},
191+
{
192+
"component": "VListItem",
193+
"name": "wis2-subscription",
194+
"to": "/wis2/subscriptions//view",
195+
"routeName": "wis2-subscription",
196+
"icon": "mdi-construction",
197+
"display": true,
198+
"package": "@opencdms"
199+
},
200+
{
201+
"component": "VListItem",
202+
"name": "wis2-subscription",
203+
"to": "/wis2/subscriptions//edit",
204+
"routeName": "wis2-subscription",
205+
"icon": "mdi-construction",
206+
"display": true,
207+
"package": "@opencdms"
208+
}
209+
]

src/registry.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@
1717
"display": true,
1818
"package": "@opencdms"
1919
},
20-
{
21-
"component": "VListItem",
22-
"name": "data-ingest",
23-
"to": "/observations/ingest",
24-
"routeName": "data-ingest",
25-
"icon": "mdi-construction",
26-
"display": true,
27-
"package": "@opencdms"
28-
},
2920
{
3021
"component": "VListItem",
3122
"name": "data-extract",

src/router/routes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ const routes = [
410410
{
411411
path: '/wis2/catalogue',
412412
name: 'wis2-catalogue',
413-
component: () => import(/* webpackChunkName: "dashboard" */ '@/views/wis2-subscribe.vue'), // to do, change view name
413+
component: () => import(/* webpackChunkName: "dashboard" */ '@/views/wis2-subscription.vue'), // to do, change view name
414414
},
415415
{
416416
path: '/data/station/:id(.*)',
@@ -426,8 +426,8 @@ const routes = [
426426
path: '/data/table',
427427
name: 'data-table',
428428
component: () => import(/* webpackChunkName: "dashboard" */ '@/views/data-table.vue')
429-
},
430-
...generateOtherRoutes(navs)
429+
}//,
430+
//...generateOtherRoutes(navs)
431431
],
432432
},
433433
]

0 commit comments

Comments
 (0)