Skip to content

Commit

Permalink
Address some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ursjoss committed Jan 23, 2024
1 parent a274f25 commit 7118887
Show file tree
Hide file tree
Showing 6 changed files with 324 additions and 324 deletions.
1 change: 1 addition & 0 deletions .github/linters/.htmllintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
head-script-disabled: false
File renamed without changes
118 changes: 59 additions & 59 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
Check_mobile();
if (old_isMobile != glb_isMobile) {
ResetAll();
$('.div_PageContent #div_Menu_Noxen').hide();
$('.div_PageContent_mobile #div_Menu_Noxen').hide();
$('#div_Menu_Sterblichkeit').hide();
$('.div-pagecontent #div-menu-Noxen').hide();
$('.div-pagecontent-mobile #div-menu-Noxen').hide();
$('#div-menu-Sterblichkeit').hide();
$('#img_mensch_empty').attr("usemap", "");
}

Expand All @@ -75,10 +75,10 @@
Set_Organ_Mouseover('Atemwege');
} else {
// Tooltip closing for iPad
$('.div_PageContent').on('click', function () {
$('.div-pagecontent').on('click', function () {
$('img[id^="i_"]').tooltip('close');
});
$('.div_PageContent_mobile').on('click', function () {
$('.div-pagecontent-mobile').on('click', function () {
$('img[id^="i_"]').tooltip('close');
});
}
Expand All @@ -105,27 +105,27 @@

<!-- Desktop Version -->

<div class="div_PageContent">
<div class="div-pagecontent">


<div class="div_Menu">
<div class="div-menu">

<div class="div_Menu_Line">
<div class="div-menu-Line">
<script>
echo('<div class="div_i_Container">');
echo('<img src="graph/ic_info.png" class="ic_info ic_info_top" id="i_Kurzzeit" title="">');
echo('<button class="btn_round btn_round_zeit" onclick="Choose_Zeit(\'K\')" id="btn_Zeit_K">' + Get_UI('btn_Kurzzeit', glb_Lang) + '</button>');
echo('<div class="div-i-container">');
echo('<img src="graph/ic-info.png" class="ic-info ic-info-top" id="i_Kurzzeit" title="">');
echo('<button class="btn-round btn-round-zeit" onclick="Choose_Zeit(\'K\')" id="btn_Zeit_K">' + Get_UI('btn_Kurzzeit', glb_Lang) + '</button>');
echo('</div>');
echo('&nbsp;');
echo('<div class="div_i_Container">');
echo('<img src="graph/ic_info.png" class="ic_info ic_info_top" id="i_Langzeit" title="">');
echo('<button class="btn_round btn_round_zeit" onclick="Choose_Zeit(\'L\')" id="btn_Zeit_L">' + Get_UI('btn_Langzeit', glb_Lang) + '</button>');
echo('<div class="div-i-container">');
echo('<img src="graph/ic-info.png" class="ic-info ic-info-top" id="i_Langzeit" title="">');
echo('<button class="btn-round btn-round-zeit" onclick="Choose_Zeit(\'L\')" id="btn_Zeit_L">' + Get_UI('btn_Langzeit', glb_Lang) + '</button>');
echo('</div>');
</script>
</div>


<div class="div_Menu_Line hidden" id="div_Menu_Noxen" style="left: 295px; top: 12px; text-align: left;">
<div class="div-menu-Line hidden" id="div-menu-Noxen" style="left: 295px; top: 12px; text-align: left;">

<script>
Draw_BtnNoxe('Feinstaub');
Expand All @@ -137,25 +137,25 @@

</div>

</div> <!-- div_Menu -->
</div> <!-- div-menu -->

<img src="graph/ic_tph.png" class="img_LogoTC cursorHand" onclick="window.location.reload()" title="Reset">
<img src="graph/ic_tph.png" class="img-logo-tc cursor-hand" onclick="window.location.reload()" title="Reset">

<div class="div_Main">
<div class="div-main">

<span id="div_Mensch" style="display: inline-block; position: relative; margin-top: 80px;">
<img src="graph/mensch.png" height="1000px" id="img_Mensch">

<img src="graph/sterblichkeit.png" id="img_Organ_Sterblichkeit" height="1000px" class="img_Organ"
<img src="graph/sterblichkeit.png" id="img-organ-Sterblichkeit" height="1000px" class="img_Organ"
style="left: 0px; top: 0px">
<img src="graph/notfaelle.png" id="img_Organ_Notfaelle" height="1000px" class="img_Organ"
<img src="graph/notfaelle.png" id="img-organ-Notfaelle" height="1000px" class="img_Organ"
style="left: 0px; top: 0px">

<img src="graph/nerven.png" id="img_Organ_Nervensystem" class="img_Organ" style="left: 0px; top: 0px">
<img src="graph/herz.png" id="img_Organ_Herz" class="img_Organ" style="left: 1px; top: 0px">
<img src="graph/nerven.png" id="img-organ-Nervensystem" class="img_Organ" style="left: 0px; top: 0px">
<img src="graph/herz.png" id="img-organ-Herz" class="img_Organ" style="left: 1px; top: 0px">

<img src="graph/lunge.png" id="img_Organ_Atemwege" class="img_Organ" style="left: 117px; top: 137px">
<img src="graph/leber.png" id="img_Organ_Stoffwechsel" class="img_Organ" style="left: 123px; top: 327px">
<img src="graph/lunge.png" id="img-organ-Atemwege" class="img_Organ" style="left: 117px; top: 137px">
<img src="graph/leber.png" id="img-organ-Stoffwechsel" class="img_Organ" style="left: 123px; top: 327px">

<img src="graph/mensch_empty.png" style="position: absolute; top: 0; left: 0;" id="img_mensch_empty"
usemap="(set in Choose_Zeit)">
Expand All @@ -175,52 +175,52 @@

</span>

<div class="div_Menu_Sterblichkeit hidden" id="div_Menu_Sterblichkeit">
<div class="div-menu-Sterblichkeit hidden" id="div-menu-Sterblichkeit">
<script>
Draw_BtnOrgan('Sterblichkeit');
Draw_BtnOrgan('Notfaelle');
</script>
</div>


</div> <!-- div_Main -->
</div> <!-- div-main -->

<div class="div_Results">
<div class="div-results">

<script>
Draw_IntroText();
</script>

<div class="margin_bottom" id="div_Results_Atemwege">
<div class="margin-bottom" id="div-results-Atemwege">
</div>

<div class="margin_bottom" id="div_Results_Herz">
<div class="margin-bottom" id="div-results-Herz">
</div>

<div class="margin_bottom" id="div_Results_Nervensystem">
<div class="margin-bottom" id="div-results-Nervensystem">
</div>

<div class="margin_bottom" id="div_Results_Stoffwechsel">
<div class="margin-bottom" id="div-results-Stoffwechsel">
</div>

<div class="margin_bottom" id="div_Results_Sterblichkeit">
<div class="margin-bottom" id="div-results-Sterblichkeit">
</div>

<div class="margin_bottom" id="div_Results_Notfaelle">
<div class="margin-bottom" id="div-results-Notfaelle">
</div>

<script>
Draw_Legende();
</script>


</div> <!-- div_Results -->
</div> <!-- div-results -->

<br><br>

<!-- Untere Buttonleiste -->

<div class="div_Flex_Row">
<div class="div-flex-row">
<script>
Draw_BtnHintergrundInfo('Luftbelastung');
Draw_BtnHintergrundInfo('Grenzwerte');
Expand All @@ -234,34 +234,34 @@

<br><br>

</div> <!-- div_PageContent -->
</div> <!-- div-pagecontent -->


<!-- Mobile Version -->

<div class="div_PageContent_mobile">
<div class="div-pagecontent-mobile">

<img src="graph/ic_tph.png" width="130px" class="cursorHand margin_10" onclick="window.location.reload()"
<img src="graph/ic_tph.png" width="130px" class="cursor-hand margin-10" onclick="window.location.reload()"
title="Reset">
<br><br>

<div class="div_Menu">
<div class="div-menu">

<script>
echo('<div class="div_i_Container">');
echo('<img src="graph/ic_info.png" class="ic_info ic_info_top" id="i_Kurzzeit" title="">');
echo('<button class="btn_round btn_round_zeit" onclick="Choose_Zeit(\'K\')" id="btn_Zeit_K">' + Get_UI('btn_Kurzzeit', glb_Lang) + '</button>');
echo('<div class="div-i-container">');
echo('<img src="graph/ic-info.png" class="ic-info ic-info-top" id="i_Kurzzeit" title="">');
echo('<button class="btn-round btn-round-zeit" onclick="Choose_Zeit(\'K\')" id="btn_Zeit_K">' + Get_UI('btn_Kurzzeit', glb_Lang) + '</button>');
echo('</div>');

echo('<div class="div_i_Container">');
echo('<img src="graph/ic_info.png" class="ic_info ic_info_top" id="i_Langzeit" title="">');
echo('<button class="btn_round btn_round_zeit" onclick="Choose_Zeit(\'L\')" id="btn_Zeit_L">' + Get_UI('btn_Langzeit', glb_Lang) + '</button>');
echo('<div class="div-i-container">');
echo('<img src="graph/ic-info.png" class="ic-info ic-info-top" id="i_Langzeit" title="">');
echo('<button class="btn-round btn-round-zeit" onclick="Choose_Zeit(\'L\')" id="btn_Zeit_L">' + Get_UI('btn_Langzeit', glb_Lang) + '</button>');
echo('</div>');
</script>

<br>

<div class="div_Menu_Line hidden" id="div_Menu_Noxen" style="">
<div class="div-menu-Line hidden" id="div-menu-Noxen" style="">

<script>
Draw_BtnNoxe('Feinstaub', true);
Expand All @@ -284,10 +284,10 @@

</div>

</div> <!-- div_Menu -->
</div> <!-- div-menu -->


<div class="div_Results">
<div class="div-results">

<script>
Draw_IntroText();
Expand All @@ -297,36 +297,36 @@
<img src="graph/mensch.png" height="400px" id="img_Mensch_mobile"></img><br>
</div>

<div class="margin_bottom" id="div_Results_Atemwege">
<div class="margin-bottom" id="div-results-Atemwege">
</div>

<div class="margin_bottom" id="div_Results_Herz">
<div class="margin-bottom" id="div-results-Herz">
</div>

<div class="margin_bottom" id="div_Results_Nervensystem">
<div class="margin-bottom" id="div-results-Nervensystem">
</div>

<div class="margin_bottom" id="div_Results_Stoffwechsel">
<div class="margin-bottom" id="div-results-Stoffwechsel">
</div>

<div class="margin_bottom" id="div_Results_Sterblichkeit">
<div class="margin-bottom" id="div-results-Sterblichkeit">
</div>

<div class="margin_bottom" id="div_Results_Notfaelle">
<div class="margin-bottom" id="div-results-Notfaelle">
</div>

<script>
Draw_Legende();
</script>

<div class="pad_10 margin_bottom" id="div_Results_Zusatzinfo">
<div class="pad-10 margin-bottom" id="div-results-Zusatzinfo">
</div>
</div> <!-- div_Results -->
</div> <!-- div-results -->

<br><br>

<!-- Untere Buttonleiste -->
<div class="div_Flex_Row">
<div class="div-flex-row">
<script>
Draw_BtnHintergrundInfo('Luftbelastung', true);
Draw_BtnHintergrundInfo('Grenzwerte', true);
Expand All @@ -337,12 +337,12 @@
Draw_BtnHintergrundInfo('Impressum', true);
</script>

<div class="div_HintergrundInfo" id="div_HintergrundInfo">
<div class="div-hintergrund-info" id="div-hintergrund-info">
</div>
</div>
<br><br>

</div> <!-- div_PageContent_mobile -->
</div> <!-- div-pagecontent-mobile -->


<div class="div_Popup_modal modal" id="div_Popup_modal">
Expand Down
Loading

0 comments on commit 7118887

Please sign in to comment.