Try a different hack (the same one I used on subversion.tigris.org) for

hiding the project info box on the webpage which doesn't also have the
unfortunate side effect of losing the links for project editing, 
requesting membership, and other such useful things.

* index.html
  Lose a JavaScript redirect hack for a style override hack.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1230 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/tags/1.0.0-rc1
cmpilato 2006-01-19 01:46:47 +00:00
parent 11174518d5
commit 4510863e42
1 changed files with 6 additions and 13 deletions

View File

@ -1,22 +1,15 @@
<html>
<head>
<title>ViewVC - Version Control Repository Browser</title>
<!-- Custom stylations to hide the obnoxious project info -->
<style type="text/css">
#projecthome .axial { display: none; }
#apphead h1 { display: none; }
</style>
<!-- End custom stylations -->
</head>
<body>
<!-- ****************************************************************** -->
<script language="javascript">
// This code snippet exists to redirect the page to its fully
// qualified location, the effect of which is that Tigris.org
// will not show that space-wasting project information table.
href = window.location.href
href_len = href.length
if ((href_len > 9)
&& (href.substring(href_len - 10, href_len) != "index.html")) {
window.location = window.location + "index.html";
}
</script>
<!-- ****************************************************************** -->
<div class="app">