solbu / hldig

hl://Dig is a fork of ht://Dig, a web indexing and searching system for a small domain or intranet
https://solbu.github.io/hldig/
Other
18 stars 21 forks source link

modernizing html code output by hlsearch #24

Open andy5995 opened 6 years ago

andy5995 commented 6 years ago

Coming up soon on the TODO list is modernizing the html code output by htsearch.

Some of that output can be seen by doing a search at http://htdig.dreamhosters.com/

So far I'm heavily leaning toward using @dafky2000's simplectemplate. I think it would be the perfect library for this task.

andy5995 commented 6 years ago

@AlexChristoforides , do you also like to work with HTML and CSS?

andy5995 commented 6 years ago

Looks like htsearch is using templates in the installdir directory. I haven't figured out yet how the templating system works. I'd like to understand it better so that we don't leave behind any unnecessary code when we switch to a different template method.

If it's clear to anyone, feel free to take this ticket.

andy5995 commented 6 years ago

Now that the guts of the new web site are in place (#55), we have a site generator that can be modified a little to make some new pages for the hlsearch results pages. Once I convert the existing pages, they'll be ready for a new design.

Here's an example of what they look now:

screenshot_2017-12-28_22-45-41

andy5995 commented 6 years ago

A recent screenshot when testing locally

image

The html for that is in https://github.com/solbu/hldig/tree/master/installdir

and the css: https://github.com/solbu/hldig/tree/master/docs/assets/css