domma-cms 1.18.0 → 1.19.0
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/CHANGELOG.md +5 -0
- package/admin/css/sections.css +1 -1
- package/admin/js/templates/collection-editor.html +12 -12
- package/admin/js/templates/context-menu-editor.html +12 -12
- package/admin/js/templates/menu-editor.html +457 -338
- package/admin/js/templates/search.html +15 -15
- package/admin/js/templates/settings.html +43 -43
- package/admin/js/templates/theme.html +12 -12
- package/admin/js/templates/user-editor.html +9 -9
- package/admin/js/views/menu-editor.js +16 -16
- package/docs/screenshots/admin-soft-settings-desktop.png +0 -0
- package/docs/screenshots/admin-soft-settings-mobile.png +0 -0
- package/package.json +1 -1
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
|
|
27
27
|
<!-- Search -->
|
|
28
28
|
<div class="tab-panel active">
|
|
29
|
-
<div class="ssx-card">
|
|
30
|
-
<div class="ssx-card-title">Live now
|
|
29
|
+
<div class="ssx-card dm-settings-section">
|
|
30
|
+
<div class="ssx-card-title dm-settings-section-title">Live now
|
|
31
31
|
<span data-help-title="Live now" data-help="What visitors get at the moment - the saved settings, not what you are editing. Searchable pages are the published, public ones; drafts and private pages never appear in results."></span></div>
|
|
32
32
|
<div class="ssx-chips" data-each="chips.value key=text"></div>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
|
-
<div class="ssx-card">
|
|
36
|
-
<div class="ssx-card-title">Search on the site</div>
|
|
35
|
+
<div class="ssx-card dm-settings-section">
|
|
36
|
+
<div class="ssx-card-title dm-settings-section-title">Search on the site</div>
|
|
37
37
|
<div class="ssx-setting">
|
|
38
38
|
<label class="form-label" for="ssx-enabled">Enable search on the public site
|
|
39
39
|
<span data-help="Off removes search completely - no trigger, stylesheet or script is added to public pages. Context menus offering Site search do nothing while it is off."></span></label>
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
<p class="ssx-note">Ctrl+K / ⌘K always opens search when search is enabled, including when the trigger is hidden.</p>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
|
-
<div class="ssx-card">
|
|
53
|
-
<div class="ssx-card-title">Results</div>
|
|
52
|
+
<div class="ssx-card dm-settings-section">
|
|
53
|
+
<div class="ssx-card-title dm-settings-section-title">Results</div>
|
|
54
54
|
<div class="ssx-grid ssx-grid-3">
|
|
55
55
|
<div>
|
|
56
56
|
<label class="form-label" for="ssx-max">Max results
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
|
|
74
74
|
<!-- Trigger & position -->
|
|
75
75
|
<div class="tab-panel">
|
|
76
|
-
<div class="ssx-card">
|
|
77
|
-
<div class="ssx-card-title">How visitors open it
|
|
76
|
+
<div class="ssx-card dm-settings-section">
|
|
77
|
+
<div class="ssx-card-title dm-settings-section-title">How visitors open it
|
|
78
78
|
<span data-help-title="Trigger" data-help="Navbar adds a search icon to the site's navigation bar. Floating button puts a fixed button on every page, in the corner or side you choose - useful when the navigation is busy or hidden on small screens."></span></div>
|
|
79
79
|
<label class="form-label" for="ssx-trigger-style">Search display</label>
|
|
80
80
|
<select id="ssx-trigger-style" class="form-select" data-model="triggerStyle.value">
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
|
-
<div class="ssx-card" data-bind-hidden="displayMode.value !== 'floating' || triggerStyle.value === 'hidden'">
|
|
95
|
-
<div class="ssx-card-title">The floating button</div>
|
|
94
|
+
<div class="ssx-card dm-settings-section" data-bind-hidden="displayMode.value !== 'floating' || triggerStyle.value === 'hidden'">
|
|
95
|
+
<div class="ssx-card-title dm-settings-section-title">The floating button</div>
|
|
96
96
|
<div class="ssx-button-row" data-bind-hidden="triggerStyle.value !== 'icon'">
|
|
97
97
|
<div class="ssx-sliders">
|
|
98
98
|
<label class="form-label" for="ssx-size">Size <span class="ssx-readout" data-bind-text="sizeText.value"></span>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
</span>
|
|
109
109
|
</div>
|
|
110
110
|
<div>
|
|
111
|
-
<div class="ssx-card-title ssx-sub">Where it sits
|
|
111
|
+
<div class="ssx-card-title ssx-sub dm-settings-section-title">Where it sits
|
|
112
112
|
<span data-help="Click a spot on the little screen. The offsets are the distance from the edges it sits against."></span></div>
|
|
113
113
|
<div class="ssx-where">
|
|
114
114
|
<div class="ssx-screen" role="group" aria-label="Position">
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
|
|
134
134
|
<!-- Try it -->
|
|
135
135
|
<div class="tab-panel">
|
|
136
|
-
<div class="ssx-card">
|
|
137
|
-
<div class="ssx-card-title">Try a search
|
|
136
|
+
<div class="ssx-card dm-settings-section">
|
|
137
|
+
<div class="ssx-card-title dm-settings-section-title">Try a search
|
|
138
138
|
<span data-help-title="Try it" data-help="Runs the site's own search as a visitor would - published, public pages only, ranked the same way - using the Max results you are editing, before you Save. Right-click a result (or ⋮) to open or edit the page."></span></div>
|
|
139
139
|
<input type="search" class="form-input ssx-q" placeholder="Search your pages…" aria-label="Try a search" data-model="query.value">
|
|
140
140
|
<p class="ssx-note" data-bind-hidden="!previewNote.value" data-bind-text="previewNote.value"></p>
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
|
|
147
147
|
<!-- How it works -->
|
|
148
148
|
<div class="tab-panel">
|
|
149
|
-
<div class="ssx-card">
|
|
150
|
-
<div class="ssx-card-title">How search works</div>
|
|
149
|
+
<div class="ssx-card dm-settings-section">
|
|
150
|
+
<div class="ssx-card-title dm-settings-section-title">How search works</div>
|
|
151
151
|
<ul class="ssx-how">
|
|
152
152
|
<li>Visitors click the trigger (or press the shortcut) and get a full-screen overlay with live results.</li>
|
|
153
153
|
<li>Results are ranked: a title match scores highest, then tags, the description, and the page's text.</li>
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
<div class="stx-problems" data-each="problems.value key=text"></div>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="stx-card-columns">
|
|
39
|
-
<div class="stx-card">
|
|
40
|
-
<div class="stx-card-title dm-section--success"><span data-icon="globe" data-icon-size="16" aria-hidden="true"></span>Site</div>
|
|
39
|
+
<div class="stx-card dm-settings-section">
|
|
40
|
+
<div class="stx-card-title dm-section--success dm-settings-section-title"><span data-icon="globe" data-icon-size="16" aria-hidden="true"></span>Site</div>
|
|
41
41
|
<div class="stx-grid">
|
|
42
42
|
<div>
|
|
43
43
|
<label class="form-label" for="stx-title">Site title
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
|
-
<div class="stx-card">
|
|
60
|
-
<div class="stx-card-title dm-section--info"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Admin</div>
|
|
59
|
+
<div class="stx-card dm-settings-section">
|
|
60
|
+
<div class="stx-card-title dm-section--info dm-settings-section-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Admin</div>
|
|
61
61
|
<div class="stx-grid">
|
|
62
62
|
<div>
|
|
63
63
|
<label class="form-label" for="stx-admin-home">Admin home
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</div>
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
|
-
<div class="stx-card stx-moved">
|
|
80
|
+
<div class="stx-card stx-moved dm-settings-section">
|
|
81
81
|
<span data-icon="droplet"></span>
|
|
82
82
|
<div class="stx-moved-text">
|
|
83
83
|
<strong>Themes, fonts and element overrides</strong>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<!-- Branding -->
|
|
91
91
|
<div class="tab-panel">
|
|
92
92
|
<div class="stx-card-columns">
|
|
93
|
-
<div class="stx-card"><div class="stx-card-title"><span data-icon="globe" data-icon-size="16" aria-hidden="true"></span>Public site</div><div class="stx-grid">
|
|
93
|
+
<div class="stx-card dm-settings-section"><div class="stx-card-title dm-settings-section-title"><span data-icon="globe" data-icon-size="16" aria-hidden="true"></span>Public site</div><div class="stx-grid">
|
|
94
94
|
<div class="stx-setting stx-wide"><label class="form-label" for="stx-brand-enabled">Show public site branding
|
|
95
95
|
<span data-help="Shows the name and mark in the navbar and footer. Off hides them and keeps the saved values for next time."></span></label>
|
|
96
96
|
<input id="stx-brand-enabled" type="checkbox" class="form-switch" data-model="brandEnabled.value"></div>
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
113
|
</div><p class="text-muted">The logo takes priority over the icon. Set the browser icon in the Favicon tab.</p></div>
|
|
114
|
-
<div class="stx-card"><div class="stx-card-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Admin
|
|
114
|
+
<div class="stx-card dm-settings-section"><div class="stx-card-title dm-settings-section-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Admin
|
|
115
115
|
<span data-help-title="Admin name and mark" data-help="The name and logo or icon at the top of the admin - in the top bar, the sidebar and the browser tab - for everyone who signs in. Leave the name empty to use the site title."></span></div><div class="stx-grid">
|
|
116
116
|
<div class="stx-setting stx-wide"><label class="form-label" for="stx-admin-brand-enabled">Show admin branding
|
|
117
117
|
<span data-help="Shows the name and mark in the admin top bar and sidebar, and the name in browser tab titles. Off hides them and keeps the saved values."></span></label>
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
<!-- Favicon -->
|
|
136
136
|
<div class="tab-panel">
|
|
137
137
|
<div class="stx-card-columns">
|
|
138
|
-
<div class="stx-card"><div class="stx-card-title"><span data-icon="image" data-icon-size="16" aria-hidden="true"></span>Generate favicon.ico</div>
|
|
138
|
+
<div class="stx-card dm-settings-section"><div class="stx-card-title dm-settings-section-title"><span data-icon="image" data-icon-size="16" aria-hidden="true"></span>Generate favicon.ico</div>
|
|
139
139
|
<p>Choose or upload an image. Generate a single ICO file with 16, 32, 48 and 256 pixel icons. Images keep their proportions with transparent padding.</p>
|
|
140
140
|
<label class="form-label" for="stx-favicon-source">Source image</label>
|
|
141
141
|
<input id="stx-favicon-source" class="form-input" type="text" placeholder="/media/logo.png" data-model="faviconSource.value">
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<p class="text-danger" data-bind-text="faviconError.value" data-bind-hidden="!faviconError.value"></p>
|
|
145
145
|
<p data-bind-hidden="!faviconGenerated.value">Generated. Save Site Settings to apply it. <a data-bind-href="faviconGenerated.value" download="favicon.ico">Download favicon.ico</a></p>
|
|
146
146
|
</div>
|
|
147
|
-
<div class="stx-card"><div class="stx-card-title"><span data-icon="image" data-icon-size="16" aria-hidden="true"></span>Browser icon</div>
|
|
147
|
+
<div class="stx-card dm-settings-section"><div class="stx-card-title dm-settings-section-title"><span data-icon="image" data-icon-size="16" aria-hidden="true"></span>Browser icon</div>
|
|
148
148
|
<div><label class="form-label" for="stx-favicon">Browser icon (favicon)</label>
|
|
149
149
|
<input id="stx-favicon" type="text" class="form-input" placeholder="/media/favicon.png" data-model="favicon.value">
|
|
150
150
|
<button type="button" class="btn btn-sm btn-ghost" data-on-click="pickBrandImage('favicon')">Choose or upload image</button>
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
<!-- Footer -->
|
|
160
160
|
<div class="tab-panel">
|
|
161
161
|
<div class="stx-card-columns">
|
|
162
|
-
<div class="stx-card">
|
|
163
|
-
<div class="stx-card-title"><span data-icon="align-left" data-icon-size="16" aria-hidden="true"></span>Footer</div>
|
|
162
|
+
<div class="stx-card dm-settings-section">
|
|
163
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="align-left" data-icon-size="16" aria-hidden="true"></span>Footer</div>
|
|
164
164
|
<div class="stx-grid">
|
|
165
165
|
<div class="stx-wide">
|
|
166
166
|
<label class="form-label" for="stx-footer-copy">Copyright text</label>
|
|
@@ -199,8 +199,8 @@
|
|
|
199
199
|
</div>
|
|
200
200
|
</div>
|
|
201
201
|
</div>
|
|
202
|
-
<div class="stx-card">
|
|
203
|
-
<div class="stx-card-title"><span data-icon="star" data-icon-size="16" aria-hidden="true"></span>Showcase footer
|
|
202
|
+
<div class="stx-card dm-settings-section">
|
|
203
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="star" data-icon-size="16" aria-hidden="true"></span>Showcase footer
|
|
204
204
|
<span data-help-title="Showcase footer" data-help="A footer that finishes the page with a flourish: a big call to action with a few words in a colour gradient, your contact details under the brand, a row of short facts, a tagline, and your name drawn huge and faint behind it all. Each part shows only when it has words. The Showcase look adds a glowing line along the top and more room; it always uses the columns layout."></span></div>
|
|
205
205
|
<div class="stx-grid">
|
|
206
206
|
<div class="stx-setting">
|
|
@@ -266,8 +266,8 @@
|
|
|
266
266
|
</div>
|
|
267
267
|
</div>
|
|
268
268
|
</div>
|
|
269
|
-
<div class="stx-card">
|
|
270
|
-
<div class="stx-card-title"><span data-icon="share-2" data-icon-size="16" aria-hidden="true"></span>Social media icons
|
|
269
|
+
<div class="stx-card dm-settings-section">
|
|
270
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="share-2" data-icon-size="16" aria-hidden="true"></span>Social media icons
|
|
271
271
|
<span data-help="The full address of each profile - its icon then shows in the footer. Leave one empty to hide its icon."></span></div>
|
|
272
272
|
<div class="stx-grid">
|
|
273
273
|
<div><label class="form-label" for="stx-s-tw">X / Twitter</label>
|
|
@@ -295,8 +295,8 @@
|
|
|
295
295
|
<span data-icon="alert-triangle" data-icon-size="16"></span>
|
|
296
296
|
<span><strong>No SMTP host.</strong> Mail is going to a throwaway test inbox and will <strong>not</strong>
|
|
297
297
|
reach anyone - password resets and form notifications will look like they sent. Set a host and save.</span></p>
|
|
298
|
-
<div class="stx-card">
|
|
299
|
-
<div class="stx-card-title dm-section--info"><span data-icon="server" data-icon-size="16" aria-hidden="true"></span>SMTP server
|
|
298
|
+
<div class="stx-card dm-settings-section">
|
|
299
|
+
<div class="stx-card-title dm-section--info dm-settings-section-title"><span data-icon="server" data-icon-size="16" aria-hidden="true"></span>SMTP server
|
|
300
300
|
<span data-help-title="SMTP" data-help="The mail server the site sends through - your email provider's (for example smtp.gmail.com, or your host's). Its username and password are the mail account's. The password is never shown again once saved: leave it empty to keep it, type a new one to change it."></span></div>
|
|
301
301
|
<div class="stx-grid">
|
|
302
302
|
<div>
|
|
@@ -328,8 +328,8 @@
|
|
|
328
328
|
</div>
|
|
329
329
|
</div>
|
|
330
330
|
</div>
|
|
331
|
-
<div class="stx-card">
|
|
332
|
-
<div class="stx-card-title dm-section--info"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Sender
|
|
331
|
+
<div class="stx-card dm-settings-section">
|
|
332
|
+
<div class="stx-card-title dm-section--info dm-settings-section-title"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Sender
|
|
333
333
|
<span data-help="Who the site's mail comes from. Most providers only accept a From address on the account (or domain) you sign in with."></span></div>
|
|
334
334
|
<div class="stx-grid">
|
|
335
335
|
<div>
|
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
</div>
|
|
343
343
|
</div>
|
|
344
344
|
</div>
|
|
345
|
-
<div class="stx-card">
|
|
346
|
-
<div class="stx-card-title dm-section--info"><span data-icon="send" data-icon-size="16" aria-hidden="true"></span>Send a test email
|
|
345
|
+
<div class="stx-card dm-settings-section">
|
|
346
|
+
<div class="stx-card-title dm-section--info dm-settings-section-title"><span data-icon="send" data-icon-size="16" aria-hidden="true"></span>Send a test email
|
|
347
347
|
<span data-help="Sends through the SAVED settings - Save first if you have changed anything above. Leave the address empty to send to the From address."></span></div>
|
|
348
348
|
<div class="stx-inline">
|
|
349
349
|
<input type="email" class="form-input stx-test-to" placeholder="recipient@example.com" aria-label="Send the test to" data-model="testTo.value">
|
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
<!-- Page navigation -->
|
|
359
359
|
<div class="tab-panel">
|
|
360
360
|
<div class="stx-card-columns">
|
|
361
|
-
<div class="stx-card">
|
|
362
|
-
<div class="stx-card-title"><span class="stx-scroll-icon" data-icon="arrow-up"></span>Back to top
|
|
361
|
+
<div class="stx-card dm-settings-section">
|
|
362
|
+
<div class="stx-card-title dm-settings-section-title"><span class="stx-scroll-icon" data-icon="arrow-up"></span>Back to top
|
|
363
363
|
<span data-help="A button that appears once a visitor has scrolled down, and takes them back to the top of the page."></span></div>
|
|
364
364
|
<div class="stx-grid">
|
|
365
365
|
<div class="stx-setting"><label class="form-label" for="stx-btt-on">Show the button</label>
|
|
@@ -392,8 +392,8 @@
|
|
|
392
392
|
</div>
|
|
393
393
|
</div>
|
|
394
394
|
</div>
|
|
395
|
-
<div class="stx-card">
|
|
396
|
-
<div class="stx-card-title"><span class="stx-scroll-icon" data-icon="arrow-down"></span>Go to bottom
|
|
395
|
+
<div class="stx-card dm-settings-section">
|
|
396
|
+
<div class="stx-card-title dm-settings-section-title"><span class="stx-scroll-icon" data-icon="arrow-down"></span>Go to bottom
|
|
397
397
|
<span data-help="A matching down-arrow button that takes visitors to the bottom of the page. It hides when they are already near the bottom."></span></div>
|
|
398
398
|
<div class="stx-grid">
|
|
399
399
|
<div class="stx-setting"><label class="form-label" for="stx-gtb-on">Show the button</label>
|
|
@@ -431,8 +431,8 @@
|
|
|
431
431
|
|
|
432
432
|
<!-- Cookie consent -->
|
|
433
433
|
<div class="tab-panel">
|
|
434
|
-
<div class="stx-card">
|
|
435
|
-
<div class="stx-card-title"><span data-icon="shield" data-icon-size="16" aria-hidden="true"></span>Cookie consent banner
|
|
434
|
+
<div class="stx-card dm-settings-section">
|
|
435
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="shield" data-icon-size="16" aria-hidden="true"></span>Cookie consent banner
|
|
436
436
|
<span data-help-title="Cookie consent" data-help="The banner that asks visitors which cookies they accept. Necessary cookies are always allowed; the categories below are the ones visitors can turn off. Raise the consent version to ask everyone again - after changing what the site stores, for example."></span></div>
|
|
437
437
|
<div class="stx-grid">
|
|
438
438
|
<div class="stx-wide stx-setting"><label class="form-label" for="stx-cc-on">Show the banner</label>
|
|
@@ -459,8 +459,8 @@
|
|
|
459
459
|
<input id="stx-cc-ver" type="text" class="form-input" placeholder="1.0" data-model="ccVersion.value"></div>
|
|
460
460
|
</div>
|
|
461
461
|
</div>
|
|
462
|
-
<div class="stx-card">
|
|
463
|
-
<div class="stx-card-title"><span data-icon="list" data-icon-size="16" aria-hidden="true"></span>Categories</div>
|
|
462
|
+
<div class="stx-card dm-settings-section">
|
|
463
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="list" data-icon-size="16" aria-hidden="true"></span>Categories</div>
|
|
464
464
|
<div class="stx-grid">
|
|
465
465
|
<div class="stx-setting"><label class="form-label" for="stx-cc-fn">Functional</label>
|
|
466
466
|
<input id="stx-cc-fn" type="checkbox" class="form-switch" data-model="ccShowFunctional.value"></div>
|
|
@@ -470,8 +470,8 @@
|
|
|
470
470
|
<input id="stx-cc-mk" type="checkbox" class="form-switch" data-model="ccShowMarketing.value"></div>
|
|
471
471
|
</div>
|
|
472
472
|
</div>
|
|
473
|
-
<div class="stx-card">
|
|
474
|
-
<div class="stx-card-title"><span data-icon="link" data-icon-size="16" aria-hidden="true"></span>Links and button text</div>
|
|
473
|
+
<div class="stx-card dm-settings-section">
|
|
474
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="link" data-icon-size="16" aria-hidden="true"></span>Links and button text</div>
|
|
475
475
|
<div class="stx-grid">
|
|
476
476
|
<div><label class="form-label" for="stx-cc-pt">Privacy policy text</label>
|
|
477
477
|
<input id="stx-cc-pt" type="text" class="form-input" placeholder="Privacy Policy" data-model="ccPrivacyText.value"></div>
|
|
@@ -497,8 +497,8 @@
|
|
|
497
497
|
<!-- Breadcrumbs -->
|
|
498
498
|
<div class="tab-panel">
|
|
499
499
|
<div class="stx-card-columns">
|
|
500
|
-
<div class="stx-card">
|
|
501
|
-
<div class="stx-card-title"><span data-icon="chevron-right" data-icon-size="16" aria-hidden="true"></span>Breadcrumb trail
|
|
500
|
+
<div class="stx-card dm-settings-section">
|
|
501
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="chevron-right" data-icon-size="16" aria-hidden="true"></span>Breadcrumb trail
|
|
502
502
|
<span data-help-title="Breadcrumbs" data-help="A small frosted pill fixed to a corner of every public page, showing where the page sits (Home › Services › Web). A page can switch it off with “Show Breadcrumbs” in the page editor."></span></div>
|
|
503
503
|
<div class="stx-grid">
|
|
504
504
|
<div class="stx-wide stx-setting"><label class="form-label" for="stx-bc-on">Show breadcrumbs</label>
|
|
@@ -508,8 +508,8 @@
|
|
|
508
508
|
</div>
|
|
509
509
|
<p class="stx-hint">Shows the path from Home to the current page. Individual pages can hide their trail in the page editor.</p>
|
|
510
510
|
</div>
|
|
511
|
-
<div class="stx-card">
|
|
512
|
-
<div class="stx-card-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Placement</div>
|
|
511
|
+
<div class="stx-card dm-settings-section">
|
|
512
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Placement</div>
|
|
513
513
|
<div class="stx-grid">
|
|
514
514
|
<div class="stx-wide">
|
|
515
515
|
<span class="form-label">Corner</span>
|
|
@@ -534,8 +534,8 @@
|
|
|
534
534
|
<!-- Reduce motion -->
|
|
535
535
|
<div class="tab-panel">
|
|
536
536
|
<div class="stx-card-columns">
|
|
537
|
-
<div class="stx-card">
|
|
538
|
-
<div class="stx-card-title"><span data-icon="pause" data-icon-size="16" aria-hidden="true"></span>The control
|
|
537
|
+
<div class="stx-card dm-settings-section">
|
|
538
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="pause" data-icon-size="16" aria-hidden="true"></span>The control
|
|
539
539
|
<span data-help-title="Reduce motion" data-help="An accessibility control that lets visitors turn animations off. Turning it off only hides the control - visitors who already chose it, and anyone whose browser asks for reduced motion, still get a calmer site."></span></div>
|
|
540
540
|
<div class="stx-grid">
|
|
541
541
|
<div class="stx-wide stx-setting"><label class="form-label" for="stx-mt-on">Show it</label>
|
|
@@ -567,8 +567,8 @@
|
|
|
567
567
|
</div>
|
|
568
568
|
</div>
|
|
569
569
|
</div>
|
|
570
|
-
<div class="stx-card">
|
|
571
|
-
<div class="stx-card-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Placement
|
|
570
|
+
<div class="stx-card dm-settings-section">
|
|
571
|
+
<div class="stx-card-title dm-settings-section-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Placement
|
|
572
572
|
<span data-help-title="Placement" data-help="Footer puts it at the foot of every page, as it always was. Floating button is a disc fixed to a corner of the window, kept clear of Search, Back to top and the theme switcher. Navbar adds it at the end of the navbar - on a page with no navbar, or on a phone when the navbar shows only its menu button, it floats instead."></span></div>
|
|
573
573
|
<div class="stx-grid">
|
|
574
574
|
<div class="stx-wide">
|
|
@@ -618,8 +618,8 @@
|
|
|
618
618
|
|
|
619
619
|
<!-- Cache -->
|
|
620
620
|
<div class="tab-panel">
|
|
621
|
-
<div class="stx-card">
|
|
622
|
-
<div class="stx-card-title dm-section--neutral"><span data-icon="database" data-icon-size="16" aria-hidden="true"></span>Response cache
|
|
621
|
+
<div class="stx-card dm-settings-section">
|
|
622
|
+
<div class="stx-card-title dm-section--neutral dm-settings-section-title"><span data-icon="database" data-icon-size="16" aria-hidden="true"></span>Response cache
|
|
623
623
|
<span data-help-title="Response cache" data-help="Public pages are kept rendered, per address and per visitor role, so the next visitor gets them at once. Saving a page, collection, form, block, view, menu or these settings clears what it affects automatically; Clear empties it all. Turning it off makes every visit render afresh - useful while debugging, slower for visitors."></span>
|
|
624
624
|
<span class="stx-spacer"></span>
|
|
625
625
|
<button type="button" class="btn btn-sm btn-ghost" data-on-click="refreshCache"><span data-icon="refresh-cw" data-icon-size="14"></span> Refresh</button>
|
|
@@ -632,8 +632,8 @@
|
|
|
632
632
|
<span class="stx-chip" data-bind-hidden="!cacheHits.value" data-bind-text="cacheHits.value"></span>
|
|
633
633
|
</div>
|
|
634
634
|
</div>
|
|
635
|
-
<div class="stx-card">
|
|
636
|
-
<div class="stx-card-title dm-section--neutral"><span data-icon="layers" data-icon-size="16" aria-hidden="true"></span>Cached pages <span class="stx-count" data-bind-text="cacheRows.value.length"></span>
|
|
635
|
+
<div class="stx-card dm-settings-section">
|
|
636
|
+
<div class="stx-card-title dm-section--neutral dm-settings-section-title"><span data-icon="layers" data-icon-size="16" aria-hidden="true"></span>Cached pages <span class="stx-count" data-bind-text="cacheRows.value.length"></span>
|
|
637
637
|
<span data-help="What is in the cache now, newest first: the page, the visitor role it was rendered for, and when it expires. Right-click one (or ⋮) to open the page or copy its key."></span>
|
|
638
638
|
<span class="stx-spacer"></span>
|
|
639
639
|
<input type="search" class="form-input stx-search" placeholder="Filter…" aria-label="Filter cached pages" data-model="cacheQuery.value">
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
<!-- Themes -->
|
|
25
25
|
<div class="tab-panel active">
|
|
26
|
-
<div class="thx-card">
|
|
27
|
-
<div class="thx-card-title dm-section--success"><span data-icon="activity" data-icon-size="16" aria-hidden="true"></span>Live now
|
|
26
|
+
<div class="thx-card dm-settings-section">
|
|
27
|
+
<div class="thx-card-title dm-section--success dm-settings-section-title"><span data-icon="activity" data-icon-size="16" aria-hidden="true"></span>Live now
|
|
28
28
|
<span data-help-title="Live now" data-help="What the public site and this admin show at the moment - the saved settings, not what you are editing. With day/night switching on, the site changes theme at the times below, on each visitor's own clock."></span></div>
|
|
29
29
|
<div class="thx-chips">
|
|
30
30
|
<span class="thx-chip is-ok" data-bind-text="liveSite.value"></span>
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
|
|
37
|
-
<div class="thx-card">
|
|
38
|
-
<div class="thx-card-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Site & admin</div>
|
|
37
|
+
<div class="thx-card dm-settings-section">
|
|
38
|
+
<div class="thx-card-title dm-settings-section-title"><span data-icon="layout" data-icon-size="16" aria-hidden="true"></span>Site & admin</div>
|
|
39
39
|
<div class="thx-grid">
|
|
40
40
|
<div>
|
|
41
41
|
<label class="form-label" for="thx-site">Site theme
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
|
|
77
|
-
<div class="thx-card">
|
|
78
|
-
<div class="thx-card-title"><span data-icon="droplet" data-icon-size="16" aria-hidden="true"></span>Theme switcher</div>
|
|
77
|
+
<div class="thx-card dm-settings-section">
|
|
78
|
+
<div class="thx-card-title dm-settings-section-title"><span data-icon="droplet" data-icon-size="16" aria-hidden="true"></span>Theme switcher</div>
|
|
79
79
|
<div class="thx-setting">
|
|
80
80
|
<label class="form-label" for="thx-sw">Show a theme switcher on the public site
|
|
81
81
|
<span data-help-title="Theme switcher" data-help="A floating disc of theme dots that lets a visitor pick their own theme, remembered in their browser. It offers the built-in themes only - custom themes cannot be switched to from the page."></span></label>
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
|
-
<div class="thx-card">
|
|
108
|
-
<div class="thx-card-title dm-section--neutral"><span data-icon="type" data-icon-size="16" aria-hidden="true"></span>Typography</div>
|
|
107
|
+
<div class="thx-card dm-settings-section">
|
|
108
|
+
<div class="thx-card-title dm-section--neutral dm-settings-section-title"><span data-icon="type" data-icon-size="16" aria-hidden="true"></span>Typography</div>
|
|
109
109
|
<div class="thx-grid">
|
|
110
110
|
<div>
|
|
111
111
|
<label class="form-label" for="thx-font">Font family
|
|
@@ -221,8 +221,8 @@
|
|
|
221
221
|
|
|
222
222
|
<!-- Element overrides -->
|
|
223
223
|
<div class="tab-panel">
|
|
224
|
-
<div class="thx-card">
|
|
225
|
-
<div class="thx-card-title dm-section--neutral"><span data-icon="sliders" data-icon-size="16" aria-hidden="true"></span>Element overrides
|
|
224
|
+
<div class="thx-card dm-settings-section">
|
|
225
|
+
<div class="thx-card-title dm-section--neutral dm-settings-section-title"><span data-icon="sliders" data-icon-size="16" aria-hidden="true"></span>Element overrides
|
|
226
226
|
<span data-help-title="Element overrides" data-help="An override re-themes one region of the page: give it a CSS selector, then adopt another theme there wholesale, or set individual --dm-* tokens. Everything inside the region follows, including components drawn later, because a Domma theme is nothing but a block of --dm-* values. Click an override to edit it; right-click it (or ⋮, or Shift+F10) to switch it off, duplicate, move or remove it. Order matters: later overrides win where they overlap."></span>
|
|
227
227
|
<span class="thx-spacer"></span>
|
|
228
228
|
<button type="button" class="btn btn-sm btn-primary" data-on-click="addOverride">
|
|
@@ -232,8 +232,8 @@
|
|
|
232
232
|
<div class="thx-list" data-each="rows.value key=id"></div>
|
|
233
233
|
</div>
|
|
234
234
|
|
|
235
|
-
<details class="thx-card dm-admin-section">
|
|
236
|
-
<summary class="thx-card-title dm-admin-section-title dm-section--neutral"><span data-icon="code" data-icon-size="16" aria-hidden="true"></span>Generated CSS
|
|
235
|
+
<details class="thx-card dm-admin-section dm-settings-section">
|
|
236
|
+
<summary class="thx-card-title dm-admin-section-title dm-section--neutral dm-settings-section-title"><span data-icon="code" data-icon-size="16" aria-hidden="true"></span>Generated CSS
|
|
237
237
|
<span data-help="Exactly what is injected into every public page for the overrides, ahead of your custom CSS - so hand-written CSS still wins. It follows your edits, before you save."></span>
|
|
238
238
|
<span class="thx-spacer"></span>
|
|
239
239
|
<button type="button" class="btn btn-sm btn-ghost" data-on-click="refreshCss" title="Compile again">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<span data-icon="check" data-icon-size="13"></span> <span data-bind-text="saveText">Save</span></button>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
<div class="uex-card uex-who" data-bind-hidden="loading.value || loadError.value">
|
|
23
|
+
<div class="uex-card uex-who dm-settings-section" data-bind-hidden="loading.value || loadError.value">
|
|
24
24
|
<span class="uex-avatar" aria-hidden="true" data-bind-text="avatar.value"></span>
|
|
25
25
|
<span class="uex-who-main">
|
|
26
26
|
<strong data-bind-text="shownName.value"></strong>
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
</div>
|
|
36
36
|
|
|
37
37
|
<fieldset class="uex-fields" data-bind-disabled="locked.value || saving.value" data-bind-hidden="loading.value || loadError.value">
|
|
38
|
-
<div class="uex-card">
|
|
39
|
-
<div class="uex-card-title"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Account
|
|
38
|
+
<div class="uex-card dm-settings-section">
|
|
39
|
+
<div class="uex-card-title dm-settings-section-title"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Account
|
|
40
40
|
<span data-help="The name shown in the admin and on anything they author. The email is what they sign in with, and where password resets go - no two accounts may share one."></span></div>
|
|
41
41
|
<div class="uex-grid">
|
|
42
42
|
<div>
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
|
|
76
|
-
<div class="uex-card">
|
|
77
|
-
<div class="uex-card-title dm-section--info"><span data-icon="shield" data-icon-size="16" aria-hidden="true"></span>Roles
|
|
76
|
+
<div class="uex-card dm-settings-section">
|
|
77
|
+
<div class="uex-card-title dm-section--info dm-settings-section-title"><span data-icon="shield" data-icon-size="16" aria-hidden="true"></span>Roles
|
|
78
78
|
<span data-help-title="Roles" data-help="The primary role is the badge shown beside their name, and what seniority is compared on. Additional roles add their permissions on top - someone can be, say, a recruiter AND a content editor; the most senior role they hold decides who may manage them. You can only give roles below your own; a role they already hold can always be kept."></span></div>
|
|
79
79
|
<div class="uex-grid">
|
|
80
80
|
<div>
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
|
-
<div class="uex-card" data-bind-hidden="!hasProjects.value">
|
|
95
|
-
<div class="uex-card-title dm-section--info"><span data-icon="folder" data-icon-size="16" aria-hidden="true"></span>Projects
|
|
94
|
+
<div class="uex-card dm-settings-section" data-bind-hidden="!hasProjects.value">
|
|
95
|
+
<div class="uex-card-title dm-section--info dm-settings-section-title"><span data-icon="folder" data-icon-size="16" aria-hidden="true"></span>Projects
|
|
96
96
|
<span data-help-title="Projects" data-help="Owned by: where this user is filed in the sidebar's Projects section - administrative only. Access: which projects' pages, collections and forms they can see and edit - leave it all unticked for no restriction. Core is always visible."></span></div>
|
|
97
97
|
<div class="uex-grid">
|
|
98
98
|
<div>
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
109
109
|
|
|
110
|
-
<div class="uex-card" data-bind-hidden="!hasProfile.value">
|
|
111
|
-
<div class="uex-card-title dm-section--neutral"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Profile
|
|
110
|
+
<div class="uex-card dm-settings-section" data-bind-hidden="!hasProfile.value">
|
|
111
|
+
<div class="uex-card-title dm-section--neutral dm-settings-section-title"><span data-icon="user" data-icon-size="16" aria-hidden="true"></span>Profile
|
|
112
112
|
<span data-help="Extra details about this user. Which ones are asked for is set in the User Profiles collection."></span></div>
|
|
113
113
|
<div class="uex-grid uex-profile"></div>
|
|
114
114
|
</div>
|