Mercurial > hg
comparison tests/test-hgweb-commands.t @ 32761:cb5123eff7d1
hgweb: consistently add search form to all gitweb pages
Paper has it on all pages. Not sure why gitweb doesn't. I think it
should be everywhere because it is a useful feature.
Also, we weren't consistently adding the HTML in the same place. This
was OK since the element is absolutely positioned. But this bothered
me a bit, so I went ahead and fixed it.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 09 Jun 2017 13:45:36 -0700 |
parents | 58f3088aa2f5 |
children | 2d93d2159e30 |
comparison
equal
deleted
inserted
replaced
32760:58f3088aa2f5 | 32761:cb5123eff7d1 |
---|---|
1532 | 1532 |
1533 <div class="page_header"> | 1533 <div class="page_header"> |
1534 <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a> | 1534 <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a> |
1535 <a href="/">Mercurial</a> / summary | 1535 <a href="/">Mercurial</a> / summary |
1536 | 1536 |
1537 | |
1538 <form action="/log"> | 1537 <form action="/log"> |
1539 <input type="hidden" name="style" value="gitweb" /> | 1538 <input type="hidden" name="style" value="gitweb" /> |
1540 <div class="search"> | 1539 <div class="search"> |
1541 <input type="text" name="rev" value="" /> | 1540 <input type="text" name="rev" value="" /> |
1542 </div> | 1541 </div> |
1543 </form> | 1542 </form> |
1544 | |
1545 </div> | 1543 </div> |
1546 | 1544 |
1547 <div class="page_nav"> | 1545 <div class="page_nav"> |
1548 summary | | 1546 summary | |
1549 <a href="/shortlog?style=gitweb">shortlog</a> | | 1547 <a href="/shortlog?style=gitweb">shortlog</a> | |
1733 <body> | 1731 <body> |
1734 | 1732 |
1735 <div class="page_header"> | 1733 <div class="page_header"> |
1736 <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a> | 1734 <a href="https://mercurial-scm.org/" title="Mercurial" style="float: right;">Mercurial</a> |
1737 <a href="/">Mercurial</a> / graph | 1735 <a href="/">Mercurial</a> / graph |
1738 </div> | |
1739 | |
1740 | 1736 |
1741 <form action="/log"> | 1737 <form action="/log"> |
1742 <input type="hidden" name="style" value="gitweb" /> | 1738 <input type="hidden" name="style" value="gitweb" /> |
1743 <div class="search"> | 1739 <div class="search"> |
1744 <input type="text" name="rev" value="" /> | 1740 <input type="text" name="rev" value="" /> |
1745 </div> | 1741 </div> |
1746 </form> | 1742 </form> |
1743 </div> | |
1747 | 1744 |
1748 <div class="page_nav"> | 1745 <div class="page_nav"> |
1749 <a href="/summary?style=gitweb">summary</a> | | 1746 <a href="/summary?style=gitweb">summary</a> | |
1750 <a href="/shortlog/tip?style=gitweb">shortlog</a> | | 1747 <a href="/shortlog/tip?style=gitweb">shortlog</a> | |
1751 <a href="/log/tip?style=gitweb">changelog</a> | | 1748 <a href="/log/tip?style=gitweb">changelog</a> | |