r1108 - trunk/tests/static
Author: rdworth
Date: Thu Dec 11 18:31:34 2008
New Revision: 1108
Modified:
trunk/tests/static/accordion.html
trunk/tests/static/dialog.html
trunk/tests/static/highlight_error.html
trunk/tests/static/progressbar.html
trunk/tests/static/slider.html
trunk/tests/static/static_helpers.js
trunk/tests/static/tabs.html
Log:
tests/static: whitespace and formatting
Modified: trunk/tests/static/accordion.html
==============================================================================
--- trunk/tests/static/accordion.html (original)
+++ trunk/tests/static/accordion.html Thu Dec 11 18:31:34 2008
@@ -8,6 +8,7 @@
</head>
<body style="font-size: 62.5%;">
+<!-- Accordion -->
<div class="ui-accordion ui-widget ui-helper-reset">
<div class="ui-accordion-group selected">
<h3 class="ui-accordion-header ui-helper-reset ui-state-active
ui-corner-top" tabindex="0"><span class="ui-icon
ui-icon-triangle-1-s"></span><a href="#">Test 1</a></h3>
Modified: trunk/tests/static/dialog.html
==============================================================================
--- trunk/tests/static/dialog.html (original)
+++ trunk/tests/static/dialog.html Thu Dec 11 18:31:34 2008
@@ -8,6 +8,7 @@
</head>
<body style="font-size: 62.5%;">
+<!-- Dialog -->
<div class="ui-dialog ui-widget ui-widget-content ui-corner-all"
role="dialog" aria-labelledby="ui-dialog-title-1">
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all
ui-helper-clearfix">
<span class="ui-dialog-title" id="ui-dialog-title-1">This is my
title</span>
Modified: trunk/tests/static/highlight_error.html
==============================================================================
--- trunk/tests/static/highlight_error.html (original)
+++ trunk/tests/static/highlight_error.html Thu Dec 11 18:31:34 2008
@@ -21,7 +21,6 @@
<body>
<h2>Error State</h2>
-
<div class="ui-state-error ui-corner-all" style="width: 420px;">
<span class="ui-icon ui-icon-alert"></span>
<strong>Error:</strong> There is a problem in your form submission!
@@ -32,52 +31,48 @@
<span class="ui-icon ui-icon-info"></span> <strong>Quick Tip!</strong>
Hold ctrl while clicking to get contextual helpers.
</div>
-
<form>
<fieldset>
-<div>
-<label>Text</label>
-<input type="text" value="dafs" />
-</div>
-
-<div>
-<label>Text</label>
-<input type="text" value="dafs" class="ui-state-error" />
-</div>
+ <div>
+ <label>Text</label>
+ <input type="text" value="dafs" />
+ </div>
+
+ <div>
+ <label>Text</label>
+ <input type="text" value="dafs" class="ui-state-error" />
+ </div>
+
+ <div>
+ <input type="radio" />
+ <label>Text</label>
+ </div>
+
+ <div class="ui-state-error-text">
+ <input type="radio" />
+ <label>Text</label>
+ </div>
+
+ <div>
+ <input type="checkbox" class="ui-state-error" />
+ <label>Text</label>
+ </div>
+
+ <div>
+ <label>Text</label>
+ <select class="ui-state-error">
+ <option val="dasf">dsaf</option>
+ <option val="dasf">dsaf</option>
+ <option val="dasf">dsaf</option>
+ <option val="dasf">dsaf</option>
+ </select>
+ </div>
+
+ <button class="ui-state-default ui-priority-primary
ui-corner-all">Primary</button>
+ <button class="ui-state-default ui-priority-secondary
ui-corner-all">Secondary</button>
+ <button class="ui-state-default ui-state-disabled
ui-corner-all">Disabled</button>
-<div>
-<input type="radio" />
-<label>Text</label>
-</div>
-
-<div class="ui-state-error-text">
-<input type="radio" />
-<label>Text</label>
-
-</div>
-<div>
-<input type="checkbox" class="ui-state-error" />
-<label>Text</label>
-
-</div>
-
-<div>
-<label>Text</label>
-<select class="ui-state-error">
-<option val="dasf">dsaf</option>
-<option val="dasf">dsaf</option>
-<option val="dasf">dsaf</option>
-<option val="dasf">dsaf</option>
-</select>
-
-
-</div>
-
-<button class="ui-state-default ui-priority-primary
ui-corner-all">Primary</button>
- <button class="ui-state-default ui-priority-secondary
ui-corner-all">Secondary</button>
- <button class="ui-state-default ui-state-disabled
ui-corner-all">Disabled</button>
</fieldset>
-
</form>
</body>
Modified: trunk/tests/static/progressbar.html
==============================================================================
--- trunk/tests/static/progressbar.html (original)
+++ trunk/tests/static/progressbar.html Thu Dec 11 18:31:34 2008
@@ -8,6 +8,7 @@
</head>
<body style="font-size: 62.5%;">
+<!-- Progressbar -->
<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all"
role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="13">
<div class="ui-progressbar-value ui-state-default ui-corner-left"
style="width:13%;"></div>
</div>
Modified: trunk/tests/static/slider.html
==============================================================================
--- trunk/tests/static/slider.html (original)
+++ trunk/tests/static/slider.html Thu Dec 11 18:31:34 2008
@@ -11,13 +11,14 @@
</head>
<body style="font-size: 62.5%;">
+<!-- Slider: horizontal -->
<div class="ui-slider ui-widget ui-widget-content ui-corner-all">
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all"
style="left: 15%;"></a>
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all"
style="left: 30%;"></a>
<div class="ui-slider-range ui-state-default" style="left: 15%; width:
15%;"></div>
</div>
-<!-- vertical -->
+<!-- Slider: vertical -->
<div class="ui-slider ui-slider-vertical ui-widget ui-widget-content
ui-corner-all" style="height: 100px;">
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all"
style="top: 15%;"></a>
<a href="#" class="ui-slider-handle ui-state-default ui-corner-all"
style="top: 60%;"></a>
Modified: trunk/tests/static/static_helpers.js
==============================================================================
--- trunk/tests/static/static_helpers.js (original)
+++ trunk/tests/static/static_helpers.js Thu Dec 11 18:31:34 2008
@@ -1,3 +1,5 @@
+/* static_helpers.js
+ */
$(function(){
//add hover states on the static widgets
$('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value),
a.ui-datepicker-next,
a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover(
Modified: trunk/tests/static/tabs.html
==============================================================================
--- trunk/tests/static/tabs.html (original)
+++ trunk/tests/static/tabs.html Thu Dec 11 18:31:34 2008
@@ -8,6 +8,7 @@
</head>
<body style="font-size: 62.5%;">
+<!-- Tabs -->
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix
ui-widget-header ui-corner-all">
<li class="ui-tabs-selected ui-state-active ui-corner-top"><a
href="#fragment-1">First Section</a></li>