74 lines
3.1 KiB
HTML
74 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
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>
|
|
<meta charset="utf-8" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
|
|
<link rel="stylesheet" type="text/css" href="css/topcoat-mobile-light.css" />
|
|
<title>Flex Survey</title>
|
|
</head>
|
|
<body>
|
|
<div class="app">
|
|
<div class="topcoat-navigation-bar">
|
|
<div class="topcoat-navigation-bar__item center full">
|
|
<h1 class="topcoat-navigation-bar__title">Flex-Survey</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- this will come at a later stage... -->
|
|
<div class="topcoat-tab-bar" style="display:none">
|
|
<label class="topcoat-tab-bar__item">
|
|
<input type="radio" name="tab-bar">
|
|
<button class="topcoat-tab-bar__button">Form</button>
|
|
</label>
|
|
<label class="topcoat-tab-bar__item">
|
|
<input type="radio" name="tab-bar">
|
|
<button class="topcoat-tab-bar__button">Config</button>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- here goes the form -->
|
|
<fieldset><legend>Form</legend>
|
|
<div id='allForm'>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<!-- debug only
|
|
<button id="btnContent" onclick="$('#xxx').text(JSON.stringify($('#allForm').toJSO()))" class="topcoat-button--large">Serial</button>
|
|
<textarea id="xxx" class="topcoat-textarea--large" rows="6" cols="36" placeholder="Textarea"></textarea>
|
|
-->
|
|
|
|
<button onclick="$.post('http://devvm.uni.cx:2222/FormSubmit',$('#allForm').toJSO());" class="topcoat-button--large--cta">Submit</button>
|
|
|
|
<script type="text/javascript" src="phonegap.js"></script>
|
|
<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
|
|
<script type="text/javascript" src="js/handlebars-v1.1.2.js"></script>
|
|
<script type="text/javascript" src="js/index.js"></script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
app.initialize();
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|