@raketa-cloud/admin 1.8.0 → 1.8.1
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/dist/application.css +38 -0
- package/package.json +1 -1
- package/src/views/articles/_shared/_addons.ejs +0 -0
- package/src/views/articles/show.ejs +2 -0
- package/src/views/events/_shared/_addons.ejs +0 -0
- package/src/views/events/show.ejs +2 -0
- package/src/views/pages/_shared/_addons.ejs +0 -0
- package/src/views/pages/show.ejs +7 -6
package/dist/application.css
CHANGED
|
@@ -749,6 +749,40 @@ select {
|
|
|
749
749
|
--tw-contain-style: ;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
.container {
|
|
753
|
+
width: 100%;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
@media (min-width: 640px) {
|
|
757
|
+
.container {
|
|
758
|
+
max-width: 640px;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
@media (min-width: 768px) {
|
|
763
|
+
.container {
|
|
764
|
+
max-width: 768px;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
@media (min-width: 1024px) {
|
|
769
|
+
.container {
|
|
770
|
+
max-width: 1024px;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
@media (min-width: 1280px) {
|
|
775
|
+
.container {
|
|
776
|
+
max-width: 1280px;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
@media (min-width: 1536px) {
|
|
781
|
+
.container {
|
|
782
|
+
max-width: 1536px;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
752
786
|
/* Utils */
|
|
753
787
|
|
|
754
788
|
.chip {
|
|
@@ -1566,6 +1600,10 @@ select {
|
|
|
1566
1600
|
pointer-events: none;
|
|
1567
1601
|
}
|
|
1568
1602
|
|
|
1603
|
+
.static {
|
|
1604
|
+
position: static;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1569
1607
|
.absolute {
|
|
1570
1608
|
position: absolute;
|
|
1571
1609
|
}
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -208,6 +208,8 @@
|
|
|
208
208
|
</div>
|
|
209
209
|
<% } %>
|
|
210
210
|
|
|
211
|
+
<%- render_partial('./_shared/_addons.ejs') %>
|
|
212
|
+
|
|
211
213
|
<div class="mb-4">
|
|
212
214
|
<h4 class="pb-4 heading-3 items-center gap-2 flex">
|
|
213
215
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-4 text-raketa-primary">
|
|
File without changes
|
|
@@ -208,6 +208,8 @@
|
|
|
208
208
|
</div>
|
|
209
209
|
<% } %>
|
|
210
210
|
|
|
211
|
+
<%- render_partial('./_shared/_addons.ejs') %>
|
|
212
|
+
|
|
211
213
|
<div class="mb-4">
|
|
212
214
|
<h4 class="pb-4 heading-3 items-center gap-2 flex">
|
|
213
215
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-4 text-raketa-primary">
|
|
File without changes
|
package/src/views/pages/show.ejs
CHANGED
|
@@ -6,12 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
<div class="flex flex-wrap items-center gap-1 mb-6 -mt-4">
|
|
8
8
|
<%
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
const availableLocales = Object.keys(_context.locales);
|
|
10
|
+
const totalPossibleTranslations = availableLocales.length - 1;
|
|
11
|
+
const existingTranslationsCount = Object.keys(resource.translations).length;
|
|
12
|
+
const canBeTranslated = existingTranslationsCount < totalPossibleTranslations;
|
|
13
|
+
%>
|
|
15
14
|
|
|
16
15
|
<% Object.keys(_context.locales).forEach(key => { %>
|
|
17
16
|
<% const { name, _code, flag} = _context.locales[key] %>
|
|
@@ -209,6 +208,8 @@
|
|
|
209
208
|
</div>
|
|
210
209
|
<% } %>
|
|
211
210
|
|
|
211
|
+
<%- render_partial('./_shared/_addons.ejs') %>
|
|
212
|
+
|
|
212
213
|
<div class="mb-4">
|
|
213
214
|
<h4 class="flex items-center gap-2 pb-4 heading-3">
|
|
214
215
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-4 text-raketa-primary">
|