-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [#24]installdirs:update search result html, add css This will copy the same style.css that the web site uses. That seems easier than maintaining 2 separate css files. I added a script that runs tidy-html5, but the user must install the program <http://www.htacg.org/> to use it. * hlsearch results html pages updated [#24] See notes in the (Changelog)[https://github.com/andy5995/hldig/blob/master/ChangeLog.md) There's still improvements that can be made to the html design, but this patch should make updates easier for contributors, and enables the use of a linked stylesheet
- Loading branch information
Showing
21 changed files
with
341 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,4 @@ ABOUT-NLS | |
/po/POTFILES | ||
/po/stamp-po | ||
/po/remove-potcdate.sed | ||
/samplesite/hldig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$(PAGEHEADER) | ||
$(PREVPAGE) $(PAGELIST) $(NEXTPAGE) | ||
<hr noshade size="4"> | ||
<a href="https://github.com/andy5995/htdig"> | ||
<img src="@IMAGEDIR@/htdig.gif" border="0" alt="">ht://Dig $(VERSION)</a> | ||
</body></html> | ||
$(PAGEHEADER) $(PREVPAGE) $(PAGELIST) $(NEXTPAGE) | ||
<hr noshade size="4"> | ||
<a href="https://github.com/andy5995/hldig"><img src= | ||
"@IMAGEDIR@/htdig.gif" border="0" alt="">hl://Dig $(VERSION)</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | ||
<html><head><title>Search results for '$&(WORDS)'</title></head> | ||
<body bgcolor="#eef7ff"> | ||
<h2><img src="@IMAGEDIR@/htdig.gif" alt="htdig"> | ||
Search results for '$&(LOGICAL_WORDS)'</h2> | ||
<hr noshade size="4"> | ||
<form method="get" action="$(CGI)"> | ||
<font size="-1"> | ||
<input type="hidden" name="config" value="$&(CONFIG)"> | ||
<input type="hidden" name="restrict" value="$&(RESTRICT)"> | ||
<input type="hidden" name="exclude" value="$&(EXCLUDE)"> | ||
Match: $(METHOD) | ||
Format: $(FORMAT) | ||
Sort by: $(SORT) | ||
<br> | ||
Refine search: | ||
<input type="text" size="30" name="words" value="$&(WORDS)"> | ||
<input type="submit" value="Search"> | ||
</font> | ||
</form> | ||
<hr noshade size="1"> | ||
<strong>Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of $(MATCHES) matches. | ||
More <img src="@IMAGEDIR@/star.gif" alt="*">'s indicate a better match. | ||
</strong> | ||
<hr noshade size="1"> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="generator" content= | ||
"HTML Tidy for HTML5 for Linux version 5.2.0"> | ||
<title>Search results for '$&(WORDS)'</title> | ||
<link rel="stylesheet" href="@IMAGEDIR@/style.css"> | ||
</head> | ||
<body> | ||
<h2><img src="@IMAGEDIR@/htdig.gif" alt="hldig">Search results | ||
for '$&(LOGICAL_WORDS)'</h2> | ||
<hr noshade size="4"> | ||
<form method="get" action="$(CGI)"> | ||
<font size="-1"><input type="hidden" name="config" value= | ||
"$&(CONFIG)"> <input type="hidden" name="restrict" value= | ||
"$&(RESTRICT)"> <input type="hidden" name="exclude" value= | ||
"$&(EXCLUDE)"> Match: $(METHOD) Format: $(FORMAT) Sort by: | ||
$(SORT)<br> | ||
Refine search: <input type="text" size="30" name="words" value= | ||
"$&(WORDS)"> <input type="submit" value="Search"></font> | ||
</form> | ||
<hr noshade size="1"> | ||
<strong>Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of | ||
$(MATCHES) matches. More <img src="@IMAGEDIR@/star.gif" alt= | ||
"*">'s indicate a better match.</strong> | ||
<hr noshade size="1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<dl><dt><strong><a href="$&(URL)">$&(TITLE)</a></strong>$(STARSLEFT) | ||
</dt><dd>$(EXCERPT)<br> | ||
<em><a href="$&(URL)">$&(URL)</a></em> | ||
<font size="-1">$(MODIFIED), $(SIZE) bytes</font> | ||
</dd></dl> | ||
|
||
<dl> | ||
<dt><strong><a href= | ||
"$&(URL)">$&(TITLE)</a></strong>$(STARSLEFT)</dt> | ||
<dd>$(EXCERPT)<br> | ||
<em><a href="$&(URL)">$&(URL)</a></em> <font size= | ||
"-1">$(MODIFIED), $(SIZE) bytes</font></dd> | ||
</dl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | ||
<html><head><title>No match for '$&(LOGICAL_WORDS)'</title></head> | ||
<body bgcolor="#eef7ff"> | ||
<h1><img src="@IMAGEDIR@/htdig.gif" alt="ht://Dig"> | ||
Search results</h1> | ||
<hr noshade size="4"> | ||
<h2>No matches were found for '$&(LOGICAL_WORDS)'</h2> | ||
<p> | ||
Check the spelling of the search word(s) you used. | ||
If the spelling is correct and you only used one word, | ||
try using one or more similar search words with "<strong>Any</strong>." | ||
</p><p> | ||
If the spelling is correct and you used more than one | ||
word with "<strong>Any</strong>," try using one or more similar search | ||
words with "<strong>Any</strong>."</p><p> | ||
If the spelling is correct and you used more than one | ||
word with "<strong>All</strong>," try using one or more of the same words | ||
with "<strong>Any</strong>."</p> | ||
<hr noshade size="4"> | ||
<form method="get" action="$(CGI)"> | ||
<font size="-1"> | ||
<input type="hidden" name="config" value="$&(CONFIG)"> | ||
<input type="hidden" name="restrict" value="$&(RESTRICT)"> | ||
<input type="hidden" name="exclude" value="$&(EXCLUDE)"> | ||
Match: $(METHOD) | ||
Format: $(FORMAT) | ||
Sort by: $(SORT) | ||
<br> | ||
Refine search: | ||
<input type="text" size="30" name="words" value="$&(WORDS)"> | ||
<input type="submit" value="Search"> | ||
</font> | ||
</form> | ||
<hr noshade size="4"> | ||
<a href="https://github.com/andy5995/htdig"> | ||
<img src="@IMAGEDIR@/htdig.gif" border="0" alt="">htdig $(VERSION)</a> | ||
</body></html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>No match for '$&(LOGICAL_WORDS)'</title> | ||
<link rel="stylesheet" href="@IMAGEDIR@/style.css"> | ||
</head> | ||
<body> | ||
<h1><img src="@IMAGEDIR@/htdig.gif" alt="hl://Dig"> | ||
Search results</h1> | ||
<hr noshade size="4"> | ||
<h2>No matches were found for '$&(LOGICAL_WORDS)'</h2> | ||
<p> | ||
Check the spelling of the search word(s) you used. | ||
If the spelling is correct and you only used one word, | ||
try using one or more similar search words with "<strong>Any</strong>." | ||
</p><p> | ||
If the spelling is correct and you used more than one | ||
word with "<strong>Any</strong>," try using one or more similar search | ||
words with "<strong>Any</strong>."</p><p> | ||
If the spelling is correct and you used more than one | ||
word with "<strong>All</strong>," try using one or more of the same words | ||
with "<strong>Any</strong>."</p> | ||
<hr noshade size="4"> | ||
<form method="get" action="$(CGI)"> | ||
<font size="-1"> | ||
<input type="hidden" name="config" value="$&(CONFIG)"> | ||
<input type="hidden" name="restrict" value="$&(RESTRICT)"> | ||
<input type="hidden" name="exclude" value="$&(EXCLUDE)"> | ||
Match: $(METHOD) | ||
Format: $(FORMAT) | ||
Sort by: $(SORT) | ||
<br> | ||
Refine search: | ||
<input type="text" size="30" name="words" value="$&(WORDS)"> | ||
<input type="submit" value="Search"> | ||
</font> | ||
</form> | ||
<hr noshade size="4"> | ||
<a href="https://github.com/andy5995/hldig"> | ||
<img src="@IMAGEDIR@/htdig.gif" border="0" alt="">hl://dig $(VERSION)</a> | ||
</body> | ||
</html> |
Oops, something went wrong.