Mercurial > eldonilo > barbecue
comparison index.xhtml @ 8:7b2ca4d5af6d
Add a resend-whole-state button and make it works.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 02 Feb 2012 15:45:25 +0100 |
parents | 853dcbe8f06f |
children |
comparison
equal
deleted
inserted
replaced
7:853dcbe8f06f | 8:7b2ca4d5af6d |
---|---|
17 <script type="text/javascript" src="config.js"></script> | 17 <script type="text/javascript" src="config.js"></script> |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 <div id="state"/> | 20 <div id="state"/> |
21 <button id="host">Host</button> | 21 <button id="host">Host</button> |
22 <button id="resend-state">Resend the whole state</button> | |
22 <form id="toolbar"> | 23 <form id="toolbar"> |
23 <dl> | 24 <dl> |
24 <dt> edit: </dt> | 25 <dt> edit: </dt> |
25 <dd> | 26 <dd> |
26 <input type="button" value=" " data-command="undo" /> | 27 <input type="button" value=" " data-command="undo" /> |
98 </form> | 99 </form> |
99 <pre id="breadcrumb"> </pre> | 100 <pre id="breadcrumb"> </pre> |
100 | 101 |
101 <section id="document" contenteditable="true"> | 102 <section id="document" contenteditable="true"> |
102 <h2> Go ahead, edit away! </h2> | 103 <h2> Go ahead, edit away! </h2> |
103 <p> Here's a typical paragraph element </p> | 104 <p> Here's a <span style="color:red">typical</span> paragraph element </p> |
104 <ol><li> and now a list </li><li> with only </li><li> three items </li></ol> | 105 <ol><li> and now a list </li><li> with only </li><li> three items </li></ol> |
105 </section> | 106 </section> |
106 | 107 |
107 <footer> | 108 <footer> |
108 <p> | 109 <p> |