monoblue: remove unused elements and related css
authorAnton Shestakov <av6@dwimlabs.net>
Tue, 11 Aug 2015 13:45:54 +0800
changeset 26021 b57d05ca8743
parent 26020 cc3a30ff9490
child 26022 c96d856e00e8
monoblue: remove unused elements and related css Since 91b0ada2d94b and c9b88695d894, when monoblue was introduced, the code this patch removes was untouched. Presumably, there supposed to be nice graphics in the screen corners, but there never were due to: - the css being commented out - ids of the elements and of the css selectors being different - and the png files absent The "corner" elements were unstyled and didn't affect the rest of the page, so I think it's safe to remove all this.
mercurial/templates/monoblue/footer.tmpl
mercurial/templates/monoblue/index.tmpl
mercurial/templates/static/style-monoblue.css
tests/test-hgweb-descend-empties.t
--- a/mercurial/templates/monoblue/footer.tmpl	Thu Aug 13 16:15:43 2015 +0900
+++ b/mercurial/templates/monoblue/footer.tmpl	Tue Aug 11 13:45:54 2015 +0800
@@ -12,11 +12,6 @@
         <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a></p>
     </div>
 
-    <div id="corner-top-left"></div>
-    <div id="corner-top-right"></div>
-    <div id="corner-bottom-left"></div>
-    <div id="corner-bottom-right"></div>
-
 </div>
 
 </body>
--- a/mercurial/templates/monoblue/index.tmpl	Thu Aug 13 16:15:43 2015 +0900
+++ b/mercurial/templates/monoblue/index.tmpl	Tue Aug 11 13:45:54 2015 +0800
@@ -29,11 +29,6 @@
         <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p>
     </div>
 
-    <div id="corner-top-left"></div>
-    <div id="corner-top-right"></div>
-    <div id="corner-bottom-left"></div>
-    <div id="corner-bottom-right"></div>
-
 </div>
 <script type="text/javascript">process_dates()</script>
 </body>
--- a/mercurial/templates/static/style-monoblue.css	Thu Aug 13 16:15:43 2015 +0900
+++ b/mercurial/templates/static/style-monoblue.css	Tue Aug 11 13:45:54 2015 +0800
@@ -311,44 +311,6 @@
 div#powered-by a:hover {
   text-decoration: underline;
 }
-/*
-div#monoblue-corner-top-left {
-  position: absolute;
-  top: 0;
-  left: 0;
-  width: 10px;
-  height: 10px;
-  background: url(./monoblue-corner.png) top left no-repeat !important;
-  background: none;
-}
-div#monoblue-corner-top-right {
-  position: absolute;
-  top: 0;
-  right: 0;
-  width: 10px;
-  height: 10px;
-  background: url(./monoblue-corner.png) top right no-repeat !important;
-  background: none;
-}
-div#monoblue-corner-bottom-left {
-  position: absolute;
-  bottom: 0;
-  left: 0;
-  width: 10px;
-  height: 10px;
-  background: url(./monoblue-corner.png) bottom left no-repeat !important;
-  background: none;
-}
-div#monoblue-corner-bottom-right {
-  position: absolute;
-  bottom: 0;
-  right: 0;
-  width: 10px;
-  height: 10px;
-  background: url(./monoblue-corner.png) bottom right no-repeat !important;
-  background: none;
-}
-*/
 /** end of common settings **/
 
 /** summary **/
--- a/tests/test-hgweb-descend-empties.t	Thu Aug 13 16:15:43 2015 +0900
+++ b/tests/test-hgweb-descend-empties.t	Tue Aug 11 13:45:54 2015 +0800
@@ -373,11 +373,6 @@
           <p><a href="http://mercurial.selenic.com/" title="Mercurial"><img src="/static/hglogo.png" width=75 height=90 border=0 alt="mercurial" /></a></p>
       </div>
   
-      <div id="corner-top-left"></div>
-      <div id="corner-top-right"></div>
-      <div id="corner-bottom-left"></div>
-      <div id="corner-bottom-right"></div>
-  
   </div>
   
   </body>