Update content of files

This commit is contained in:
GitHub Action 2022-04-12 22:22:26 +00:00
parent b28ae06400
commit ba01d82bbb
6 changed files with 37 additions and 33 deletions

View file

@ -208,7 +208,7 @@
</div><div class="tr-section-col col-lg-4 col-xs-6">
<div class="tr-section-wrap"><a href="/en/android/settings/" class="tr-section">
<div class="tr-section-cover cover7"></div>
<div class="tr-section-caption">Settings (965)</div>
<div class="tr-section-caption">Settings (966)</div>
</a></div>
</div><div class="tr-section-col col-lg-4 col-xs-6">
<div class="tr-section-wrap"><a href="/en/android/camera_and_media/" class="tr-section">
@ -233,7 +233,7 @@
</div><div class="tr-section-col col-lg-4 col-xs-6">
<div class="tr-section-wrap"><a href="/en/android/unsorted/" class="tr-section">
<div class="tr-section-cover cover0"></div>
<div class="tr-section-caption">Unsorted (633)</div>
<div class="tr-section-caption">Unsorted (632)</div>
</a></div>
</div>
</section></section>

View file

@ -12531,6 +12531,19 @@
<div class="tr-value-suggestions">
</div>
</div>
</div>
</div><div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/settings/SoundNameEmpty" data-langpack="android" data-section="settings" data-key="SoundNameEmpty">
<div class="tr-value-media"><a class="tr-value-photo bg-image key-layer" style="background-image:url('https://telegra.ph/file/p/11c8231311d/de462d48214ccc1494c5817.jpg?c=72,152,282,282,280,280');" href="/screenshots/10989/phrase/SoundNameEmpty" data-layer><div class="screenshot-key" style="padding:21px 14px 98px 6px;"><div class="key-box"></div></div></a></div>
<div class="tr-value-body">
<div class="tr-value-default"><a class="tr-value-link" href="/en/android/settings/SoundNameEmpty"><span class="p-value"><span class="value">Message dated <mark class="token">%s</mark></span></span></a></div>
<div class="tr-value-key">SoundNameEmpty</div>
<div class="tr-value-suggestions">
</div>
</div>
</div>

View file

@ -112,19 +112,6 @@
<div class="tr-value-suggestions">
</div>
</div>
</div>
</div><div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/SoundNameEmpty" data-langpack="android" data-section="unsorted" data-key="SoundNameEmpty">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
<div class="tr-value-default"><a class="tr-value-link" href="/en/android/unsorted/SoundNameEmpty"><span class="p-value"><span class="value">Message dated <mark class="token">%s</mark></span></span></a></div>
<div class="tr-value-key">SoundNameEmpty</div>
<div class="tr-value-suggestions">
</div>
</div>
</div>
@ -2598,8 +2585,7 @@
</div>
</div>
</div>
</div><div class="tr-load-more load-more" data-offset="200"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
</div><div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/StartsDayAt" data-langpack="android" data-section="unsorted" data-key="StartsDayAt">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
@ -2612,7 +2598,8 @@
</div>
</div>
</div>
</div><div class="tr-key-row-wrap">
</div><div class="tr-load-more load-more" data-offset="200"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/StartsDayYearAt" data-langpack="android" data-section="unsorted" data-key="StartsDayYearAt">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
@ -5199,8 +5186,7 @@
</div>
</div>
</div>
</div><div class="tr-load-more load-more" data-offset="400"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
</div><div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/FilterShowMoreChats" data-langpack="android" data-section="unsorted" data-key="FilterShowMoreChats">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
@ -5213,7 +5199,8 @@
</div>
</div>
</div>
</div><div class="tr-key-row-wrap">
</div><div class="tr-load-more load-more" data-offset="400"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/FilterRemoveExclusionTitle" data-langpack="android" data-section="unsorted" data-key="FilterRemoveExclusionTitle">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
@ -7800,8 +7787,7 @@
</div>
</div>
</div>
</div><div class="tr-load-more load-more" data-offset="600"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
</div><div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/ChatsSelectedClear" data-langpack="android" data-section="unsorted" data-key="ChatsSelectedClear">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">
@ -7814,7 +7800,8 @@
</div>
</div>
</div>
</div><div class="tr-key-row-wrap">
</div><div class="tr-load-more load-more" data-offset="600"><a class="btn btn-default load-more-btn">Load More</a></div>
<div class="tr-key-row-wrap">
<div class="tr-key-row" data-href="/en/android/unsorted/MasksCount" data-langpack="android" data-section="unsorted" data-key="MasksCount">
<div class="tr-value-media"><div class="tr-value-photo"></div></div>
<div class="tr-value-body">

View file

@ -17,7 +17,7 @@
Telegram.WebApp.onEvent('themeChanged', setThemeClass);
setThemeClass();
</script>
<link href="/css/cafe.css?15" rel="stylesheet">
<link href="/css/cafe.css?16" rel="stylesheet">
</head>
<body style="display:none">
<section class="cafe-page cafe-items">
@ -441,7 +441,7 @@
</div>
<script src="https://tg.dev/js/jquery.min.js"></script>
<script src="https://tg.dev/js/tgsticker.js?27"></script>
<script src="/js/cafe.js?15"></script>
<script src="/js/cafe.js?16"></script>
<script>Cafe.init({"apiUrl":"\/cafe\/api","userId":0,"userHash":null});</script>
</body>
</html>

View file

@ -81,9 +81,8 @@ body.order-mode .cafe-items {
.cafe-item-shadow {
position: relative;
width: 120px;
height: 144px;
padding: 4px 5px 6px;
margin-bottom: 15px;
height: 159px;
padding: 4px 5px 21px;
box-sizing: border-box;
text-align: center;
}
@ -346,7 +345,6 @@ body.order-mode .cafe-order-overview {
.cafe-order-item-description {
font-size: 14px;
line-height: 17px;
font-weight: 500;
-webkit-font-smoothing: antialiased;
color: var(--page-hint-color);
padding: 2px 0;
@ -365,7 +363,6 @@ body.order-mode .cafe-order-overview {
font-family: var(--default-font);
font-size: 17px;
line-height: 21px;
font-weight: 500;
-webkit-font-smoothing: antialiased;
padding: 12px 20px 13px;
box-sizing: border-box;
@ -402,9 +399,8 @@ body.order-mode .cafe-order-overview {
font-family: var(--default-font);
font-size: 14px;
line-height: 18px;
font-weight: 500;
-webkit-font-smoothing: antialiased;
padding: 10px 20px 14px;
padding: 10px 20px 24px;
color: var(--hint-color);
}

View file

@ -179,6 +179,10 @@
Data passed to webview.
<span id="webview_data_status" style="display: none;">Checking hash...</span>
</div>
<pre><code id="theme_data"></code></pre>
<div class="hint">
Theme params
</div>
</section>
<div class="viewport_border"></div>
<div class="viewport_stable_border"></div>
@ -323,11 +327,15 @@ function requestAudio(el) {
return false;
}
Telegram.WebApp.onEvent('themeChanged', function() {
$('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2));
});
$('#main_btn').toggle(!!WebAppData.query_id);
$('#with_webview_btn').toggle(!!WebAppData.query_id && !WebAppData.receiver);
// $('#data_btn').toggle(!WebAppData.query_id || !WebAppData.receiver);
$('#webview_data').html(JSON.stringify(WebAppData, null, 2));
$('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2));
$('#regular_link').attr('href', $('#regular_link').attr('href') + location.hash);
$('#text_field').focus();
if (WebAppData.query_id && WebAppDataRaw) {