aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/static/accordion.html1
-rw-r--r--tests/static/dialog.html1
-rw-r--r--tests/static/highlight_error.html81
-rw-r--r--tests/static/progressbar.html1
-rw-r--r--tests/static/slider.html3
-rw-r--r--tests/static/static_helpers.js2
-rw-r--r--tests/static/tabs.html1
7 files changed, 46 insertions, 44 deletions
diff --git a/tests/static/accordion.html b/tests/static/accordion.html
index 62c482861..bbba4e399 100644
--- a/tests/static/accordion.html
+++ b/tests/static/accordion.html
@@ -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>
diff --git a/tests/static/dialog.html b/tests/static/dialog.html
index 474fb78be..1775a0604 100644
--- a/tests/static/dialog.html
+++ b/tests/static/dialog.html
@@ -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>
diff --git a/tests/static/highlight_error.html b/tests/static/highlight_error.html
index 7cb5a7bc2..e050fefdc 100644
--- a/tests/static/highlight_error.html
+++ b/tests/static/highlight_error.html
@@ -21,7 +21,6 @@
<body>
<h2>Error State</h2>
-
<div class="ui-state-error ui-corner-all" style="width: 420px;">
<p><span class="ui-icon ui-icon-alert"></span>
<strong>Error:</strong> There is a problem in your form submission!</p>
@@ -32,52 +31,48 @@
<p><span class="ui-icon ui-icon-info"></span> <strong>Quick Tip!</strong> Hold ctrl while clicking to get contextual helpers.</p>
</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>
diff --git a/tests/static/progressbar.html b/tests/static/progressbar.html
index c9d4eb56b..926c90f4f 100644
--- a/tests/static/progressbar.html
+++ b/tests/static/progressbar.html
@@ -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>
diff --git a/tests/static/slider.html b/tests/static/slider.html
index aaad7c491..d38dad77e 100644
--- a/tests/static/slider.html
+++ b/tests/static/slider.html
@@ -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>
diff --git a/tests/static/static_helpers.js b/tests/static/static_helpers.js
index 4ca52eff9..1c29079ef 100644
--- a/tests/static/static_helpers.js
+++ b/tests/static/static_helpers.js
@@ -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(
diff --git a/tests/static/tabs.html b/tests/static/tabs.html
index 3ee695b36..b29aea2d4 100644
--- a/tests/static/tabs.html
+++ b/tests/static/tabs.html
@@ -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>