summaryrefslogtreecommitdiff
path: root/htroot/ConfigAppearance_p.html
blob: da658fafa553854655cb37836a780055b43455dd (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>YaCy '#[clientname]#': Appearance and Integration</title>
    #%env/templates/metas.template%#
  </head>
  <body id="ConfigSkins">
    #%env/templates/header.template%#
    #%env/templates/submenuCustomizationIntegration.template%#
    <h2>Appearance and Integration</h2>
    <p>
      You can change the appearance of YaCy with skins
      and the default icons and links on the search page can be replaced with you own.
    </p>
    
    <h3>Skin Selection</h3>
    <p>
      Select one of the default skins, download new skins, or create your own skin.
    </p><form action="ConfigAppearance_p.html">
      <fieldset>
        <dl>
          <dt><label for="cur_skin">Current skin</label>:</dt>
          <dd id="cur_skin">#[currentskin]#&nbsp;</dd>
          
          <dt><label for="skins">Available Skins</label>:</dt>
          <dd>
            <select id="skins" name="skin">#{skinlist}#
              <option value="#[file]#">#[name]#</option>#{/skinlist}#
            </select>
          </dd>
          <dd>
            <input type="submit" name="use_button" value="Use" />
            <input type="submit" name="delete_button" value="Delete" />
          </dd>
        </dl>
      </fieldset>
    </form>
    
    <form action="ConfigAppearance_p.html">
      <fieldset>
        <dl>
          <dt><label for="url">Install new skin from URL</label>:</dt>
          <dd><input type="text" name="url" id="url" size="30" /></dd>
          
          <dt><label for="use_url">Use this skin</label></dt>
          <dd><input type="checkbox" name="use_skin" id="use_url" value="on" checked="checked" /></dd>
          <dd><input type="submit" name="install_button" value="Install" /></dd>
        </dl>
      </fieldset>
    </form>
    
    #(status)#
    ::<p><strong>Unable to get URL: #[url]#</strong></p>
    ::<p><strong>Error saving the skin.</strong></p>
    #(/status)#
    
    
    <h3>Search Page Integration</h3>
    <p>
      The search page may be customized. You can change the 'corporate identity'-images, the greeting line
      and a link to a home page that is reached when the 'corporate identity'-images are clicked.
    </p>
    <form action="ConfigAppearance_p.html">
      <fieldset>
        <dl>
          <dt>Greeting Line</dt>
          <dd><input type="text" name="promoteSearchPageGreeting" value="#[promoteSearchPageGreeting]#" size="60" /></dd>
          
          <dt>URL of Home Page</dt>
          <dd><input type="text" name="promoteSearchPageGreeting.homepage" value="#[promoteSearchPageGreeting.homepage]#" size="60" /></dd>
          
          <dt>URL of a Small Corporate Image</dt>
          <dd><input type="text" name="promoteSearchPageGreeting.smallImage" value="#[promoteSearchPageGreeting.smallImage]#" size="60" /></dd>
          
          <dt>URL of a Large Corporate Image</dt>
          <dd><input type="text" name="promoteSearchPageGreeting.largeImage" value="#[promoteSearchPageGreeting.largeImage]#" size="60" /></dd>
          
          <dt>Default Pop-Up Page</dt>
          <dd>
          <input type="radio" name="popup" value="status" #(popupStatus)#::checked="checked"#(/popupStatus)# />Status Page&nbsp;
          <input type="radio" name="popup" value="front" #(popupFront)#::checked="checked"#(/popupFront)# />Search Front Page&nbsp;
          <input type="radio" name="popup" value="search" #(popupSearch)#::checked="checked"#(/popupSearch)# />Search Page (small header)&nbsp;
          <input type="radio" name="popup" value="interactive" #(popupInteractive)#::checked="checked"#(/popupInteractive)# />Interactive Search Page&nbsp;
          </dd>
          
          <dd>
            <input type="submit" name="searchpage_set" value="Change Search Page" />&nbsp;&nbsp;
            <input type="submit" name="searchpage_default" value="Set to Default Values" />
          </dd>
        </dl>
      </fieldset>
    </form>
    
    <h3>
      The search page can be integrated in your own web pages with an iframe. Simply use the following code:
    </h3>
    <fieldset><pre>
      &lt;iframe name="target"
       src="http://#[myaddress]#/index.html?display=2&amp;resource=local"
       width="100%"
       height="560"
       frameborder="0"
       scrolling="auto"
       id="target"&gt; 
      &lt;/iframe&gt;  
    </pre></fieldset>
    This would look like:
    <iframe name="target"
       src="http://#[myaddress]#/index.html?display=2&amp;resource=local"
       width="100%"
       height="340"
       frameborder="0"
       scrolling="auto"
       id="target">
      </iframe>
    
    <h3>
      For a search page with a small header, use this code:
    </h3>
    <fieldset><pre>
      &lt;iframe name="target"
       src="http://#[myaddress]#/yacysearch.html?display=2&amp;resource=local"
       width="100%"
       height="560"
       frameborder="0"
       scrolling="auto"
       id="target"&gt; 
      &lt;/iframe&gt;  
    </pre></fieldset>
    This would look like:
    <iframe name="target"
       src="http://#[myaddress]#/yacysearch.html?display=2&amp;resource=local"
       width="100%"
       height="180"
       frameborder="0"
       scrolling="auto"
       id="target">
      </iframe>
      
    <h3>
      A third option is the interactive search. Use this code:
    </h3>
    <fieldset><pre>
      &lt;iframe name="target"
       src="http://#[myaddress]#/yacyinteractive.html?display=2"
       width="100%"
       height="560"
       frameborder="0"
       scrolling="auto"
       id="target"&gt; 
      &lt;/iframe&gt;  
    </pre></fieldset>
    This would look like:
    <iframe name="target"
       src="http://#[myaddress]#/yacyinteractive.html?display=2"
       width="100%"
       height="180"
       frameborder="0"
       scrolling="auto"
       id="target">
      </iframe>
    
    #%env/templates/footer.template%#
  </body>
</html>