Fossil SCM
change input field to search, which brings clear button on some browser, as suggested in [forum:forumpost/005643ff358e5d34|forum post]
Commit
fa31d18bf49185ed1b03cfcd9d69dc71f8e4e864b2a7d4122e7989624b4506bb
Parent
cd31dea4729a5f8…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/repolist.c | ||
| +++ src/repolist.c | ||
| @@ -315,11 +315,11 @@ | ||
| 315 | 315 | ** for display. */ |
| 316 | 316 | login_check_credentials(); |
| 317 | 317 | style_set_current_feature("repolist"); |
| 318 | 318 | style_header("Repository List"); |
| 319 | 319 | if( quickfilter ){ |
| 320 | - @ <input type="text" id="quickfilter" placeholder="filter repository list..."> | |
| 320 | + @ <input type="search" id="quickfilter" placeholder="filter repository list..."> | |
| 321 | 321 | } |
| 322 | 322 | @ %s(blob_str(&html)) |
| 323 | 323 | style_table_sorter(); |
| 324 | 324 | if( quickfilter ){ |
| 325 | 325 | style_quickfilter(); |
| 326 | 326 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -315,11 +315,11 @@ | |
| 315 | ** for display. */ |
| 316 | login_check_credentials(); |
| 317 | style_set_current_feature("repolist"); |
| 318 | style_header("Repository List"); |
| 319 | if( quickfilter ){ |
| 320 | @ <input type="text" id="quickfilter" placeholder="filter repository list..."> |
| 321 | } |
| 322 | @ %s(blob_str(&html)) |
| 323 | style_table_sorter(); |
| 324 | if( quickfilter ){ |
| 325 | style_quickfilter(); |
| 326 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -315,11 +315,11 @@ | |
| 315 | ** for display. */ |
| 316 | login_check_credentials(); |
| 317 | style_set_current_feature("repolist"); |
| 318 | style_header("Repository List"); |
| 319 | if( quickfilter ){ |
| 320 | @ <input type="search" id="quickfilter" placeholder="filter repository list..."> |
| 321 | } |
| 322 | @ %s(blob_str(&html)) |
| 323 | style_table_sorter(); |
| 324 | if( quickfilter ){ |
| 325 | style_quickfilter(); |
| 326 |
+1
-1
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -1235,11 +1235,11 @@ | ||
| 1235 | 1235 | @ <br> |
| 1236 | 1236 | } |
| 1237 | 1237 | output_color_key(zClrKey, 1, |
| 1238 | 1238 | "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"report\""); |
| 1239 | 1239 | if( quickfilter ){ |
| 1240 | - @ <input type="text" id="quickfilter" placeholder="filter ticket list..."> | |
| 1240 | + @ <input type="search" id="quickfilter" placeholder="filter ticket list..."> | |
| 1241 | 1241 | } |
| 1242 | 1242 | @ <table border="1" cellpadding="2" cellspacing="0" class="report sortable filterlist" |
| 1243 | 1243 | @ data-column-types='' data-init-sort='0'> |
| 1244 | 1244 | sState.rn = rn; |
| 1245 | 1245 | sState.nCount = 0; |
| 1246 | 1246 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -1235,11 +1235,11 @@ | |
| 1235 | @ <br> |
| 1236 | } |
| 1237 | output_color_key(zClrKey, 1, |
| 1238 | "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"report\""); |
| 1239 | if( quickfilter ){ |
| 1240 | @ <input type="text" id="quickfilter" placeholder="filter ticket list..."> |
| 1241 | } |
| 1242 | @ <table border="1" cellpadding="2" cellspacing="0" class="report sortable filterlist" |
| 1243 | @ data-column-types='' data-init-sort='0'> |
| 1244 | sState.rn = rn; |
| 1245 | sState.nCount = 0; |
| 1246 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -1235,11 +1235,11 @@ | |
| 1235 | @ <br> |
| 1236 | } |
| 1237 | output_color_key(zClrKey, 1, |
| 1238 | "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" class=\"report\""); |
| 1239 | if( quickfilter ){ |
| 1240 | @ <input type="search" id="quickfilter" placeholder="filter ticket list..."> |
| 1241 | } |
| 1242 | @ <table border="1" cellpadding="2" cellspacing="0" class="report sortable filterlist" |
| 1243 | @ data-column-types='' data-init-sort='0'> |
| 1244 | sState.rn = rn; |
| 1245 | sState.nCount = 0; |
| 1246 |