mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Static tests: Removed highlight/error, overlay and index pages.
This commit is contained in:
parent
e562ef76d9
commit
aa235d42b3
@ -1,38 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>Themeroller CSS Framework Demo</title>
|
||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.base.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css" type="text/css" title="ui-theme" />
|
||||
<script type="text/javascript" src="../../jquery-1.5.1.js"></script>
|
||||
<script type="text/javascript" src="static.js"></script>
|
||||
<style type="text/css">
|
||||
body {font-size: 62.5%; margin: 20px; font-family: Verdana, sans-serif; color: #444;}
|
||||
h1 {font-size: 1.5em; margin: 1em 0;}
|
||||
h2 {font-size: 1.3em; margin: 2em 0 .5em;}
|
||||
h2 a {font-size: .8em;}
|
||||
p {font-size: 1em; margin: 0; }
|
||||
form {margin: 4em 0;}
|
||||
div {padding: .2em .5em;}
|
||||
.ui-icon {float: left; margin-right: .5em;}
|
||||
form div.ui-state-error-text {background: none; border: 0;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="ui-widget">
|
||||
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Alert:</strong> Sample ui-state-error style.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
|
||||
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
|
||||
<strong>Tip!</strong> Sample ui-state-highlight style.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,43 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>jQuery UI Static Tests</title>
|
||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" />
|
||||
<script type="text/javascript" src="../../jquery-1.5.1.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>jQuery UI Static Tests</h1>
|
||||
|
||||
<h2>Interactions</h2>
|
||||
<ul>
|
||||
<li><a href="draggable/default.html">Draggable</a></li>
|
||||
<li><a href="droppable/default.html">Droppable</a></li>
|
||||
<li><a href="resizable/default.html">Resizable</a></li>
|
||||
<li><a href="selectable/default.html">Selectable</a></li>
|
||||
<li><a href="sortable/default.html">Sortable</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>Widgets</h2>
|
||||
<ul>
|
||||
<li><a href="accordion/default.html">Accordion</a></li>
|
||||
<li><a href="autocomplete/default.html">Autocomplete</a></li>
|
||||
<li><a href="button/default.html">Button</a></li>
|
||||
<li><a href="datepicker/default.html">Datepicker</a></li>
|
||||
<li><a href="dialog/default.html">Dialog</a></li>
|
||||
<li><a href="menu/default.html">Menu</a></li>
|
||||
<li><a href="menu/all-menus-icons.html">Menu with icons</a></li>
|
||||
<li><a href="progressbar/default.html">Progressbar</a></li>
|
||||
<li><a href="slider/default.html">Slider</a></li>
|
||||
<li><a href="tabs/default.html">Tabs</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,71 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>jQuery UI Dialog Static Markup Test Page</title>
|
||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.base.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css" type="text/css" title="ui-theme" />
|
||||
<script type="text/javascript" src="../../jquery-1.5.1.js"></script>
|
||||
<script type="text/javascript" src="static.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
//overlay sample plugin ( to become part of positionTo )
|
||||
$.fn.overlay = function(){
|
||||
var that = this;
|
||||
//overlay widget markup
|
||||
var overlay = $('<div class="ui-overlay">'+
|
||||
'<iframe class="ui-helper-zfix" src="#" frameborder="0"></iframe>'+
|
||||
'<div class="ui-widget-overlay"></div>'+
|
||||
'<div class="ui-widget-shadow ui-corner-all"></div>'+
|
||||
'</div>');
|
||||
//ui-widget-shadow gets set to exact widget dims and offset (TL). Shadow appearance/thickness is handled in ui.theme.css through margins and padding
|
||||
overlay.find('.ui-widget-shadow')
|
||||
.width( $(that)[0].offsetWidth )
|
||||
.height( $(that)[0].offsetHeight )
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: $(that)[0].offsetLeft,
|
||||
top: $(that)[0].offsetTop
|
||||
});
|
||||
$(that).before(overlay);
|
||||
return this;
|
||||
};
|
||||
|
||||
//call overlay
|
||||
$(function(){
|
||||
$('.ui-dialog').overlay();
|
||||
});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body style="font-size: 62.5%;">
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ui-dialog -->
|
||||
<div class="ui-dialog ui-widget ui-widget-content ui-corner-all" style="position: absolute; left: 40px; top: 40px; ">
|
||||
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
|
||||
<span class="ui-dialog-title">Dialog Title</span>
|
||||
<a href="#" class="ui-dialog-titlebar-close ui-corner-all" title="Close"><span class="ui-icon ui-icon-closethick">Close</span></a>
|
||||
</div>
|
||||
<div class="ui-dialog-content ui-widget-content" style="height: 13em;">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
||||
</div>
|
||||
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
|
||||
<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>
|
||||
<div class="ui-resizable-n ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-s ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-e ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-w ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-ne ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-se ui-resizable-handle ui-icon ui-icon-grip-diagonal-se"></div>
|
||||
<div class="ui-resizable-sw ui-resizable-handle"></div>
|
||||
<div class="ui-resizable-nw ui-resizable-handle"></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user