aboutsummaryrefslogtreecommitdiff
path: root/htdocs
Commit message (Collapse)AuthorAge
* templates: Combine series and related rowMete Polat2019-12-27
| | | | | | | | | 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>
* ui: Retain table header position on size changesMete Polat2019-11-01
| | | | | | | | 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>
* trivial: Style fixesStephen Finucane2019-09-27
| | | | | | An assortment of fixes identified through the integration of pre-commit. Signed-off-by: Stephen Finucane <stephen@that.guru>
* ui: Space in filter radio buttonsThomas Monjalon2019-03-05
| | | | | | | | 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>
* ui: Shrink vertical space of patch listThomas Monjalon2019-03-05
| | | | | | | | | | | 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>
* Beautify check counts in the patch list viewAli Alnubani2019-02-25
| | | | | | | | | | | | | | | | | 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>
* views: Provide a way to view, (re)generate tokensAndrew Donnellan2017-06-14
| | | | | | | 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>
* htdocs: Add clipboard.jsStephen Finucane2017-06-14
| | | | | | | | | | 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>
* docs: Document the various htdocs supportedStephen Finucane2017-06-14
| | | | Signed-off-by: Stephen Finucane <stephen@that.guru>
* Remove 'htdocs/images'Bruno Mendes2016-10-31
| | | | | | Signed-off-by: Bruno Mendes <brunosouza@alunos.utfpr.edu.br> Reviewed-by: Stephen Finucane <stephen@that.guru> Closes: #40
* templates: Integrate series view into patchesStephen Finucane2016-10-31
| | | | | | | | | | | 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>
* ui: Shrink vertical spaceThomas Monjalon2016-09-25
| | | | | | | | 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>
* ui: Align patch form with above metadataThomas Monjalon2016-09-25
| | | | | | | | | | 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>
* ui: Align patch row with checkbox verticallyThomas Monjalon2016-09-25
| | | | | | | | 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>
* ui: Cleanup the navbar "brand"Stephen Finucane2016-04-01
| | | | | | | | | | | | | | | | | | 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>
* ui: Higher density of patchesStephen Finucane2016-04-01
| | | | | | | | 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>
* js: Allow shift-select of checkboxesStephen Finucane2016-03-15
| | | | | | | | | | 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>
* ui: Make the project a unit with 'Patchwork' in the menu barDamien Lespiau2016-02-08
| | | | | | Both should be styled the same and be a link to the home page. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* ui: Split the tiles in columns and increase the mininum sizeDamien Lespiau2016-02-08
| | | | | | | | 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>
* ui: Redesign the projects pageDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Redesign the pagination widgetsDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Use bootstrap container-fluid classDamien Lespiau2016-02-08
| | | | | | | | 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>
* ui: Redesign navigationDamien Lespiau2016-02-08
| | | | | | | | | | | | 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>
* ui: Let the bootstrap inverse navbar style shine throughDamien Lespiau2016-02-08
| | | | | | | | | | | | | 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>
* ui: Move the background color of the table headers to a classDamien Lespiau2016-02-08
| | | | | | | | | | | | | 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>
* templates/patch: Add check summary panelStephen Finucane2015-11-05
| | | | | | | | | | | 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
* patch: Redesign slightly the comment headersBelén Barros Pena2015-11-05
| | | | | | 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>
* patch: Put the download links next to the "Patch" headerBelén Barros Peña2015-11-05
| | | | | | | | 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>
* patch: Override Bootstrap's <pre> stylingDamien Lespiau2015-11-05
| | | | | | | 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>
* style: Make the submission tables use #0A0A47Damien Lespiau2015-11-05
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* boxes: Style boxes like the patch formDamien Lespiau2015-11-05
| | | | | | | | 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>
* patchform: Minimal changes so patchform titles don't look out of placeDamien Lespiau2015-11-05
| | | | | | | | | | | 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>
* paginator: Redesign the paginatorBelén Barros Peña2015-11-05
| | | | | | | | | | | | 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>
* patch-list: Make the table header stickyDamien Lespiau2015-11-05
| | | | | | | | | 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>
* package: Add the Sticky Table Header jQuery pluginDamien Lespiau2015-11-05
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* patch-list: Re-design the main list of patches with BootsrapBelén Barros Peña2015-11-05
| | | | | | | | | | 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>
* selectize: Add selectize to patchworkDamien Lespiau2015-11-05
| | | | | | | | | 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>
* filters: Redesign the filters form with the help of bootstrapDamien Lespiau2015-11-05
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* filters: Use the glyphicons for add/remove signsDamien Lespiau2015-11-05
| | | | | | | 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>
* style.css: Rename the breadcrumb selectorsDamien Lespiau2015-11-05
| | | | | | | | | 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>
* style.css: Provide a default <h2> styleBelén Barros Peña2015-11-05
| | | | | | 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>
* templates: Redesign the breadcrumbs barDamien Lespiau2015-11-05
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* templates: Redesign the title barDamien Lespiau2015-11-05
| | | | | | | | | | | | | | | | | | | 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>
* style.css: Tune <a> stylingBelén Barros Peña2015-11-05
| | | | | | | | | | | 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>
* style.css: Move the global <a> styling at the topDamien Lespiau2015-11-05
| | | | | | | | 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>
* sytle.css: Remove the body selector, letting bootstrap's shine throughDamien Lespiau2015-11-05
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* list: Replace the 16-arrow* icons by glyphiconsDamien Lespiau2015-11-05
| | | | | | | They look more modern. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* htdocs: Add bootstrapDamien Lespiau2015-11-05
| | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* Integrate 'django.contrib.staticfiles'Stephen Finucane2015-05-03
| | | | | | | | | | 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>
* templates: display projects as inline-block elementsJeremy Kerr2014-05-07
| | | | | | ... rather than one long list. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>