Changes between Version 11 and Version 12 of Development/Plugins/WebUi/Examples


Ignore:
Timestamp:
09/19/2008 09:05:01 PM (13 years ago)
Author:
mvoncken
Comment:

pretty title

Legend:

Unmodified
Added
Removed
Modified
  • Development/Plugins/WebUi/Examples

    v11 v12  
    117117        api.render.register_template_path(template_dir) #<--added 
    118118        api.page_manager.register_page('/df', df_page)  #<--added 
    119         api.menu_manager.register_admin_page("df", _("df -h"), "/df") #<--top menu 
     119        api.menu_manager.register_admin_page("df", _("Disk usage"), "/df") #<--top menu 
    120120 
    121121    def disable(self): 
     
    130130$def with (df_result) 
    131131 
    132 $:render.header(_("df -h"), 'df') 
     132$:render.header(_("Disk usage"), 'df') 
    133133$:render.admin_toolbar('df') 
    134134<div class="panel"> 
     135<h2>Disk usage (df -h)</h2> 
    135136<pre> 
    136137$df_result