Skip to content

Commit

Permalink
setting contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonymous Coward committed May 18, 2014
1 parent f7d1827 commit f3cf3e4
Show file tree
Hide file tree
Showing 59 changed files with 153 additions and 704 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

File renamed without changes.
158 changes: 0 additions & 158 deletions Restaurant Survey Sample/index.html

This file was deleted.

File renamed without changes.
File renamed without changes.
Binary file removed images/bg_hr.png
Diff not rendered.
Binary file removed images/blacktocat.png
Diff not rendered.
Binary file removed images/icon_download.png
Diff not rendered.
Binary file removed images/sprite_download.png
Diff not rendered.
200 changes: 153 additions & 47 deletions index.html
@@ -1,52 +1,158 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Survey</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<head>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="Restaurant-survey-sample : Example repo of creating a restaurant survey using jQuery Mobile, Icenium, and Everlive." />
<link href="jquery-mobile/styles/jquery.mobile-1.3.1.min.css" rel="stylesheet">
<style>
form > div { padding: 0.5em 0; }
.ui-table:not(:first-child) { margin-top: 1em; }
</style>
</head>
<body>
<div data-role="page" id="settings">
<div data-role="header">
<h1>
Survey
</h1>
</div>
<div data-role="content">
<p>
<strong>Please complete the following survey.</strong>
</p>
<form>
<div>
<fieldset data-role="controlgroup" data-type="horizontal">
<legend>Which location did you visit?</legend>
<input type="radio" name="location" id="location-north" value="north" checked>
<label for="location-north">North</label>
<input type="radio" name="location" id="location-south" value="south">
<label for="location-south">South</label>
<input type="radio" name="location" id="location-west" value="west">
<label for="location-west">West</label>
</fieldset>
</div>

<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<div>
<label for="appetizer">Did you order an appetizer?</label>
<select name="appetizer" id="appetizer" data-role="slider">
<option value="no">No</option>
<option value="yes">Yes</option>
</select>
</div>

<title>Restaurant-survey-sample</title>
</head>

<body>

<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/mchubby/Restaurant-Survey-Sample">View on GitHub</a>

<h1 id="project_title">Restaurant-survey-sample</h1>
<h2 id="project_tagline">Example repo of creating a restaurant survey using jQuery Mobile, Icenium, and Everlive.</h2>

<section id="downloads">
<a class="zip_download_link" href="https://github.com/mchubby/Restaurant-Survey-Sample/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/mchubby/Restaurant-Survey-Sample/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h1>
<a name="restaurant-survey-sample" class="anchor" href="#restaurant-survey-sample"><span class="octicon octicon-link"></span></a>Restaurant-Survey-Sample</h1>

<p>Repo for a sample restaurant survey built with jQuery Mobile, Icenium, and Everlive.</p>
</section>
</div>

<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Restaurant-survey-sample maintained by <a href="https://github.com/mchubby">mchubby</a></p>
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
</footer>
</div>



</body>
</html>
<div>
<label for="rating">Please rate your overall experience from 1 to 5:</label>
<input type="range" name="rating" id="rating" value="3" min="1" max="5" step="1" data-highlight="true">
</div>

<div>
<button>
Submit
</button>
</div>
</form>
</div>
</div>

<div data-role="page" id="success">
<div data-role="header">
<h1>
Thanks!
</h1>
</div>
<div data-role="content">
<p>
Your survey was successfully processed. Thank you.
</p>
<a href="#results" data-role="button">View Results</a>
</div>
</div>

<div data-role="page" id="results">
<div data-role="header">
<h1>
Results
</h1>
</div>
<div data-role="content">
<table class="ui-table">
<thead>
<tr>
<th colspan="2">Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>North</td>
<td id="results-north"></td>
</tr>
<tr>
<td>South</td>
<td id="results-south"></td>
</tr>
<tr>
<td>West</td>
<td id="results-west"></td>
</tr>
</tbody>
</table>

<table class="ui-table">
<thead>
<tr>
<th colspan="2">Appetizer</th>
</tr>
</thead>
<tbody>
<tr>
<td>Yes</td>
<td id="results-yes"></td>
</tr>
<tr>
<td>No</td>
<td id="results-no"></td>
</tr>
</tbody>
</table>

<table class="ui-table">
<thead>
<tr>
<th colspan="2">Overall Rating</th>
</tr>
</thead>
<tbody>
<tr>
<td>One</td>
<td id="results-1"></td>
</tr>
<tr>
<td>Two</td>
<td id="results-2"></td>
</tr>
<tr>
<td>Three</td>
<td id="results-3"></td>
</tr>
<tr>
<td>Four</td>
<td id="results-4"></td>
</tr>
<tr>
<td>Five</td>
<td id="results-5"></td>
</tr>
</tbody>
</table>
</div>
</div>

<script src="jquery-mobile/js/jquery-1.9.1.min.js"></script>
<script src="jquery-mobile/js/jquery.mobile-1.3.1.min.js"></script>
<script src="scripts/everlive.all.min.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion javascripts/main.js

This file was deleted.

File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion params.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit f3cf3e4

Please sign in to comment.