Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modernizing html code output by hlsearch #24

Open
andy5995 opened this issue Nov 16, 2017 · 4 comments
Open

modernizing html code output by hlsearch #24

andy5995 opened this issue Nov 16, 2017 · 4 comments

Comments

@andy5995
Copy link
Contributor

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
Copy link
Contributor Author

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

@andy5995
Copy link
Contributor Author

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 andy5995 changed the title modernizing html code output by htsearch modernizing html code output by hlsearch Dec 29, 2017
@andy5995
Copy link
Contributor Author

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 andy5995 self-assigned this Jan 10, 2018
andy5995 added a commit that referenced this issue Jan 10, 2018
[wip][skip ci]

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.
andy5995 added a commit that referenced this issue Jan 11, 2018
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
andy5995 added a commit that referenced this issue Jan 11, 2018
* [#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
@andy5995
Copy link
Contributor Author

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

@andy5995 andy5995 removed their assignment Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant