Author: reebalazs
Date: Tue Aug 28 11:09:32 2007
New Revision: 46080
Added:
kukit/kukit.js/trunk/tests/develui.css
Modified:
kukit/kukit.js/trunk/tests/runner.html
Log:
Fix ecma testrunner in html filesystem mode
Added: kukit/kukit.js/trunk/tests/develui.css
==============================================================================
--- (empty file)
+++ kukit/kukit.js/trunk/tests/develui.css Tue Aug 28 11:09:32 2007
@@ -0,0 +1,99 @@
+body {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 11pt;
+}
+
+h3 {
+ font-size: 110%;
+ margin-top: 0.5em;
+ margin-bottom: 0.2em;
+}
+
+#global-links {
+ display: table;
+ font-size: 80%;
+}
+
+#global-links ul {
+ display: table-row;
+}
+
+#global-links ul li {
+ display: table-cell;
+}
+
+#global-links a {
+ display: block;
+ padding: 0.25em;
+ margin: 0.25em;
+ border: 1px solid #FF8888;
+ color: #CC0000;
+ text-decoration: none;
+}
+
+#global-links a:hover {
+ border-color: #FF0000;
+ background-color: #FFCCCC;
+}
+
+#target {
+ padding: 1em;
+ margin: 0.5em 0;
+ border: 1px solid #CCCCCC;
+ background-color: #EEEEEE;
+}
+
+.cursorPointer {
+ cursor: pointer;
+}
+
+.click {
+ color: #880000;
+}
+
+radio.click {
+ background-color: #880000;
+}
+
+a.button,
+input[type="submit"] {
+ width: auto;
+ padding: 0.2em;
+ border: 1px solid #FF8888;
+ color: #CC0000;
+ text-decoration: none;
+}
+
+fieldset {
+ margin: 0.5em 0;
+}
+
+fieldset div {
+ margin: 0.3em 0;
+}
+
+.help {
+ font-size: 80%;
+ color: #AAAAAA;
+}
+
+.help pre {
+ color: black;
+ border: 1px solid #CCCCCC;
+ background-color: #EEEEEE;
+ padding: 0.5em;
+ margin: 0.25em;
+}
+
+.container {
+ padding : 1em;
+}
+
+.red {
+ color: red;
+}
+
+.green {
+ color: green;
+}
+
Modified: kukit/kukit.js/trunk/tests/runner.html
==============================================================================
--- kukit/kukit.js/trunk/tests/runner.html (original)
+++ kukit/kukit.js/trunk/tests/runner.html Tue Aug 28 11:09:32 2007
@@ -21,7 +21,8 @@
</style>
<link rel="stylesheet" type="text/css"
- tal:attributes="href
string:${context/@@absolute_url}/@@kss_devel_mode/ui_css"/>
+ tal:attributes="href
string:${context/@@absolute_url}/@@kss_devel_mode/ui_css"
+ href="develui.css"/>
<script type="text/javascript" src="ecmaunit.js"> </script>
<script type="text/javascript" src="unittestUtilities.js"> </script>
@@ -82,8 +83,10 @@
KSS ECMAScript Unit Tests
</h1>
- <p tal:define="kss_devel_mode nocall:context/@@kss_devel_mode | nothing;
- devel_mode python: kss_devel_mode and
kss_devel_mode.ison()">
+ <p style="display:none;"
+ tal:define="kss_devel_mode nocall:context/@@kss_devel_mode | nothing;
+ devel_mode python: kss_devel_mode and
kss_devel_mode.ison()"
+ tal:attributes="style string:display:block;;;">
Kss is in <b>
<span class="green" tal:condition="devel_mode">development</span>
<span class="red" tal:condition="not: devel_mode">production</span>
@@ -97,7 +100,8 @@
</p>
<p class="documentInfo" tal:content="string:Tests are running with the
kukit.js provided by kss.">
- Tests are running from the filesystem.
+ Tests are running from the filesystem.<br/>
+ KSS is running in development (uncooked) mode.
</p>
<div>
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins