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-e597b4017df7remotes/tags/1.0.0-rc1
parent
11174518d5
commit
4510863e42
|
@ -1,22 +1,15 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>ViewVC - Version Control Repository Browser</title>
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<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">
|
<div class="app">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue