[release-branch.go1.3] go.tools/godoc/static: remove unnecessary mainframe wrapper
««« CL 113130044 / c60f58db34e9 go.tools/godoc/static: remove unnecessary mainframe wrapper Fixes golang/go#8300. LGTM=adonovan R=golang-codereviews, adonovan, bradfitz CC=golang-codereviews https://golang.org/cl/113130044 »»» TBR=rsc R=golang-codereviews CC=golang-codereviews https://golang.org/cl/112510043
This commit is contained in:
parent
6949210a02
commit
3e9181fb84
|
@ -16,7 +16,10 @@
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="mainframe" style="position: fixed; bottom: 0; top:0; overflow: auto; width: 100%;">
|
||||
<div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
|
||||
...
|
||||
</div><!-- #lowframe -->
|
||||
|
||||
<div id="topbar"{{if .Title}} class="wide"{{end}}><div class="container">
|
||||
|
||||
<form method="GET" action="/search">
|
||||
|
@ -85,11 +88,6 @@ and code is licensed under a <a href="/LICENSE">BSD license</a>.<br>
|
|||
</div><!-- .container -->
|
||||
</div><!-- #page -->
|
||||
|
||||
</div><!-- #mainframe -->
|
||||
<div id='lowframe' style="position: absolute; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
|
||||
...
|
||||
</div><!-- #lowframe -->
|
||||
|
||||
<!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
|
||||
<script type="text/javascript" src="/lib/godoc/jquery.js"></script>
|
||||
<script type="text/javascript" src="/lib/godoc/jquery.treeview.js"></script>
|
||||
|
|
|
@ -490,7 +490,10 @@ var Files = map[string]string{
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<div id="mainframe" style="position: fixed; bottom: 0; top:0; overflow: auto; width: 100%;">
|
||||
<div id='lowframe' style="position: fixed; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
|
||||
...
|
||||
</div><!-- #lowframe -->
|
||||
|
||||
<div id="topbar"{{if .Title}} class="wide"{{end}}><div class="container">
|
||||
|
||||
<form method="GET" action="/search">
|
||||
|
@ -559,11 +562,6 @@ and code is licensed under a <a href="/LICENSE">BSD license</a>.<br>
|
|||
</div><!-- .container -->
|
||||
</div><!-- #page -->
|
||||
|
||||
</div><!-- #mainframe -->
|
||||
<div id='lowframe' style="position: absolute; bottom: 0; left: 0; height: 0; width: 100%; border-top: thin solid grey; background-color: white; overflow: auto;">
|
||||
...
|
||||
</div><!-- #lowframe -->
|
||||
|
||||
<!-- TODO(adonovan): load these from <head> using "defer" attribute? -->
|
||||
<script type="text/javascript" src="/lib/godoc/jquery.js"></script>
|
||||
<script type="text/javascript" src="/lib/godoc/jquery.treeview.js"></script>
|
||||
|
|
Loading…
Reference in New Issue