Skip to content
Permalink
Browse files

tests/visual: added default tests

  • Loading branch information
rdworth committed Jan 24, 2009
1 parent d70844f commit 06953372ecfe117a6070f4a93ba5a76dce90f6f9
@@ -0,0 +1,39 @@
<!doctype html>
<html lang="en">
<head>
<title>Accordion Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
<script type="text/javascript">
$(function() {
$("#accordion").accordion({ header: "h3" });
})
</script>
</head>
<body>

<div id="accordion">
<div>
<h3><a href="#">First</a></h3>
<div>
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.
</div>
</div>
<div>
<h3><a href="#">Second</a></h3>
<div>
Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
</div>
</div>
<div>
<h3><a href="#">Third</a></h3>
<div>
Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
</div>
</div>
</div>

</body>
</html>
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>Simple Datepicker</title>
<title>Datepicker Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test: Default</title>
<title>Dialog Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<title>Draggable Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript">
$(function() {
$("#draggable").draggable();
});
</script>
</head>
<body>

<div id="draggable">Draggable</div>

</body>
</html>
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<title>Droppable Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.droppable.js"></script>
<script type="text/javascript">
$(function() {
$("#draggable").draggable();
$("#droppable").droppable();
});
</script>
</head>
<body>

<div id="draggable">Draggable</div>

<div id="droppable">Droppable</div>

</body>
</html>
@@ -0,0 +1,36 @@
<!doctype html>
<html lang="en">
<head>
<title>Visual Tests</title>
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../jquery-1.3.1.js"></script>
<script type="text/javascript">
$(function() {
});
</script>
</head>

<body>

<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="datepicker/default.html">Datepicker</a></li>
<li><a href="dialog/default.html">Dialog</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>
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<title>Progressbar Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.progressbar.js"></script>
<script type="text/javascript">
$(function() {
$("#progressbar").progressbar();
});
</script>
</head>
<body>

<div id="progressbar"></div>

</body>
</html>
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<title>Resizable Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#resizable").resizable();
});
</script>
</head>
<body>

<div id="resizable">Resizable</div>

</body>
</html>
@@ -0,0 +1,31 @@
<!doctype html>
<html lang="en">
<head>
<title>Selectable Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.selectable.js"></script>
<script type="text/javascript">
$(function() {
$("#selectable").selectable();
});
</script>
</head>

<body>

<div id="selectable">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
</div>

</body>
</html>
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
<title>Slider Visual Test Page</title>
<title>Slider Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
@@ -0,0 +1,31 @@
<!doctype html>
<html lang="en">
<head>
<title>Sortable Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.sortable.js"></script>
<script type="text/javascript">
$(function() {
$("#sortable").sortable();
});
</script>
</head>

<body>

<div id="sortable">
<div>C</div>
<div>I</div>
<div>G</div>
<div>F</div>
<div>D</div>
<div>H</div>
<div>A</div>
<div>E</div>
<div>B</div>
</div>

</body>
</html>
@@ -0,0 +1,29 @@
<!doctype html>
<html lang="en">
<head>
<title>Tabs Visual Test : Default</title>
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.tabs.js"></script>
<script type="text/javascript">
$(function() {
$("#tabs").tabs();
});
</script>
</head>
<body>

<div id="tabs">
<ul>
<li><a href="#tabs-1">First</a></li>
<li><a href="#tabs-2">Second</a></li>
<li><a href="#tabs-3">Third</a></li>
</ul>
<div id="tabs-1">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.</div>
<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>
<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
</div>

</body>
</html>

0 comments on commit 0695337

Please sign in to comment.
You can’t perform that action at this time.