Skip to content
GitLab
Explore
Sign in
IA2
GMS
Compare revisions
2f085290160bde9ab4e2d82b7a95eb063145fb74 to 3c0681e1cf16d9dca391a2c23a8de973876b327c
Hide whitespace changes
Inline
Side-by-side
gms-ui/src/components/MembersPanel.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-tab
title=
"Members"
:title-link-class=
"
{ 'd-none': (model.permission === 'TRAVERSE') }">
<div
v-if=
"model.membersPanel !== null"
>
...
...
gms-ui/src/components/Paginator.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<div
class=
"row mt-4"
v-if=
"paginatedPanel !== null && paginatedPanel.totalItems > 0"
>
<div
class=
"col-md-8"
>
...
...
gms-ui/src/components/PermissionsPanel.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-tab
title=
"Permissions"
:title-link-class=
"
{ 'd-none': (model.permission !== 'ADMIN') }">
<div
v-if=
"model.permissionsPanel !== null"
>
...
...
gms-ui/src/components/TopMenu.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<div>
<b-navbar
toggleable=
"lg"
type=
"dark"
variant=
"info"
>
...
...
gms-ui/src/components/User.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<div
:id=
"'user-name-' + user.id"
>
<component
:is=
"anchor ? 'a' : 'span'"
:href=
"anchor ? '#' : false"
@
click.prevent=
"openUser"
>
{{
user
.
displayName
}}
</component>
...
...
gms-ui/src/components/UserSearchResult.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<div
class=
"mt-sm-3"
v-if=
"user"
>
<b-button
variant=
"primary"
class=
"float-right"
v-on:click=
"back()"
>
Back
</b-button>
...
...
gms-ui/src/components/modals/AddGroupModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"add-group-modal"
title=
"Add group"
@
show=
"resetModal"
@
shown=
"afterShow"
ok-title=
"Add"
@
ok=
"addGroup"
>
<b-form
inline
>
...
...
gms-ui/src/components/modals/AddMemberModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"add-member-modal"
title=
"Add member"
ok-title=
"Add"
@
shown=
"afterShow"
@
ok=
"addMember"
size=
"lg"
>
<SearchUser
ref=
"searchUser"
@
searchUserEnter=
"addMember"
/>
...
...
gms-ui/src/components/modals/AddPermissionModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"add-permission-modal"
title=
"Add permission"
@
show=
"beforeShow"
@
shown=
"afterShow"
:ok-title=
"okTitle"
@
ok=
"addPermission"
:ok-variant=
"okBtnVariant"
size=
"lg"
>
<SearchUser
ref=
"searchUser"
@
searchUserEnter=
"addPermission"
/>
...
...
gms-ui/src/components/modals/ConfirmDeleteInvitedModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"confirm-delete-invited-modal"
title=
"Confirm action"
ok-title=
"Delete"
@
ok=
"deleteInvitedRegistration"
ok-variant=
"danger"
>
<p
v-if=
"invitedRegistration"
>
Are you sure that you want to remove the invited registration for
{{
invitedRegistration
.
email
}}
?
</p>
...
...
gms-ui/src/components/modals/ConfirmRemoveGroupModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"confirm-remove-group-modal"
title=
"Confirm action"
ok-title=
"Delete"
@
ok=
"removeGroup"
ok-variant=
"danger"
>
<p
v-if=
"groupToRemove"
>
Are you sure that you want to delete the group
<strong>
{{
groupToRemove
.
groupName
}}
</strong>
?
</p>
...
...
gms-ui/src/components/modals/ConfirmRemoveMemberModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"confirm-remove-member-modal"
title=
"Confirm action"
ok-title=
"Remove"
@
ok=
"removeMember"
ok-variant=
"danger"
>
<p
v-if=
"memberToRemove"
>
Are you sure that you want to remove the user
{{
memberToRemove
.
displayName
}}
from this group?
</p>
...
...
gms-ui/src/components/modals/ConfirmRemovePermissionModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"confirm-remove-permission-modal"
title=
"Confirm action"
ok-title=
"Remove"
@
ok=
"removePermission"
ok-variant=
"danger"
>
<p
v-if=
"user"
>
Are you sure that you want to remove the permission for the user
{{
user
.
displayName
}}
?
</p>
...
...
gms-ui/src/components/modals/EditGroupModal.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-modal
id=
"edit-group-modal"
title=
"Edit group"
ok-title=
"Update"
@
ok=
"updateGroup"
>
<b-form
inline
>
...
...
gms-ui/src/components/modals/SearchUser.vue
View file @
3c0681e1
<!--
This file is part of gms-ui
Copyright (C) 2021 Istituto Nazionale di Astrofisica
SPDX-License-Identifier: GPL-3.0-or-later
-->
<
template
>
<b-form
inline
>
<label
class=
"w-25"
for=
"user-input"
>
Search:
</label>
...
...
gms-ui/src/main.js
View file @
3c0681e1
/*
* This file is part of gms-ui
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import
'
@babel/polyfill
'
import
'
mutationobserver-shim
'
import
Vue
from
'
vue
'
...
...
gms-ui/src/plugins/bootstrap-vue.js
View file @
3c0681e1
/*
* This file is part of gms-ui
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import
Vue
from
'
vue
'
;
import
{
BootstrapVue
}
from
'
bootstrap-vue
'
;
...
...
gms-ui/src/router.js
View file @
3c0681e1
/*
* This file is part of gms-ui
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import
VueRouter
from
'
vue-router
'
;
import
Main
from
'
./components/Main.vue
'
;
...
...
gms-ui/src/store.js
View file @
3c0681e1
/*
* This file is part of gms-ui
* Copyright (C) 2021 Istituto Nazionale di Astrofisica
* SPDX-License-Identifier: GPL-3.0-or-later
*/
/* Vuex store, for centralized state management */
import
Vue
from
'
vue
'
;
...
...
gms/Dockerfile
View file @
3c0681e1
FROM
openjdk:8-jdk-alpine
VOLUME
/tmp
ARG
JAR_FILE
COPY
target/${JAR_FILE} app.jar
ENTRYPOINT
["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
FROM
node:15
ADD
gms-ui/package*.json /gms-ui/
WORKDIR
/gms-ui
RUN
npx browserslist@latest
--update-db
RUN
npm ci
ADD
gms-ui/src /gms-ui/src/
ADD
gms-ui/public /gms-ui/public/
ADD
gms-ui/*.js /gms-ui/
ADD
gms-ui/*.json /gms-ui/
ADD
gms-ui/.env.production /gms-ui/
RUN
npm run build
FROM
maven:3.6.3-openjdk-14
COPY
--from=0 /gms-ui/dist/. /gms-ui/dist/
ADD
gms/pom.xml /gms/pom.xml
ADD
gms/src /gms/src/
WORKDIR
/gms
RUN
mvn clean package
-DskipTests
FROM
openjdk:14-jdk-alpine
COPY
--from=1 /gms/target/gms.jar /gms.jar
ENTRYPOINT
["java","-jar","/gms.jar"]
Prev
1
2
3
4
5
6
7
…
9
Next