mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-06-07 00:47:00 +03:00
Remove broken jquery-ui
This commit is contained in:
parent
39aa35f2aa
commit
d3488a963e
718 changed files with 10 additions and 518340 deletions
|
@ -1,24 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>jQuery UI Progressbar - Default functionality</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js">
|
||||
$( "#progressbar" ).progressbar({
|
||||
value: 37
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="progressbar"></div>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>Default determinate progress bar.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,106 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>jQuery UI Progressbar - Download Dialog</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js" data-modules="dialog">
|
||||
var progressTimer,
|
||||
progressbar = $( "#progressbar" ),
|
||||
progressLabel = $( ".progress-label" ),
|
||||
dialogButtons = [{
|
||||
text: "Cancel Download",
|
||||
click: closeDownload
|
||||
}],
|
||||
dialog = $( "#dialog" ).dialog({
|
||||
autoOpen: false,
|
||||
closeOnEscape: false,
|
||||
resizable: false,
|
||||
buttons: dialogButtons,
|
||||
open: function() {
|
||||
progressTimer = setTimeout( progress, 2000 );
|
||||
},
|
||||
beforeClose: function() {
|
||||
downloadButton.button( "option", {
|
||||
disabled: false,
|
||||
label: "Start Download"
|
||||
});
|
||||
}
|
||||
}),
|
||||
downloadButton = $( "#downloadButton" )
|
||||
.button()
|
||||
.on( "click", function() {
|
||||
$( this ).button( "option", {
|
||||
disabled: true,
|
||||
label: "Downloading..."
|
||||
});
|
||||
dialog.dialog( "open" );
|
||||
});
|
||||
|
||||
progressbar.progressbar({
|
||||
value: false,
|
||||
change: function() {
|
||||
progressLabel.text( "Current Progress: " + progressbar.progressbar( "value" ) + "%" );
|
||||
},
|
||||
complete: function() {
|
||||
progressLabel.text( "Complete!" );
|
||||
dialog.dialog( "option", "buttons", [{
|
||||
text: "Close",
|
||||
click: closeDownload
|
||||
}]);
|
||||
$(".ui-dialog button").last().trigger( "focus" );
|
||||
}
|
||||
});
|
||||
|
||||
function progress() {
|
||||
var val = progressbar.progressbar( "value" ) || 0;
|
||||
|
||||
progressbar.progressbar( "value", val + Math.floor( Math.random() * 3 ) );
|
||||
|
||||
if ( val <= 99 ) {
|
||||
progressTimer = setTimeout( progress, 50 );
|
||||
}
|
||||
}
|
||||
|
||||
function closeDownload() {
|
||||
clearTimeout( progressTimer );
|
||||
dialog
|
||||
.dialog( "option", "buttons", dialogButtons )
|
||||
.dialog( "close" );
|
||||
progressbar.progressbar( "value", false );
|
||||
progressLabel
|
||||
.text( "Starting download..." );
|
||||
downloadButton.trigger( "focus" );
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
#progressbar {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.progress-label {
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 0 #fff;
|
||||
}
|
||||
|
||||
.ui-dialog-titlebar-close {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="dialog" title="File Download">
|
||||
<div class="progress-label">Starting download...</div>
|
||||
<div id="progressbar"></div>
|
||||
</div>
|
||||
<button id="downloadButton">Start Download</button>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>Download dialog progressbar demo.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
|
@ -1,49 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>jQuery UI Progressbar - Indeterminate Value</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js">
|
||||
$( "#progressbar" ).progressbar({
|
||||
value: false
|
||||
});
|
||||
$( "button" ).on( "click", function( event ) {
|
||||
var target = $( event.target ),
|
||||
progressbar = $( "#progressbar" ),
|
||||
progressbarValue = progressbar.find( ".ui-progressbar-value" );
|
||||
|
||||
if ( target.is( "#numButton" ) ) {
|
||||
progressbar.progressbar( "option", {
|
||||
value: Math.floor( Math.random() * 100 )
|
||||
});
|
||||
} else if ( target.is( "#colorButton" ) ) {
|
||||
progressbarValue.css({
|
||||
"background": '#' + Math.floor( Math.random() * 16777215 ).toString( 16 )
|
||||
});
|
||||
} else if ( target.is( "#falseButton" ) ) {
|
||||
progressbar.progressbar( "option", "value", false );
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
#progressbar .ui-progressbar-value {
|
||||
background-color: #ccc;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="progressbar"></div>
|
||||
<button id="numButton">Random Value - Determinate</button>
|
||||
<button id="falseButton">Indeterminate</button>
|
||||
<button id="colorButton">Random Color</button>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>Indeterminate progress bar and switching between determinate and indeterminate styles.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>jQuery UI Progressbar Demos</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<ul>
|
||||
<li><a href="default.html">Default functionality</a></li>
|
||||
<li><a href="indeterminate.html">Indeterminate</a></li>
|
||||
<li><a href="label.html">Custom Labels</a></li>
|
||||
<li><a href="download.html">Download Dialog</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,57 +0,0 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>jQuery UI Progressbar - Custom Label</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<style>
|
||||
.ui-progressbar {
|
||||
position: relative;
|
||||
}
|
||||
.progress-label {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 4px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 0 #fff;
|
||||
}
|
||||
</style>
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js">
|
||||
var progressbar = $( "#progressbar" ),
|
||||
progressLabel = $( ".progress-label" );
|
||||
|
||||
progressbar.progressbar({
|
||||
value: false,
|
||||
change: function() {
|
||||
progressLabel.text( progressbar.progressbar( "value" ) + "%" );
|
||||
},
|
||||
complete: function() {
|
||||
progressLabel.text( "Complete!" );
|
||||
}
|
||||
});
|
||||
|
||||
function progress() {
|
||||
var val = progressbar.progressbar( "value" ) || 0;
|
||||
|
||||
progressbar.progressbar( "value", val + 2 );
|
||||
|
||||
if ( val < 99 ) {
|
||||
setTimeout( progress, 80 );
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout( progress, 2000 );
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="progressbar"><div class="progress-label">Loading...</div></div>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>Custom updated label demo.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue