aboutsummaryrefslogtreecommitdiff
path: root/htdocs
Commit message (Expand)AuthorAge
* templates: Use form.as_table in registration template.•••This should make changes to the registration form easier. I'm particularly thinking about adding in the Django simple math captcha. Christopher Baines2021-02-27
* templates: Combine series and related row•••Move the series patch list from row 'Related' to 'Series'. This allows us to use the 'Related' row for actually showing submission relations instead. Signed-off-by: Mete Polat <metepolat2000@gmail.com> Reviewed-by: Stephen Finucane <stephen@that.guru> Mete Polat2019-12-27
* ui: Retain table header position on size changes•••Prevents table header labels from moving up and down when hiding or showing additional information for a patch. Signed-off-by: Mete Polat <metepolat2000@gmail.com> Signed-off-by: Daniel Axtens <dja@axtens.net> Mete Polat2019-11-01
* trivial: Style fixes•••An assortment of fixes identified through the integration of pre-commit. Signed-off-by: Stephen Finucane <stephen@that.guru> Stephen Finucane2019-09-27
* ui: Space in filter radio buttons•••There was no space between radio button and associated text in the filters form. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Stephen Finucane <stephen@that.guru> Thomas Monjalon2019-03-05
* ui: Shrink vertical space of patch list•••The margin above the filter box is removed because there is already a margin below the navigation bar. The vertical padding between rows is reduced while the horizontal padding between columns is increased. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Stephen Finucane <stephen@that.guru> Thomas Monjalon2019-03-05
* Beautify check counts in the patch list view•••This patch [1] adds colors to the checks in the patch list view. The colors are set based on the check's priority, with FAILURE having the highest priority, followed by WARNING, and then SUCCESS. Only the check with the highest priority and non-zero count will be colored. This is to make failures and warnings more visible. The patch also [2] replaces zero counts with a '-' for FAILUREs and WARNINGs. The SUCCESS count will only be replaced by a '-' when all other checks have zero counts too. Suggested-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Ali Alnubani <alialnu@mellanox.com> Signed-off-by: Stephen Finucane <stephen@that.guru> Ali Alnubani2019-02-25
* views: Provide a way to view, (re)generate tokens•••Integrate token support into the web UI. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stephen Finucane <stephen@that.guru> Andrew Donnellan2017-06-14
* htdocs: Add clipboard.js•••We provide our own, much smaller implementation of this currently. However, we want to be able to implement slightly different variants of this elsewhere and using an existing library helps avoid reinventing the wheel and lets us use already battle-tested code. Signed-off-by: Stephen Finucane <stephen@that.guru> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Stephen Finucane2017-06-14
* docs: Document the various htdocs supported•••Signed-off-by: Stephen Finucane <stephen@that.guru> Stephen Finucane2017-06-14
* Remove 'htdocs/images'•••Signed-off-by: Bruno Mendes <brunosouza@alunos.utfpr.edu.br> Reviewed-by: Stephen Finucane <stephen@that.guru> Closes: #40 Bruno Mendes2016-10-31
* templates: Integrate series view into patches•••Patches for related series are listed on the patch page - this provides a way to quickly grok a given patches location in a series hierarchy. Signed-off-by: Stephen Finucane <stephen@that.guru> Reviewed-by: Andy Doan <andy.doan@linaro.org> Reviewed-by: Daniel Axtens <dja@axtens.net> Tested-by: Russell Currey <ruscur@russell.cc> Stephen Finucane2016-10-31
* ui: Shrink vertical space•••Reduce some vertical padding/margin and remove some useless titles in list.html and patch.html. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Stephen Finucane <stephen@that.guru> Thomas Monjalon2016-09-25
* ui: Align patch form with above metadata•••The box "Patch Properties" is now well aligned with lines "Message ID", "State" and "Headers". Give also more space with side box "Bundling". Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Stephen Finucane <stephen@that.guru> Thomas Monjalon2016-09-25
* ui: Align patch row with checkbox vertically•••When logged in, the checkbox in front of each row makes the line bigger. And the text was not exactly in the middle of the line. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Stephen Finucane <stephen@that.guru> Thomas Monjalon2016-09-25
* ui: Cleanup the navbar "brand"•••The text shown in the top-left corner of a navbar, known as the "brand" in Bootstrap parlance, normally brings you to the homepage. However, when viewing patches or details about a project this name of this project is included in this link. This gave some users the idea that clicking this button would return them to the project patch list instead. To resolve this confusion, break the project name and any other non-Patchwork title out of this clickable link. A new "navbar-subnav" style is introduced to do this, seeing as Bootstrap does not appear to support something like this natively. Once this is done, this also allows for the removal of the "All Projects" button, which both duplicates this functionality and did nothing when there was only one project available on an instance. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Stephen Finucane2016-04-01
* ui: Higher density of patches•••THe Bootstrap'ification of Patchwork signficantly reduced the information density of the patch list page, but this results in less patches per page. Resolve this by reducing the padding on each row. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Stephen Finucane2016-04-01
* js: Allow shift-select of checkboxes•••Allow bulk modification of patches through shift-select of the check boxes on each line. This allows for the removal of the 'common.js' file, which was only being used in one location. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Stephen Finucane2016-03-15
* ui: Make the project a unit with 'Patchwork' in the menu bar•••Both should be styled the same and be a link to the home page. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Damien Lespiau2016-02-08
* ui: Split the tiles in columns and increase the mininum size•••Let's try to make that page looks better when the natural size of the tiles are different (because the contents have varying sizes). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Redesign the projects page•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Redesign the pagination widgets•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Use bootstrap container-fluid class•••It's time to use more of Boostrap. Having the top level element use the framework makes the rest work. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Redesign navigation•••We get rid of the breadcrumbs in favour of items always present in the top navigation bar. Based on Bélen's new design iteration. v2: Rebase onto master Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Let the bootstrap inverse navbar style shine through•••Time for another iteration of the design. Let's start by using the inverse bootsrap style with a slightly whiter color for font for better contrast. That color change has repercussions in the style sheet, mostly in the custom containers/boxes we're still using on the secondary pages (login/register/...) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* ui: Move the background color of the table headers to a class•••As we are using "sticky headers", the column headers stay apparent when scrolling down, we need to specify a white background to hide what's underneath. With the addition of Seres, the patchlist table is not the only table we want this behaviour on, so let's make it a CSS class rather then a selector on the patchlist id. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2016-02-08
* templates/patch: Add check summary panel•••Add a table to display the checks associated with a patch. This includes the requisite styling along with some additional filters. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> -- v3: Slight restyling per web UI rework Stephen Finucane2015-11-05
* patch: Redesign slightly the comment headers•••Signed-off-by: Belén Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Pena2015-11-05
* patch: Put the download links next to the "Patch" header•••v2: Fix 'dowload' typo x 2 (Bryce Harrington) Signed-off-by: Belén Barros Peña <belen.barros.pena@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Peña2015-11-05
* patch: Override Bootstrap's <pre> styling•••To look more like what patchwork was using. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* style: Make the submission tables use #0A0A47•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* boxes: Style boxes like the patch form•••Here again, a pass may be needed in the future, but for now, make things consistent. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* patchform: Minimal changes so patchform titles don't look out of place•••I'd like to add editing in place in the list of patches instead of having to select, scroll down and make the changes. For the time being, just change the header background color and padding space. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* paginator: Redesign the paginator•••A few things: - Use the … glyph - Remove the box around the page numbers - Slight restyling Signed-off-by: Belén Barros Peña <belen.barros.pena@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Peña2015-11-05
* patch-list: Make the table header sticky•••So, when scrolling down the list of patches, we still get what are the field displayed. This is espacially important as I plan to add a few more. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* package: Add the Sticky Table Header jQuery plugin•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* patch-list: Re-design the main list of patches with Bootsrap•••A bit more spacing everywhere. Also opted for the highlight on hover instead of the alternating row background color. v2: Squash the patch fixing the unit tests (Jeremy Kerr) Signed-off-by: Belén Barros Pena <belen.barros.pena@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Peña2015-11-05
* selectize: Add selectize to patchwork•••Turns out, it's somewhat hard to do a nice auto-completion widget and I'd like to get replace the input field + combo box that is currently there. So import a library that will take care of the heavy lifting for us. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Damien Lespiau2015-11-05
* filters: Redesign the filters form with the help of bootstrap•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* filters: Use the glyphicons for add/remove signs•••They give a much better contrast the the one already there. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* style.css: Rename the breadcrumb selectors•••Bootstrap called what was the header bar "navigation". Let's rename the nav* selector with 'breadcrumb' so there's no confusion with bootstrap's nagivation elements and selectors. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* style.css: Provide a default <h2> style•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Belén Barros Peña <belen.barros.pena@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Peña2015-11-05
* templates: Redesign the breadcrumbs bar•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* templates: Redesign the title bar•••Let's use HTML5 <nav> and bootstrap navigation facilities for this. Among the nice things that bootstrap brings to the table, the navigation bar is now mobile friendly: it will collapse when either, being displayed on a mobile device or when the screen isn't wide enough, to show the various items in a togglable menu. This can be tested by resizing the browser to have a width < 768px. This commit is just about layout changes, keeping the exact same information displayed on the page. This is based on work from Belén Barros Peña, but transposed to bootstrap. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* style.css: Tune <a> styling•••The links aren't underlined anymore. If, once visited, they are to become black, we won't be able to distinguish them from regular text. Instead let's decide about a color for links so they can be spotted, even after a visit. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Belén Barros Peña2015-11-05
* style.css: Move the global <a> styling at the top•••Otherwise we can't properly have a generic <a> styling that gets specialized as needed. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* sytle.css: Remove the body selector, letting bootstrap's shine through•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* list: Replace the 16-arrow* icons by glyphicons•••They look more modern. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com> Damien Lespiau2015-11-05
* htdocs: Add bootstrap•••Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Damien Lespiau2015-11-05
* Integrate 'django.contrib.staticfiles'•••Rather than providing a custom solution for serving static files, use the solution provided in the upstream Django source. This allows us to remove the top-level 'urls.py' file. Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Stephen Finucane2015-05-03