domma-cms 0.7.7 → 0.7.9
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/config/plugins.json +0 -12
- package/package.json +1 -1
- package/plugins/data-transfer/admin/templates/data-transfer.html +0 -172
- package/plugins/data-transfer/admin/views/data-transfer.js +0 -558
- package/plugins/data-transfer/config.js +0 -9
- package/plugins/data-transfer/plugin.js +0 -424
- package/plugins/data-transfer/plugin.json +0 -33
- package/plugins/job-board/admin/templates/application-detail.html +0 -40
- package/plugins/job-board/admin/templates/applications.html +0 -10
- package/plugins/job-board/admin/templates/companies.html +0 -24
- package/plugins/job-board/admin/templates/dashboard.html +0 -36
- package/plugins/job-board/admin/templates/job-editor.html +0 -17
- package/plugins/job-board/admin/templates/jobs.html +0 -15
- package/plugins/job-board/admin/templates/profile.html +0 -17
- package/plugins/job-board/admin/views/application-detail.js +0 -62
- package/plugins/job-board/admin/views/applications.js +0 -47
- package/plugins/job-board/admin/views/companies.js +0 -104
- package/plugins/job-board/admin/views/dashboard.js +0 -88
- package/plugins/job-board/admin/views/job-editor.js +0 -86
- package/plugins/job-board/admin/views/jobs.js +0 -53
- package/plugins/job-board/admin/views/profile.js +0 -47
- package/plugins/job-board/config.js +0 -6
- package/plugins/job-board/plugin.js +0 -466
- package/plugins/job-board/plugin.json +0 -40
- package/plugins/job-board/schemas/jb-agent-companies.json +0 -17
- package/plugins/job-board/schemas/jb-applications.json +0 -20
- package/plugins/job-board/schemas/jb-candidate-profiles.json +0 -20
- package/plugins/job-board/schemas/jb-companies.json +0 -21
- package/plugins/job-board/schemas/jb-jobs.json +0 -23
- package/plugins/theme-roller/admin/templates/theme-roller.html +0 -71
- package/plugins/theme-roller/admin/views/theme-roller-view.js +0 -403
- package/plugins/theme-roller/config.js +0 -1
- package/plugins/theme-roller/plugin.js +0 -233
- package/plugins/theme-roller/plugin.json +0 -31
- package/plugins/theme-roller/public/active-theme.css +0 -0
- package/plugins/theme-roller/public/inject-head-late.html +0 -1
package/config/plugins.json
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
"enabled": true,
|
|
4
4
|
"settings": {}
|
|
5
5
|
},
|
|
6
|
-
"theme-roller": {
|
|
7
|
-
"enabled": true,
|
|
8
|
-
"settings": {}
|
|
9
|
-
},
|
|
10
6
|
"site-search": {
|
|
11
7
|
"enabled": true,
|
|
12
8
|
"settings": {
|
|
@@ -17,10 +13,6 @@
|
|
|
17
13
|
"debounceMs": 300
|
|
18
14
|
}
|
|
19
15
|
},
|
|
20
|
-
"job-board": {
|
|
21
|
-
"enabled": false,
|
|
22
|
-
"settings": {}
|
|
23
|
-
},
|
|
24
16
|
"todo": {
|
|
25
17
|
"enabled": true,
|
|
26
18
|
"settings": {}
|
|
@@ -41,8 +33,4 @@
|
|
|
41
33
|
"enabled": true,
|
|
42
34
|
"settings": {}
|
|
43
35
|
},
|
|
44
|
-
"data-transfer": {
|
|
45
|
-
"enabled": true,
|
|
46
|
-
"settings": {}
|
|
47
|
-
}
|
|
48
36
|
}
|
package/package.json
CHANGED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
<div class="data-transfer-plugin">
|
|
2
|
-
|
|
3
|
-
<div class="mb-4" style="display:flex;align-items:center;gap:0.75rem;">
|
|
4
|
-
<span data-icon="hard-drive" style="width:28px;height:28px;opacity:0.8;"></span>
|
|
5
|
-
<div>
|
|
6
|
-
<h1 style="font-size:1.25rem;font-weight:600;margin:0;">Data Transfer</h1>
|
|
7
|
-
<p style="font-size:0.875rem;color:var(--dm-text-muted);margin:0;">Bulk transfer, backup, restore, and clone
|
|
8
|
-
collections.</p>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
|
|
12
|
-
<div id="dt-tabs" class="tabs">
|
|
13
|
-
<div class="tab-list" role="tablist">
|
|
14
|
-
<button class="tab-item active" data-tab="transfer">Transfer</button>
|
|
15
|
-
<button class="tab-item" data-tab="backups">Backups</button>
|
|
16
|
-
<button class="tab-item" data-tab="clone">Clone</button>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div class="tab-content">
|
|
20
|
-
|
|
21
|
-
<!-- ===== Transfer ===== -->
|
|
22
|
-
<div class="tab-panel active" data-panel="transfer">
|
|
23
|
-
<div class="card mt-4">
|
|
24
|
-
<div class="card-header">
|
|
25
|
-
<strong>Move Collections Between Storage Adapters</strong>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="card-body">
|
|
28
|
-
|
|
29
|
-
<div id="dt-mongo-warning" class="card mb-3"
|
|
30
|
-
style="display:none;border-left:3px solid var(--dm-warning);">
|
|
31
|
-
<div class="card-body"
|
|
32
|
-
style="display:flex;align-items:center;gap:0.5rem;padding:0.65rem 0.875rem;">
|
|
33
|
-
<span data-icon="alert-triangle" style="width:16px;height:16px;flex-shrink:0;"></span>
|
|
34
|
-
<span style="font-size:0.875rem;">MongoDB is not connected. File → MongoDB transfers are unavailable.</span>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div class="form-group mb-4">
|
|
39
|
-
<label class="form-label">Direction</label>
|
|
40
|
-
<div style="display:flex;gap:1.5rem;margin-top:0.25rem;">
|
|
41
|
-
<label style="display:flex;align-items:center;gap:0.5rem;cursor:pointer;">
|
|
42
|
-
<input type="radio" name="dt-direction" value="file-to-mongo" id="dt-dir-ftm"
|
|
43
|
-
checked class="form-check-input">
|
|
44
|
-
File → MongoDB
|
|
45
|
-
</label>
|
|
46
|
-
<label style="display:flex;align-items:center;gap:0.5rem;cursor:pointer;">
|
|
47
|
-
<input type="radio" name="dt-direction" value="mongo-to-file" id="dt-dir-mtf"
|
|
48
|
-
class="form-check-input">
|
|
49
|
-
MongoDB → File
|
|
50
|
-
</label>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
<div id="dt-collections-loading" style="font-size:0.875rem;color:var(--dm-text-muted);">Loading
|
|
55
|
-
collections…
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
<div id="dt-collections-wrap" style="display:none;">
|
|
59
|
-
<table class="table mb-3" id="dt-collections-table">
|
|
60
|
-
<thead>
|
|
61
|
-
<tr>
|
|
62
|
-
<th style="width:36px;">
|
|
63
|
-
<input type="checkbox" id="dt-select-all" class="form-check-input"
|
|
64
|
-
title="Select all">
|
|
65
|
-
</th>
|
|
66
|
-
<th>Collection</th>
|
|
67
|
-
<th>Slug</th>
|
|
68
|
-
<th>Adapter</th>
|
|
69
|
-
<th>Entries</th>
|
|
70
|
-
</tr>
|
|
71
|
-
</thead>
|
|
72
|
-
<tbody id="dt-collections-body"></tbody>
|
|
73
|
-
</table>
|
|
74
|
-
|
|
75
|
-
<button class="btn btn-primary" id="dt-transfer-btn">
|
|
76
|
-
<span data-icon="arrow-left-right" style="width:14px;height:14px;"></span>
|
|
77
|
-
Transfer Selected
|
|
78
|
-
</button>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<div id="dt-transfer-results" style="display:none;margin-top:1.5rem;">
|
|
82
|
-
<strong style="display:block;margin-bottom:0.5rem;">Results</strong>
|
|
83
|
-
<div id="dt-transfer-results-body"></div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
|
|
90
|
-
<!-- ===== Backups ===== -->
|
|
91
|
-
<div class="tab-panel" data-panel="backups">
|
|
92
|
-
<div class="card mt-4">
|
|
93
|
-
<div class="card-header" style="display:flex;align-items:center;justify-content:space-between;">
|
|
94
|
-
<strong>Backup Snapshots</strong>
|
|
95
|
-
<button class="btn btn-primary btn-sm" id="dt-create-backup-btn">
|
|
96
|
-
<span data-icon="download" style="width:14px;height:14px;"></span>
|
|
97
|
-
Create Backup
|
|
98
|
-
</button>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="card-body">
|
|
101
|
-
<div id="dt-backups-loading" style="font-size:0.875rem;color:var(--dm-text-muted);">Loading
|
|
102
|
-
backups…
|
|
103
|
-
</div>
|
|
104
|
-
<div id="dt-backups-wrap" style="display:none;">
|
|
105
|
-
<table class="table" id="dt-backups-table">
|
|
106
|
-
<thead>
|
|
107
|
-
<tr>
|
|
108
|
-
<th>Timestamp</th>
|
|
109
|
-
<th>Collections</th>
|
|
110
|
-
<th>Total Entries</th>
|
|
111
|
-
<th style="width:180px;">Actions</th>
|
|
112
|
-
</tr>
|
|
113
|
-
</thead>
|
|
114
|
-
<tbody id="dt-backups-body"></tbody>
|
|
115
|
-
</table>
|
|
116
|
-
<p id="dt-backups-empty"
|
|
117
|
-
style="display:none;font-size:0.875rem;color:var(--dm-text-muted);">No backups yet.</p>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
|
|
123
|
-
<!-- ===== Clone ===== -->
|
|
124
|
-
<div class="tab-panel" data-panel="clone">
|
|
125
|
-
<div class="card mt-4" style="max-width:520px;">
|
|
126
|
-
<div class="card-header">
|
|
127
|
-
<strong>Clone a Collection</strong>
|
|
128
|
-
</div>
|
|
129
|
-
<div class="card-body">
|
|
130
|
-
|
|
131
|
-
<div class="form-group mb-3">
|
|
132
|
-
<label class="form-label" for="dt-clone-source">Source Collection</label>
|
|
133
|
-
<select class="form-input" id="dt-clone-source">
|
|
134
|
-
<option value="">— select —</option>
|
|
135
|
-
</select>
|
|
136
|
-
</div>
|
|
137
|
-
|
|
138
|
-
<div class="form-group mb-3">
|
|
139
|
-
<label class="form-label" for="dt-clone-title">New Title</label>
|
|
140
|
-
<input type="text" class="form-input" id="dt-clone-title"
|
|
141
|
-
placeholder="e.g. My Collection Copy">
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
<div class="form-group mb-3">
|
|
145
|
-
<label class="form-label" for="dt-clone-slug">
|
|
146
|
-
New Slug
|
|
147
|
-
<span style="font-size:0.8rem;color:var(--dm-text-muted);">(auto-generated)</span>
|
|
148
|
-
</label>
|
|
149
|
-
<input type="text" class="form-input" id="dt-clone-slug"
|
|
150
|
-
placeholder="e.g. my-collection-copy">
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
<div class="form-group mb-4">
|
|
154
|
-
<label style="display:flex;align-items:center;gap:0.5rem;cursor:pointer;">
|
|
155
|
-
<input type="checkbox" class="form-check-input" id="dt-clone-entries">
|
|
156
|
-
Copy entries (with new IDs)
|
|
157
|
-
</label>
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
<button class="btn btn-primary" id="dt-clone-btn">
|
|
161
|
-
<span data-icon="copy" style="width:14px;height:14px;"></span>
|
|
162
|
-
Clone Collection
|
|
163
|
-
</button>
|
|
164
|
-
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
</div>
|
|
168
|
-
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
|
|
172
|
-
</div>
|