Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YaCy-UI: added some features for Admin Console
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5241 6c8d7289-2bf4-0310-a012-ef5d649a1542
- Loading branch information
apfelmaennchen
committed
Oct 3, 2008
1 parent
efcae14
commit 2c23e6a
Showing
2 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
<h3>Admin Console...</h3> | ||
<script type="text/javascript"> | ||
//<![CDATA[ | ||
$(function() { | ||
loaderBanner = window.setInterval("loadBanner()", 15000); | ||
window.setInterval("reloadGraph()", 6000); | ||
}); | ||
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&bgcolor=ffffff&bordercolor=aaaaaa&time=" + (new Date()).getTime(); | ||
break; | ||
} | ||
} | ||
} | ||
function reloadGraph() { | ||
document.images["graph"].src="/PerformanceGraph.png?time="+(new Date()).getTime(); | ||
window.status=""; | ||
} | ||
//]]> | ||
</script> | ||
<p> | ||
<img src="/Banner.png?textcolor=000000&bgcolor=ffffff&bordercolor=aaaaaa" alt="banner" /> | ||
</p> | ||
<div style="display: block, float: left; width:670px; border:1px solid #CCCCCC;"> | ||
<iframe | ||
src="/rssTerminal.html?set=PEERNEWS,REMOTESEARCH,LOCALSEARCH,REMOTEINDEXING,LOCALINDEXING,INDEXRECEIVE&width=670px&height=180px&maxlines=20&maxwidth=120" | ||
name="newsframe" marginheight="5" marginwidth="5" scrolling="no" frameborder="0" height="180" width="670"> | ||
</iframe> | ||
</div> | ||
<br /> | ||
<div style="display: block, float: left; width:670px; border:1px solid #CCCCCC;"> | ||
<img src="/PerformanceGraph.png?time=" id="graph" alt="PerformanceGraph"> | ||
</div> | ||
|
||
|