Mercurial > hg
comparison mercurial/templates/paper/bookmarks.tmpl @ 32758:cba4461aa0a0
hgweb: consolidate search form for paper
AFAICT this was mostly a bunch of copy pasta. The only variation is
some pages defined a "value" attribute. The "query" variable will
just be empty on pages that don't accept it. So let's consolidate
the template and remove the redundancy.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 09 Jun 2017 13:59:13 -0700 |
parents | fdf7794be41d |
children |
comparison
equal
deleted
inserted
replaced
32757:d2acd99bbab3 | 32758:cba4461aa0a0 |
---|---|
32 | 32 |
33 <div class="main"> | 33 <div class="main"> |
34 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | 34 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> |
35 <h3>bookmarks</h3> | 35 <h3>bookmarks</h3> |
36 | 36 |
37 <form class="search" action="{url|urlescape}log"> | 37 {searchform} |
38 {sessionvars%hiddenformentry} | |
39 <p><input name="rev" id="search1" type="text" size="30" /></p> | |
40 <div id="hint">{searchhint}</div> | |
41 </form> | |
42 | 38 |
43 <table class="bigtable"> | 39 <table class="bigtable"> |
44 <thead> | 40 <thead> |
45 <tr> | 41 <tr> |
46 <th>bookmark</th> | 42 <th>bookmark</th> |