Skip to content
Permalink
Browse files

set svn:eol-style to native

  • Loading branch information...
rdworth committed Sep 20, 2008
1 parent 057d3c6 commit 77cea8f36476e4195fac38bd57fecd70d642b24d
Showing with 7,900 additions and 7,900 deletions.
  1. +31 −31 demos/functional/templates/ui.autocomplete.html
  2. +40 −40 demos/functional/templates/ui.colorpicker.html
  3. +39 −39 demos/functional/templates/ui.datepicker.dbd.html
  4. +5 −5 demos/functional/templates/ui.datepicker.dlg.html
  5. +13 −13 demos/functional/templates/ui.datepicker.inl.html
  6. +54 −54 demos/functional/templates/ui.datepicker.sel.html
  7. +6 −6 demos/functional/templates/ui.datepicker.two.html
  8. +51 −51 demos/functional/templates/ui.magnifier.html
  9. +34 −34 demos/functional/templates/ui.progressbar.html
  10. +35 −35 demos/functional/templates/ui.spinner.html
  11. +80 −80 tests/all_2.html
  12. +51 −51 tests/autocomplete.js
  13. +56 −56 tests/core.js
  14. +37 −37 tests/datepicker.html
  15. +1,657 −1,657 tests/datepicker.js
  16. +40 −40 tests/dialog.html
  17. +675 −675 tests/dialog.js
  18. +39 −39 tests/progressbar.html
  19. +56 −56 tests/progressbar.js
  20. +44 −44 tests/selectable.html
  21. +207 −207 tests/selectable.js
  22. +152 −152 tests/simulate/jquery.simulate.js
  23. +45 −45 tests/sortable.html
  24. +141 −141 tests/sortable.js
  25. +39 −39 tests/spinner.html
  26. +311 −311 tests/spinner.js
  27. +80 −80 tests/visual/all.css
  28. +107 −107 tests/visual/all.html
  29. +215 −215 tests/visual/autocomplete/localdata.js
  30. +357 −357 tests/visual/colorpicker.html
  31. +28 −28 tests/visual/datepicker.html
  32. +31 −31 tests/visual/dialog.html
  33. +27 −27 tests/visual/draggable.handle.html
  34. +25 −25 tests/visual/draggable.html
  35. +39 −39 tests/visual/droppable.html
  36. +48 −48 tests/visual/effects.all.css
  37. +165 −165 tests/visual/effects.all.html
  38. +64 −64 tests/visual/effects.all.js
  39. +107 −107 tests/visual/magnifier.html
  40. +294 −294 tests/visual/progressbar.html
  41. +26 −26 tests/visual/resizable.html
  42. +36 −36 tests/visual/selectable.html
  43. +26 −26 tests/visual/slider.html
  44. +36 −36 tests/visual/sortable.html
  45. +755 −755 tests/visual/sortable_massive_scale.html
  46. +219 −219 tests/visual/spinner.html
  47. +99 −99 tests/visual/tree.html
  48. +868 −868 themes/default/ui.all.css
  49. +213 −213 themes/default/ui.datepicker.css
  50. +25 −25 ui/i18n/ui.datepicker-eo.js
  51. +24 −24 ui/i18n/ui.datepicker-hr.js
  52. +24 −24 ui/i18n/ui.datepicker-hy.js
  53. +24 −24 ui/i18n/ui.datepicker-uk.js
