* Renamed the "Contents" box to "Index" because we already link to the "global"

contents.html on every page.
* Added an index box to Queries, Tracker, Email prefs, workshop and Deskbar. If
  anybody find another topic should get an index box, I'll add it.
* Little css tweak for the contents/index box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31426 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Joachim Seemer
2009-07-06 16:53:55 +00:00
parent 922c7be61c
commit 25ab629645
7 changed files with 159 additions and 39 deletions
+27 -5
View File
@@ -36,9 +36,23 @@
<div class="content">
<table class="index" id="index" name="index" summary="index" align="right">
<tr class="heading"><td>Index</td></tr>
<tr class="index"><td>
<a href="#find-window">The Find window</a><br />
<a href="#basic-query">Basic queries - "by Name"</a><br />
<a href="#adv-query">Advanced queries - "by Attribute"</a><br />
<a href="#more-adv-query">Even more advanced queries - "by Formula"</a><br />
<a href="#result-window">The result window</a>
</td></tr>
</table>
<p>A query is a file search based on file attributes and can be performed within Tracker or in Terminal. Queries are saved in <span class="path">/boot/home/queries/</span> and by default last seven days before being purged. Note, that these aren't static result lists of your search, but are the query formulas which trigger a new search whenever you open them.</p>
<h1><a id="find-window" name="find-window">The Find window</a></h1>
<h1>
<a href="#index"><img src="../images/up.png" align="right" alt="index" border="0" width="16" height="16" /></a>
<a id="find-window" name="find-window">The Find window</a></h1>
<p>You start a query by invoking the <span class="menu">Find...</span> menu either from the Deskbar menu or any Tracker window or the Desktop (which is actually a fullscreen Tracker window). The shortcut is <span class="key">ALT</span>&#160;<span class="key">F</span>. You're presented with the Find window:</p>
<img src="../images/queries-images/basic-query.png" alt="basic-query.png" width="460" height="206" />
<ol>
@@ -58,10 +72,14 @@ types.</p></li>
<li><p>You can drag&amp;drop the icon to save the query.</p></li>
</ol>
<h1><a id="basic-query" name="basic-query">Basic queries - "by Name"</a></h1>
<h1>
<a href="#index"><img src="../images/up.png" align="right" alt="index" border="0" width="16" height="16" /></a>
<a id="basic-query" name="basic-query">Basic queries - "by Name"</a></h1>
<p>If you simply want to find all files on your mounted disks that match a certain pattern, simply leave the search method at "<span class="menu">by Name</span>", enter the search term into the text box and press <span class="key">ENTER</span>.</p>
<h1><a id="adv-query" name="adv-query">Advanced queries - "by Attribute"</a></h1>
<h1>
<a href="#index"><img src="../images/up.png" align="right" alt="index" border="0" width="16" height="16" /></a>
<a id="adv-query" name="adv-query">Advanced queries - "by Attribute"</a></h1>
<p>You can create more advanced queries by searching within the attributes of specific file types. For that to work, these attributes have to be <a href="index.html">indexed</a>.</p>
<img src="../images/queries-images/query-window.png" alt="query-window.png" width="441" height="172" />
<p>You start by setting the filetype from "<span class="menu">All files and folders</span>" to "<span class="menu">text | E-mail</span>" and change the search method to "<span class="menu">by Attribute</span>".</p>
@@ -70,7 +88,9 @@ types.</p></li>
<img src="../images/queries-images/query-window-filled.png" alt="query-window-filled.png" width="441" height="262" />
<p>This is your Find window when you're looking for all emails Clara Botters has sent to you in the last two months that had in the subject "vibraphone" or "skepticality".</p>
<h1><a id="more-adv-query" name="more-adv-query">Even more advanced queries - "by Formula"</a></h1>
<h1>
<a href="#index"><img src="../images/up.png" align="right" alt="index" border="0" width="16" height="16" /></a>
<a id="more-adv-query" name="more-adv-query">Even more advanced queries - "by Formula"</a></h1>
<p>Typing in a formula query by hand is daunting and really quite unpractical. It still has its uses.</p>
<p>Take the above query by attribute of Clara's mails concerning vibraphones etc. If you have all the attributes and their search terms set, try switching to "<span class="menu">by Formula</span>" mode and be overwhelmed by this one line query string:</p>
<img src="../images/queries-images/formula-query.png" alt="formula-query.png" width="441" height="173" />
@@ -87,7 +107,9 @@ types.</p></li>
<li><p>You can fine tune your query by inserting parenthesis where needed, make parts case-sensitive or negate logical combinations by changing. e.g. "<tt>==</tt>" to "<tt>!=</tt>" for a NOT AND. All you need is a basic understanding of <a href="http://en.wikipedia.org/wiki/Regular_expression" class='external free' title="http://en.wikipedia.org/wiki/Regular expression">regular expressions</a> and maybe some scripting basics.</p></li>
</ul>
<h1><a id="result-window" name="result-window">The result window</a></h1>
<h1>
<a href="#index"><img src="../images/up.png" align="right" alt="index" border="0" width="16" height="16" /></a>
<a id="result-window" name="result-window">The result window</a></h1>
<p>After you start a search, the Find window will be replaced by a result window. Here is an example that queried for "server":</p>
<img src="../images/queries-images/result-window.png" alt="result-window.png" width="704" height="359" />
<p>Besides the gray background, result windows work exactly like any other Tracker window. Some things are worth noting:</p>