mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 23:38:26 +01:00
Update content of files
This commit is contained in:
parent
98c09f05c4
commit
5a9118138a
8 changed files with 122 additions and 19 deletions
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -103,14 +103,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -103,14 +103,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
openPopup('#login-popup-container');
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -103,14 +103,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -3022,6 +3022,63 @@ a.ad-declined:focus {
|
|||
color: #999;
|
||||
}
|
||||
|
||||
.pr-radio-buttons {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
.pr-radio-buttons {
|
||||
padding: 4px 0;
|
||||
margin: 0 -5px;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
.pr-radio-button {
|
||||
display: block;
|
||||
margin: 0 5px;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
.pr-radio-button > input.radio {
|
||||
position: absolute;
|
||||
top: -100px;
|
||||
}
|
||||
.pr-radio-button > .pr-radio-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
font-weight: 600;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
padding: 6px 15px;
|
||||
box-shadow: inset 0 0 0 1px #d9d9d9;
|
||||
background-color: transparent;
|
||||
transition: all .2s ease;
|
||||
text-transform: none;
|
||||
color: var(--text-color);
|
||||
border-radius: 6px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.pr-radio-button > .pr-radio-btn:active:hover {
|
||||
box-shadow: inset 0 0 0 1px #d9d9d9;
|
||||
}
|
||||
.pr-radio-button > input.radio:checked ~ .pr-radio-btn {
|
||||
box-shadow: inset 0 0 0 1px var(--accent-color);
|
||||
background-color: var(--accent-color);
|
||||
color: #fff;
|
||||
}
|
||||
.pr-radio-buttons[disabled] .pr-radio-button > .pr-radio-btn,
|
||||
.pr-radio-button > .pr-radio-btn[disabled] {
|
||||
opacity: 1;
|
||||
color: rgb(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
.pr-pagination {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
@ -3439,6 +3496,7 @@ a.ad-declined:focus {
|
|||
flex-grow: 1;
|
||||
width: 1px;
|
||||
}
|
||||
.pr-decline-block-actions .pr-decline-block-btn,
|
||||
.pr-review-ad-buttons .pr-decline-buttons .pr-decl-btn {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
|
@ -3454,6 +3512,12 @@ a.ad-declined:focus {
|
|||
background-color: rgba(204, 63, 63, .2);
|
||||
box-shadow: inset 0 0 0 0 rgba(0,0,0,.14);
|
||||
}
|
||||
.pr-decline-block-actions .pr-decline-block-btn {
|
||||
margin: 7px 0 2px;
|
||||
}
|
||||
.pr-decline-block-actions .pr-decline-block-btn:hover {
|
||||
background-color: rgba(192, 192, 192, .2);
|
||||
}
|
||||
.pr-review-ad-buttons .pr-decline-buttons > .review-btn {
|
||||
flex-grow: 1;
|
||||
width: 1px;
|
||||
|
@ -3639,6 +3703,7 @@ body.rtl .pr-review-ad-buttons .btn.dropdown-toggle:after {
|
|||
}
|
||||
.pr-decline-block {
|
||||
margin: 25px 13px 0px;
|
||||
transition: all .2s ease;
|
||||
}
|
||||
.pr-info-block:before,
|
||||
.pr-decline-block:before {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -224,14 +224,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -250,14 +250,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.initDevPageNav&&initDevPageNav();
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
|
|
|
@ -1226,6 +1226,7 @@ var NewAd = {
|
|||
$form.field('website_photo').value(),
|
||||
$form.field('ad_info').value(),
|
||||
$form.field('cpm').value(),
|
||||
$form.field('views_per_user').value(),
|
||||
$form.field('budget').value(),
|
||||
$form.field('target_type').value()
|
||||
];
|
||||
|
@ -1274,6 +1275,7 @@ var NewAd = {
|
|||
var website_photo = $form.field('website_photo').value();
|
||||
var ad_info = $form.field('ad_info').value();
|
||||
var cpm = Ads.amountFieldValue($form, 'cpm');
|
||||
var views_per_user = $form.field('views_per_user').value();
|
||||
var budget = Ads.amountFieldValue($form, 'budget');
|
||||
var target_type = $form.field('target_type').value();
|
||||
|
||||
|
@ -1306,6 +1308,7 @@ var NewAd = {
|
|||
website_photo: website_photo,
|
||||
ad_info: ad_info,
|
||||
cpm: cpm,
|
||||
views_per_user: views_per_user,
|
||||
budget: budget,
|
||||
target_type: target_type
|
||||
};
|
||||
|
@ -1365,6 +1368,7 @@ var NewAd = {
|
|||
var website_photo = $form.field('website_photo').value();
|
||||
var ad_info = $form.field('ad_info').value();
|
||||
var cpm = Ads.amountFieldValue($form, 'cpm');
|
||||
var views_per_user = $form.field('views_per_user').value();
|
||||
var budget = Ads.amountFieldValue($form, 'budget');
|
||||
var target_type = $form.field('target_type').value();
|
||||
|
||||
|
@ -1381,6 +1385,7 @@ var NewAd = {
|
|||
website_photo: website_photo,
|
||||
ad_info: ad_info,
|
||||
cpm: cpm,
|
||||
views_per_user: views_per_user,
|
||||
budget: budget,
|
||||
target_type: target_type
|
||||
};
|
||||
|
@ -2302,6 +2307,7 @@ var EditAd = {
|
|||
cont.on('change.curPage', '.js-promote-photo > .file-upload', NewAd.eUploadPromotePhoto);
|
||||
cont.on('click.curPage', '.edit-ad-btn', EditAd.eSubmitForm);
|
||||
cont.on('click.curPage', '.js-clone-ad-btn', EditAd.eCloneAd);
|
||||
cont.on('click.curPage', '.js-send-to-review-btn', EditAd.eSendToReview);
|
||||
cont.on('click.curPage', '.delete-ad-btn', EditAd.deleteAd);
|
||||
cont.on('click.curPage', '.pr-form-select', EditAd.eSelectPlaceholder);
|
||||
state.titleField = state.$form.field('title');
|
||||
|
@ -2354,6 +2360,7 @@ var EditAd = {
|
|||
$form.field('website_name').value(),
|
||||
$form.field('website_photo').value(),
|
||||
$form.field('cpm').value(),
|
||||
$form.field('views_per_user').value()
|
||||
];
|
||||
return values.join('|');
|
||||
},
|
||||
|
@ -2702,6 +2709,7 @@ var EditAd = {
|
|||
var website_photo = $form.field('website_photo').value();
|
||||
var ad_info = $form.field('ad_info').value();
|
||||
var cpm = Ads.amountFieldValue($form, 'cpm');
|
||||
var views_per_user = $form.field('views_per_user').value();
|
||||
|
||||
if (!title.length) {
|
||||
$form.field('title').focus();
|
||||
|
@ -2728,7 +2736,8 @@ var EditAd = {
|
|||
website_name: website_name,
|
||||
website_photo: website_photo,
|
||||
ad_info: ad_info,
|
||||
cpm: cpm
|
||||
cpm: cpm,
|
||||
views_per_user: views_per_user
|
||||
};
|
||||
if ($form.field('picture').prop('checked')) {
|
||||
params.picture = 1;
|
||||
|
@ -2753,6 +2762,35 @@ var EditAd = {
|
|||
});
|
||||
return false;
|
||||
},
|
||||
eSendToReview: function(e) {
|
||||
e.preventDefault();
|
||||
var $button = $(this);
|
||||
if ($button.prop('disabled')) {
|
||||
return false;
|
||||
}
|
||||
var $item = $button.parents('li');
|
||||
var ad_id = Aj.state.adId;
|
||||
if ($item.size()) {
|
||||
$item.parents('.open').find('.dropdown-toggle').dropdown('toggle');
|
||||
ad_id = $(this).parents('[data-ad-id]').attr('data-ad-id');
|
||||
}
|
||||
var params = {
|
||||
owner_id: Aj.state.ownerId,
|
||||
ad_id: ad_id
|
||||
};
|
||||
$button.prop('disabled', true);
|
||||
Aj.apiRequest('sendTargetToReview', params, function(result) {
|
||||
$button.prop('disabled', false);
|
||||
if (result.error) {
|
||||
return showAlert(result.error);
|
||||
}
|
||||
if (result.toast) {
|
||||
showToast(result.toast);
|
||||
}
|
||||
$button.parents('.pr-decline-block').slideHide('remove');
|
||||
});
|
||||
return false;
|
||||
},
|
||||
eCloneAd: function(e) {
|
||||
e.preventDefault();
|
||||
var $button = $(this);
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?75" rel="stylesheet">
|
||||
<link href="/css/promote.css?77" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -157,14 +157,14 @@
|
|||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/main.js?47"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?68"></script>
|
||||
<script src="/js/promote.js?70"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
<script src="/js/tgsticker.js?31"></script>
|
||||
|
||||
<script>ajInit({"version":958,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":962,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
Loading…
Reference in a new issue