| Index: tools/grit/grit/testdata/preferences.html
|
| diff --git a/tools/grit/grit/testdata/preferences.html b/tools/grit/grit/testdata/preferences.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b37412436bcbdd78b55f78ed5ae518228f2a1689
|
| --- /dev/null
|
| +++ b/tools/grit/grit/testdata/preferences.html
|
| @@ -0,0 +1,234 @@
|
| +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| +<html><head><title>Google Desktop Search Preferences</title>
|
| +<meta http-equiv=content-type content="text/html; charset=utf-8">
|
| +<style>
|
| +body {
|
| + margin-left: 2em; margin-right: 2em;
|
| + font-family: arial,sans-serif;
|
| + color:#000; background-color:#fff;
|
| +}
|
| +a:active { color:#f00 }
|
| +a:visited { color:#551a8b }
|
| +a:link { color:#00c }
|
| +a.c:active { color: #ff0000 }
|
| +a.c:visited { color: #7777cc }
|
| +a.c:link { color: #7777cc }
|
| +.b { font-weight: bold }
|
| +.shaded-header { background-color: #e8f4f7; border-top: 1px solid #39c;
|
| +margin: 0px; padding: 0px }
|
| +.shaded-subheader { background-color: #e8f4f7; margin: 12px 0px 0px 0px;
|
| + padding: 0px }
|
| +.plain-subheader { background-color: #fff; margin: 12px 0px 0px 0px;
|
| + padding: 0px }
|
| +.header-element { margin: 0px; padding: 2px}
|
| +.expand { width: 98% }
|
| +.s { font-size: smaller }
|
| +.prefgroup { border: 2px solid #e8f4f7; width: 100% }
|
| +.phead { font-weight: bold; font-size: smaller; vertical-align: top;
|
| +text-transform: capitalize; border-bottom: 2px solid #e8f4f7; margin: 0px;
|
| +padding: 8px}
|
| +.pbody { border-bottom: 2px solid #e8f4f7; margin: 0px;
|
| +padding: 8px}
|
| +.pref-last { border-bottom: 0px }
|
| +.example { color: gray; font-family: monospace; }
|
| +</style>
|
| +<script>
|
| +<!--
|
| +function validate() {}
|
| +function fnOnClickAll() {for (var i = 0; i < document.langform.lr.length; i++) {
|
| +document.langform.lr[i].checked = false;}}
|
| +function fnOnClickSome() {
|
| +var count = 0;for (var i = 0; i < document.langform.lr.length; i++) {
|
| +if (document.langform.lr[i].checked) {count++;}}
|
| +document.langform.lang[0].checked = (count <= 0);
|
| +document.langform.lang[1].checked = (count > 0);}
|
| +// -->
|
| +</script>
|
| +</head>
|
| +<body onload="checkOffice()">
|
| +<form name=prefs action="[$~SETPREFS~$]" method=post><input name=url
|
| +value="[PREVPAGE]" type=hidden>
|
| +<table cellspacing=2 cellpadding=0 width="100%" border=0>
|
| +<tr>
|
| +<td valign=top width="1%"><a href="[$~HOMEPAGE~$]">
|
| +<img alt="Go to Google Desktop Search" src="logo3.gif" border=0></a></td>
|
| +<td> </td>
|
| +<td nowrap>
|
| +
|
| +<table class="shaded-header"><tr>
|
| +<td class="header-element b expand">Preferences</td>
|
| +<td class="header-element s">
|
| +<a href="http://desktop.google.com/preferences.html">Preferences Help</a>
|
| +</td>
|
| +</tr></table>
|
| +
|
| +</tr></table>
|
| +
|
| +<table class="shaded-subheader"><tr>
|
| +<td class="header-element expand s">
|
| +<span class="b">Save</span> your preferences when finished.</td>
|
| +<td class="header-element"><input type=submit value="Save Preferences"
|
| +name=submit2></td>
|
| +</tr></table>
|
| +
|
| +[STATUS-MESSAGE]
|
| +<table class="plain-subheader"><tr>
|
| +<td class="header-element expand"><span class="b">Preferences</span><span
|
| +class="s"> (changes apply to Google Desktop Search application)</span></td>
|
| +</tr></table>
|
| +
|
| +<table class="prefgroup" cellpadding=0 cellspacing=0>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead">Search types</td>
|
| +<td class="pbody"><div class="s">Index the following items so that you can
|
| +search for them:<br /> </div>
|
| +<div>
|
| + <table border=0>
|
| + <tr>
|
| + <td width=150 nowrap valign=top><span class="s">
|
| + <input type=checkbox [CHECK-EMAIL] name=EMAIL id=h3><label for=h3>
|
| + Email</label><br>
|
| + <input type=checkbox [CHECK-AIM] name=AIM id=h5><label for=h5> Chats
|
| + (AOL/MSN IM)</label><br>
|
| + <input type=checkbox onclick='if(!this.checked){h12.checked=0;h12.disabled=1;}
|
| + else {h12.disabled=0;}' [CHECK-WEB] name=WEB id=h11><label for=h11> Web
|
| + history</label>
|
| +
|
| + </span></td>
|
| + <td width=120 nowrap valign=top><span class="s">
|
| + <script>
|
| +<!--
|
| +function checkOffice() { var w = document.getElementById("h7");
|
| +var e = document.getElementById("h8"); var o = document.getElementById("h10");
|
| +if (!(w.checked || e.checked)) { o.checked=0;o.disabled=1;} else {o.disabled=0;} }
|
| +// -->
|
| + </script>
|
| + <input type=checkbox [CHECK-DOC] name=DOC id=h7 onclick='checkOffice()'>
|
| + <label for=h7> Word</label><br>
|
| + <input type=checkbox [CHECK-XLS] name=XLS id=h8 onclick='checkOffice()'>
|
| + <label for=h8> Excel</label><br>
|
| + <input type=checkbox [CHECK-PPT] name=PPT id=h9>
|
| + <label for=h9> PowerPoint</label><br>
|
| + </span></td><td nowrap valign=top><span class="s">
|
| + <input type=checkbox [CHECK-PDF] name=PDF id=hpdf>
|
| + <label for=hpdf> PDF</label><br>
|
| + <input type=checkbox [CHECK-TXT] name=TXT id=h6>
|
| + <label for=h6> Text, media, and other files</label><br>
|
| + </tr>
|
| + <tr><td nowrap valign=top colspan=3><span class="s"><br />
|
| + <input type=checkbox [CHECK-SECUREOFFICE] name=SECUREOFFICE id=h10>
|
| + <label for=h10> Password-protected Office documents (Word, Excel)</label><br />
|
| + <input type=checkbox [DISABLED-HTTPS] [CHECK-HTTPS] name=HTTPS id=h12><label
|
| + for=h12> Secure pages (HTTPS) in web history</label></span></td></tr>
|
| +</table>
|
| +</div></td></tr>
|
| +</div>
|
| +</td>
|
| +</tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead">Plug-ins</td>
|
| +<td class="pbody"><div class="s"
|
| +style="display:[ADDIN-DISPLAYSTYLE]">Index these additional items:<p>
|
| +[ADDIN-DO]
|
| +[ADDIN-OPTIONS]</div><div class="s">
|
| +To install plug-ins to index other items, visit the
|
| +<a href="http://desktop.google.com/plugins.html">Plug-ins Download page</a>.</div>
|
| +</tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead">Don't search these items</td>
|
| +<td class="pbody"><div class="s">
|
| +<label for=FORBIDDEN>Do not search web sites with the following URLs or files
|
| +with the following paths. Put each entry on a separate line. Examples:</label><br>
|
| +<span class="example">c:\Documents and Settings\username\Private Stuff</span><br>
|
| +<span class="example">http://www.domain.com/</span><br>
|
| +<div> </div>
|
| +<div><TEXTAREA rows=3 cols=65 name=FORBIDDEN id=FORBIDDEN>[FORBIDDEN]
|
| +</TEXTAREA></div>
|
| +</tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead pref">Search Box Display</td>
|
| +<td class="pbody pref" valign=top>
|
| +
|
| +<table border=0 cellpadding=0><tr><td valign=top>
|
| +
|
| +<input type="radio" name="SBDISPLAY" id="DISPLAYDB" [CHECK-DISPLAYDB] value="DISPLAYDB"></td><td>
|
| +<label for=DISPLAYDB><font size=-1>Deskbar - A search box in your taskbar</font></label></td></tr>
|
| +<tr><td></td></tr>
|
| +<tr><td></td><td><img src="deskbar.gif" alt="Deskbar" width="268" height="34"></td></tr>
|
| +<tr><td height=2></td></tr>
|
| +<tr><td valign=top>
|
| +
|
| +<input type="radio" name="SBDISPLAY" id="DISPLAYMB" [CHECK-DISPLAYMB] VALUE="DISPLAYMB"></td><td>
|
| +<label for=DISPLAYMB><font size=-1>Floating Deskbar - A search box you can put anywhere on your desktop</font></label></td></tr>
|
| +<tr><td></td></tr>
|
| +<tr><td></td><td><img src="minibar.gif" width="137" height="27"></td></tr>
|
| +<tr><td height=2></td></tr>
|
| +<tr><td valign=top>
|
| +
|
| +<input type=radio name="SBDISPLAY" id="DISPLAYNONE" [CHECK-DISPLAYNONE] VALUE="DISPLAYNONE"></td><td valign=top>
|
| +<label for=DISPLAYNONE><font size=-1> None</font></label>
|
| +</td></tr>
|
| +</table>
|
| +
|
| +</td></tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead pref">Number of Results</td>
|
| +<td class="pbody pref"><label for=num><span class="s">
|
| +Display <select name=num id="num">
|
| +<option [CHECK-NUM-10]>10
|
| +<option [CHECK-NUM-20]>20
|
| +<option [CHECK-NUM-30]>30
|
| +<option [CHECK-NUM-50]>50
|
| +<option [CHECK-NUM-100]>100</select>
|
| + results per page</span></label>
|
| +</td>
|
| +</tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead">Google integration</td>
|
| +<td class="pbody">
|
| +<table border=0 cellpadding=0>
|
| +<tr><td><input type=CHECKBOX name=ONEBOX [CHECK-ONEBOX] id=onebox></td>
|
| +<td><label for=onebox>
|
| + <span class="s">Show Desktop Search results on Google Web Search result pages.
|
| + </span></label></td></tr>
|
| + <tr><td></td><td>
|
| + <span class="s">Your personal results are private from Google.</span>
|
| + </td></tr></table>
|
| +</td>
|
| +</tr>
|
| +
|
| +<!-- -->
|
| +<tr>
|
| +<td class="phead pref-last">Help us improve</td>
|
| +<td class="pbody pref-last">
|
| +<input type=CHECKBOX name=SENDDATA id="SENDDATA" [CHECK-SENDDATA]><label for=
|
| +SENDDATA> <span class="s">Send non-personal usage data and crash reports to
|
| +Google to help improve Desktop Search.</span></label>
|
| +</td>
|
| +</tr>
|
| +
|
| +</table>
|
| +
|
| +<table class="shaded-subheader"><tr>
|
| +<td class="header-element expand s"><span class="b">Save</span> your preferences
|
| +when finished.</td>
|
| +<td class="header-element"><input type=submit value="Save Preferences"
|
| +name=submit2></td>
|
| +</tr></table>
|
| +
|
| +<p><div align=center>[$~BOTTOMLINE~$]</div>
|
| +<br><center><span class="s">©2005 Google</span></center>
|
| +</form></body></html>
|
|
|