From 52cd682405f7a052d45d83b66cc75f19316ceffe Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 10 Nov 2011 02:36:40 +0000 Subject: Enable multiple apps to co-exist under different paths in a single Virtual Host and Internet domain. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200105 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/edit/htdocs/clone/index.html | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'sca-cpp/trunk/modules/edit/htdocs/clone/index.html') diff --git a/sca-cpp/trunk/modules/edit/htdocs/clone/index.html b/sca-cpp/trunk/modules/edit/htdocs/clone/index.html index dd041e591e..3642634ed6 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/clone/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/clone/index.html @@ -35,7 +35,7 @@
- + @@ -56,23 +56,10 @@ // Get the app name var appname = ui.fragmentParams(location)['app']; -/** - * Return the link to an app. - */ -function applink(appname) { - var protocol = location.protocol; - var host = location.hostname; - var port = ':' + location.port; - if (port == ':80' || port == ':443' || port == ':') - port = ''; - var link = protocol + '//' + appname + '.' + host + port + '/'; - return link; -} - // Set page titles var tclone = isNil(config.clone)? 'Clone' : config.clone; document.title = ui.windowtitle(location.hostname) + ' - ' + tclone + ' - ' + appname; -$('appNameHeader').innerHTML = '' + appname + ''; +$('appNameHeader').innerHTML = '' + appname + ''; $('th').innerHTML = tclone + ' this App'; $('cloneAppOKButton').value = tclone; $('cloneAppOKButton').title = tclone + ' this app'; @@ -80,9 +67,6 @@ $('cloneAppOKButton').title = tclone + ' this app'; // Set images $('appimg').src = ui.b64img(appcache.get('/public/app.b64')); -// Init form -$('appDomain').innerHTML = '.' + location.hostname; - // Init service references var editWidget = sca.component("EditWidget"); var dashboards = sca.reference(editWidget, "dashboards"); -- cgit v1.2.3
New App Name:
 
App Icon:
Sharing: