2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

fix undefined variable, bootrapified operator files , edited styleshits

This commit is contained in:
Alex
2015-09-08 02:26:51 +03:00
parent f36b789908
commit ca8423bd7f
7 changed files with 236 additions and 666 deletions

View File

@@ -1,20 +1,17 @@
function headerexpand()
{
$(".header").css("height","38%");
$(".content").css("height","60%");
$(".content").css("top","40%");
$(".headerexpand").css("top","35%");
$(".content").css("height","63%");
$(".content").css("top","37%");
$(".box:not(.important)").css("display","");
// $(".item_2_half_height").removeClass("item_2_half_height").addClass("item_2_full_height");
$(".item_3_half_height").removeClass("item_3_half_height").addClass("item_3_full_height");
}
function headercontract()
{
$(".header").css("height","13%");
$(".content").css("height","85%");
$(".content").css("top","15%");
$(".headerexpand").css("top","18%");
$(".content").css("height","80%");
$(".content").css("top","20%");
$(".box:not(.important)").css("display","none");
// $(".item_2_full_height").removeClass("item_2_full_height").addClass("item_2_half_height");
$(".item_3_full_height").removeClass("item_3_full_height").addClass("item_3_half_height");
}

View File

@@ -6,20 +6,20 @@ $(document).ready(function(){
function headerforcecontract()
{
$("#headerexpandimage").attr('src',"./images/arrow-down-2.jpg");
$("#headerexpandimage").attr('class',"fa fa-lg fa-fw fa-toggle-down ");
headercontract();
}
function headertogglemanual()
{
if ($("#headerexpandimage").attr('src') == './images/arrow-up-2.jpg')
if ($("#headerexpandimage").attr('class') == 'fa fa-lg fa-fw fa-toggle-up')
{
$("#headerexpandimage").attr('src',"./images/arrow-down-2.jpg");
$("#headerexpandimage").attr('class',"fa fa-lg fa-fw fa-toggle-down");
headercontract();
}
else
{
$("#headerexpandimage").attr('src',"./images/arrow-up-2.jpg");
$("#headerexpandimage").attr('class',"fa fa-lg fa-fw fa-toggle-up");
headerexpand();
}