aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/static
AgeCommit message (Collapse)Author
2016-10-25editlayer: allow selecting web interface typePaul Eggleton
For some repo URLs we can automatically determine the values of all of the other fields - e.g. for github or git.openembedded.org, and we've been doing that for a while. However if someone submits a URL for some other site we don't know what type of interface it uses, and usually the submitter leaves the fields blank so it falls to the layer index maintainer to set the values, and then you have to remember what the correct URL format is which is awkward especially for gitweb. In order to fix this, add a select field to the form which allows specifying which type of interface is being used. At the moment only cgit, gitweb, gitlab and "(custom)" (i.e. the current behaviour) are supported. This is not a real field but activates javascript code that sets the other fields and enables/disables the controls. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-05-24Display recipe blacklist informationAlex Franco
Display blacklist information for recipes in the recipe details, as well as the recipe search page, and layer page tables. This information is pulled from the PNBLACKLIST variable. Includes a hover text containing the reason for blacklist labels. Changes to Django and Layerindex files: - models.py, update.py - migration file - templates and static content (stylesheet) [YOCTO #7855] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com>
2015-10-07Support for recipe inherits fieldAlex Franco
To identify image recipes and provide inheritance data for recipes, an inherits field was added to the recipe model, and then populated using refactored data from __inherit_cache. Finally the field was also added to page templates, along with style changes proposed in attachment, and an additional style change to display the inherits field as a list in detailed view. The field skips globally inherited data as proposed. [YOCTO #7575] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> 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-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-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-11Force scrollbar to always show to prevent page width changingPaul Eggleton
Having the page content dance about when switching between pages just because one has a scrollbar and the other doesn't is annoying, so just force the scrollbar to show all of the time to avoid this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-11Update bootstrap to latest version (2.3.0)Paul Eggleton
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-11Add cancel button to edit layer formPaul Eggleton
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-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-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-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-02-28Add CAPTCHA to submission formPaul Eggleton
This should prevent spamming even though this is less likely with this kind of site. The CAPTCHA does not show when editing, only submitting, and is also not shown for authenticated users. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-28Submit/edit form tweaksPaul Eggleton
* Don't specify action on form - this is best practice and avoids the need to have separate form tags for submit and edit * Add a short introduction to the submit form * Focus first field on load only if first field is empty (avoids doing this focusing on the edit form which is not really useful). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-28Styles for the submit layers formBelen Barros
Improve styling and layout Signed-off-by: Belen Barros <belen.barros.pena@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-26Make it easier to select repo URL/subdir on detail pagePaul Eggleton
Add an icon with some javascript to select the URL / subdir text so it can be easily copied (since dragging can easily select unwanted text from the rest of the page). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-25Add OE faviconPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-25Use scrolling list of checkboxes for dependencies on submit formPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-22Layer details style changesBelen Barros
Changed to full screen layout to improve the table display and get rid of the accordion for the layer information. Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
2013-02-20Add a basic about pagePaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-13Initial commit of layerindex-webPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>