1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
<!--
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.
-->
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css" type="text/css"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/2.0.4/css/bootstrap.css" type="text/css"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/2.0.4/css/bootstrap-responsive.css" type="text/css"/>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"></script>
<script type="text/javascript" src="js/about.js"></script>
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>Project Easel Demo - HTML5, jQuery, REST</title>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Project name</a>
<div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-user"></i> Username
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="#">Sign Out</a></li>
</ul>
</div>
<div class="nav-collapse">
<ul class="nav">
<li><a href="index.html">Home</a></li>
<li class="active"><a href="about.html">About</a></li>
<li><a href="tableui.html">Rest Client</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span9">
<div class="hero-unit">
<div id="rest">
<p>REST sample will go in here<br/>
<a class="btn" id="loadRestBtn" onclick="loadRest()">Load REST Data</a>
</p>
</div>
<div id='restDetails' class='restDetails'>
<table>
<tr><td id="restName"></td></tr>
<tr><td id="restRep"></td></tr>
<tr><td id="restEmail"></td></tr>
<tr><td id="restPhone"></td></tr>
</table>
<p>
<a class='btn' onclick='dataSwitch()'>« Return</a>
</p>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<!-- This is the drag and drop code -->
<div id="DandD_div" class="span3">
<p id="draganddrop" class="fancy">HTML5 Drag and Drop example: Drag the kitten up to visit the bunny.</p>
<div id="div1" ondrop="drop(event)" ondragover="allowDrop(event)">
<img id="drop1" src="img/rabbit3.jpg" width="100" height="100" style="padding: 10px" />
</div>
<img id="drag1" src="img/kitten1.jpg" draggable="true" ondragstart="drag(event)" width="100" height="120" style="padding: 10px" />
</div>
<!--
// jQuery animation example section
// All javascript for the animations is in about.js
-->
<div class="span4">
<p id="jquery" class="fancy">A simple jQuery animation</p>
<button id="start">Start Me Up!</button>
<div id="animation-div" style="background-color: blueviolet; position: relative; width: 100px; height: 100px" >
</div>
</div>
<div class="span4">
<p id="show_hide" class="fancy">Div transition</p>
<button id="switch">Switch!</button>
<div id="blue_div" style="background-color: blue; position: relative; width: 100px; height: 100px"></div>
<div id="red_div" style="display: none; background-color: red; position: relative; width: 100px; height: 100px"></div>
</div>
</div>
<div class="row-fluid">
<div class="span4">
<div id="jsonp_test" style="position: relative;"><a class="btn tweet-window" href="#tweetBox" >Show weather in Prague</a></div>
</div>
</div>
</div>
<div id="tweetBox" class="tweet-popup">
<a href='#' class='tweet-close'><img src='css/images/close_pop.png' class='btn_close' title='Close Window' alt='Close' /></a>
<form method='post' class='signin' action='#'>
<fieldset class='tweetbox'>
<label>
<span id="tweetImg"></span>
</label>
<label>
<span id="tweetUsername" class='username'></span>
<span id="tweetUser" style="font-size: 12px;"></span>
</label>
<div id="tweetText" ></div><br/>
<div id="dataSource">Data from <a href="http://openweathermap.org">openweathermap.org</a></div>
</fieldset>
</form>
</div>
<script type="text/javascript" src="js/draganddrop.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/2.0.4/js/bootstrap-dropdown.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/2.0.4/js/bootstrap-collapse.js"></script>
</body>
</html>
|