mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
tests/static: whitespace and formatting
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
</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>
|
||||
<label>Text</label>
|
||||
<input type="text" value="dafs" class="ui-state-error" />
|
||||
</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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user