aboutsummaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)Author
2014-03-09recipes: preserve search keyword when switching between branchesPaul Eggleton
If you want to check what the same search returns on a different branch it makes things easier if you don't have to re-type the search after selecting the branch. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Fix append list name matchingPaul Eggleton
* Recipes without versions in the file name (such as alsa-state.bb) weren't having their bbappends listed. Use a regex match to fix this. * Use the prefix from the filename instead of PN, since that's how BitBake does it * List version matching bbappends first, then non-matching in muted colour Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09Show branch name next to last update datePaul Eggleton
Just to reinforce which branch is being viewed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-09duplicates: add ability to select layersPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-03-03Fix OE-Classic stats page for update to latest django-nvd3 (0.6.0)Paul Eggleton
Update d3/nvd3 js files in the process, but hold off on nv.d3.css for now because the latest version breaks the formatting/fading on tooltips. 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-13Fix fields not saving their values when disabledPaul Eggleton
We grey out some fields because we don't want to allow the user to change them. However, we were setting the "disabled" jQuery property to do this, and this results in the read value for the form field being blank and thus the field in the database being blank. Set the "readonly" property instead to get the correct behaviour. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Fix detail page breadcrumbs to show layer branch instead of "Layers"Paul Eggleton
This makes it easier to tell what branch you are looking at. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-09-05Disable web URL fields when repository is knownPaul Eggleton
Some users seem to think it's necessary to clear these fields out when they are auto-set. The most appropriate thing to do seems to be to disable editing them if we know what their values should be. 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-11Minor improvement to layer note spacing/marginsPaul Eggleton
Don't show a slightly longer bottom margin when buttons are not shown. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Layer detail: use tabs for recipes/machines/appends/classesPaul Eggleton
Tabs make these a bit easier to browse. 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-11Show appends in recipe detailPaul Eggleton
Show the appends in other layers that apply to the recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11layers: leave drop-down filter box open when ticking/unticking itemsPaul Eggleton
This allows users to easily tick and untick several items at once without having to drop the filter box down multiple times. Thanks to Belen for this snippet. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Change tab titles to match front page buttonsPaul Eggleton
"Layer index" -> "Layers", "Machine index" -> "Machines", etc. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Add cancel button to edit layer formPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Return to appropriate page when saving a layerPaul Eggleton
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-17Collect bbappends and bbclasses for each layerPaul Eggleton
Collect bbappend/bbclass info during the update process and display it on the layer detail page. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-06-03Collect BUGTRACKER, PROVIDES and BBCLASSEXTEND for each recipePaul Eggleton
* Show BUGTRACKER in the recipe detail page if set * Track the other two variables for possible future use 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-04-05detail: ensure machine list is sorted by namePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-31Add basic change history pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-30editlayer: fix checkboxes not showing up in ChromiumPaul Eggleton
Somehow due to some CSS shenanigans these checkboxes had 0 width in Chromium and thus were invisible. A style on the td had to be used because a style on the input doesn't seem to fix it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28about: Drop secondary heading sizesPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28Change registered -> created in registration confirmation pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-28Fix site name being blank in new account activation emailPaul Eggleton
All variables used within blocktrans need to be local. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27about: Add Michael and Alex to the contributors listPaul Eggleton
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-27Change "register" to "create account" on login pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-27Fix CSRF validation errors in password reset formsPaul Eggleton
Thanks to Michael Halstead <michael@yoctoproject.org> for this fix. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-20De-emphasise recipes where there is a more preferred version availablePaul Eggleton
If another recipe exists with the same name in a different layer and that other layer is "older" (by layer ID) and is a software or base layer then lighten the recipe entry in the search results as it may not be the preferred version (e.g. recipes in BSP or distro layers may have been customised specifically for the machine or distro). This has had a performance impact on the recipes list; as a result showing all recipes by default has been disabled. If the user really wants to see all recipes they can just leave the search box blank and hit the search button. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-20Move repo subdirectory to layerbranchPaul Eggleton
So it turns out that one or two layers have changed in structure between branches, so we need to be able to specify this on a per-branch basis. Good times... Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-03-08Added activation_complete templateAlexandru DAMIAN
When clicking on an activation link, after verification, the registration application tries to show the activation_complete page. The template was missing, so I added a basic skeleton. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
2013-03-08Blocktrans can't take other url blocksAlexandru DAMIAN
Modified the email body to break the blocktrans into two separate blocks, and not include the url block inside the blocktrans block. Signed-off-by: Alexandru DAMIAN <alexandru.damian@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-06Add separate templates for review list and detailPaul Eggleton
This cuts out a lot of the elements that aren't needed for the review list, shows fields in a more suitable way for review purposes than the standard detail (and includes some fields that don't currently get shown on the standard detail e.g. layer type and short description). 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>