]> source.dussan.org Git - jquery-ui.git/commitdiff
- nevermind: changed demo and css to "progressbar" back to "progressindicator"
authorScott Jehl <scott@scottjehl.com>
Mon, 8 Dec 2008 16:39:44 +0000 (16:39 +0000)
committerScott Jehl <scott@scottjehl.com>
Mon, 8 Dec 2008 16:39:44 +0000 (16:39 +0000)
set proper mime types for demos

tests/static/progressbar.html [new file with mode: 0644]
tests/static/progressindicator.html [deleted file]
themes/base/ui.progressbar.css [new file with mode: 0644]
themes/base/ui.progressindicator.css [deleted file]

diff --git a/tests/static/progressbar.html b/tests/static/progressbar.html
new file mode 100644 (file)
index 0000000..a83ada3
--- /dev/null
@@ -0,0 +1,46 @@
+<!doctype html>
+<html>
+<head>
+       <title>jQuery UI Progressbar Static Markup Test Page</title>
+       <link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
+       <style type="text/css">
+       h2 { margin:1.5em 0 .5em; }
+       </style>
+</head>
+<body>
+
+<h1>jQuery UI Progressbar Static Markup Test Page</h1>
+
+<h2>Flexible width:</h2>
+
+<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-label">13% Completed</div>
+       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:13%;"><div class="ui-progressbar-label">13% Completed</div></div>
+</div>
+
+<br /><br/>
+
+<!-- users can set a left offset in px, %, ems, whatever to move the label along the axis -->
+
+<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="55">
+       <div class="ui-progressbar-label" style="left:350px;">55% Completed</div>
+       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:55%"><div class="ui-progressbar-label" style="left:350px;">55% Completed</div></div>
+</div>
+
+<br /><br/>
+
+<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="55">
+       <div class="ui-progressbar-label" style="left:600px;">55% Completed</div>
+       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:55%"><div class="ui-progressbar-label" style="left:600px;">55% Completed</div></div>
+</div>
+
+
+<h2>Fixed width (px):</h2>
+
+<div style="width:500px" class="ui-progressbar ui-progressbar-fixed ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="78">
+       <div class="ui-progressbar-label">78% Completed</div>
+       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:78%"><div class="ui-progressbar-label">78% Completed</div></div>
+</div>
+
+</body>
+</html>
diff --git a/tests/static/progressindicator.html b/tests/static/progressindicator.html
deleted file mode 100644 (file)
index a83ada3..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!doctype html>
-<html>
-<head>
-       <title>jQuery UI Progressbar Static Markup Test Page</title>
-       <link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
-       <style type="text/css">
-       h2 { margin:1.5em 0 .5em; }
-       </style>
-</head>
-<body>
-
-<h1>jQuery UI Progressbar Static Markup Test Page</h1>
-
-<h2>Flexible width:</h2>
-
-<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-label">13% Completed</div>
-       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:13%;"><div class="ui-progressbar-label">13% Completed</div></div>
-</div>
-
-<br /><br/>
-
-<!-- users can set a left offset in px, %, ems, whatever to move the label along the axis -->
-
-<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="55">
-       <div class="ui-progressbar-label" style="left:350px;">55% Completed</div>
-       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:55%"><div class="ui-progressbar-label" style="left:350px;">55% Completed</div></div>
-</div>
-
-<br /><br/>
-
-<div class="ui-progressbar ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="55">
-       <div class="ui-progressbar-label" style="left:600px;">55% Completed</div>
-       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:55%"><div class="ui-progressbar-label" style="left:600px;">55% Completed</div></div>
-</div>
-
-
-<h2>Fixed width (px):</h2>
-
-<div style="width:500px" class="ui-progressbar ui-progressbar-fixed ui-widget ui-widget-content ui-corner-all" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="78">
-       <div class="ui-progressbar-label">78% Completed</div>
-       <div class="ui-progressbar-value ui-state-default ui-corner-left" style="width:78%"><div class="ui-progressbar-label">78% Completed</div></div>
-</div>
-
-</body>
-</html>
diff --git a/themes/base/ui.progressbar.css b/themes/base/ui.progressbar.css
new file mode 100644 (file)
index 0000000..94c8ac2
--- /dev/null
@@ -0,0 +1,6 @@
+/* Progressbar
+----------------------------------*/
+.ui-progressbar { position: relative; overflow:hidden; }
+.ui-progressbar, .ui-progressbar-value { height:1em; padding:.4em 0 .5em;  }
+.ui-progressbar-label { position: absolute; left:0; top: .3em; text-indent: .5em; border: 0; background: none; white-space: nowrap; }
+.ui-progressbar-value { position: absolute; top:0; width:100%; margin: -1px; overflow: hidden; font-weight: normal !important; white-space: nowrap; }
\ No newline at end of file
diff --git a/themes/base/ui.progressindicator.css b/themes/base/ui.progressindicator.css
deleted file mode 100644 (file)
index 94c8ac2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Progressbar
-----------------------------------*/
-.ui-progressbar { position: relative; overflow:hidden; }
-.ui-progressbar, .ui-progressbar-value { height:1em; padding:.4em 0 .5em;  }
-.ui-progressbar-label { position: absolute; left:0; top: .3em; text-indent: .5em; border: 0; background: none; white-space: nowrap; }
-.ui-progressbar-value { position: absolute; top:0; width:100%; margin: -1px; overflow: hidden; font-weight: normal !important; white-space: nowrap; }
\ No newline at end of file