summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/htdocs/create
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-06-13 07:57:39 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-06-13 07:57:39 +0000
commit2d73791e1d6fe81a262df6ffcc06875462d585b7 (patch)
treeb8a9bfb3fb75ec1a4613489e0515a7066dc6adb0 /sca-cpp/trunk/modules/edit/htdocs/create
parentd3bdc051ec4a6499c73d00e80f744aa375a01687 (diff)
Add the ability to configure page headers and footers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135049 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/create')
-rw-r--r--sca-cpp/trunk/modules/edit/htdocs/create/index.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/create/index.html b/sca-cpp/trunk/modules/edit/htdocs/create/index.html
index 0195473ca5..8db9d04892 100644
--- a/sca-cpp/trunk/modules/edit/htdocs/create/index.html
+++ b/sca-cpp/trunk/modules/edit/htdocs/create/index.html
@@ -25,13 +25,16 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<link rel="apple-touch-icon" href="/public/touchicon.png"/>
<link rel="stylesheet" type="text/css" href="/ui-min.css"/>
-<script type="text/javascript" src="/config.js"></script>
<script type="text/javascript" src="/all-min.js"></script>
<script type="text/javascript" src="/menu.js"></script>
</head>
-<body class="delayed" onorientationchange="ui.reload();">
+<body class="delayed" onload="ui.onload();">
<div id="bodydiv" class="devicewidth">
+<div id="headdiv" class="hsection">
+<script type="text/javascript" src="/headconfig.js"></script>
+</div>
+
<div id="menu"></div>
<table style="width: 100%;">
@@ -44,7 +47,7 @@
</tr>
</table>
-<form id="createAppForm" style="position: absolute; top: 90px; left: 0px;">
+<form id="createAppForm">
<table style="width: 100%;">
<tr><td><b>App Name:</b></td></tr>
<tr><td><input type="text" id="appName" size="15" autocapitalize="off" placeholder="Your app name"/>&nbsp;<span id="appDomain"></span></td></tr>
@@ -63,8 +66,6 @@
</table>
</form>
-</div>
-
<script type="text/javascript">
// Set page titles
document.title = windowtitle(window.location.hostname) + ' - Create App';
@@ -76,9 +77,6 @@ displaymenu();
// Init form
$('appDomain').innerHTML = '.' + window.location.hostname;
-// Show the page
-ui.showbody();
-
// Init service references
var editWidget = sca.component("EditWidget");
var dashboards = sca.reference(editWidget, "dashboards");
@@ -109,9 +107,13 @@ $('createAppForm').onsubmit = function() {
$('createAppCancelButton').onclick = function() {
return window.open('/store/', '_self');
};
-
</script>
+<div id="footdiv" class="fsection">
+<script type="text/javascript" src="/footconfig.js"></script>
+</div>
+
+</div>
</body>
</html>