1 | <html> |
---|
2 | <head> |
---|
3 | <link rel="stylesheet" type="text/css" |
---|
4 | tal:attributes="href string:${context/@@absolute_url}/@@kss_devel_mode/ui_css"/> |
---|
5 | </head> |
---|
6 | <body> |
---|
7 | <h1>KSS demos</h1> |
---|
8 | <p metal:use-macro="context/@@body_macros/kss_mode">Kss mode</p> |
---|
9 | <h2>Tests</h2> |
---|
10 | <ul style="background-color:#E0E0C0;"> |
---|
11 | <li><a href="@@kukittestsuite">ECMA unittests: kss.core</a></li> |
---|
12 | <li><a href="@@qpttestsuite">ECMA unittests: quintagroup.plonetabs</a></li> |
---|
13 | <li>Selenium tests runner |
---|
14 | <form tal:attributes="action string:${context/absolute_url}/zuite.html"> |
---|
15 | <ul> |
---|
16 | <li>Admin credentials, used for site creation: |
---|
17 | <input type="text" name="admin_username" value="admin" /> |
---|
18 | <input type="password" name="admin_password" value="admin" /> |
---|
19 | </li> |
---|
20 | <tal:repeat repeat="application view/getApplications"> |
---|
21 | <li><span tal:replace="application/title" /> |
---|
22 | <input type="submit" value="Run" |
---|
23 | tal:attributes="name string:submit_${application/id}" /> |
---|
24 | </li> |
---|
25 | </tal:repeat> |
---|
26 | </ul> |
---|
27 | </form> |
---|
28 | </li> |
---|
29 | </ul> |
---|
30 | <p class="help"> |
---|
31 | Credentials are used for site creation. They do not actually log you |
---|
32 | in or used for anything else in tests. |
---|
33 | </p> |
---|
34 | <tal:groups repeat="demo_group context/@@kss_demo_registry/getDemoGroups"> |
---|
35 | <tal:plugin condition="python:demo_group['is_first_plugin_namespace'] and demo_group['plugin_namespace']==''"> |
---|
36 | <h2>Core plugin</h2> |
---|
37 | </tal:plugin> |
---|
38 | <tal:plugin condition="python:demo_group['is_first_plugin_namespace'] and demo_group['plugin_namespace']"> |
---|
39 | <h2>Plugin namespace: <b tal:content="demo_group/plugin_namespace">core</b></h2> |
---|
40 | </tal:plugin> |
---|
41 | <tal:category condition="python:demo_group['is_first_category'] and demo_group['category']"> |
---|
42 | <h3 tal:content="demo_group/category">Category</h3> |
---|
43 | </tal:category> |
---|
44 | <ul> |
---|
45 | <tal:demos repeat="demo demo_group/demos"> |
---|
46 | <li><a href="demo_page.html" |
---|
47 | tal:attributes="href demo/page_url" |
---|
48 | tal:content="demo/title">A simple demo</a> |
---|
49 | <tal:condition condition="demo/description"> |
---|
50 | <small tal:content="demo/description" /> |
---|
51 | </tal:condition> |
---|
52 | </li> |
---|
53 | </tal:demos> |
---|
54 | </ul> |
---|
55 | </tal:groups> |
---|
56 | |
---|
57 | </body> |
---|
58 | </html> |
---|