cron desc
This commit is contained in:
parent
f8c8d40614
commit
127eb6dce9
File diff suppressed because one or more lines are too long
@ -96,6 +96,7 @@ jQuery(function ($) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const renameExplrItem = function ($item) {
|
const renameExplrItem = function ($item) {
|
||||||
|
|
||||||
$('.dirview .renaming').removeClass('renaming');
|
$('.dirview .renaming').removeClass('renaming');
|
||||||
$item.addClass('renaming');
|
$item.addClass('renaming');
|
||||||
$item.find('input').focus().select();
|
$item.find('input').focus().select();
|
||||||
@ -129,6 +130,10 @@ jQuery(function ($) {
|
|||||||
const $selectedLink = $('.explr-item-selectable.highlight-clicked');
|
const $selectedLink = $('.explr-item-selectable.highlight-clicked');
|
||||||
const $selectedLi = $selectedLink.parents('li:eq(0)');
|
const $selectedLi = $selectedLink.parents('li:eq(0)');
|
||||||
|
|
||||||
|
if ($('.renaming input:focus').length > 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (e.key === "Escape") {
|
if (e.key === "Escape") {
|
||||||
$('.dirview .new-folder').addClass('hidden');
|
$('.dirview .new-folder').addClass('hidden');
|
||||||
$('.dirview .renaming').removeClass('renaming');
|
$('.dirview .renaming').removeClass('renaming');
|
||||||
|
|||||||
@ -59,10 +59,13 @@ form {
|
|||||||
|
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
padding-left: 0;
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.btn {
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|||||||
@ -73,10 +73,10 @@
|
|||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
display: block;
|
|
||||||
word-break: break-all;
|
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #AAA;
|
color: #AAA;
|
||||||
|
display: block;
|
||||||
|
word-break: break-all;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@ -26,12 +26,14 @@
|
|||||||
.title {
|
.title {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.type {
|
.type {
|
||||||
i {
|
i {
|
||||||
color: #333 !important;
|
color: #333 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
@ -119,6 +121,9 @@
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
max-width: 315px;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
.start {
|
.start {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -134,6 +139,28 @@
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.start,
|
||||||
|
.end {
|
||||||
|
.prefix {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #DDD;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cron-description {
|
||||||
|
display: block;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
max-width: 100%;
|
||||||
|
margin-left: 5px;
|
||||||
|
font-size: 10px;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
<i class="fa fa-file-import"></i>
|
<i class="fa fa-file-import"></i>
|
||||||
{{ l.slideshow_content_form_button_upload }}
|
{{ l.slideshow_content_form_button_upload }}
|
||||||
</span>
|
</span>
|
||||||
<input type="text" value="{{ l.slideshow_content_form_button_upload_choosen }}" disabled="disabled" />
|
<input type="text" value="{{ l.slideshow_content_form_button_upload_choosen }}" disabled="disabled" class="disabled" />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -26,20 +26,20 @@
|
|||||||
{% if cron_desc %}
|
{% if cron_desc %}
|
||||||
{% if is_valid_cron_date_time(slide.cron_schedule) %}
|
{% if is_valid_cron_date_time(slide.cron_schedule) %}
|
||||||
{% if slide.is_notification %}
|
{% if slide.is_notification %}
|
||||||
🔔 {{ l.slideshow_slide_panel_td_cron_scheduled_notify }}
|
🔔 <span class="prefix">{{ l.slideshow_slide_panel_td_cron_scheduled_notify }}</span>
|
||||||
<span class="td-secondary">{{ cron_desc }}</span>
|
<span class="cron-description">{{ cron_desc }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
🔄 {{ l.slideshow_slide_panel_td_cron_scheduled_loop }}
|
🔄 <span class="prefix">{{ l.slideshow_slide_panel_td_cron_scheduled_loop }}</span>
|
||||||
<span class="td-secondary">{{ cron_desc }}</span>
|
<span class="cron-description">{{ cron_desc }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
⏳ {{ cron_desc }}
|
⏳ <span class="cron-description">{{ cron_desc }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="error">⚠️ {{ l.slideshow_slide_panel_td_cron_scheduled_bad_cron }}</span>
|
<span class="error">⚠️ {{ l.slideshow_slide_panel_td_cron_scheduled_bad_cron }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
🔄 {{ l.slideshow_slide_panel_td_cron_scheduled_loop }}
|
🔄 <span class="prefix">{{ l.slideshow_slide_panel_td_cron_scheduled_loop }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="end">
|
<div class="end">
|
||||||
@ -48,19 +48,19 @@
|
|||||||
{% if cron_desc_end %}
|
{% if cron_desc_end %}
|
||||||
{% if is_valid_cron_date_time(slide.cron_schedule_end) %}
|
{% if is_valid_cron_date_time(slide.cron_schedule_end) %}
|
||||||
{% if slide.is_notification %}
|
{% if slide.is_notification %}
|
||||||
📆<span class="td-secondary">{{ cron_desc_end }}</span>
|
📆<span class="cron-description">{{ cron_desc_end }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
⏱️ {{ slide.duration }} {{ l.slideshow_slide_panel_th_duration_unit }}
|
⏱️ <span class="prefix">{{ slide.duration }} {{ l.slideshow_slide_panel_th_duration_unit }}</span>
|
||||||
<span class="td-secondary">{{ cron_desc_end }}</span>
|
<span class="cron-description">{{ cron_desc_end }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
⏳ {{ cron_desc_end }}
|
⏳ <span class="cron-description">{{ cron_desc_end }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="error">⚠️ {{ l.slideshow_slide_panel_td_cron_scheduled_bad_cron }}</span>
|
<span class="error">⚠️ {{ l.slideshow_slide_panel_td_cron_scheduled_bad_cron }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
⏱️ {{ slide.duration }} {{ l.slideshow_slide_panel_th_duration_unit }}
|
⏱️ <span class="prefix">{{ slide.duration }} {{ l.slideshow_slide_panel_th_duration_unit }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user