Commits

Esa-Matti Suuronen committed 3fdfeb3

added some help texts

Comments (0)

Files changed (2)

     <head>
         <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
 
-        <title>Juomalaskuri</title>
+        <title>HTML5 Drink Counter</title>
         
         <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css' />
         <link rel="stylesheet" type="text/css" href="css/base.css" />
 
             <div id="dialog-form" title="Add a new Drinker!">
 
-                <form>
+                <p>
+                    Drinkers will be saved to localStorage of your browser.
+
+                </p>
+                <p>
+                    You need to have fairly new browser to use this application.
+                    Tested with Chrome 5 and Firefox 3.6.
+
+                </p>
+
                     <fieldset>
                         <label for="formName">Name</label>
                         <input type="text" 
                                class="text ui-widget-content ui-corner-all"
                                value="0" />
                     </fieldset>
-                </form>
             </div>
 
 
         <div id="dialog-confirm" title="Delete all Drinkers?">
 	<p>
-            These Drinkers will be permanently deleted and cannot be recovered. Are you sure?
+            Drinkers will be permanently deleted and cannot be recovered.
+            Are you sure?
         </p>
         </div>
 

js/juomalaskuri.js

 
     $("#dialog-form").dialog({
                         autoOpen: false,
-                        height: 250,
-                        width: 300,
+                        height: 400,
+                        width: 400,
                         draggable: true,
                         modal: true,
                         buttons: {
     $("#dialog-confirm").dialog({
             autoOpen: false,
             resizable: false,
-            height: 250,
-            width: 300,
+            height: 300,
+            width: 400,
             modal: true,
             buttons: {
                     'Delete all drinkers': function() {