Ignore:
Timestamp:
12/05/10 17:43:24 (14 years ago)
Author:
nanardon
Message:
  • add distrib selection to explorer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/root/templates/html/explorer/index.html

    r50 r77  
    11 
    2 <!-- <p> 
    3 <a href="[% c.uri_for('/explorer') %]">/</a> 
    4 [% FOREACH p = eachpath %] 
    5 <a href="[% c.uri_for('/explorer', p.path) %]">[% p.dir | html %]</a> 
    6 [% END %] 
    7 </p>--> 
     2<form action="[% c.uri_for('/', c.req.path) %]" id="explorer_d"> 
     3    <span id="distribselect"> 
     4    [% INCLUDE 'ajax/forms/distribselect.tt' %] 
     5    </span> 
     6    <input type="submit" value="Update view..."> 
     7</form> 
     8[% c.prototype.observe_form('explorer_d', 
     9    { 
     10    url => c.uri_for('/ajax/forms/distribselect', { 'ajax' => 1 }), 
     11    frequency => 1, 
     12    update => 'distribselect', 
     13    } 
     14) %] 
     15 
    816 
    917<div id="exp_dir" style="float: left; border: outset; width: 30%"> 
Note: See TracChangeset for help on using the changeset viewer.