Commit graph

91 commits

Author SHA1 Message Date
Mikael Bouillot
c7a90a14cc URL-encode the query string when redirecting an ident search
Fixes #56
2019-10-08 12:52:27 +00:00
Carmeli Tamir
1a91f04927 Straightened the interface between query and web, as preparation to add a json api parallel to web 2019-10-05 00:27:52 -04:00
Carmeli Tamir
d926243164 Refactored ident query to use python objects rather than parsing REs 2019-10-02 00:01:46 -04:00
Mikael Bouillot
94caef2816 Set Pygments option to keep leading blank lines
Fixes #33
2019-09-25 08:14:04 +00:00
Michael Opdenacker
2d526f7709 web.py: add minor comments
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 15:47:41 +02:00
frhun
79536b88ad
Fixing overlap of banner subtitle with sidebar
In narrow view frames the Subtitle would be displayed over the sidebar.
z-index changed to 29 to be one lower than the sidebar: 3e69f7ddb1/http/style.css (L910)
2019-04-25 16:19:19 +02:00
Michael Opdenacker
3bc1379b03 Banner css fix
- To have a hyperlink on the whole message banner

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 11:13:24 +01:00
Michael Opdenacker
5cbe41944e Fix banner.css
- Fixing an issue when javascript is disabled
- Converting to unix mode (to CRLF at the end of lines)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 10:57:12 +01:00
Michael Opdenacker
0eea6aa35f Add a message banner and hyperlink to the header
- This allows to make some announcements

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-21 07:36:31 +01:00
Michael Opdenacker
1637e1eca6 Update icons
- Using Mastodon instead of GooglePlus (RIP)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-03-20 11:02:23 +01:00
Michael Opdenacker
7f5187ad4e Capitalize project names in page titles
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 06:36:20 +02:00
Michael Opdenacker
4cb3150119 Improve page titles
For more useful information in seach engine results.
Essentially, we highlight:
- That the page is about source code for the current project
- Pages that are about an identifier
- The revision tag being considered (otherwise the page
  has the same title for 2 different tags)

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 06:28:52 +02:00
Michael Opdenacker
b321480ab9 Sort projects by name
- This impacts the drop down menu allowing to choose projects.
  As the list of supported projects increases, this should
  make project selection easier.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-29 05:45:54 +02:00
Mikaël Bouillot
537e6b3a7b Change business name 2018-02-15 21:27:00 +00:00
Mikaël Bouillot
260a03c339 Hack around missing forEach method on NodeList
Under Firefox 45 and Android Browser 6, NodeList doesn't have
a forEach method. This works around the problem. See
https://toddmotto.com/ditch-the-array-foreach-call-nodelist-hack/
2017-09-27 17:12:33 +02:00
zo
a0790a5bee Use mobile-first approach and sticky positioning 2017-09-25 12:40:35 +00:00
Mikaël Bouillot
b6e26e75c8 Switch to relative base URL for HTTPS support 2017-09-25 14:15:39 +02:00
Mikaël Bouillot
09c29afe32 Don't hide subversions 2017-07-03 12:42:12 +02:00
Mikaël Bouillot
57c17919e7 Strip whitespace from identifier queries
Fixes #22
2017-06-30 15:44:53 +02:00
Mikaël Bouillot
1b4c0fc7d4 Update notices to match the new license 2017-06-27 14:13:28 +02:00
Michael Opdenacker
d011166a56 Minor title style improvement
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2017-06-25 22:50:58 +02:00
Antoine Tenart
ad66abe88c style.css: fix tab size to match the kernel coding style
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
2017-06-13 10:16:36 +02:00
zo
53b091d2da Set line's anchor scroll jump to 20% 2017-05-24 18:18:10 +02:00
zo
b48476768b Prevent click on current line 2017-05-24 18:15:45 +02:00
zo
a100f42046 Improve line's anchor scroll jump 2017-05-24 15:02:40 +02:00
zo
79c28566ea Fix filter results css padding 2017-05-22 15:28:19 +02:00
zo
bd13d3475b Change identifiers style in code 2017-05-22 14:55:42 +02:00
zo
5a7d21133b Add outdated browser warning 2017-05-22 14:38:08 +02:00
zo
e59678f85d Add cross-browser vendor prefixes 2017-05-22 14:28:58 +02:00
zo
ccc2cc4b6a Use <select> for projects 2017-05-22 14:20:26 +02:00
zo
bcbf25a6b1 Move project link in footer 2017-05-12 20:57:34 +02:00
zo
a8de9ae437 Add tag icon 2017-05-12 20:54:26 +02:00
zo
317a1c5a4e Fix double </tr> closing 2017-05-12 20:31:33 +02:00
zo
7b07aa0c9d Show active project in project menu 2017-05-12 16:14:47 +02:00
zo
e0d5db0ef5 Use pygments syntax highlighter 2017-05-12 16:12:08 +02:00
zo
53aab9601a Refactor ident results html formating 2017-05-12 16:08:35 +02:00
zo
fed9263dc9 Use html class instead of id 2017-05-12 16:01:12 +02:00
zo
6253ac87e3 Add new static assets 2017-05-12 15:48:21 +02:00
zo
8484750ea2 Refactor html formating 2017-05-12 15:47:24 +02:00
zo
5a746645e6 Improve breadcrumb 2017-05-12 15:36:14 +02:00
zo
0fe583011b Add dynamic projects list 2017-05-12 15:24:51 +02:00
zo
1e0eb60c24 Improve versions menu 2017-05-12 15:22:46 +02:00
zo
692694d039 Remove old static assets 2017-05-12 15:19:40 +02:00
zo
46f7eb7089 Use jinja template engine 2017-05-12 15:19:17 +02:00
zo
49bcc7bf52 Refactor variable's names 2017-05-12 14:49:52 +02:00
zo
dec241a866 Remove free-text search 2017-05-12 13:51:47 +02:00
zo
d6c83c8a6e Remove extra spaces 2017-05-12 13:36:13 +02:00
Mikaël Bouillot
5064e6c924 Call query through python interface 2017-05-10 21:49:07 +02:00
Mikaël Bouillot
edd43b095c Switch buffering to StringIO 2017-05-10 21:10:25 +02:00
Mikaël Bouillot
6b10d82124 Add freetext search option for old site 2017-05-10 13:40:37 +02:00