|
| 1 | +#encoding UTF-8 |
| 2 | +## +-------------------------------------------------------------------------+ |
| 3 | +## | footer.inc Footer section for all templates | |
| 4 | +## +-------------------------------------------------------------------------+ |
| 5 | + |
| 6 | +<footer class="page-footer font-small $Extras.color pt-4"> |
| 7 | + |
| 8 | + ## Footer Links |
| 9 | + <div class="container-fluid text-center text-md-left mb-4"> |
| 10 | + |
| 11 | + ## Grid row |
| 12 | + <div class="row"> |
| 13 | + |
| 14 | + ## Grid column |
| 15 | + <div class="col-md-6 mt-md-0 mt-3"> |
| 16 | + |
| 17 | + ## Content |
| 18 | + <h5 class="text-uppercase">$Extras.Translations[$Extras.language].about</h5> |
| 19 | + |
| 20 | + <table class="d-inline"> |
| 21 | + <tr> |
| 22 | + <td>$Extras.Translations[$Extras.language].hardware:</td> |
| 23 | + <td>$station.hardware</td> |
| 24 | + </tr> |
| 25 | + <tr> |
| 26 | + <td>$Extras.Translations[$Extras.language].altitude:</td> |
| 27 | + <td>$station.altitude</td> |
| 28 | + </tr> |
| 29 | + #if $Extras.Footer.show_telemetry == "yes" |
| 30 | + <tr> |
| 31 | + <td> |
| 32 | + <a href="telemetry.html"> |
| 33 | + $Extras.Translations[$Extras.language].telemetry |
| 34 | + </a> |
| 35 | + </td> |
| 36 | + <td></td> |
| 37 | + </tr> |
| 38 | + #end if |
| 39 | + </table> |
| 40 | + |
| 41 | + #if $Extras.Footer.about is not "" |
| 42 | + <p>$Extras.Footer.about</p> |
| 43 | + #end if |
| 44 | + |
| 45 | + </div> |
| 46 | + ## Grid column |
| 47 | + |
| 48 | + <hr class="clearfix w-100 d-md-none pb-3"> |
| 49 | + |
| 50 | + ## Grid column |
| 51 | + <div class="col-md-3 mb-md-0 mb-3"> |
| 52 | + |
| 53 | + #if $Extras.Footer.box_title is not "" |
| 54 | + <h5 class="text-uppercase">$Extras.Footer.box_title</h5> |
| 55 | + #end if |
| 56 | + |
| 57 | + #if $Extras.Footer.box_content is not "" |
| 58 | + <p>$Extras.Footer.box_content</p> |
| 59 | + #end if |
| 60 | + </div> |
| 61 | + ## Grid column |
| 62 | + |
| 63 | + ## Grid column |
| 64 | + <div class="col-md-3 mb-md-0 mb-3"> |
| 65 | + |
| 66 | + ## Links |
| 67 | + <h5 class="text-uppercase">$Extras.Translations[$Extras.language].links</h5> |
| 68 | + |
| 69 | + <ul class="list-unstyled"> |
| 70 | + #if $Extras.Footer.link1_url is not "" |
| 71 | + <li> |
| 72 | + <a href="$Extras.Footer.link1_url" target="_blank" rel="noopener">$Extras.Footer.link1_label</a> |
| 73 | + </li> |
| 74 | + #end if |
| 75 | + #if $Extras.Footer.link2_url is not "" |
| 76 | + <li> |
| 77 | + <a href="$Extras.Footer.link2_url" target="_blank" rel="noopener">$Extras.Footer.link2_label</a> |
| 78 | + </li> |
| 79 | + #end if |
| 80 | + #if $Extras.Footer.link3_url is not "" |
| 81 | + <li> |
| 82 | + <a href="$Extras.Footer.link3_url" target="_blank" rel="noopener">$Extras.Footer.link3_label</a> |
| 83 | + </li> |
| 84 | + #end if |
| 85 | + #if $Extras.Footer.link4_url is not "" |
| 86 | + <li> |
| 87 | + <a href="$Extras.Footer.link4_url" target="_blank" rel="noopener">$Extras.Footer.link4_label</a> |
| 88 | + </li> |
| 89 | + #end if |
| 90 | + </ul> |
| 91 | + |
| 92 | + </div> |
| 93 | + ## Grid column |
| 94 | + |
| 95 | + </div> |
| 96 | + ## Grid row |
| 97 | + |
| 98 | + </div> |
| 99 | + ## Footer Links |
| 100 | + |
| 101 | + ## Copyright |
| 102 | + <div class="footer-copyright text-center py-3"> |
| 103 | + © $current.dateTime.format("%Y") $Extras.Footer.name |
| 104 | + |
| 105 | + #if $Extras.Footer.support_weewx == "yes" |
| 106 | + <span class="mx-2">•</span> |
| 107 | + Powered by <a href="https://weewx.com" target="_blank">weewx</a> |
| 108 | + #if $Extras.Footer.show_version == "yes" |
| 109 | + v$station.version |
| 110 | + #end if |
| 111 | + #end if |
| 112 | + |
| 113 | + #if $Extras.Footer.support_skin == "yes" |
| 114 | + <span class="mx-2">•</span> |
| 115 | + <a href="https://neoground.com/projects/neowx-material" target="_blank">NeoWX Material</a> skin |
| 116 | + #if $Extras.Footer.show_version == "yes" |
| 117 | + v$Extras.version |
| 118 | + #end if |
| 119 | + #end if |
| 120 | + |
| 121 | + #if $Extras.Footer.imprint_url is not "" |
| 122 | + <span class="mx-2">•</span> |
| 123 | + <a href="$Extras.Footer.imprint_url" target="_blank">$Extras.Footer.imprint_label</a> |
| 124 | + #end if |
| 125 | + #if $Extras.Footer.privacy_url is not "" |
| 126 | + <span class="mx-2">•</span> |
| 127 | + <a href="$Extras.Footer.privacy_url" target="_blank">$Extras.Footer.privacy_label</a> |
| 128 | + #end if |
| 129 | + </div> |
| 130 | + ## Copyright |
| 131 | + |
| 132 | +</footer> |
0 commit comments