0.0.108
This commit is contained in:
@@ -977,4 +977,40 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: 19px;
|
top: 19px;
|
||||||
left: 18px;
|
left: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*subscribe*/
|
||||||
|
|
||||||
|
.state_subscribe{
|
||||||
|
font-size: 16px;
|
||||||
|
color: #000000;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.state_subscribe > a{
|
||||||
|
font-size: 16px;
|
||||||
|
color: #FF613A;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_subscribe{
|
||||||
|
width: 33%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.first-decr-subscribe{
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.price_subscribe{
|
||||||
|
color: #FF613A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.period_subscribe{
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #000000;
|
||||||
}
|
}
|
||||||
@@ -15,7 +15,7 @@ function funcFocus(){
|
|||||||
inp.focus()
|
inp.focus()
|
||||||
}
|
}
|
||||||
} else{
|
} else{
|
||||||
check_new_messages_timeout(60000)
|
check_new_messages_timeout(long_timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,8 @@ function funcFocus(){
|
|||||||
var check_msg = null
|
var check_msg = null
|
||||||
var it = 0
|
var it = 0
|
||||||
|
|
||||||
|
var short_timeout = 5000
|
||||||
|
var long_timeout = 60000
|
||||||
|
|
||||||
// function initial_function (){
|
// function initial_function (){
|
||||||
// var it_set_func = 0
|
// var it_set_func = 0
|
||||||
@@ -33,7 +34,7 @@ var it = 0
|
|||||||
// check_new_messages_timeout(60000,it_set_func,it_func)
|
// check_new_messages_timeout(60000,it_set_func,it_func)
|
||||||
// }
|
// }
|
||||||
|
|
||||||
function check_new_messages_timeout(timeout_time=1000){
|
function check_new_messages_timeout(timeout_time=short_timeout){
|
||||||
|
|
||||||
|
|
||||||
let window = document.querySelector(".container-messages")
|
let window = document.querySelector(".container-messages")
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ function getNewMessageSession(){
|
|||||||
let new_timeout_time;
|
let new_timeout_time;
|
||||||
if (window_messages !== null){
|
if (window_messages !== null){
|
||||||
// check_new_messages(window)
|
// check_new_messages(window)
|
||||||
new_timeout_time = 1000
|
new_timeout_time = short_timeout
|
||||||
} else {
|
} else {
|
||||||
new_timeout_time = 60000
|
new_timeout_time = long_timeout
|
||||||
}
|
}
|
||||||
if (check_msg !== null){
|
if (check_msg !== null){
|
||||||
clearInterval(check_msg)
|
clearInterval(check_msg)
|
||||||
|
|||||||
@@ -1 +1,34 @@
|
|||||||
<div>Моя подписка</div>
|
{% load static %}
|
||||||
|
|
||||||
|
<div class="title-profile-cont">
|
||||||
|
Подписка
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
|
||||||
|
<div class="state_subscribe">
|
||||||
|
У вас <a>не оформлена подписка</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="state_subscribe">
|
||||||
|
Для того, чтобы воспользоваться сервисом - оформите подписку
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="type_of_subscribes">
|
||||||
|
<div class="container_subscribe first">
|
||||||
|
<div class="first-decr-subscribe">
|
||||||
|
<div>
|
||||||
|
Лайт
|
||||||
|
</div>
|
||||||
|
<div class="price_subscribe">
|
||||||
|
2 $
|
||||||
|
</div>
|
||||||
|
<div class="period_subscribe">
|
||||||
|
Период: 24 часа
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user