Cleaned up HTML UI (js points to local testnet, public testnet version to follow.)
[robmyers:artworld-ethereum.git] / ui / art_is.html
1 <html>
2 <head>
3   <script type="text/javascript"
4           src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
5   </script>
6   <script type="text/javascript"
7           src="js/art_is.js">
8   </script>
9   <script>
10     if (typeof(window.eth) === "undefined") {
11       document.write('Please run in AlethZero.<br/>');
12     }
13   </script>
14   <link rel="stylesheet" type="text/css" href="css/art_is.css" />
15 <title>Art is...</title>
16 </head>
17 <body>
18   <div id="debug"></div>
19   <div id="definition_section">
20     <h2>The Definition Of Art</h2>
21     <div id="definition"></div>
22   </div>
23   <div id="change_section">
24     <h2>Change The Definition</h2>
25     <table>
26       <tr><td>Definition:</td>
27         <td><select onchange="update_change_definition_ui();" id="change_definition_index"></select></td></tr>
28       <tr><td>Currently:</td><td><span id="definition_to_change"></span>&nbsp;</td></tr>
29       <tr><td>Extent:</td><td><select id="change_definition_extent"></select></td></tr>
30       <tr><td>Connection:</td><td><select id="change_definition_connection"></select></td></tr>
31       <tr><td>Relation:</td><td><select id="change_definition_relation"></select></td></tr>
32       <tr><td>Subject:</td><td><select id="change_definition_subject"></select></td></tr>
33       <tr><td>Cost:</td><td><span id="price">X</span> Wei.</td></tr>
34       <tr><td>&nbsp;</td><td></td></tr>
35       <tr><td><a id="change" href="javascript:void(0)" onclick="change_definition();"><b>update</b></a></td>
36         <td><a id="dismiss" href="javascript:void(0)" onclick="cancel_change_definition();"><b>cancel</b></td></tr>
37     </table>
38   </div>
39 </body>
40 </html>