[PATCH] Use SSIs in contact page
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 20 13:30:47 CET 2014
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1395318641 -3600
# Node ID 0c0eefd9041a692153e3e43bbf569ed5de0889bb
# Parent 121bdb6ab99e4ce3b2e7f55679978ba004788230
Use SSIs in contact page.
diff -r 121bdb6ab99e -r 0c0eefd9041a contact.html
--- a/contact.html Tue Mar 18 12:29:26 2014 +0100
+++ b/contact.html Thu Mar 20 13:30:41 2014 +0100
@@ -6,6 +6,8 @@
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="Ariane Brörmann">
+
+ <script src="https://code.jquery.com/jquery.js"></script>
<!-- Bootstrap -->
<link href="bootstrap-3.1.0/dist/css/bootstrap.min.css" rel="stylesheet">
@@ -15,6 +17,11 @@
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
+ <script src="js/dive4elements.js"></script>
+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
@@ -24,82 +31,11 @@
</head>
<body>
<div class="container">
-
- <!-- Static navbar -->
- <div class="navbar navbar-default" role="navigation">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="index.html"><strong>D4E</strong></a>
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav navbar-right">
- <li><a href="#"><span class="glyphicon glyphicon-cog"> Demoversion</span></a></li>
- <li><a href="http://wald.intevation.org/scm/?group_id=57"><span class="glyphicon glyphicon-folder-open"> SCM-Repository</span></a></li>
- <li><a href="http://lists.wald.intevation.org/mailman/listinfo/dive4elements-commits"><span class="glyphicon glyphicon-pencil"> Mailinglist</span></a></li>
- <li class="active"><a href="contact.html"><span class="glyphicon glyphicon-envelope"> Kontakt</span></a></li>
- </ul>
- </div>
- </div><!-- /navbar -->
-
- <div class="row row-dive4elements">
- <div class="col-md-6">
- <address>
- <strong>Intevation GmbH</strong>
- <br />Neuer Graben 17
- <br />49074 Osnabrück, Deutschland
- <br />Telefon: +49-541-33 50 83 - 0
- <br />Fax: +49-541-33 50 83 - 99
- </address>
- <address>Registereintrag:
- <br />HR B 18998
- <br />Amtsgericht Osnabrück
- </address>
- <address>Homepage: <a href="http://www.intevation.de">www.intevation.de</a>
- <br />E-Mail-Adresse: <a href="mailto:geospatial at intevation.de">geospatial at intevation.de</a>
- </address>
- <p>Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner</p>
- </div>
- <div class="col-md-6">
- <!-- Anfahrtskizze -->
- <div style="height:250px; align:right" id="map"></div>
- <script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
- <script>
- var map = L.map('map').setView([52.271987, 8.046263], 17);
-
- L.tileLayer.wms('http://osm.intevation.de/cgi-bin/standard.fcgi?', {
- layers: 'OSM-WMS-Dienst',
- format: 'image/png',
- attribution: 'Map data © <a href="http://openstreetmap.org">'
- + 'OpenStreetMap</a>'
- + '<a href="http://creativecommons.org/licenses/by-sa/2.0/">'
- + ' (CC-BY-SA 2.0)</a>'
- }).addTo(map);
- // Disable attribution leaflet prefix
- map.attributionControl.setPrefix(false);
- L.marker([52.271987, 8.046263]).addTo(map)
- .bindPopup('Intevation')
- .openPopup();
- </script>
- </div>
- </div><!-- ./row -->
- <div class="footer">
- © 2014 Intevation GmbH <br />
- Dive4Elements ist lizensiert unter der <a href=
- "http://www.gnu.org/licenses/lgpl-2.1.html">GNU LGPL v2.1</a>.
- </div><!-- /footer -->
- </div><!-- ./container -->
-
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
- <script src="https://code.jquery.com/jquery.js"></script>
- <!-- Include all compiled plugins (below), or include individual files as needed -->
- <script src="bootstrap-3.1.0/dist/js/bootstrap.min.js"></script>
- <script src="js/dive4elements.js"></script>
+ <!--#include file="header.html" -->
+ <div class="row row-dive4elements row-dive4elements-right">
+ <!--#include file="contact_body.html" -->
+ </div><!-- /row -->
+ <!--#include file="footer.html" -->
+ </div> <!-- /container -->
</body>
</html>
diff -r 121bdb6ab99e -r 0c0eefd9041a contact_body.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/contact_body.html Thu Mar 20 13:30:41 2014 +0100
@@ -0,0 +1,41 @@
+<div class="row row-dive4elements">
+ <div class="col-md-6">
+ <address>
+ <strong>Intevation GmbH</strong>
+ <br />Neuer Graben 17
+ <br />49074 Osnabrück, Deutschland
+ <br />Telefon: +49-541-33 50 83 - 0
+ <br />Fax: +49-541-33 50 83 - 99
+ </address>
+ <address>Registereintrag:
+ <br />HR B 18998
+ <br />Amtsgericht Osnabrück
+ </address>
+ <address>Homepage: <a href="http://www.intevation.de">www.intevation.de</a>
+ <br />E-Mail-Adresse: <a href="mailto:geospatial at intevation.de">geospatial at intevation.de</a>
+ </address>
+ <p>Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner</p>
+ </div>
+ <div class="col-md-6">
+ <!-- Anfahrtskizze -->
+ <div style="height:250px; align:right" id="map"></div>
+ <script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
+ <script>
+ var map = L.map('map').setView([52.271987, 8.046263], 17);
+
+ L.tileLayer.wms('http://osm.intevation.de/cgi-bin/standard.fcgi?', {
+ layers: 'OSM-WMS-Dienst',
+ format: 'image/png',
+ attribution: 'Map data © <a href="http://openstreetmap.org">'
+ + 'OpenStreetMap</a>'
+ + '<a href="http://creativecommons.org/licenses/by-sa/2.0/">'
+ + ' (CC-BY-SA 2.0)</a>'
+ }).addTo(map);
+ // Disable attribution leaflet prefix
+ map.attributionControl.setPrefix(false);
+ L.marker([52.271987, 8.046263]).addTo(map)
+ .bindPopup('Intevation')
+ .openPopup();
+ </script>
+ </div>
+</div>
More information about the Dive4Elements-commits
mailing list