aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
AgeCommit message (Collapse)Author
2018-05-04rrs: restore full-width pagesPaul Eggleton
Upon consideration, for the width of the information we want to present we do actually want full-width pages for the RRS. When this was changed earlier in the rrs branch it was changed in the base template, but we want to keep the same style elsewhere, so put a block in that will let use the "container-fluid" style (full width) in the RRS pages and "container" by default everywhere else. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-05-04Add a link from the Tools drop-down to the RRS if enabledPaul Eggleton
If the RRS is enabled, then add a link to it in the tools menu. I don't expect this to be used a lot, but otherwise the only way you'd get there would be either externally or via the link from the layer detail. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-02-20Add statistics pagePaul Eggleton
Add a page with basic statistics for the index - number of layers, recipes, classes, machines and distros on an overall basis (distinct names) and per branch, since I've been asked a few times for this kind of information. It's currently only linked from the Tools menu for logged-in users, but the URL will work for anyone. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-11-16Record and display update logsPaul Eggleton
At the moment it's a bit difficult to get update logs out of the environment in which the update script is being run. In order to make the logs more accessible, create a LayerUpdate model to record the output of update_layer.py separately for each layerbranch and tie the created LayerUpdates together with a single Update model per session. We provide two ways to look at this - a Tools->Updates page for logged-in users, and there's also an "Updates" tab on each layer that is accessible to anyone; which one is useful depends on whether you are looking at the index as a whole or an individual layer. Update records older than 30 days are deleted automatically by default. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12Upgrade to Django 1.6+Paul Eggleton
I'd like to be upgrading to 1.8 but that causes problems with South, and we're not quite ready to dispense with our existing migrations yet. Part of the implementation for [YOCTO #9620]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-28Use Django sites framework to specify website titlePaul Eggleton
This allows specifying the site title in the database, instead of hardcoding it in the template. Just change it to something other than "example.com" to apply your own title. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Top bar functions improvementsPaul Eggleton
* Change Submit layer link into a button * Ensure tools dropdown menu doesn't show on layer submit/edit page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Navigation improvementsPaul Eggleton
* Drop the front page - this just gets in the way. Redirect to the layers list instead. This has meant adding a touch more text to the about page and adding the FAQ link to the footer. * Use a separate navbar to hold the branch selector and the main top-level pages (Layers, Recipes, Machines) instead of tabs * All pages depending on a branch selection are now under branch/<branchname>/ so we don't need to have the branch selection on every page. * Use breadcrumbs on recipe detail and layer detail pages instead of tabs * Add title to recipe detail page Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Add support for importing OE-Classic recipesPaul Eggleton
Add a script for doing a one-time import of OE-Classic recipe information, so comparisons against OE-Core can be performed; this is stored using a new ClassicRecipe model supporting additional fields for tracking migration status. The migration status fields can be updated as well as viewed and summarised in graph format. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Login drop-down style improvementsPaul Eggleton
Thanks to Belen for the design. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Enable messages framework and use it to display "layer saved" messagePaul Eggleton
The Django messages framework is the proper way to handle these kinds of messages. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add recipe bulk change featurePaul Eggleton
This provides a way to set "meta" fields (SUMMARY, DESCRIPTION, HOMEPAGE, BUGTRACKER, SECTION, and LICENSE) for a number of recipes at once, and then download those changes in the form of one or more patch files which can be submitted for merging into the layer. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-17Add duplicate recipes/classes pagePaul Eggleton
Add page that lists recipes and classes "duplicated" across different layers. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Improve history collection and add link to history pagePaul Eggleton
Save individual field changes into revision comment and display this comment on the history page. Now we're ready to add a link at the bottom of every page so the history is easily visible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-05-22Add user profile editing formPaul Eggleton
This form allows the user to change their email address, first and last name. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Fix permission checking for publish_layer permissionPaul Eggleton
The incorrect module name was being checked; previously this was only tested with superusers (who get granted any permission requested, even if it is invalid). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06Add introductory front pagePaul Eggleton
Give the user a friendly introduction instead of plunging them straight into the layers list. (Of course if people want to link directly to the layers list they still can.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06Ensure we switch to the master branch for reviewingPaul Eggleton
Newly submitted layers don't have anything other than a master branch, so they won't display properly unless we have master selected; so just add a parameter to submission email and review URLs to ensure that is the case. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06Add a short description for branches to show in drop-downPaul Eggleton
Allows you to add e.g. "old stable" next to the denzil branch for clarification. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06Use appending to extend page title instead of overriding itPaul Eggleton
This means there is only one place to set the base title instead of needing to change it in every template. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-06Move all templates to a templates directoryPaul Eggleton
This should allow the templates to be found and swapped out more easily. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>