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