<!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]#': Console Status</title>
    #%env/templates/metas.template%#
    <script type="text/javascript">
      function loadBanner() {
        for (var i = 0; i < document.images.length; i++) {
          if (document.images[i].src.indexOf("Banner.png") > 0) {
            document.images[i].src = "/Banner.png?textcolor=000000&amp;bgcolor=ddeeee&amp;bordercolor=aaaaaa&amp;time=" + (new Date()).getTime();
            break;
          }
        }
      }
      function reloadGraph() {
	    document.images["graph"].src="PerformanceGraph.png?time="+(new Date()).getTime();
	    window.status="";
	  }
      function init() {
        loaderBanner = window.setInterval("loadBanner()", 20000);
        window.setInterval("reloadGraph()", 8000);
      }
    </script>
  </head>
  <body onload="init();">
	#%env/templates/header.template%#
    #%env/templates/submenuConfig.template%#
    
    #(showPrivateTable)#
    <div class="SubMenu">
      <ul class="SubMenu">
      <li><a href="Status.html?login=" class="MenuItemLink lock">Log-in as administrator to see full status</a></li>
      </ul>
    </div>
    ::
    #(/showPrivateTable)#
    
    <!--[if IE]>
    <div style="clear:left;" class="gainlayout">
    <![endif]-->
    
    <div class="welcome">
    <div style="margin:auto;text-align:center;">
      <h2><img src="/env/grafics/kaskelix.png" alt="YaCy Websearch" style="margin-right:5px; vertical-align:middle;" />Welcome to YaCy!</h2>
      <iframe src="rssTerminal.html?set=PEERNEWS,REMOTESEARCH,LOCALSEARCH,REMOTEINDEXING,LOCALINDEXING,INDEXRECEIVE&amp;width=600px&amp;height=180px&amp;maxlines=20&amp;maxwidth=120"
              style="width:600px;height:180px;margin:0px;border:1px solid black;" scrolling="no" name="newsframe"></iframe><br />
      <img src="PerformanceGraph.png" id="graph" alt="PerformanceGraph"/><br />
      <img src="Banner.png?textcolor=000000&amp;bgcolor=ddeeee&amp;bordercolor=aaaaaa" alt="banner" />
    </div>

    <dl>
    
    <!-- urgent -->

    #(urgentSetPassword)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad" /></dt>
    <dd class="hint"><strong>Your settings are _not_ protected!</strong>
    Please open the <a href="ConfigAccounts_p.html">accounts configuration</a> page <strong>immediately</strong>
    and set an administration password.
    </dd>
    #(/urgentSetPassword)#

	#(urgentStatusVirgin)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
    <dd class="hint">You have not published your peer seed yet. This happens automatically, just wait.
    </dd>
    #(/urgentStatusVirgin)#
   
    <!-- warnings -->
    
    #(warningGoOnline)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
    <dd class="hint">The peer must go online to get a peer address.
    </dd>
    #(/warningGoOnline)#
    
    #(warningStatusJunior)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
    <dd class="hint">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.
    </dd>
    #(/warningStatusJunior)#
    
    #(warningDiskSpaceLow)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
    <dd class="hint">Free disk space is lower than #[minSpace]#. Crawling has been disabled. Please fix
    it as soon as possible and restart YaCy.
    </dd>
    #(/warningDiskSpaceLow)#
    
     <!-- hints -->
    
    #(hintVersionAvailable)#::
    <dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
    <dd class="hint">Latest public version is v#[latestVersion]#.
      You can download a more recent version of YaCy. Click here to install this update and restart YaCy: 
      <form action="Status.html" method="get" class="PeerControl">
        <button type="submit" name="aquirerelease" value="Update YaCy">
          <img src="/env/grafics/lock.gif" />
          Install YaCy v#[latestVersion]#
        </button>
      </form>
    </dd>
    #(/hintVersionAvailable)#
    
    <!--
    #(hintVersionDownload)#::
    <dt class="hintIcon"><img src="env/grafics/start.gif" alt="Start"/></dt>
    <dd class="hint">You can download the latest releases here:
      #[versionResMain]# or #[versionResDev]#
    </dd>
    #(/hintVersionDownload)#
    -->
    
    #(hintStatusSenior)#::
    <dt class="hintIcon"><img src="env/grafics/good.png" width="32" height="32" alt="good"/></dt>
    <dd class="hint">You are running a server in senior mode and you support the global internet index,
    which you can also <a href="index.html">search yourself</a>.
    </dd>
    #(/hintStatusSenior)#
    
    #(hintStatusPrincipal)#::
    <dt class="hintIcon"><img src="env/grafics/good.png" width="32" height="32" alt="good"/></dt>
    <dd class="hint">You have a principal peer because you publish your seed-list to a public accessible server
    where it can be retrieved using the URL <a href="#[seedURL]#">#[seedURL]#</a>.
    </dd>
    #(/hintStatusPrincipal)#
    
    #(hintCrawlStart)#::
    <dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
    <dd class="hint">Your Web Page Indexer is idle. You can start your own web crawl <a href="CrawlStart_p.html">here</a>
    </dd>
    #(/hintCrawlStart)#
    
    #(hintCrawlMonitor)#::
    <dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
	<dd class="hint">Your Web Page Indexer is busy. You can <a href="WatchCrawler_p.html">monitor your web crawl</a> here.
    </dd>
    #(/hintCrawlMonitor)#
    <!-- templates
    #(hint)#::
    <dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
    <dd class="hint">
    </dd>
    #(/hint)#
    
    #(hint)#::
    <dt class="hintIcon"><img src="env/grafics/good.png" width="32" height="32" alt="good"/></dt>
    <dd class="hint">
    </dd>
    #(/hint)#
    
    #(hint)#::
    <dt class="hintIcon"><img src="env/grafics/start.png" width="32" height="32" alt="start" /></dt>
    <dd class="hint">
    </dd>
    #(/hint)#
    
    #(hint)#::
    <dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad" /></dt>
    <dd class="hint">
    </dd>
    #(/hint)#
       -->
    </dl>
    
    </div>
    
    #%[privateStatusTable]%#
    
    <!--[if IE]> 
    </div>
    <![endif]-->
    
    #%env/templates/footer.template%#
  </body>
</html>