beagle r4131 - branches/beagle-webinterface-branch/beagled/webinterface



Author: nirbheekc
Date: 2007-11-05 07:55:29 +0000 (Mon, 05 Nov 2007)
New Revision: 4131
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=4131&view=rev

Modified:
   branches/beagle-webinterface-branch/beagled/webinterface/default.js
   branches/beagle-webinterface-branch/beagled/webinterface/index.xsl
   branches/beagle-webinterface-branch/beagled/webinterface/statusresult.xsl
Log:
Merge "Current Status" and "Process Information". This actually took more work than I first thought it would, thanks to the fact that beagled can't handle asynchronous queries =/
Involved major huge changes. Some are below:
- New div <div id=BeagleInfo> which contains <div id=Process> and <div id=Daemon> each of which contain the old Process Info and Current Status respectively. This is generated in index.xsl and then modified in statusresult.xsl
- get_information has become get_daemon_info, get_process_information has become get_process_info, new function get_status_information which just shows the corresponding div.
- New function toggle_info for toggling showing/hiding of Info from each function
- state_change_info has been modified a bit. It now requires the div in which to append the result of the XSLT as an argument. It also no longer resets the document - that is now (will be) taken over by get_status_information
- Include exception for 'BeaglInfo' in show_all_categories.
NOTE: This is somewhat incomplete since reset_document_content and reset_document_style would've become too bulky if reset info for <div id=BeagleInfo> had been included. Hence, content resetting is broken for 'Current Status' and the link won't work unless its the first one to be clicked on a fresh page. Also, I just reused the CSS for 'Hits' in 'Info'.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]