Git Repositories

Relative reference to resources does not work properly on some url.
authorCyrille Pontvieux <jrd@enialis.net>
Thu, 4 Dec 2014 15:17:48 +0000 (15:17 +0000)
committerCyrille Pontvieux <jrd@enialis.net>
Thu, 4 Dec 2014 15:17:48 +0000 (15:17 +0000)
src/css/custom.css
src/header.inc.php
src/nav.inc.php

index d433d13..fa2d87e 100644 (file)
@@ -11,8 +11,7 @@ body {
 .inverse-dropdown>li>a:hover,
 .inverse-dropdown>li>a:focus {
   color: #fff;
-  background-color: #000;
-  background-image: none;
+  background: none;
 }
 .inverse-dropdown>.divider {
   background-color: #000;
index 2c60512..c5c7c40 100644 (file)
@@ -5,11 +5,11 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title><?php echo $title; ?></title>
-    <link href="css/bootstrap.css" rel="stylesheet">
-    <link href="css/bootstrap-theme.css" rel="stylesheet">
-    <link href="css/custom.css" rel="stylesheet">
-    <link rel="shortcut icon" href="favicon.png" type="image/png">
-    <link rel="icon" href="favicon.png" type="image/png">
+    <link href="/<?php echo $gitwebroot;?>css/bootstrap.css" rel="stylesheet">
+    <link href="/<?php echo $gitwebroot;?>css/bootstrap-theme.css" rel="stylesheet">
+    <link href="/<?php echo $gitwebroot;?>css/custom.css" rel="stylesheet">
+    <link rel="shortcut icon" href="/<?php echo $gitwebroot;?>favicon.png" type="image/png">
+    <link rel="icon" href="/<?php echo $gitwebroot;?>favicon.png" type="image/png">
     <!--[if lt IE 9]>
       <script src="/<?php echo $gitwebroot;?>js/ie/html5shiv.min.js"></script>
       <script src="/<?php echo $gitwebroot;?>js/ie/respond.min.js"></script>
index c630387..e04450f 100644 (file)
@@ -54,7 +54,7 @@ foreach ($files as $file) {
       </form> 
 <?php } ?>
     </div>
-    <?php if ($errorMsg) { ?><div class="alert alert-danger alert-dismissible pull-right" role="alert"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>&nbsp;<?php echo $errorMsg; ?><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button></div><?php } ?>
   </div>
 </nav>
 <div class="container">
+  <?php if ($errorMsg) { ?><div class="alert alert-danger alert-dismissible pull-right" role="alert"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>&nbsp;<?php echo $errorMsg; ?><button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button></div><?php } ?>