@oxygen-cms/ui 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
<b-button v-if="admin" @click="isUserPreferencesModalActive = true">Open User Preferences...</b-button>
|
|
36
36
|
|
|
37
|
-
<ShowIfPermitted v-if="!admin" :keys="['user.
|
|
37
|
+
<ShowIfPermitted v-if="!admin" :keys="['user.editor']">
|
|
38
38
|
<b-notification :closable="false" class="bottom-margin">
|
|
39
39
|
<h2 class="subtitle">User Preferences</h2>
|
|
40
40
|
<p>You can modify and personalize certain aspects of this administration interface to suit your own preferences.</p>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<p v-if="!isUploading" class="modal-card-title">Upload files to '{{ currentPath }}'</p>
|
|
5
5
|
<p v-else class="modal-card-title">Uploading {{ filesToUpload.length }} item(s)</p>
|
|
6
6
|
</header>
|
|
7
|
-
<section v-if="!isUploading" class="modal-card-body">
|
|
7
|
+
<section v-if="!isUploading" class="modal-card-body upload-body">
|
|
8
8
|
<b-upload v-model="filesToUpload"
|
|
9
9
|
multiple
|
|
10
10
|
drag-drop expanded>
|
|
@@ -115,6 +115,11 @@ export default {
|
|
|
115
115
|
</script>
|
|
116
116
|
|
|
117
117
|
<style scoped>
|
|
118
|
+
.upload-body {
|
|
119
|
+
max-height: 60vh;
|
|
120
|
+
overflow-y: auto;
|
|
121
|
+
}
|
|
122
|
+
|
|
118
123
|
.image-preview {
|
|
119
124
|
display: flex;
|
|
120
125
|
flex-direction: column;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
Uploading {{ filesToUpload.length }} item(s)
|
|
29
29
|
</p>
|
|
30
30
|
</header>
|
|
31
|
-
<section v-if="!isUploading" class="modal-card-body
|
|
31
|
+
<section v-if="!isUploading" class="modal-card-body upload-body">
|
|
32
32
|
<b-upload v-model="filesToUpload"
|
|
33
33
|
multiple
|
|
34
34
|
drag-drop expanded>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</span>
|
|
56
56
|
</div>
|
|
57
57
|
</section>
|
|
58
|
-
<section v-else class="modal-card-body
|
|
58
|
+
<section v-else class="modal-card-body upload-body">
|
|
59
59
|
<b-progress size="is-medium" type="is-info"></b-progress>
|
|
60
60
|
</section>
|
|
61
61
|
<footer class="modal-card-foot is-flex">
|
|
@@ -153,7 +153,6 @@ export default {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.media-upload-dropdown .dropdown-menu {
|
|
156
|
-
overflow: visible !important;
|
|
157
156
|
min-width: 30rem;
|
|
158
157
|
}
|
|
159
158
|
|
|
@@ -164,6 +163,11 @@ export default {
|
|
|
164
163
|
</style>
|
|
165
164
|
|
|
166
165
|
<style scoped>
|
|
166
|
+
.upload-body {
|
|
167
|
+
max-height: 60vh;
|
|
168
|
+
overflow-y: auto;
|
|
169
|
+
}
|
|
170
|
+
|
|
167
171
|
.image-preview {
|
|
168
172
|
display: flex;
|
|
169
173
|
flex-direction: column;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<h3 class="subtitle">General</h3>
|
|
4
|
-
<PreferencesField label="Font Size" data-key="user.general::fontSize" type="select" default-text="group"></PreferencesField>
|
|
5
3
|
<h3 class="subtitle">Editor</h3>
|
|
6
4
|
<PreferencesField label="Default Mode" data-key="user.editor::defaultMode" type="select" default-text="group"></PreferencesField>
|
|
7
|
-
<PreferencesField label="Overall Theme" data-key="user.editor::theme" type="select" default-text="group"></PreferencesField>
|
|
8
5
|
<h4 class="subtitle is-6">Code Editor</h4>
|
|
9
6
|
<PreferencesField label="Theme" data-key="user.editor::ace.theme" type="select" grouped default-text="group"></PreferencesField>
|
|
10
7
|
<PreferencesField label="Font Size" data-key="user.editor::ace.fontSize" type="select" default-text="group"></PreferencesField>
|
|
@@ -12,8 +9,6 @@
|
|
|
12
9
|
<PreferencesField label="Highlight Active Line" data-key="user.editor::ace.highlightActiveLine" type="switch" default-text="group"></PreferencesField>
|
|
13
10
|
<PreferencesField label="Show Print Margin" data-key="user.editor::ace.showPrintMargin" type="switch" default-text="group"></PreferencesField>
|
|
14
11
|
<PreferencesField label="Show Invisibles" data-key="user.editor::ace.showInvisibles" type="switch" default-text="group"></PreferencesField>
|
|
15
|
-
<h4 class="subtitle is-6">Design Editor</h4>
|
|
16
|
-
<PreferencesField label="Theme" data-key="user.editor::ckeditor.skin" type="select" grouped default-text="group"></PreferencesField>
|
|
17
12
|
</div>
|
|
18
13
|
</template>
|
|
19
14
|
|
|
@@ -17,9 +17,7 @@ export default function(ui) {
|
|
|
17
17
|
icon: 'file-alt',
|
|
18
18
|
listAction: '/pages',
|
|
19
19
|
listPermission: 'pages.getList',
|
|
20
|
-
addIcon: 'plus',
|
|
21
20
|
addPermission: 'pages.postCreate',
|
|
22
|
-
addAction: '/pages/create',
|
|
23
21
|
addDropdownComponent: CreatePageDropdown,
|
|
24
22
|
items: {
|
|
25
23
|
}
|
|
@@ -29,9 +27,7 @@ export default function(ui) {
|
|
|
29
27
|
icon: 'puzzle-piece',
|
|
30
28
|
listAction: '/partials',
|
|
31
29
|
listPermission: 'partials.getList',
|
|
32
|
-
addIcon: 'plus',
|
|
33
30
|
addPermission: 'partials.postCreate',
|
|
34
|
-
addAction: '/partials/create',
|
|
35
31
|
addDropdownComponent: CreatePartialDropdown,
|
|
36
32
|
items: {
|
|
37
33
|
}
|