diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-13 10:27:39 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-13 10:27:39 +0000 |
commit | 2dffb211b9e30269a0db1c7741a4f07ff5260952 (patch) | |
tree | ee3feadb43e35ac6cfaee9c24673e8662e3c3299 /sca-cpp/trunk/modules/edit/htdocs/page/page.html | |
parent | 79886cb0923d20021e09a231d3952c319402e2d4 (diff) |
Refactor and minor improvements of the edit module. Add a palette of sample components.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1058487 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/page/page.html')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/page/page.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/page/page.html b/sca-cpp/trunk/modules/edit/htdocs/page/page.html new file mode 100644 index 0000000000..75405ce163 --- /dev/null +++ b/sca-cpp/trunk/modules/edit/htdocs/page/page.html @@ -0,0 +1,50 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<html> +<head> +<link rel="stylesheet" type="text/css" href="/ui.css"> +<script type="text/javascript" src="/util.js"></script> +<script type="text/javascript" src="/elemutil.js"></script> +<script type="text/javascript" src="/xmlutil.js"></script> +<script type="text/javascript" src="/atomutil.js"></script> +<script type="text/javascript" src="/scdl.js"></script> +<script type="text/javascript" src="/ui.js"></script> +<script type="text/javascript" src="/component.js"></script> +<script type="text/javascript" src="page.js"></script> +</head> +<body> + +<div id="page" style="position: absolute; width: 5000px; height: 5000px;"> + +<input id="palette:button" type="button" value="sample button" style="position: absolute; left:20px; top: 20px;"/> +<input id="palette:entry" type="text" value="sample value" style="position: absolute; left:20px; top: 60px;"/> +<span id="palette:text" style="position: absolute; left:20px; top: 100px;">sample text</span> + +</div> + +<script type="text/javascript"> +// Install the widget +ui.installwidget(); + +// Enable drag&drop on sample UI elements +page.initpage($('page')); + +</script> +</body> +</html> |