mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-25 01:22:06 +01:00
Update content of files
This commit is contained in:
parent
3447a1cabd
commit
e43f8467bf
3 changed files with 91 additions and 3 deletions
|
@ -1805,6 +1805,10 @@ a.pr-account-button-wrap:focus {
|
||||||
}
|
}
|
||||||
.pr-form .pr-form-content-wrap {
|
.pr-form .pr-form-content-wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.pr-form-column .pr-form-content-wrap {
|
||||||
|
max-width: 460px;
|
||||||
}
|
}
|
||||||
.pr-form .pr-form-content {
|
.pr-form .pr-form-content {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -2252,6 +2256,17 @@ body.rtl .pr-sort-marker {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
.pr-cell-in:before {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
width: 7px;
|
||||||
|
height: 5px;
|
||||||
|
margin: 0 10px 0 3px;
|
||||||
|
border: solid #aaa;
|
||||||
|
border-width: 0 0 1px 1px;
|
||||||
|
position: relative;
|
||||||
|
top: -3px;
|
||||||
|
}
|
||||||
.pr-no-tme-link {
|
.pr-no-tme-link {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
|
@ -114,12 +114,28 @@ function statsFormat(period) {
|
||||||
case 'hour':
|
case 'hour':
|
||||||
return statsFormatHour;
|
return statsFormatHour;
|
||||||
|
|
||||||
|
case 'week':
|
||||||
|
return statsFormatWeek;
|
||||||
|
|
||||||
|
case 'month':
|
||||||
|
return statsFormatMonth;
|
||||||
|
|
||||||
case 'day':
|
case 'day':
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function statsTooltipFormat(period) {
|
||||||
|
switch (period) {
|
||||||
|
case 'week':
|
||||||
|
return statsFormatWeekFull;
|
||||||
|
case 'month':
|
||||||
|
return statsFormatMonthFull;
|
||||||
|
}
|
||||||
|
return statsFormat(period);
|
||||||
|
}
|
||||||
|
|
||||||
function formatNumber(number, decimals, decPoint, thousandsSep) {
|
function formatNumber(number, decimals, decPoint, thousandsSep) {
|
||||||
number = (number + '').replace(/[^0-9+\-Ee.]/g, '')
|
number = (number + '').replace(/[^0-9+\-Ee.]/g, '')
|
||||||
var n = !isFinite(+number) ? 0 : +number
|
var n = !isFinite(+number) ? 0 : +number
|
||||||
|
@ -169,7 +185,7 @@ function statsFormatAmount(value, currency) {
|
||||||
decimals++;
|
decimals++;
|
||||||
}
|
}
|
||||||
var amount_str = formatNumber(value / 1000000, decimals, '.', ',');
|
var amount_str = formatNumber(value / 1000000, decimals, '.', ',');
|
||||||
return (currency || '€') + ' ' + amount_str;
|
return (currency || '€') + ' ' + amount_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
function statsFormat5min(time) {
|
function statsFormat5min(time) {
|
||||||
|
@ -181,6 +197,49 @@ function statsFormatHour(time) {
|
||||||
return statShortMonths[date.getUTCMonth()] + ', ' + date.getUTCDate() + ' ' + date.toUTCString().match(/(\d+:\d+):/)[1];
|
return statShortMonths[date.getUTCMonth()] + ', ' + date.getUTCDate() + ' ' + date.toUTCString().match(/(\d+:\d+):/)[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function statsFormatPeriod(time, days) {
|
||||||
|
var dt = new Date(time),
|
||||||
|
de = new Date(time + (days - 1) * 86400000);
|
||||||
|
var dtm = dt.getUTCMonth(), dem = de.getUTCMonth(),
|
||||||
|
dtd = dt.getUTCDate(), ded = de.getUTCDate();
|
||||||
|
|
||||||
|
if (dtm == dem) {
|
||||||
|
return dtd + '-' + ded + ' ' + statShortMonths[dtm];
|
||||||
|
} else {
|
||||||
|
return dtd + ' ' + statShortMonths[dtm] + ' - ' + ded + ' ' + statShortMonths[dem];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function statsFormatPeriodFull(time, days) {
|
||||||
|
var dt = new Date(time),
|
||||||
|
de = new Date(time + (days - 1) * 86400000);
|
||||||
|
var dty = dt.getUTCFullYear(), dey = de.getUTCFullYear(),
|
||||||
|
dtm = dt.getUTCMonth(), dem = de.getUTCMonth(),
|
||||||
|
dtd = dt.getUTCDate(), ded = de.getUTCDate();
|
||||||
|
|
||||||
|
if (dty != dey) {
|
||||||
|
return dtd + ' ' + statShortMonths[dtm] + ' ' + dty + ' – ' + ded + ' ' + statShortMonths[dem] + ' ' + dey;
|
||||||
|
} else {
|
||||||
|
return dtd + ' ' + statShortMonths[dtm] + ' – ' + ded + ' ' + statShortMonths[dem] + ' ' + dey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function statsFormatWeek(time) {
|
||||||
|
return statsFormatPeriod(time, 7);
|
||||||
|
}
|
||||||
|
|
||||||
|
function statsFormatWeekFull(time) {
|
||||||
|
return statsFormatPeriodFull(time, 7);
|
||||||
|
}
|
||||||
|
|
||||||
|
function statsFormatMonth(time) {
|
||||||
|
return statsFormatPeriod(time, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
function statsFormatMonthFull(time) {
|
||||||
|
return statsFormatPeriodFull(time, 30);
|
||||||
|
}
|
||||||
|
|
||||||
function statsFormatTooltipValue(val) {
|
function statsFormatTooltipValue(val) {
|
||||||
if (val.toLocaleString) {
|
if (val.toLocaleString) {
|
||||||
return val.toLocaleString();
|
return val.toLocaleString();
|
||||||
|
|
|
@ -460,12 +460,14 @@ i.hl-menu-bar:last-child {
|
||||||
/*font-style: italic;*/
|
/*font-style: italic;*/
|
||||||
}
|
}
|
||||||
.hl-dropdown .dropdown-menu > li > a:hover,
|
.hl-dropdown .dropdown-menu > li > a:hover,
|
||||||
.hl-dropdown .dropdown-menu > li > a:focus {
|
.hl-dropdown .dropdown-menu > li > a:focus,
|
||||||
|
.hl-dropdown .dropdown-menu > li.active > a {
|
||||||
background-color: #f4f4f4;
|
background-color: #f4f4f4;
|
||||||
color: #222;
|
color: #222;
|
||||||
}
|
}
|
||||||
.dark .hl-dropdown .dropdown-menu > li > a:hover,
|
.dark .hl-dropdown .dropdown-menu > li > a:hover,
|
||||||
.dark .hl-dropdown .dropdown-menu > li > a:focus {
|
.dark .hl-dropdown .dropdown-menu > li > a:focus,
|
||||||
|
.dark .hl-dropdown .dropdown-menu > li.active > a {
|
||||||
background-color: #4D5561;
|
background-color: #4D5561;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
@ -510,6 +512,18 @@ i.hl-menu-bar:last-child {
|
||||||
.hl-dropdown a.dropdown-toggle > .checkbox-item .checkbox:disabled ~ .checkbox-label {
|
.hl-dropdown a.dropdown-toggle > .checkbox-item .checkbox:disabled ~ .checkbox-label {
|
||||||
color: #a8a8a8;
|
color: #a8a8a8;
|
||||||
}
|
}
|
||||||
|
.hl-dropdown .dropdown-menu > li.subitem > a:before {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
width: 7px;
|
||||||
|
height: 5px;
|
||||||
|
margin: 0 10px 0 3px;
|
||||||
|
border: solid #aaa;
|
||||||
|
border-width: 0 0 1px 1px;
|
||||||
|
position: relative;
|
||||||
|
top: -3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.hl-select-dropdown {
|
.hl-select-dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Add table
Reference in a new issue