@@ -1,32 +1,32 @@
<script type="text/javascript">
var autocomplete_data = '["aero", "airplane", "book","movie","music","sports","skating","swim"]';
var model = {
renderAt: '#containerDemo',
title: 'Autocomplete Demos',
demos: [
{
title: 'Simple autocomplete',
desc: 'With few lines of code you could build a autocomplete. You can try more options on the fly! ',
html: '<input id="autocomplete" type="text" /> (Try type <em>a</em>, <em>m</em> or <em>s</em>)',
destroy: '$("#autocomplete").autocomplete("destroy");',
options: [
{ desc: 'Attach a autocomplete', source: '$("#autocomplete").autocomplete({data:'+autocomplete_data+'});' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
<script type="text/javascript">
var autocomplete_data = '["aero", "airplane", "book","movie","music","sports","skating","swim"]';
var model = {
renderAt: '#containerDemo',
title: 'Autocomplete Demos',
demos: [
{
title: 'Simple autocomplete',
desc: 'With few lines of code you could build a autocomplete. You can try more options on the fly! ',
html: '<input id="autocomplete" type="text" /> (Try type <em>a</em>, <em>m</em> or <em>s</em>)',
destroy: '$("#autocomplete").autocomplete("destroy");',
options: [
{ desc: 'Attach a autocomplete', source: '$("#autocomplete").autocomplete({data:'+autocomplete_data+'});' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
</script>
@@ -1,41 +1,41 @@
<script type="text/javascript">
var model = {
renderAt: '#containerDemo',
title: 'Colorpicker Demos',
demos: [
{
title: 'Inline colorpicker',
desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
html: '<div id="colorpicker" />',
destroy: '$("#colorpicker").colorpicker("destroy");',
options: [
{ desc: 'Make a colorpicker', source: '$("#colorpicker").colorpicker({flat:true});' }
]
},
{
title: 'Triggered colorpicker',
desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
html: '<input id="colorpicker2" /><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>',
destroy: '$("#colorpicker2").colorpicker("destroy");',
options: [
{ desc: 'Make a colorpicker', source: '$("#colorpicker2").colorpicker( {submit: function(e,ui) { $("#colorpicker2").val(ui.hex);} });' },
{ desc: 'Fade in/out a colorpicker', source: '$("#colorpicker2").colorpicker( {show: function (e,ui) { $(this).data("colorpicker").picker.fadeIn(500);return false; }, hide: function (e,ui) { $(this).data("colorpicker").picker.fadeOut(500);return false; }, change: function(e,ui) { $("#colorpicker2").val(ui.hex); } });' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
<script type="text/javascript">
var model = {
renderAt: '#containerDemo',
title: 'Colorpicker Demos',
demos: [
{
title: 'Inline colorpicker',
desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
html: '<div id="colorpicker" />',
destroy: '$("#colorpicker").colorpicker("destroy");',
options: [
{ desc: 'Make a colorpicker', source: '$("#colorpicker").colorpicker({flat:true});' }
]
},
{
title: 'Triggered colorpicker',
desc: 'With few lines of code you could build a colorpicker. You can try more options on the fly!',
html: '<input id="colorpicker2" /><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>',
destroy: '$("#colorpicker2").colorpicker("destroy");',
options: [
{ desc: 'Make a colorpicker', source: '$("#colorpicker2").colorpicker( {submit: function(e,ui) { $("#colorpicker2").val(ui.hex);} });' },
{ desc: 'Fade in/out a colorpicker', source: '$("#colorpicker2").colorpicker( {show: function (e,ui) { $(this).data("colorpicker").picker.fadeIn(500);return false; }, hide: function (e,ui) { $(this).data("colorpicker").picker.fadeOut(500);return false; }, change: function(e,ui) { $("#colorpicker2").val(ui.hex); } });' }
]
}
]
};
$(function(){
uiRenderDemo(model);
});
</script>
@@ -1,40 +1,40 @@
<input type="text" size="10" value="" id="dayByDay"/>
<style type="text/css">
.ar_day { color: white !important; background: #eee url(templates/images/ar.gif) no-repeat center !important; }
.au_day { color: blue !important; background: #eee url(templates/images/au.gif) no-repeat center !important; }
.br_day { color: green !important; background: #eee url(templates/images/br.gif) no-repeat center !important; }
.cn_day { color: red !important; background: #eee url(templates/images/cn.gif) no-repeat center !important; }
.id_day { color: white !important; background: #eee url(templates/images/id.gif) no-repeat center !important; }
.ie_day { color: white !important; background: #eee url(templates/images/ie.gif) no-repeat center !important; }
.ke_day { color: red !important; background: #eee url(templates/images/ke.gif) no-repeat center !important; }
.lb_day { color: white !important; background: #eee url(templates/images/lb.gif) no-repeat center !important; }
.nz_day { color: blue !important; background: #eee url(templates/images/nz.gif) no-repeat center !important; }
.se_day { color: blue !important; background: #eee url(templates/images/se.gif) no-repeat center !important; }
.us_day { color: white !important; background: #eee url(templates/images/us.gif) no-repeat center !important; }
.za_day { color: green !important; background: #eee url(templates/images/za.gif) no-repeat center !important; }
</style>
<script type="text/javascript">
var natDays = [[1, 26, "au"], [2, 6, "nz"], [3, 17, "ie"], [4, 27, "za"], [5, 25, "ar"], [6, 6, "se"],
[7, 4, "us"], [8, 17, "id"], [9, 7, "br"], [10, 1, "cn"], [11, 22, "lb"], [12, 12, "ke"]];
function nationalDays(date) {
for (i = 0; i < natDays.length; i++) {
if (date.getMonth() == natDays[i][0] - 1 && date.getDate() == natDays[i][1]) {
return [false, natDays[i][2] + "_day"];
}
}
return [true, ""];
}
function highlightToday(date, inst) {
var today = new Date();
today = new Date(today.getFullYear(), today.getMonth(), today.getDate());
return $.datepicker.dateStatus(date, inst) +
(today.getTime() == date.getTime() ? " (today)" : "");
}
function showDayOfYear(date) {
var lastYearEnd = new Date(date.getFullYear() - 1, 12 - 1, 31, 0, 0, 0, 0);
return [true, "", "Day " + ((date.getTime() - lastYearEnd.getTime()) / 86400000) + " of the year"];
}
<input type="text" size="10" value="" id="dayByDay"/>
<style type="text/css">
.ar_day { color: white !important; background: #eee url(templates/images/ar.gif) no-repeat center !important; }
.au_day { color: blue !important; background: #eee url(templates/images/au.gif) no-repeat center !important; }
.br_day { color: green !important; background: #eee url(templates/images/br.gif) no-repeat center !important; }
.cn_day { color: red !important; background: #eee url(templates/images/cn.gif) no-repeat center !important; }
.id_day { color: white !important; background: #eee url(templates/images/id.gif) no-repeat center !important; }
.ie_day { color: white !important; background: #eee url(templates/images/ie.gif) no-repeat center !important; }
.ke_day { color: red !important; background: #eee url(templates/images/ke.gif) no-repeat center !important; }
.lb_day { color: white !important; background: #eee url(templates/images/lb.gif) no-repeat center !important; }
.nz_day { color: blue !important; background: #eee url(templates/images/nz.gif) no-repeat center !important; }
.se_day { color: blue !important; background: #eee url(templates/images/se.gif) no-repeat center !important; }
.us_day { color: white !important; background: #eee url(templates/images/us.gif) no-repeat center !important; }
.za_day { color: green !important; background: #eee url(templates/images/za.gif) no-repeat center !important; }
</style>
<script type="text/javascript">
var natDays = [[1, 26, "au"], [2, 6, "nz"], [3, 17, "ie"], [4, 27, "za"], [5, 25, "ar"], [6, 6, "se"],
[7, 4, "us"], [8, 17, "id"], [9, 7, "br"], [10, 1, "cn"], [11, 22, "lb"], [12, 12, "ke"]];
function nationalDays(date) {
for (i = 0; i < natDays.length; i++) {
if (date.getMonth() == natDays[i][0] - 1 && date.getDate() == natDays[i][1]) {
return [false, natDays[i][2] + "_day"];
}
}
return [true, ""];
}
function highlightToday(date, inst) {
var today = new Date();
today = new Date(today.getFullYear(), today.getMonth(), today.getDate());
return $.datepicker.dateStatus(date, inst) +
(today.getTime() == date.getTime() ? " (today)" : "");
}
function showDayOfYear(date) {
var lastYearEnd = new Date(date.getFullYear() - 1, 12 - 1, 31, 0, 0, 0, 0);
return [true, "", "Day " + ((date.getTime() - lastYearEnd.getTime()) / 86400000) + " of the year"];
}
</script>
@@ -1,6 +1,6 @@
<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton" type="button">Open dialog</button>
<script type="text/javascript">
function setDateFromDialog(date) {
$("#dialog").val(date);
}
<input type="text" size="10" value="" id="dialog" readonly="readonly"/> <button id="dialogButton" type="button">Open dialog</button>
<script type="text/javascript">
function setDateFromDialog(date) {
$("#dialog").val(date);
}
</script>
@@ -1,14 +1,14 @@
<input type="text" id="altInline" size="10"/>
<div id="inline"></div>
<p style="clear: both;"><!-- See day-by-day example for highlighting days code --></p>
<script type="text/javascript">
function setInlineDate() {
try {
var date = $.datepicker.parseDate("mm/dd/yy", $("#altInline").val());
$("#inline").datepicker("setDate", date);
}
catch (e) {
// Ignore
}
}
<input type="text" id="altInline" size="10"/>
<div id="inline"></div>
<p style="clear: both;"><!-- See day-by-day example for highlighting days code --></p>
<script type="text/javascript">
function setInlineDate() {
try {
var date = $.datepicker.parseDate("mm/dd/yy", $("#altInline").val());
$("#inline").datepicker("setDate", date);
}
catch (e) {
// Ignore
}
}
</script>
@@ -1,54 +1,54 @@
<select id="selectMonth"><option value="01">Jan</option><option value="02">Feb</option>
<option value="03">Mar</option><option value="04">Apr</option>
<option value="05">May</option><option value="06">Jun</option>
<option value="07">Jul</option><option value="08">Aug</option>
<option value="09">Sep</option><option value="10">Oct</option>
<option value="11">Nov</option><option value="12">Dec</option></select>
<select id="selectDay"><option value="01">1</option><option value="02">2</option>
<option value="03">3</option><option value="04">4</option>
<option value="05">5</option><option value="06">6</option>
<option value="07">7</option><option value="08">8</option>
<option value="09">9</option><option value="10">10</option>
<option value="11">11</option><option value="12">12</option>
<option value="13">13</option><option value="14">14</option>
<option value="15">15</option><option value="16">16</option>
<option value="17">17</option><option value="18">18</option>
<option value="19">19</option><option value="20">20</option>
<option value="21">21</option><option value="22">22</option>
<option value="23">23</option><option value="24">24</option>
<option value="25">25</option><option value="26">26</option>
<option value="27">27</option><option value="28">28</option>
<option value="29">29</option><option value="30">30</option>
<option value="31">31</option></select>
<select id="selectYear"><option value="2001">2001</option><option value="2002">2002</option>
<option value="2003">2003</option><option value="2004">2004</option>
<option value="2005">2005</option><option value="2006">2006</option>
<option value="2007">2007</option><option value="2008">2008</option>
<option value="2009">2009</option><option value="2010">2010</option></select>
<input type="hidden" size="10" id="linkedDates" disabled="disabled"/></p>
<script type="text/javascript">
// Prepare to show a date picker linked to three select controls
function readLinked() {
$("#linkedDates").val($("#selectMonth").val() + "/" +
$("#selectDay").val() + "/" + $("#selectYear").val());
return {};
}
// Update three select controls to match a date picker selection
function updateLinked(date) {
$("#selectMonth").val(date.substring(0, 2));
$("#selectDay").val(date.substring(3, 5));
$("#selectYear").val(date.substring(6, 10));
}
// Prevent selection of invalid dates through the select controls
function checkLinkedDays() {
var daysInMonth = 32 - new Date($("#selectYear").val(),
$("#selectMonth").val() - 1, 32).getDate();
$("#selectDay option").attr("disabled", "");
$("#selectDay option:gt(" + (daysInMonth - 1) +")").attr("disabled", "disabled");
if ($("#selectDay").val() > daysInMonth) {
$("#selectDay").val(daysInMonth);
}
}
</script>
<select id="selectMonth"><option value="01">Jan</option><option value="02">Feb</option>
<option value="03">Mar</option><option value="04">Apr</option>
<option value="05">May</option><option value="06">Jun</option>
<option value="07">Jul</option><option value="08">Aug</option>
<option value="09">Sep</option><option value="10">Oct</option>
<option value="11">Nov</option><option value="12">Dec</option></select>
<select id="selectDay"><option value="01">1</option><option value="02">2</option>
<option value="03">3</option><option value="04">4</option>
<option value="05">5</option><option value="06">6</option>
<option value="07">7</option><option value="08">8</option>
<option value="09">9</option><option value="10">10</option>
<option value="11">11</option><option value="12">12</option>
<option value="13">13</option><option value="14">14</option>
<option value="15">15</option><option value="16">16</option>
<option value="17">17</option><option value="18">18</option>
<option value="19">19</option><option value="20">20</option>
<option value="21">21</option><option value="22">22</option>
<option value="23">23</option><option value="24">24</option>
<option value="25">25</option><option value="26">26</option>
<option value="27">27</option><option value="28">28</option>
<option value="29">29</option><option value="30">30</option>
<option value="31">31</option></select>
<select id="selectYear"><option value="2001">2001</option><option value="2002">2002</option>
<option value="2003">2003</option><option value="2004">2004</option>
<option value="2005">2005</option><option value="2006">2006</option>
<option value="2007">2007</option><option value="2008">2008</option>
<option value="2009">2009</option><option value="2010">2010</option></select>
<input type="hidden" size="10" id="linkedDates" disabled="disabled"/></p>
<script type="text/javascript">
// Prepare to show a date picker linked to three select controls
function readLinked() {
$("#linkedDates").val($("#selectMonth").val() + "/" +
$("#selectDay").val() + "/" + $("#selectYear").val());
return {};
}
// Update three select controls to match a date picker selection
function updateLinked(date) {
$("#selectMonth").val(date.substring(0, 2));
$("#selectDay").val(date.substring(3, 5));
$("#selectYear").val(date.substring(6, 10));
}
// Prevent selection of invalid dates through the select controls
function checkLinkedDays() {
var daysInMonth = 32 - new Date($("#selectYear").val(),
$("#selectMonth").val() - 1, 32).getDate();
$("#selectDay option").attr("disabled", "");
$("#selectDay option:gt(" + (daysInMonth - 1) +")").attr("disabled", "disabled");
if ($("#selectDay").val() > daysInMonth) {
$("#selectDay").val(daysInMonth);
}
}
</script>
@@ -1,7 +1,7 @@
<input type="text" size="10" value="" id="startDate"/> to <input type="text" size="10" value="" id="endDate"/>
<script type="text/javascript">
function customRange(input) {
return {minDate: (input.id == "endDate" ? $("#startDate").datepicker("getDate") : null),
maxDate: (input.id == "startDate" ? $("#endDate").datepicker("getDate") : null)};
}
<input type="text" size="10" value="" id="startDate"/> to <input type="text" size="10" value="" id="endDate"/>
<script type="text/javascript">
function customRange(input) {
return {minDate: (input.id == "endDate" ? $("#startDate").datepicker("getDate") : null),
maxDate: (input.id == "startDate" ? $("#endDate").datepicker("getDate") : null)};
}
</script>

0 comments on commit 77cea8f

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