public
Description: An OS X application to build a standalone web site as an export from my photo album.
Homepage: http://bleu.west.spy.net/~dustin/projects/photosync/
Clone URL: git://github.com/dustin/photosync.git
photosync / content / search.html
100644 75 lines (66 sloc) 1.895 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright (c) 2004 Dustin Sallings <dustin+html@spy.net>
arch-tag: D52D5360-5D6E-11D9-AD4B-000A957659CC
-->
<html>
  <head>
    <title>Testing</title>
    <link rel="stylesheet" href="style.css"/>
    <style type="text/css">
      #keywordmatches {
        display: none;
        background-color: #e7edd3;
        color: black;
        font-size: x-small;
        border: 1px solid #69c;
        width: 250px;
      }
 
      #keywordmatches ul {
        text-indent: -0.5px;
        list-style: none;
        padding-left: 1em;
        margin: 1px;
      }
    </style>
  </head>
 
  <body>
 
    <script type="text/javascript" src="searchdata.js"></script>
    <script type="text/javascript" src="searchfun.js"></script>
 
    <form method="post" action="" onsubmit="search(); return false;">
      <fieldset>
        <legend>Search for Photos</legend>
        <label for="keywords">Keywords</label>
        <div>
          <input id="keywords" name="keywords" size="60" value=""
            onkeyup="keyUp(this);"/>
        </div>
        <div style="font-size: x-small" id="keywordlist"><span/></div>
        <div id="keywordmatches"><span/></div>
        <label for="sdir">Newest images</label>
 
        <div>
        <select id="sdir" name="sdir">
          <option value="newfirst">first</option>
          <option value="newlast">last</option>
        </select>
        </div>
 
        <label for="perpage">Results Per Page</label>
        <div>
        <select id="perpage" name="perpage">
          <option value="10">10</option>
          <option value="50" selected="selected">50</option>
          <option value="100">100</option>
        </select>
        </div>
 
        <div>
          <input type="submit" value="Search"/>
          <input type="reset" value="Clear"
            onclick="updateKwInfo(''); setResults('');"/>
        </div>
 
      </fieldset>
    </form>
    <div id="found"><span/></div>
  </body>
</html>