layerindex-web/templates
Paul Eggleton ac6b563716 editlayer: allow selecting web interface type
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-10-25 20:33:42 +13:00
..
admin Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
layerindex editlayer: allow selecting web interface type 2016-10-25 20:33:42 +13:00
registration Fixes for django-registration 2.x 2016-09-20 20:46:56 +12:00
404.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
500.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
base_toplevel.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
base.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
pagination.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00