Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for embedded header: the new css framework always need a headline, which is the location for the search input frame. The new embedded header is a clone of the simpleHeader with removed menus and without a link to the index administration.

orbiterb87a94da56cb
diff --git a/htroot/env/templates/embeddedfooter.template b/htroot/env/templates/embeddedfooter.template
index f2487fc41..df2db797f 100644
--- a/htroot/env/templates/embeddedfooter.template
+++ b/htroot/env/templates/embeddedfooter.template
@@ -1,6 +1,3 @@
+ </div>
+ </div>
</div>
-
-<!-- Bootstrap core JavaScript, Placed at the end of the document so the pages load faster -->
-<script src="env/bootstrap/js/jquery.min.js"></script>
-<script src="/env/bootstrap/js/bootstrap.min.js"></script>
-<script src="/env/bootstrap/js/docs.min.js"></script>
diff --git a/htroot/env/templates/embeddedheader.template b/htroot/env/templates/embeddedheader.template
index 426699265..899dfc49f 100644
--- a/htroot/env/templates/embeddedheader.template
+++ b/htroot/env/templates/embeddedheader.template
@@ -1 +1,14 @@
-<div style="clear:left; padding:10px; padding-top:2px;">
+<!-- top navigation -->
+<div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container-fluid">
+ <div class="navbar-header">
+ <a class="navbar-brand" id="navbar-brand" href="/" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
+ <img id="greeting-icon" class="yacylogo" src="/env/grafics/yacy.png" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle">&nbsp;<span id="greeting"></span>
+ </a>
+ </div>
+ </div>
+</div>
+
+<div class="container-fluid">
+ <div class="starter-template">
+
\ No newline at end of file
diff --git a/htroot/env/templates/simplefooter.template b/htroot/env/templates/simplefooter.template
index f2487fc41..a1a884661 100644
--- a/htroot/env/templates/simplefooter.template
+++ b/htroot/env/templates/simplefooter.template
@@ -1,6 +1,3 @@
-</div>
-
-<!-- Bootstrap core JavaScript, Placed at the end of the document so the pages load faster -->
-<script src="env/bootstrap/js/jquery.min.js"></script>
-<script src="/env/bootstrap/js/bootstrap.min.js"></script>
-<script src="/env/bootstrap/js/docs.min.js"></script>
+ </div>
+ </div>
+</div>
\ No newline at end of file