Move to sane directory structure. Don't make 'cms' the top level of the silverstripe...
[silverstripe-elijah.git] / silverstripe-gsoc / cms / templates / Includes / NewsletterAdmin_left.ss
blob94047a3fa290e0e54e6dbcd2657cad764a4fa02b
1 <style>
2 ul.tree li.MailType span.MailType a {
3         background-image: url(cms/images/treeicons/sent-folder.png);
4         font-weight: bold;
6 ul.tree li.MailType span.Recipients a {
7         background-image: url(cms/images/treeicons/multi-user.png);
9 ul.tree li.MailType span.Recipients a {
10         background-image: url(cms/images/treeicons/multi-user.png);
12 ul.tree li.MailType span.SentFolder a, ul.tree span.SentFolder.children a {
13         background-image: url(cms/images/treeicons/sent-folder.png);
15 ul.tree li.MailType span.DraftFolder a, ul.tree span.DraftFolder.children a  {
16         background-image: url(cms/images/treeicons/draft-folder.png);
18 ul.tree li.MailType span.Draft a {
19         background-image: url(cms/images/treeicons/draft-file.png);
21 ul.tree li.MailType span.Sent a {
22         background-image: url(cms/images/treeicons/sent-file.gif);
24 </style>
26 <h2>Newsletters</h2>
27 <div id="treepanes" style="overflow-y: auto;">
28                 <ul id="TreeActions">
29                         <li class="action" id="addtype"><button>Create...</button></li>
30                         <li class="action" id="deletedrafts"><button>Delete...</button></li>
31                 </ul>
32                 <div style="clear:both;"></div>
33                 <form class="actionparams" id="addtype_options" style="display: none" action="admin/newsletter/add">
34                         <input type="hidden" name="ParentID" value="" />
35                                 <select name="PageType" id="add_type">
36                                         <option value="type">Add new type</option>
37                                         <option value="draft">Add new draft</option>
38                                 </select>
39                         <input class="action" type="submit" value="Go" />
40                 </form>
41                 
42                 <form class="actionparams" id="deletedrafts_options" style="display: none" action="admin/newsletter/remove">
43                         <p>Select the drafts that you want to delete and then click the button below</p>
44                         <input type="hidden" name="csvIDs" />
45                         <input type="submit" value="Delete the selected drafts" />
46                 </form>
47                 <% include NewsletterAdmin_SiteTree %>
48 </div>