From 95ec84a8c390a683207fb9b685bf6d97ffff250e Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sat, 23 Feb 2013 22:32:13 +0000 Subject: [PATCH] Add javascript to submit form to auto-set web URL fields If the repo URL matches known public hosting sites (i.e. git.openembedded.org, git.yoctoproject.org, github.com, gitorious.org, bitbucket.org) then we can set the web URLs automatically and save the submitter from having to figure them out themselves. Signed-off-by: Paul Eggleton --- layerindex/submitlayer.html | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/layerindex/submitlayer.html b/layerindex/submitlayer.html index d4c280a..bed91cd 100644 --- a/layerindex/submitlayer.html +++ b/layerindex/submitlayer.html @@ -27,3 +27,57 @@ {% endautoescape %} {% endblock %} + +{% block scripts %} + +{% endblock %}