balance text cant be seen on mobile version
This commit is contained in:
@@ -371,18 +371,14 @@ table.log tr.delete:hover {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.balance_text {
|
.diary_header .balance_text {
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.diary_header span {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.diary_header {
|
.diary_header {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
width: 35%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -477,8 +473,12 @@ table.log tr.delete:hover {
|
|||||||
margin: 20px;
|
margin: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diary_header span {
|
.diary_header {
|
||||||
display: inline;
|
width: 35%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.diary_header .balance_text {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,13 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.diary_header .active_header {
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 999px) {
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1249px) {
|
||||||
.side_block {
|
.side_block {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,10 @@
|
|||||||
<span onclick="block_action('block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}');" class="date_separator clickable">{$actions[$action@index]->get_de_training()->get_tr_date()|substr:0:4}.
|
<span onclick="block_action('block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}');" class="date_separator clickable">{$actions[$action@index]->get_de_training()->get_tr_date()|substr:0:4}.
|
||||||
{$months[$actions[$action@index]->get_de_training()->get_tr_date()|substr:5:2]}
|
{$months[$actions[$action@index]->get_de_training()->get_tr_date()|substr:5:2]}
|
||||||
({$user_login->get_training_number_in_month({$action->get_de_training()->get_tr_date()|substr:0:4},{$action->get_de_training()->get_tr_date()|substr:5:2})} edzés)
|
({$user_login->get_training_number_in_month({$action->get_de_training()->get_tr_date()|substr:0:4},{$action->get_de_training()->get_tr_date()|substr:5:2})} edzés)
|
||||||
<img src="/_image/open_folder.png" onclick="block_action('block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}');">
|
<div class="diary_header">
|
||||||
|
<span class="balance_text" id="balance_text_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}">Egyenleg</span>
|
||||||
|
<img src="/_image/open_folder.png">
|
||||||
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div id="block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}" class="month_block">
|
<div id="block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}" class="month_block">
|
||||||
|
|
||||||
@@ -28,8 +31,8 @@
|
|||||||
{$months[$actions[$action@index]->get_de_training()->get_tr_date()|substr:5:2]}
|
{$months[$actions[$action@index]->get_de_training()->get_tr_date()|substr:5:2]}
|
||||||
({$user_login->get_training_number_in_month({$action->get_de_training()->get_tr_date()|substr:0:4},{$action->get_de_training()->get_tr_date()|substr:5:2})} edzés)
|
({$user_login->get_training_number_in_month({$action->get_de_training()->get_tr_date()|substr:0:4},{$action->get_de_training()->get_tr_date()|substr:5:2})} edzés)
|
||||||
<div class="diary_header">
|
<div class="diary_header">
|
||||||
<span class="balance_text">Egyenleg</span>
|
<span class="balance_text" id="balance_text_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}">Egyenleg</span>
|
||||||
<img src="/_image/open_folder.png" onclick="block_action('block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}');">
|
<img src="/_image/open_folder.png">
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div id="block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}" class="month_block">
|
<div id="block_{$action->get_de_training()->get_tr_date()|substr:0:4}{$action->get_de_training()->get_tr_date()|substr:5:2}" class="month_block">
|
||||||
@@ -139,10 +142,14 @@
|
|||||||
|
|
||||||
function open_block(block_id) {
|
function open_block(block_id) {
|
||||||
$("#"+block_id).slideDown("slow");
|
$("#"+block_id).slideDown("slow");
|
||||||
|
$("#balance_text_"+block_id.substr(-6)).addClass('active_header');
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function close_block(block_id) {
|
function close_block(block_id) {
|
||||||
$("#"+block_id).slideUp("slow");
|
$("#"+block_id).slideUp("slow");
|
||||||
|
$("#balance_text_"+block_id.substr(-6)).removeClass('active_header');
|
||||||
}
|
}
|
||||||
|
|
||||||
function block_action(block_id) {
|
function block_action(block_id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user