diff --git a/docs/_assets/js/_viewsource.js b/docs/_assets/js/_viewsource.js new file mode 100644 index 00000000..38af785c --- /dev/null +++ b/docs/_assets/js/_viewsource.js @@ -0,0 +1,42 @@ +//quick view source in new window links +$.fn.addSourceLink = function(style){ + + return $(this).each(function(){ + var link = $('View Source'), + src = src = $('
').append( $(this).clone() ).html(), + page = $( "
" + + "
" + + "Close"+ + "
jQuery Mobile Source Excerpt
"+ + "
"+ + "
"+ + "
" ) + .appendTo( "body" ) + .page(); + + $('View Source') + .buttonMarkup({ + icon: 'arrow-u', + iconpos: 'notext' + }) + .click(function(){ + var codeblock = $('
'); + src = src.replace(/&/gmi, '&').replace(/"/gmi, '"').replace(/>/gmi, '>').replace(/' + '
' + @@ -16,7 +16,7 @@ //menu items $.each(themes, function( i ){ - $('
  • ' + themes[ i ] + '
  • ') + $('
  • ' + themes[ i ].charAt(0).toUpperCase() + themes[ i ].substr(1) + '
  • ') .click(function(){ addTheme( themes[i] ); done(); diff --git a/themes/dobson/images/ajax-loader.gif b/themes/valencia/images/ajax-loader.gif similarity index 100% rename from themes/dobson/images/ajax-loader.gif rename to themes/valencia/images/ajax-loader.gif diff --git a/themes/dobson/images/ajax-loader.png b/themes/valencia/images/ajax-loader.png similarity index 100% rename from themes/dobson/images/ajax-loader.png rename to themes/valencia/images/ajax-loader.png diff --git a/themes/dobson/images/form-check-off.png b/themes/valencia/images/form-check-off.png similarity index 100% rename from themes/dobson/images/form-check-off.png rename to themes/valencia/images/form-check-off.png diff --git a/themes/dobson/images/form-check-on.png b/themes/valencia/images/form-check-on.png similarity index 100% rename from themes/dobson/images/form-check-on.png rename to themes/valencia/images/form-check-on.png diff --git a/themes/dobson/images/form-radio-off.png b/themes/valencia/images/form-radio-off.png similarity index 100% rename from themes/dobson/images/form-radio-off.png rename to themes/valencia/images/form-radio-off.png diff --git a/themes/dobson/images/form-radio-on.png b/themes/valencia/images/form-radio-on.png similarity index 100% rename from themes/dobson/images/form-radio-on.png rename to themes/valencia/images/form-radio-on.png diff --git a/themes/dobson/images/icon-arrow-white-down.png b/themes/valencia/images/icon-arrow-white-down.png similarity index 100% rename from themes/dobson/images/icon-arrow-white-down.png rename to themes/valencia/images/icon-arrow-white-down.png diff --git a/themes/dobson/images/icon-arrow-white-left.png b/themes/valencia/images/icon-arrow-white-left.png similarity index 100% rename from themes/dobson/images/icon-arrow-white-left.png rename to themes/valencia/images/icon-arrow-white-left.png diff --git a/themes/dobson/images/icon-arrow-white-right.png b/themes/valencia/images/icon-arrow-white-right.png similarity index 100% rename from themes/dobson/images/icon-arrow-white-right.png rename to themes/valencia/images/icon-arrow-white-right.png diff --git a/themes/dobson/images/icon-arrow-white-up.png b/themes/valencia/images/icon-arrow-white-up.png similarity index 100% rename from themes/dobson/images/icon-arrow-white-up.png rename to themes/valencia/images/icon-arrow-white-up.png diff --git a/themes/dobson/images/icon-delete.png b/themes/valencia/images/icon-delete.png similarity index 100% rename from themes/dobson/images/icon-delete.png rename to themes/valencia/images/icon-delete.png diff --git a/themes/dobson/images/icon-minus-white.png b/themes/valencia/images/icon-minus-white.png similarity index 100% rename from themes/dobson/images/icon-minus-white.png rename to themes/valencia/images/icon-minus-white.png diff --git a/themes/dobson/images/icon-plus-white.png b/themes/valencia/images/icon-plus-white.png similarity index 100% rename from themes/dobson/images/icon-plus-white.png rename to themes/valencia/images/icon-plus-white.png diff --git a/themes/dobson/images/icon-search-black.png b/themes/valencia/images/icon-search-black.png similarity index 100% rename from themes/dobson/images/icon-search-black.png rename to themes/valencia/images/icon-search-black.png diff --git a/themes/dobson/images/icons-16-black.png b/themes/valencia/images/icons-16-black.png similarity index 100% rename from themes/dobson/images/icons-16-black.png rename to themes/valencia/images/icons-16-black.png diff --git a/themes/dobson/images/icons-16-white.png b/themes/valencia/images/icons-16-white.png similarity index 100% rename from themes/dobson/images/icons-16-white.png rename to themes/valencia/images/icons-16-white.png diff --git a/themes/dobson/images/icons-32-black.png b/themes/valencia/images/icons-32-black.png similarity index 100% rename from themes/dobson/images/icons-32-black.png rename to themes/valencia/images/icons-32-black.png diff --git a/themes/dobson/images/icons-32-white.png b/themes/valencia/images/icons-32-white.png similarity index 100% rename from themes/dobson/images/icons-32-white.png rename to themes/valencia/images/icons-32-white.png diff --git a/themes/dobson/images/texture_05.png b/themes/valencia/images/texture_05.png similarity index 100% rename from themes/dobson/images/texture_05.png rename to themes/valencia/images/texture_05.png diff --git a/themes/dobson/images/texture_075.png b/themes/valencia/images/texture_075.png similarity index 100% rename from themes/dobson/images/texture_075.png rename to themes/valencia/images/texture_075.png diff --git a/themes/dobson/jquery.mobile.theme.css b/themes/valencia/jquery.mobile.theme.css similarity index 100% rename from themes/dobson/jquery.mobile.theme.css rename to themes/valencia/jquery.mobile.theme.css diff --git a/themes/dobson/manifest.php b/themes/valencia/manifest.php similarity index 100% rename from themes/dobson/manifest.php rename to themes/valencia/manifest.php