1 <!-- 2 Copyright 2010 Google 3 4 Licensed under the Apache License, Version 2.0 (the "License"); you may not 5 use this file except in compliance with the License. You may obtain a copy of 6 the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 License for the specific language governing permissions and limitations under 14 the License. 15 16 Brian Kennish <byoogle (a] google.com> 17 --> 18 <title>Google Wave Notifier</title> 19 <style> 20 body { 21 margin: 10px; 22 font: 84% Arial, sans-serif 23 } 24 25 h1 { font-size: 156% } 26 27 h1 img { 28 margin: 1px 5px 0 1px; 29 vertical-align: middle 30 } 31 32 h2 { 33 border-top: 1px solid #9cc2ef; 34 background-color: #ebeff9; 35 padding: 3px 5px; 36 font-size: 100% 37 } 38 39 dl { padding: 0 5px } 40 41 dt { font-weight: bold } 42 43 dd { 44 margin-top: 13px; 45 margin-bottom: 13px 46 } 47 </style> 48 <script> 49 onload = function() { 50 options.maxDigests.value = localStorage.maxDigests; 51 options.participantAnnotated.checked = 52 chrome.extension.getBackgroundPage(). 53 parse(localStorage.participantAnnotated); 54 55 options.maxDigests.onchange = function() { 56 localStorage.maxDigests = this.value; 57 }; 58 59 options.participantAnnotated.onchange = function() { 60 localStorage.participantAnnotated = this.checked; 61 }; 62 }; 63 </script> 64 <h1> 65 <img src="64.png" alt="Google Wave"> 66 Google Wave Notifier 67 </h1> 68 <h2>Options</h2> 69 <form id="options"> 70 <dl> 71 <dt>Popup bubble:</dt> 72 <dd> 73 Show up to 74 <select name="maxDigests"> 75 <option>5</option> 76 <option>10</option> 77 <option>20</option> 78 </select> 79 wave digests 80 </dd> 81 <dd> 82 <input type="checkbox" name="participantAnnotated" checked> 83 Show wave participants as tooltips 84 </dd> 85 </dl> 86 </form> 87