Added info.html for the contents of the info tab. Added SSI directives in index.html.de. Using XBitHack in server config.

This commit is contained in:
Kasper D. Fischer 2014-06-04 15:40:47 +00:00
parent c858c586cd
commit 142ac10dd0
Notes: subgit 2018-03-07 17:59:01 +01:00
r689 www/trunk
4 changed files with 29 additions and 3 deletions

1
.gitattributes vendored
View File

@ -18,4 +18,5 @@ www/external/prev.png -text
www/external/sprintf.min.js -text
www/external/theme.blue.css -text
www/external/widget-pager.js -text
www/info.html -text
www/logo_RUB_155x30.png -text

5
www/index.html.de Normal file → Executable file
View File

@ -53,6 +53,7 @@
<p>Diese Seite benötigt JavaScript. Bitte schalten Sie JavaScript ein.</p>
<h1>JavaScript disabled!</h1>
<p>This page requires JavaScript to work. Please enable JavaScript.</p>
<!--#include virtual="info.html" -->
</div>
</noscript>
<div class="info" id="tabs">
@ -150,9 +151,9 @@
<p class="table-caption">Download als <a id="stations-csv-link" href="link" download="stations.csv">CSV-Datei</a>.</p>
</div>
<!-- More -->
<div class="tab" id="moretab"></div>
<div class="tab" id="moretab"><!--#include virtual="more.html" --></div>
<!-- Info -->
<div class="tab" id="infotab"></div>
<div class="tab" id="infotab"><!--#include virtual="info.html" --></div>
</div>
<div class="rublogo"><a href="http://www.gmg.ruhr-uni-bochum.de/geophysik/seisobs"><img class="rublogo" src="logo_RUB_155x30.png" alt="Ruhr-Universität Bochum" title="Ruhr-Universität Bochum" border="0"/></a></div>
<div id="map" class="map"></div>

21
www/info.html Normal file
View File

@ -0,0 +1,21 @@
<div id="accordion">
<h3>Links</h3>
<div>
<ul>
<li><a class="intern" href="http://www.gmg.ruhr-uni-bochum.de/geophysik/Seisobs">Seismologisches Observatorium</a> der <a class="intern" href="http://www.rub.de">Ruhr-Universität Bochum</a></li>
<li>Informationen zu Erdbeben
<ul>
<li>in <a class="extern" target="_blank" href="http://www.bgr.bund.de/DE/Themen/Erdbeben-Gefaehrdungsanalysen/Seismologie/Seismologie/Seis-Online/Liste_D_1Jahr/li_d_1jahr_node.html">Deutschland</a> (<a class="extern" target="_blank" href="http://www.bgr.bund.de">BGR Hannover</a>)</li>
<li>in <a class="extern" target="_blank" href="http://www.emsc-csem.org">Europa / Mittelmeerraum</a> (<a class="extern" target="_blank" href="http://www.emsc-csem.org">EMSC</a>)</li>
<li><a class="extern" target="_blank" href="http://geofon.gfz-potsdam.de/eqinfo/seismon/globmon.php">weltweit</a> (<a class="extern" target="_blank" href="http://geofon.gfz-potsdam.de">GEOFON, GFZ Potsdam</a>)</li>
<li>weltweit (USGS)</li>
</ul>
</li>
</ul>
</div>
<h3>Copyright / Lizenz</h3>
<div>
</div>
<h3>Impressum</h3>
<div></div>
</div>

View File

@ -181,9 +181,12 @@ $(document).ready(function() {
// create tabs
var tabOptions = {
active: 0,
disabled: [2, 3],
disabled: [2],
activate: function( event, ui ) { ui['newPanel'].find('table').trigger("update", [true]); },
};
$('#tabs').tabs(tabOptions);
// create accordions
$( '#accordion' ).accordion({heightStyle: 'fill'});
});