source: trunk/skins/lemill/portlet_add_tool.pt @ 238

Revision 238, 1.0 KB checked in by vahur, 14 years ago (diff)

Implemented collections view, collections container. did some minor random things.
tests will come in later

Line 
1<html xmlns:tal="http://xml.zope.org/namespaces/tal"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      i18n:domain="lemill">
4<body>
5<div metal:define-macro="portlet"
6     tal:condition="not:isAnon">
7
8<div class="tb-portlet">
9    <div class="portlet-title">
10    <a href="#" tal:attributes="href string:$portal_url/tools/createObject?type_name=Tool"><img src="placeholder_24x24.png" alt="" class="smallicon" border="0" /></a>
11    <a href="#" tal:attributes="href string:$portal_url/tools/createObject?type_name=Tool" class="linkonbackground">New tool</a>
12    </div>
13</div>
14
15<div class="tb-portlet">
16    <div class="portlet-title">
17    <img src="transparent.png" alt="" class="smallicon" />
18    My tools
19    </div>
20<ul>
21    <li><a href="#" tal:attributes="href string:${portal_url}/tools/drafts">Drafts</a></li>
22    <li><a href="#" tal:attributes="href string:${portal_url}/tools/published">Published</a></li>
23    <li><a href="#" tal:attributes="href string:${portal_url}/community/${user}/collections">Collections</a></li>
24</ul>
25</div>
26
27</div>
28</body>
29</html>
30
Note: See TracBrowser for help on using the repository browser.