Changeset 1229
- Timestamp:
- 04/17/13 18:24:04 (11 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/root/html
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/ajax/services/mailing/attachments.tt
r1158 r1229 1 1 [% FOREACH a = c.session.mailing.attachments %] 2 2 [% IF loop.first %] 3 <fieldset> 4 <legend>Fichiers attachés:</legend> 3 5 <table> 4 6 [% END %] 5 7 <tr> 6 <td> [% a.filename | html %]</td>7 <td> [% a.as_string.length %]</td>8 <td><span style="font-family:monospace;">[% a.filename | html %]</span></td> 9 <td><span style="font-size: 0.8em">([% a.as_string.length %] octets)</span></td> 8 10 <td> 9 [% c.prototype.link_to_remote('<img src="' _ c.uri_for('/static/i cons',11 [% c.prototype.link_to_remote('<img src="' _ c.uri_for('/static/images', 10 12 'user-trash.png') _ '" height="24" width="24" alt="" title="Retirer ' _ disp _ 11 13 '">', { … … 18 20 [% IF loop.last %] 19 21 </table> 22 </fieldset> 20 23 [% END %] 21 24 [% END %] -
trunk/LATMOS-Accounts-Web/root/html/ajax/services/mailing/users_list.tt
r1162 r1229 12 12 <td><input type=checkbox name="user" checked=1 value="[% u | html %]"> 13 13 [% c.prototype.link_to_remote( 14 '<img src="' _ c.uri_for('/static', 'i cons', 'gtk-add.png') _ '" height="24" width="24" alt="" title="Ajouter ' _ disp _ '">',14 '<img src="' _ c.uri_for('/static', 'images', 'gtk-add.png') _ '" height="24" width="24" alt="" title="Ajouter ' _ disp _ '">', 15 15 { 16 16 update => 'destlist', -
trunk/LATMOS-Accounts-Web/root/html/services/mailing/index.tt
r1158 r1229 1 <h2>Envoyer un mail:</h2> 2 1 3 <form action="[% c.uri_for() %]" method="POST"> 2 <input type="submit" name="sto" value="Selectionner les destinaires ..."> 3 [% IF c.session.to.keys.size > 0 %][% c.session.to.keys.size %] destinataires[% END %] 4 <br> 5 <label for="subject">Sujet:</label> 6 <input type="text" name="subject" value="[% c.session.mailing.subject | html %]"> 4 [% IF c.session.to.keys.size || 0 > 0 %] 5 <input type="submit" name="send" value="Envoyer"> 6 [% END %] 7 7 <br> 8 8 9 <fieldset> 10 <legend>En tête:</legend> 11 <p><label>De:</label> 12 [% c.model('Accounts').base.get_object( 13 'user', c.user.username 14 ).get_attributes('mail') | html %] 15 </p> 16 <p><label for="subject">Sujet:</label> 17 <input type="text" name="subject" value="[% c.session.mailing.subject | html %]"> 18 </p> 19 <p> 20 [% IF c.session.to.keys.size || 0 > 0 %][% c.session.to.keys.size %] destinataires 21 [% ELSE %] 22 (pas de destinataire selectionné) 23 [% END %] 24 <input type="submit" name="sto" value=" 25 [%- IF c.session.to.keys.size || 0 > 0 -%] 26 Modifier la liste... 27 [%- ELSE -%] 28 Selectionner les destinaires ... 29 [%- END -%]"> 30 </p> 31 </fieldset> 32 33 34 <fieldset> 35 <legend>Corps:</legend> 36 <label for="body">Message:</label><br> 9 37 <textarea name="body" rows="6" cols="60"> 10 38 [%- c.session.mailing.body | html -%] 11 </textarea><br> 12 [% IF c.session.to.keys.size > 0 %] 13 <input type="submit" name="send" value="Envoyer"> 14 [% END %] 39 </textarea> 40 </fieldset> 15 41 16 42 </form> … … 19 45 [% INCLUDE 'ajax/services/mailing/attachments.tt' %] 20 46 </div> 47 <fieldset> 48 <legend>Attacher un fichier:</legend> 21 49 <form action="[% c.uri_for('/services', 'mailing') %]" 22 50 enctype="multipart/form-data" method="POST"> … … 24 52 <input type="submit" value="Ajouter"> 25 53 </form> 54 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.