diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-10-11 08:57:40 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-10-11 08:57:40 +0000 |
| commit | 6d61b80fb6ba04aadd6559dbdad48a5a9c4d5216 (patch) | |
| tree | 6e173b74ccc98b97d9e7240a741569d442aaaf6d /htroot/WatchWebStructure_p.html | |
| parent | 45b1ab3d072130db3c731abc0a656e3d97c195d9 (diff) | |
added ColorPicker to WatchWebStructure
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7236 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/WatchWebStructure_p.html')
| -rw-r--r-- | htroot/WatchWebStructure_p.html | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/htroot/WatchWebStructure_p.html b/htroot/WatchWebStructure_p.html index acee9b72d..042926243 100644 --- a/htroot/WatchWebStructure_p.html +++ b/htroot/WatchWebStructure_p.html @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>YaCy '#[clientname]#': Web Structure</title> +<link rel="stylesheet" media="screen" type="text/css" href="/yacy/ui/css/colorpicker.css" /> #%env/templates/metas.template%# <script type="text/javascript" src="/js/WatchWebStructure.js"></script> <style type="text/css"> @@ -22,6 +23,24 @@ #%env/templates/header.template%# #%env/templates/submenuWebStructure.template%# + <script type="text/javascript" src="/yacy/ui/js/jquery.colorpicker.js"></script> + <script type="text/javascript"> + $(document).ready(function(){ + $('#colorback, #colortext, #colorline, #colordot, #colorlineend').ColorPicker({ + onSubmit: function(hsb, hex, rgb, el) { + $(el).val(hex); + $(el).ColorPickerHide(); + }, + onBeforeShow: function () { + $(this).ColorPickerSetColor(this.value); + } + }) + .bind('keyup', function(){ + $(this).ColorPickerSetColor(this.value); + }); + }); + </script> + <div id="api"><a href="/api/webstructure.xml?about=#[besthost]#"><img src="env/grafics/api.png" width="60" height="40" alt="API" /></a> <span> The data that is visualized here can also be retrieved in a XML file, which lists the reference relation between the domains. @@ -62,11 +81,11 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de </dd> <dt>size</dt> <dd><input type="text" name="width" value="#[width]#" size="5" maxlength="5" /> x <input type="text" name="height" value="#[height]#" size="5" maxlength="5" /></dd> - <dt>Background</dt><dd>Color <input type="text" name="colorback" value="#[colorback]#" size="6" maxlength="6" /></dd> - <dt>Text</dt><dd>Color <input type="text" name="colortext" value="#[colortext]#" size="6" maxlength="6" /></dd> - <dt>Line</dt><dd>Color <input type="text" name="colorline" value="#[colorline]#" size="6" maxlength="6" /></dd> - <dt>Dot</dt><dd>Color <input type="text" name="colordot" value="#[colordot]#" size="6" maxlength="6" /></dd> - <dt>Dot-end</dt><dd>Color <input type="text" name="colorlineend" value="#[colorlineend]#" size="6" maxlength="6" /></dd> + <dt>Background</dt><dd>Color <input type="text" name="colorback" id="colorback" value="#[colorback]#" size="6" maxlength="6" /></dd> + <dt>Text</dt><dd>Color <input type="text" name="colortext" id="colortext" value="#[colortext]#" size="6" maxlength="6" /></dd> + <dt>Line</dt><dd>Color <input type="text" name="colorline" id="colorline" value="#[colorline]#" size="6" maxlength="6" /></dd> + <dt>Dot</dt><dd>Color <input type="text" name="colordot" id="colordot" value="#[colordot]#" size="6" maxlength="6" /></dd> + <dt>Dot-end</dt><dd>Color <input type="text" name="colorlineend" id="colorlineend" value="#[colorlineend]#" size="6" maxlength="6" /></dd> <dt> </dt> <dd><input type="submit" value="change" /></dd> </dl> |
