Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
redesign of status page: - moved all information to columns at the right side - long texts within the column will be removed in a second step, and will re-appear as action items below the 'Welcome' header - new usage hints will also appear below the Welcome header - Peer news (in full sentences) will appear in separate column - possibly some more grafics
orbiter158b652c17b6
diff --git a/htroot/Status.html b/htroot/Status.htmlindex f8abf2565..c137388b7 100644--- a/htroot/Status.html+++ b/htroot/Status.html@@ -7,9 +7,14 @@</head><body style="margin:0px;">#%env/templates/header.template%#- <h2>System-, Index- and Peer-Status</h2>- <p>Welcome to YaCy!</p>++ <div class="welcome"><center><h2>Welcome to YaCy!</h2></center>+++ </div>++ <div class="sidebar"><form action="Steering.html" method="get" class="PeerControl"><fieldset>@@ -25,10 +30,11 @@</fieldset></form>- <table class="StatusTable">- <tr class="TableHeader"><td colspan="2"><strong>Public System Properties</strong></td></tr>- <tr class="TableCellLight"><td>System version</td><td>- #[versionpp]#+ <fieldset>+ <legend>Public System Properties</legend>+ <dl>+ <dt>System Version</dt>+ <dd>#[versionpp]##(versioncomment)#:: - the latest public version is #[latestVersion]#.You can download a more recent version of YaCy. Click here to aquire a direct download location:@@ -42,10 +48,10 @@You can download the latest releases here:<br>#[versionResMain]#<br>#[versionResDev]#- #(/versioncomment)#- </td></tr>- <tr class="TableCellDark"><td>This peer's address</td><td>- #(peerAddress)#+ #(/versioncomment)#</dd>++ <dt>This peer's address</dt>+ <dd>#(peerAddress)#Not assigned::Not assigned. The peer must go online to get an address.@@ -55,11 +61,13 @@see the <a href="http://www.yacy.net/yacy/Installation.html#wininst">installation instructions</a>.::#[address]# ; Your '.yacy' home at http://www.#[peername]#.yacy- #(/peerAddress)#- </td></tr>- <tr class="TableCellLight"><td>This peer's name</td><td>#[peerName]#/#[hash]#</td></tr>- <tr class="TableCellDark"><td>This peer's statistics</td><td>- #(peerStatistics)#+ #(/peerAddress)#</dd>++ <dt>This peer's name</dt>+ <dd>#[peerName]#/#[hash]#</dd>++ <dt>This peer's statistics</dt>+ <dd>#(peerStatistics)#Unknown::<div>Uptime: #[uptime]#</div>@@ -68,10 +76,10 @@<div>Connects:<span title="connected Juniors">#[juniorConnects]#</span> | <span title="connected Seniors">#[seniorConnects]#</span> | <span title="connected Principals">#[principalConnects]#</span> | <span title="disconnected peers">#[disconnects]#</span> (#[connects]# peers/hour)#(/peerStatistics)#- </div>- </td></tr>- <tr class="TableCellLight"><td>This peer's status</td><td>- #(peerStatus)#+ </div></dd>++ <dt>This peer's status</dt>+ <dd>#(peerStatus)#Virgin - You have not published your peer seed yet. This happens automatically, just wait. While you have this status you are not allowed to search other peers.::Junior - You cannot be reached from outside. A possible reason is that you are behind a firewall, NAT or Router. But you can <a href="index.html">search the internet</a> using the other peers' global index on your own search page. We encourage you to open your firewall for the port you configured (usually: 8080), or to set up a 'virtual server' in your router settings (often called DMZ). Please be fair, contribute your own index to the global index.@@ -80,43 +88,25 @@::Principal - You are senior and you publish your seed-list to a public accessible server where it can be retrieved using the URL <a href="#[seedURL]#">#[seedURL]#</a>.<br />You can of course <a href="index.html">search the internet</a> using the other peers' global index on your own search page.- #(/peerStatus)#- </td></tr>- <tr class="TableCellDark"><td>Other peers</td><td>#(otherPeers)#not online::#[num]# other peers online.#(/otherPeers)#</td></tr>- <!-- temporary disabled information, may be outdated. No decision made if this function should remain- <tr class="TableCellLight"><td>Online-mode</td><td>- #(omode)#- You are in <em>Cache-browsing</em> mode.<br />- Only websites from the proxy-cache are accessible.- To switch online-mode, press one of the following buttons:- <form action="SettingsAck_p.html" method="get">- <div><input type="submit" name="emode" value="event-based Mode" />- <input type="submit" name="pmode" value="Permanent Mode" /></div>- </form>- ::- You are in <em>event-based</em> online mode.<br />- The YaCy p2p network will boot when you start using YaCy as a web proxy or you switch to permanent mode.- To switch online-mode, press one of the following buttons:- <form action="SettingsAck_p.html" method="get">- <div><input type="submit" name="pmode" value="Go on-line" />- <input type="submit" name="cmode" value="Go to Cache-Mode" /></div>- </form>- ::- You are in <em>permanent</em> mode.- To switch online-mode, press one of the following buttons:- <form action="SettingsAck_p.html" method="get">- <div><input type="submit" name="emode" value="event-based Mode" />- <input type="submit" name="cmode" value="Go to Cache-Mode" /></div>- </form>- #(/omode)#- </td></tr>-->- </table>+ #(/peerStatus)#</dd>++ <dt>Other peers</dt>+ <dd>#(otherPeers)#not online::#[num]# other peers online.#(/otherPeers)#</dd>+#(showPrivateTable)#- Click here to <a href="Status.html?login=">log in</a> as administrator and see full status.+ <dt>Log-In</dt>+ <dd>Click here to <a href="Status.html?login=">log in</a> as administrator and see full status.</dd>::#(/showPrivateTable)#++ </dl>+ </fieldset>++ </div>+#%[privateStatusTable]%#- <p><em>Last Refresh:</em> #[date]#</p>++#%env/templates/footer.template%#</body>diff --git a/htroot/Status_p.inc b/htroot/Status_p.incindex ec7e2536e..41ea93696 100644--- a/htroot/Status_p.inc+++ b/htroot/Status_p.inc@@ -1,132 +1,95 @@-<table class="StatusTable">- <tr class="TableHeader">- <td colspan="3"><strong>Private System Properties</strong></td>- </tr>- <tr class="TableCellLight">- <td>System Resources</td>- <td>Processors: #[processors]#</td>- <td style="width:50px"></td>- </tr>- <tr class="TableCellDark">- <td>Protection</td>- <td>- #(protection)#+<div class="sidebar">+<fieldset>+ <legend>Private System Properties</legend>+ <dl>++ <dt>System Resources</dt>+ <dd>Processors: #[processors]#</dd>++ <dt>Protection</dt>+ <dd>#(protection)#<strong>Your settings are _not_ protected!</strong> Please go to the <a href="ConfigBasic.html">settings</a> page <strong>immediately</strong> and set an administration password.::Your settings are protected by a password.- #(/protection)#- </td>- <td></td>- </tr>- <tr class="TableCellLight">- <td>Peer host</td>- <td>#[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#</td>- <td></td>- </tr>- <tr class="TableCellDark">- <td>Port forwarding host</td>- <td>#(portForwarding)#not used::#[host]#:#[port]# (#(status)#broken::connected#(/status)#)#(/portForwarding)#</td>- <td></td>- </tr>- <tr class="TableCellLight">- <td>Remote proxy</td>- <td>#(remoteProxy)#not used::#[host]#:#[port]# | Used for YaCy -> YaCy communication: #(4Yacy)#Yes::No #(/4Yacy)# #(/remoteProxy)#</td>- <td></td>- </tr>- <tr class="TableCellDark">- <td>Auto-popup on start-up</td>- #(popup)#- <td>Disabled</td>- <td>- <a href="Status.html?popup=true">[Enable]</a>- </td>- ::- <td>Enabled</td>- <td>- <a href="Status.html?popup=false">[Disable]</a>- </td>- #(/popup)#- </tr>- <tr class="TableCellLight">- <td>Memory Usage</td>- <td>- <!--- <form action="Status.html" method="get">free: #[freeMemory]# | total: #[totalMemory]# | max: #[maxMemory]# | <input type="submit" name="gc" value="Do Garbage-Collect now" /></form>- -->- free: #[freeMemory]# | total: #[totalMemory]# | max: #[maxMemory]#- </td>- <td>[<a href="PerformanceMemory_p.html">Configure</a>]</td>- </tr>- <tr class="TableCellDark">- <td>Traffic</td>- <td>Proxy: #[trafficProxy]# | Crawler: #[trafficCrawler]#</td>- <td>[<a href="Status.html?ResetTraffic=">Reset</a>]</td>- </tr>- <tr class="TableCellLight">- <td>Connections Incoming</td>- <td>Active: #[connectionsActive]# | Idle: #[connectionsIdle]# | Max: #[connectionsMax]#</td>- <td>[<a href="Connections_p.html">Details</a>]</td>- </tr>- <tr class="TableCellDark">- <td>Indexing Queue</td>- <td>- <div class="ProgressBarCaption">#[indexingQueueSize]# | #[indexingQueueMax]#</div>- <div class="ProgressBar">- <div class="ProgressBarFill" style="width:#[indexingQueuePercent]#%;" />- </div>- </td>- <td>[<a href="IndexCreateIndexingQueue_p.html">Details</a>]</td>- </tr>- <tr class="TableCellLight">- <td>Loader Queue</td>- <td>- <div class="ProgressBarCaption">#[loaderQueueSize]# | #[loaderQueueMax]#</div>- <div class="ProgressBar">- <div class="ProgressBarFill" style="width:#[loaderQueuePercent]#%;" />- </div>- </td>- <td>[<a href="IndexCreateLoaderQueue_p.html">Details</a>]</td>- </tr>- <tr class="TableCellDark">- <td>Crawler Queues</td>- <td>+ #(/protection)#</dd>++ <dt>Peer Host</dt>+ <dd>#[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#</dd>++ <dt>Port Forwarding Host</dt>+ <dd>#(portForwarding)#not used::#[host]#:#[port]# (#(status)#broken::connected#(/status)#)#(/portForwarding)#</dd>++ <dt>Remote Proxy</dt>+ <dd>#(remoteProxy)#not used::#[host]#:#[port]# | Used for YaCy -> YaCy communication: #(4Yacy)#Yes::No #(/4Yacy)# #(/remoteProxy)#</dd>++ <dt>Auto-popup on start-up</dt>+ <dd>+ #(popup)#+ Disabled <a href="Status.html?popup=true">[Enable]+ ::+ Enabled <a href="Status.html?popup=false">[Disable]+ #(/popup)#+ </dd>++ <dt><a href="PerformanceMemory_p.html">Memory Usage</a></dt>+ <dd>free: #[freeMemory]# | total: #[totalMemory]# | max: #[maxMemory]#</dd>++ <dt>Traffic</dt>+ <dd>Proxy: #[trafficProxy]# | Crawler: #[trafficCrawler]# [<a href="Status.html?ResetTraffic=">Reset</a>]</dd>++ <dt><a href="Connections_p.html">Incoming Connections</a></dt>+ <dd>Active: #[connectionsActive]# | Idle: #[connectionsIdle]# | Max: #[connectionsMax]#</dd>++ <dt><a href="IndexCreateIndexingQueue_p.html">Indexing Queue</a></dt>+ <dd><table>+ <tr><td><div class="ProgressBarCaption">#[indexingQueueSize]# | #[indexingQueueMax]#</div></td></tr>+ <tr><td><div class="ProgressBar"><div class="ProgressBarFill" style="width:#[indexingQueuePercent]#%;" /></div></div></td></tr>+ </table></dd>++ <dt><a href="IndexCreateLoaderQueue_p.html">Loader Queue</a></dt>+ <dd><table>+ <tr><td><div class="ProgressBarCaption">#[loaderQueueSize]# | #[loaderQueueMax]#</div></td></tr>+ <tr><td><div class="ProgressBar"><div class="ProgressBarFill" style="width:#[loaderQueuePercent]#%;" /></div></div></td></tr>+ </table></dd>++ <dt>Crawler Queues</dt>+ <dd><table><tr><td>Local Crawl</td><td>#[localCrawlQueueSize]#</td><td><a href="Status.html?#(localCrawlPaused)#pauseCrawlJob::continueCrawlJob#(/localCrawlPaused)#=&jobType=localCrawl" title="#(localCrawlPaused)#pause local crawl::continue local crawl#(/localCrawlPaused)#"><img src="env/grafics/#(localCrawlPaused)#stop.gif::start.gif#(/localCrawlPaused)#" alt="#(localCrawlPaused)#pause local crawl::continue local crawl#(/localCrawlPaused)#" style="width:12px;height:12px;" /></a></td><td>#(localCrawlPaused)# ::(paused)#(/localCrawlPaused)#</td>+ <td>[<a href="IndexCreateWWWLocalQueue_p.html">Details</a>]</td></tr><tr><td>Remote triggered Crawl</td><td>#[remoteTriggeredCrawlQueueSize]#</td><td><a href="Status.html?#(remoteTriggeredCrawlPaused)#pauseCrawlJob::continueCrawlJob#(/remoteTriggeredCrawlPaused)#=&jobType=remoteTriggeredCrawl" title="#(remoteTriggeredCrawlPaused)#pause remote triggered crawl::continue remote triggered crawl#(/remoteTriggeredCrawlPaused)#"><img src="env/grafics/#(remoteTriggeredCrawlPaused)#stop.gif::start.gif#(/remoteTriggeredCrawlPaused)#" alt="#(remoteTriggeredCrawlPaused)#pause remote triggered crawl::continue remote triggered crawl#(/remoteTriggeredCrawlPaused)#" style="width:12px;height:12px;" /></a></td><td>#(remoteTriggeredCrawlPaused)# ::(paused)#(/remoteTriggeredCrawlPaused)#</td>+ <td></td></tr><tr><td>Global Crawl Trigger</td><td>#[globalCrawlTriggerQueueSize]#</td><td><a href="Status.html?#(globalCrawlTriggerPaused)#pauseCrawlJob::continueCrawlJob#(/globalCrawlTriggerPaused)#=&jobType=globalCrawlTrigger" title="#(globalCrawlTriggerPaused)#pause global crawl trigger::continue global crawl trigger#(/globalCrawlTriggerPaused)#"><img src="env/grafics/#(globalCrawlTriggerPaused)#stop.gif::start.gif#(/globalCrawlTriggerPaused)#" alt="#(globalCrawlTriggerPaused)#pause global crawl trigger::continue global crawl trigger#(/globalCrawlTriggerPaused)#" style="width:12px;height:12px;" /></a></td><td>#(globalCrawlTriggerPaused)# ::(paused)#(/globalCrawlTriggerPaused)#</td>+ <td>[<a href="IndexCreateWWWGlobalQueue_p.html">Details</a>]</td></tr><tr><td>Pre-Queueing</td><td>#[stackCrawlQueueSize]#</td><td></td><td></td>+ <td></td></tr></table>- </td>- <td valign="top">[<a href="IndexCreateWWWLocalQueue_p.html">Details</a>]<br />- <br />- [<a href="IndexCreateWWWGlobalQueue_p.html">Details</a>]- </td>- </tr>- <tr class="TableCellLight"><td>Seed server</td><td>+ </dd>++ <dt>Seed server</dt>+ <dd>#(seedServer)#Disabled. To enable this you need a FTP account where you can upload files to a web space. If you do that, you become a YaCy root server.- </td>- <td><a href="Settings_p.html?page=seed">[Configure]</a>.::Enabled: Updating periodically to server #[seedServer]#.@@ -135,5 +98,8 @@Enabled: Updating periodically to file #[seedFile]#.Last upload: #[lastUpload]# ago.#(/seedServer)#</td>- </tr>-</table>+ </dd>++ </dl>+</fieldset>+</div>\ No newline at end of filediff --git a/htroot/env/base.css b/htroot/env/base.cssindex d0a2daa82..9a4e98f0f 100644--- a/htroot/env/base.css+++ b/htroot/env/base.css@@ -336,6 +336,23 @@ h2.yacy { /* The heading in index.html */background:url(/env/grafics/kaskelix.png) top center no-repeat;}+div.welcome { /* The heading in Status.html */+ float:left;+ margin:10px auto;+ padding-top:130px;+ text-align:left;+ width:50%;+ background:url(/env/grafics/kaskelix.png) top center no-repeat;+}++div.sidebar { /* sidebars on the right side */+ float:left;+ width:25%;+ margin:10px auto;+ padding-top:10px;+ text-align:left;+}+form.search.small h2 {clear:none;margin-left:85px;