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,129 +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 Selectmenu - Custom Rendering</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">
|
||||
$.widget( "custom.iconselectmenu", $.ui.selectmenu, {
|
||||
_renderItem: function( ul, item ) {
|
||||
var li = $( "<li>" ),
|
||||
wrapper = $( "<div>", { text: item.label } );
|
||||
|
||||
if ( item.disabled ) {
|
||||
li.addClass( "ui-state-disabled" );
|
||||
}
|
||||
|
||||
$( "<span>", {
|
||||
style: item.element.attr( "data-style" ),
|
||||
"class": "ui-icon " + item.element.attr( "data-class" )
|
||||
})
|
||||
.appendTo( wrapper );
|
||||
|
||||
return li.append( wrapper ).appendTo( ul );
|
||||
}
|
||||
});
|
||||
|
||||
$( "#filesA" )
|
||||
.iconselectmenu()
|
||||
.iconselectmenu( "menuWidget" )
|
||||
.addClass( "ui-menu-icons" );
|
||||
|
||||
$( "#filesB" )
|
||||
.iconselectmenu()
|
||||
.iconselectmenu( "menuWidget" )
|
||||
.addClass( "ui-menu-icons customicons" );
|
||||
|
||||
$( "#people" )
|
||||
.iconselectmenu()
|
||||
.iconselectmenu( "menuWidget")
|
||||
.addClass( "ui-menu-icons avatar" );
|
||||
</script>
|
||||
<style>
|
||||
h2 {
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
fieldset {
|
||||
border: 0;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* select with custom icons */
|
||||
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item-wrapper {
|
||||
padding: 0.5em 0 0.5em 3em;
|
||||
}
|
||||
.ui-selectmenu-menu .ui-menu.customicons .ui-menu-item .ui-icon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
top: 0.1em;
|
||||
}
|
||||
.ui-icon.video {
|
||||
background: url("images/24-video-square.png") 0 0 no-repeat;
|
||||
}
|
||||
.ui-icon.podcast {
|
||||
background: url("images/24-podcast-square.png") 0 0 no-repeat;
|
||||
}
|
||||
.ui-icon.rss {
|
||||
background: url("images/24-rss-square.png") 0 0 no-repeat;
|
||||
}
|
||||
|
||||
/* select with CSS avatar icons */
|
||||
option.avatar {
|
||||
background-repeat: no-repeat !important;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.avatar .ui-icon {
|
||||
background-position: left top;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="demo">
|
||||
|
||||
<form action="#">
|
||||
<h2>Selectmenu with framework icons</h2>
|
||||
<fieldset>
|
||||
<label for="filesA">Select a File:</label>
|
||||
<select name="filesA" id="filesA">
|
||||
<option value="jquery" data-class="ui-icon-script">jQuery.js</option>
|
||||
<option value="jquerylogo" data-class="ui-icon-image">jQuery Logo</option>
|
||||
<option value="jqueryui" data-class="ui-icon-script">ui.jQuery.js</option>
|
||||
<option value="jqueryuilogo" selected="selected" data-class="ui-icon-image">jQuery UI Logo</option>
|
||||
<option value="somefile" disabled="disabled" data-class="ui-icon-help">Some unknown file</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
<h2>Selectmenu with custom icon images</h2>
|
||||
<fieldset>
|
||||
<label for="filesB">Select a podcast:</label>
|
||||
<select name="filesB" id="filesB">
|
||||
<option value="mypodcast" data-class="podcast">John Resig Podcast</option>
|
||||
<option value="myvideo" data-class="video">Scott González Video</option>
|
||||
<option value="myrss" data-class="rss">jQuery RSS XML</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
<h2>Selectmenu with custom avatar 16x16 images as CSS background</h2>
|
||||
<fieldset>
|
||||
<label for="people">Select a Person:</label>
|
||||
<select name="people" id="people">
|
||||
<option value="1" data-class="avatar" data-style="background-image: url('http://www.gravatar.com/avatar/b3e04a46e85ad3e165d66f5d927eb609?d=monsterid&r=g&s=16');">John Resig</option>
|
||||
<option value="2" data-class="avatar" data-style="background-image: url('http://www.gravatar.com/avatar/e42b1e5c7cfd2be0933e696e292a4d5f?d=monsterid&r=g&s=16');">Tauren Mills</option>
|
||||
<option value="3" data-class="avatar" data-style="background-image: url('http://www.gravatar.com/avatar/bdeaec11dd663f26fa58ced0eb7facc8?d=monsterid&r=g&s=16');">Jane Doe</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>The whole rendering process is extendable to make custom styling as easy as possible.</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 Selectmenu - Default functionality</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<style>
|
||||
fieldset {
|
||||
border: 0;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
.overflow {
|
||||
height: 200px;
|
||||
}
|
||||
</style>
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js">
|
||||
$( "#speed" ).selectmenu();
|
||||
|
||||
$( "#files" ).selectmenu();
|
||||
|
||||
$( "#number" )
|
||||
.selectmenu()
|
||||
.selectmenu( "menuWidget" )
|
||||
.addClass( "overflow" );
|
||||
|
||||
$( "#salutation" ).selectmenu();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="demo">
|
||||
|
||||
<form action="#">
|
||||
|
||||
<fieldset>
|
||||
<label for="speed">Select a speed</label>
|
||||
<select name="speed" id="speed">
|
||||
<option>Slower</option>
|
||||
<option>Slow</option>
|
||||
<option selected="selected">Medium</option>
|
||||
<option>Fast</option>
|
||||
<option>Faster</option>
|
||||
</select>
|
||||
|
||||
<label for="files">Select a file</label>
|
||||
<select name="files" id="files">
|
||||
<optgroup label="Scripts">
|
||||
<option value="jquery">jQuery.js</option>
|
||||
<option value="jqueryui">ui.jQuery.js</option>
|
||||
</optgroup>
|
||||
<optgroup label="Other files">
|
||||
<option value="somefile">Some unknown file</option>
|
||||
<option value="someotherfile">Some other file with a very long option text</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
|
||||
<label for="number">Select a number</label>
|
||||
<select name="number" id="number">
|
||||
<option>1</option>
|
||||
<option selected="selected">2</option>
|
||||
<option>3</option>
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
<option>6</option>
|
||||
<option>7</option>
|
||||
<option>8</option>
|
||||
<option>9</option>
|
||||
<option>10</option>
|
||||
<option>11</option>
|
||||
<option>12</option>
|
||||
<option>13</option>
|
||||
<option>14</option>
|
||||
<option>15</option>
|
||||
<option>16</option>
|
||||
<option>17</option>
|
||||
<option>18</option>
|
||||
<option>19</option>
|
||||
</select>
|
||||
|
||||
<label for="salutation">Select a title</label>
|
||||
<select name="salutation" id="salutation">
|
||||
<option disabled selected>Please pick one</option>
|
||||
<option>Mr.</option>
|
||||
<option>Mrs.</option>
|
||||
<option>Dr.</option>
|
||||
<option>Prof.</option>
|
||||
<option>Other</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>The Selectmenu widgets provides a styleable select element replacement. It will act as a proxy back to the original select element, controlling its state for form submission or serialization </p>
|
||||
<p>The datasource is a native select element. Supports optgroups.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 395 B |
Binary file not shown.
Before Width: | Height: | Size: 390 B |
Binary file not shown.
Before Width: | Height: | Size: 491 B |
|
@ -1,17 +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 Selectmenu Demos</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<ul>
|
||||
<li><a href="default.html">Default functionality</a></li>
|
||||
<li><a href="custom_render.html">Custom item rendering functionality</a></li>
|
||||
<li><a href="product-selection.html">Product Selection</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,83 +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 Selectmenu - Product Selection</title>
|
||||
<link rel="stylesheet" href="../../themes/base/all.css">
|
||||
<link rel="stylesheet" href="../demos.css">
|
||||
<style>
|
||||
fieldset {
|
||||
border: 0;
|
||||
margin-left: 300px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
|
||||
#circle {
|
||||
float: left;
|
||||
background: yellow;
|
||||
border-radius: 50%;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
</style>
|
||||
<script src="../../external/requirejs/require.js"></script>
|
||||
<script src="../bootstrap.js">
|
||||
var circle = $( "#circle" );
|
||||
|
||||
$( "#radius" ).selectmenu({
|
||||
change: function( event, data ) {
|
||||
circle.css({
|
||||
width: data.item.value,
|
||||
height: data.item.value
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$( "#color" ).selectmenu({
|
||||
change: function( event, data ) {
|
||||
circle.css( "background", data.item.value );
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="demo">
|
||||
|
||||
<form action="#">
|
||||
|
||||
<div id="circle"></div>
|
||||
|
||||
<fieldset>
|
||||
<label for="radius">Circle radius</label>
|
||||
<select name="radius" id="radius">
|
||||
<option value="50">50px</option>
|
||||
<option value="100">100px</option>
|
||||
<option value="150" selected="selected">150px</option>
|
||||
<option value="200">200px</option>
|
||||
<option value="250">250px</option>
|
||||
</select>
|
||||
|
||||
<label for="color">Circle color</label>
|
||||
<select name="color" id="color">
|
||||
<option value="black">Black</option>
|
||||
<option value="red">Red</option>
|
||||
<option value="yellow" selected="selected">Yellow</option>
|
||||
<option value="blue">Blue</option>
|
||||
<option value="green">Green</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="demo-description">
|
||||
<p>This Selectmenu Widget demo changes color and radius of a CSS circle. This demo is using the provided callback events.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue