Loading gms-ui/src/components/Paginator.vue +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <div class="col-md-4"> <b-row> <b-col sm="5"> <label for="page-size">Page size:</label> <label for="page-size" class="mt-2">Page size:</label> </b-col> <b-col sm="6"> <b-form-select id="page-size" v-model="paginatorInput.paginatorPageSize" :options="pageSizeOptions" v-on:change="changePageSize"></b-form-select> Loading gms-ui/src/components/TopMenu.vue +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ <b-navbar-nav class="ml-auto"> <b-nav-item href="help/index.html" target="blank_" class="mr-4">Help</b-nav-item> <b-nav-form> <b-form-input size="sm" class="mr-sm-2" placeholder="Search" v-model="input.genericSearch.filter" @keydown.native.enter.prevent="genericSearch"></b-form-input> <b-form-input size="sm" class="mr-sm-2" placeholder="Search" v-model.trim="input.genericSearch.filter" @keydown.native.enter.prevent="genericSearch"></b-form-input> <b-button size="sm" class="my-2 my-sm-0" type="button" v-on:click="genericSearch()">Search</b-button> </b-nav-form> <b-nav-item-dropdown :text="user" right v-if="user"> Loading gms-ui/src/components/modals/AddGroupModal.vue +4 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <b-form-input v-model="newGroupName" id="new-group-name-input" ref="newGroupNameInput" class="w-75" aria-describedby="new-group-name-input-feedback" :state="newGroupNameState" v-on:input="resetError" @keydown.native.enter="addGroup"> </b-form-input> <b-form-invalid-feedback id="new-group-name-input-feedback" class="text-right">{{newGroupNameError}}</b-form-invalid-feedback> <b-form-checkbox class="mt-3 ml-3" v-model="leaf">is leaf</b-form-checkbox> <b-form-checkbox class="mt-3 ml-3" v-model="allowChildGroups">allow child groups</b-form-checkbox> </b-form> </b-modal> </template> Loading @@ -27,13 +27,13 @@ export default { return { newGroupName: '', newGroupNameError: '', leaf: true allowChildGroups: false }; }, methods: { resetModal: function() { this.newGroupName = null; this.leaf = true; this.allowChildGroups = false; this.resetError(); }, afterShow: function() { Loading @@ -49,7 +49,7 @@ export default { if (!this.newGroupName) { this.newGroupNameError = "Group name is required"; } else { client.addGroup(this.newGroupName, this.leaf, this.$store.state.input) client.addGroup(this.newGroupName, !this.allowChildGroups, this.$store.state.input) .then(res => { this.$store.commit('updateGroupsPanel', res); this.$bvModal.hide('add-group-modal'); Loading gms-ui/src/components/modals/EditGroupModal.vue +4 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <b-form-input v-model="newGroupName" id="new-group-name-input" class="w-75" aria-describedby="new-group-name-input-feedback" :state="newGroupNameState" v-on:input="resetError"> </b-form-input> <b-form-invalid-feedback id="new-group-name-input-feedback" class="text-right">{{newGroupNameError}}</b-form-invalid-feedback> <b-form-checkbox class="mt-3 ml-3" v-model="leaf">is leaf</b-form-checkbox> <b-form-checkbox class="mt-3 ml-3" v-model="allowChildGroups">allow child groups</b-form-checkbox> </b-form> </b-modal> </template> Loading @@ -29,7 +29,7 @@ export default { oldGroupName: '', newGroupName: '', newGroupNameError: '', leaf: false allowChildGroups: false }; }, methods: { Loading @@ -39,7 +39,7 @@ export default { openEditGroupModal: function(group) { this.newGroupName = group.groupName; this.groupId = group.groupId; this.leaf = group.leaf; this.allowChildGroups = !group.leaf; this.$bvModal.show('edit-group-modal'); }, updateGroup: function(event) { Loading @@ -56,7 +56,7 @@ export default { return; } client.updateGroup(this.groupId, this.newGroupName, this.leaf, this.$store.state.input) client.updateGroup(this.groupId, this.newGroupName, !this.allowChildGroups, this.$store.state.input) .then(res => { this.$store.commit('updateGroupsPanel', res); this.$bvModal.hide('edit-group-modal'); Loading gms/src/main/resources/static/help/help-admin.html +3 −3 Original line number Diff line number Diff line Loading @@ -54,9 +54,9 @@ <img src="img/gms-admin-add-group-modal.jpg" alt="" class="mb-3" /> </p> <p>If you select the "is leaf" checkbox, the group will be a leaf of the tree: this means that it will not be possible to create sub-groups inside it. You can change this setting in any moment clicking on the "Edit group" button (pencil icon <img src="img/pencil-icon.jpg" alt="" />).</p> <p>If you select the "allow child groups" checkbox it will be possible to create sub-groups inside it. You can change this setting in any moment clicking on the "Edit group" button (pencil icon <img src="img/pencil-icon.jpg" alt="" />).</p> <p>You can delete groups using trash icons (<img src="img/trash-icon.jpg" alt="" />). A dialog will ask for confirming the operation before deleting the group.</p> Loading Loading
gms-ui/src/components/Paginator.vue +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <div class="col-md-4"> <b-row> <b-col sm="5"> <label for="page-size">Page size:</label> <label for="page-size" class="mt-2">Page size:</label> </b-col> <b-col sm="6"> <b-form-select id="page-size" v-model="paginatorInput.paginatorPageSize" :options="pageSizeOptions" v-on:change="changePageSize"></b-form-select> Loading
gms-ui/src/components/TopMenu.vue +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ <b-navbar-nav class="ml-auto"> <b-nav-item href="help/index.html" target="blank_" class="mr-4">Help</b-nav-item> <b-nav-form> <b-form-input size="sm" class="mr-sm-2" placeholder="Search" v-model="input.genericSearch.filter" @keydown.native.enter.prevent="genericSearch"></b-form-input> <b-form-input size="sm" class="mr-sm-2" placeholder="Search" v-model.trim="input.genericSearch.filter" @keydown.native.enter.prevent="genericSearch"></b-form-input> <b-button size="sm" class="my-2 my-sm-0" type="button" v-on:click="genericSearch()">Search</b-button> </b-nav-form> <b-nav-item-dropdown :text="user" right v-if="user"> Loading
gms-ui/src/components/modals/AddGroupModal.vue +4 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <b-form-input v-model="newGroupName" id="new-group-name-input" ref="newGroupNameInput" class="w-75" aria-describedby="new-group-name-input-feedback" :state="newGroupNameState" v-on:input="resetError" @keydown.native.enter="addGroup"> </b-form-input> <b-form-invalid-feedback id="new-group-name-input-feedback" class="text-right">{{newGroupNameError}}</b-form-invalid-feedback> <b-form-checkbox class="mt-3 ml-3" v-model="leaf">is leaf</b-form-checkbox> <b-form-checkbox class="mt-3 ml-3" v-model="allowChildGroups">allow child groups</b-form-checkbox> </b-form> </b-modal> </template> Loading @@ -27,13 +27,13 @@ export default { return { newGroupName: '', newGroupNameError: '', leaf: true allowChildGroups: false }; }, methods: { resetModal: function() { this.newGroupName = null; this.leaf = true; this.allowChildGroups = false; this.resetError(); }, afterShow: function() { Loading @@ -49,7 +49,7 @@ export default { if (!this.newGroupName) { this.newGroupNameError = "Group name is required"; } else { client.addGroup(this.newGroupName, this.leaf, this.$store.state.input) client.addGroup(this.newGroupName, !this.allowChildGroups, this.$store.state.input) .then(res => { this.$store.commit('updateGroupsPanel', res); this.$bvModal.hide('add-group-modal'); Loading
gms-ui/src/components/modals/EditGroupModal.vue +4 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <b-form-input v-model="newGroupName" id="new-group-name-input" class="w-75" aria-describedby="new-group-name-input-feedback" :state="newGroupNameState" v-on:input="resetError"> </b-form-input> <b-form-invalid-feedback id="new-group-name-input-feedback" class="text-right">{{newGroupNameError}}</b-form-invalid-feedback> <b-form-checkbox class="mt-3 ml-3" v-model="leaf">is leaf</b-form-checkbox> <b-form-checkbox class="mt-3 ml-3" v-model="allowChildGroups">allow child groups</b-form-checkbox> </b-form> </b-modal> </template> Loading @@ -29,7 +29,7 @@ export default { oldGroupName: '', newGroupName: '', newGroupNameError: '', leaf: false allowChildGroups: false }; }, methods: { Loading @@ -39,7 +39,7 @@ export default { openEditGroupModal: function(group) { this.newGroupName = group.groupName; this.groupId = group.groupId; this.leaf = group.leaf; this.allowChildGroups = !group.leaf; this.$bvModal.show('edit-group-modal'); }, updateGroup: function(event) { Loading @@ -56,7 +56,7 @@ export default { return; } client.updateGroup(this.groupId, this.newGroupName, this.leaf, this.$store.state.input) client.updateGroup(this.groupId, this.newGroupName, !this.allowChildGroups, this.$store.state.input) .then(res => { this.$store.commit('updateGroupsPanel', res); this.$bvModal.hide('edit-group-modal'); Loading
gms/src/main/resources/static/help/help-admin.html +3 −3 Original line number Diff line number Diff line Loading @@ -54,9 +54,9 @@ <img src="img/gms-admin-add-group-modal.jpg" alt="" class="mb-3" /> </p> <p>If you select the "is leaf" checkbox, the group will be a leaf of the tree: this means that it will not be possible to create sub-groups inside it. You can change this setting in any moment clicking on the "Edit group" button (pencil icon <img src="img/pencil-icon.jpg" alt="" />).</p> <p>If you select the "allow child groups" checkbox it will be possible to create sub-groups inside it. You can change this setting in any moment clicking on the "Edit group" button (pencil icon <img src="img/pencil-icon.jpg" alt="" />).</p> <p>You can delete groups using trash icons (<img src="img/trash-icon.jpg" alt="" />). A dialog will ask for confirming the operation before deleting the group.</p> Loading