I have made some major modifications to the LEAF Weblet. These have been posted to
the Weblet Dev Demo site.
Demo Site Location:
207.202.227.167
Two of the major areas of change include:
Major changes to the cgi files including a dynamic index page, new include structure,
and new function files.
Link to weblet source at the botom of index page.
The full list of changes follows:
1 July 2002
converted index.html to index.cgi
added function for displaying uptime.
Added the uptime using this function under the status indicators on the index page.
Created a weblet.structures file that includes the functions that were in the
weblet.functions file that covered page structure. Aded two new functions: t_head
t_foot that finish ablstracting almost all of the structure.
Added two additional functions to weblet.structures that alow you to create a page
with a single column, two columns like the index page, and three columns.
Created new master include file, weblet.include.
Abstracted the 5 content tables from the index page into seperate component files in
/var/sh-www/content.
Abstracted the log/file display function into weblet.functions.
Added a source display option to the bottom of the index page. You can use this to
view the entire weblet content source. Please use this in conjuctions with the web
page to provide ideas, find bugs, make sugestions on how to make it better.
Abstracted the styles into a seperate CSS file.
Removed LRP from the titles.
Did additional CGI cleanup. (And probably made a few additional messes in the
process!)
27 June 2002
Added a new list of all the configuration files on the left side of the index page. I
have included all the main networking files, modules file, ppp files, and all of
shorewall. I did this with a combination of index.html modification (including some
cleanup, primarily with an added style entry above that took out all the remaining
style info bellow) and some changes in the showlogs* cgi scripts.
made a change so that on the individual pages displaying either a config file or a
log, the entire path is displayed at the top rather than just the file name.
Added two new links, to the configuration file section, one that gives you a single
page with all the major configuration files from /etc and another for all the
Shorewall files. Each combined config list uses a seperate cgi script.
added a new header function to weblet.functions that includes a page refresh;
this to be used with the index page and all pages (logs and the like) that should
refresh to be up to date
added a new styles function to the weblet.functions that contains all the css info
changed the header functions to use the new styles function
Richard Amerman
+,~wzf+,좷o$yyzW(h礅zxm&yzx%Kyz+-.ǟalb,y+b?+-wW}ׯz