mobile-fu-for-jquery-mobile 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +113 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +102 -0
- data/MIT-LICENSE +20 -0
- data/README.md +159 -0
- data/Rakefile +77 -0
- data/app/assets/images/mobile-fu-jquery-mobile/ajax-loader.gif +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/action-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/action-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/alert-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/alert-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-l-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-l-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-r-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-r-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-d-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-l-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-l-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-r-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-r-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-l-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-l-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-r-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-r-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/arrow-u-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/audio-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/audio-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/back-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/back-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/bars-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/bars-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/bullets-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/bullets-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/calendar-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/calendar-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/camera-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/camera-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-d-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-d-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-l-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-l-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-r-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-r-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-u-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/carat-u-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/check-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/check-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/clock-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/clock-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/cloud-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/cloud-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/comment-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/comment-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/delete-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/delete-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/edit-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/edit-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/eye-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/eye-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/forbidden-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/forbidden-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/forward-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/forward-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/gear-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/gear-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/grid-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/grid-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/heart-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/heart-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/home-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/home-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/info-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/info-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/location-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/location-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/lock-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/lock-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/mail-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/mail-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/minus-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/minus-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/navigation-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/navigation-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/phone-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/phone-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/plus-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/plus-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/power-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/power-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/recycle-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/recycle-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/refresh-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/refresh-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/search-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/search-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/shop-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/shop-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/star-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/star-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/tag-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/tag-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/user-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/user-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/video-black.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-png/video-white.png +0 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/action-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/action-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/alert-black.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/alert-white.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-l-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-l-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-r-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-r-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-d-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-l-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-l-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-r-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-r-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-l-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-l-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-r-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-r-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/arrow-u-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/audio-black.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/audio-white.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/back-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/back-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/bars-black.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/bars-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/bullets-black.svg +10 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/bullets-white.svg +11 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/calendar-black.svg +39 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/calendar-white.svg +39 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/camera-black.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/camera-white.svg +10 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-d-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-d-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-l-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-l-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-r-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-r-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-u-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/carat-u-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/check-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/check-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/clock-black.svg +38 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/clock-white.svg +38 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/cloud-black.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/cloud-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/comment-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/comment-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/delete-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/delete-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/edit-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/edit-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/eye-black.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/eye-white.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/forbidden-black.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/forbidden-white.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/forward-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/forward-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/gear-black.svg +52 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/gear-white.svg +52 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/grid-black.svg +44 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/grid-white.svg +44 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/heart-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/heart-white.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/home-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/home-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/info-black.svg +38 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/info-white.svg +38 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/location-black.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/location-white.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/lock-black.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/lock-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/mail-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/mail-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/minus-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/minus-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/navigation-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/navigation-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/phone-black.svg +12 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/phone-white.svg +12 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/plus-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/plus-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/power-black.svg +12 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/power-white.svg +12 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/recycle-black.svg +8 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/recycle-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/refresh-black.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/refresh-white.svg +40 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/search-black.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/search-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/shop-black.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/shop-white.svg +9 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/star-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/star-white.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/tag-black.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/tag-white.svg +37 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/user-black.svg +41 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/user-white.svg +41 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/video-black.svg +7 -0
- data/app/assets/images/mobile-fu-jquery-mobile/icons-svg/video-white.svg +8 -0
- data/app/assets/javascripts/jquery.mobile.simpledialog2.js +380 -0
- data/app/assets/javascripts/mobile.fu.jquery.mobile.js +15057 -0
- data/app/assets/stylesheets/jquery.mobile.simpledialog.min.css +8 -0
- data/app/assets/stylesheets/mobile.fu.jquery.mobile.css.scss +4698 -0
- data/lib/mobile-fu-for-jquery-mobile.rb +204 -0
- data/lib/mobile-fu-for-jquery-mobile/helper.rb +44 -0
- data/lib/mobile-fu-for-jquery-mobile/tablet.rb +13 -0
- data/lib/mobile-fu-for-jquery-mobile/version.rb +3 -0
- data/mobile-fu-for-jquery-mobile-1.0.0.gem +0 -0
- data/mobile-fu-for-jquery-mobile.gemspec +31 -0
- metadata +335 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path d="M10.171,8.766c0.617-0.888,0.979-1.964,0.979-3.126c0-3.037-2.463-5.5-5.5-5.5s-5.5,2.463-5.5,5.5s2.463,5.5,5.5,5.5
|
7
|
+
c1.152,0,2.223-0.355,3.104-0.962l3.684,3.683l1.414-1.414L10.171,8.766z M5.649,9.14c-1.933,0-3.5-1.567-3.5-3.5
|
8
|
+
c0-1.933,1.567-3.5,3.5-3.5c1.933,0,3.5,1.567,3.5,3.5C9.149,7.572,7.582,9.14,5.649,9.14z"/>
|
9
|
+
</svg>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path style="fill:#FFFFFF;" d="M10.171,8.766c0.617-0.888,0.979-1.964,0.979-3.126c0-3.037-2.463-5.5-5.5-5.5s-5.5,2.463-5.5,5.5
|
7
|
+
s2.463,5.5,5.5,5.5c1.152,0,2.223-0.355,3.104-0.962l3.684,3.683l1.414-1.414L10.171,8.766z M5.649,9.14c-1.933,0-3.5-1.567-3.5-3.5
|
8
|
+
c0-1.933,1.567-3.5,3.5-3.5c1.933,0,3.5,1.567,3.5,3.5C9.149,7.572,7.582,9.14,5.649,9.14z"/>
|
9
|
+
</svg>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path d="M10,4V3c0-1.657-1.343-3-3-3S4,1.343,4,3v1H1v10h12V4H10z M4.5,6C4.224,6,4,5.776,4,5.5S4.224,5,4.5,5S5,5.224,5,5.5
|
7
|
+
S4.776,6,4.5,6z M5,3c0-1.104,0.896-2,2-2c1.104,0,2,0.896,2,2v1H5V3z M9.5,6C9.225,6,9,5.776,9,5.5S9.225,5,9.5,5S10,5.224,10,5.5
|
8
|
+
S9.775,6,9.5,6z"/>
|
9
|
+
</svg>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path style="fill:#FFFFFF;" d="M10,4V3c0-1.657-1.343-3-3-3S4,1.343,4,3v1H1v10h12V4H10z M4.5,6C4.224,6,4,5.776,4,5.5
|
7
|
+
S4.224,5,4.5,5S5,5.224,5,5.5S4.776,6,4.5,6z M5,3c0-1.104,0.896-2,2-2c1.104,0,2,0.896,2,2v1H5V3z M9.5,6C9.225,6,9,5.776,9,5.5
|
8
|
+
S9.225,5,9.5,5S10,5.224,10,5.5S9.775,6,9.5,6z"/>
|
9
|
+
</svg>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<polygon points="14,5 9,5 7,0 5,5 0,5 4,8 2.625,13 7,10 11.375,13 10,8 "/>
|
7
|
+
</svg>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<polygon style="fill:#FFFFFF;" points="14,5 9,5 7,0 5,5 0,5 4,8 2.625,13 7,10 11.375,13 10,8 "/>
|
7
|
+
</svg>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path d="M5,0H0v5l9,9l5-5L5,0z M3,4C2.447,4,2,3.553,2,3s0.447-1,1-1s1,0.447,1,1S3.553,4,3,4z"/>
|
7
|
+
<g>
|
8
|
+
</g>
|
9
|
+
<g>
|
10
|
+
</g>
|
11
|
+
<g>
|
12
|
+
</g>
|
13
|
+
<g>
|
14
|
+
</g>
|
15
|
+
<g>
|
16
|
+
</g>
|
17
|
+
<g>
|
18
|
+
</g>
|
19
|
+
<g>
|
20
|
+
</g>
|
21
|
+
<g>
|
22
|
+
</g>
|
23
|
+
<g>
|
24
|
+
</g>
|
25
|
+
<g>
|
26
|
+
</g>
|
27
|
+
<g>
|
28
|
+
</g>
|
29
|
+
<g>
|
30
|
+
</g>
|
31
|
+
<g>
|
32
|
+
</g>
|
33
|
+
<g>
|
34
|
+
</g>
|
35
|
+
<g>
|
36
|
+
</g>
|
37
|
+
</svg>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path fill="#FFF" d="M5,0H0v5l9,9l5-5L5,0z M3,4C2.447,4,2,3.553,2,3s0.447-1,1-1s1,0.447,1,1S3.553,4,3,4z"/>
|
7
|
+
<g>
|
8
|
+
</g>
|
9
|
+
<g>
|
10
|
+
</g>
|
11
|
+
<g>
|
12
|
+
</g>
|
13
|
+
<g>
|
14
|
+
</g>
|
15
|
+
<g>
|
16
|
+
</g>
|
17
|
+
<g>
|
18
|
+
</g>
|
19
|
+
<g>
|
20
|
+
</g>
|
21
|
+
<g>
|
22
|
+
</g>
|
23
|
+
<g>
|
24
|
+
</g>
|
25
|
+
<g>
|
26
|
+
</g>
|
27
|
+
<g>
|
28
|
+
</g>
|
29
|
+
<g>
|
30
|
+
</g>
|
31
|
+
<g>
|
32
|
+
</g>
|
33
|
+
<g>
|
34
|
+
</g>
|
35
|
+
<g>
|
36
|
+
</g>
|
37
|
+
</svg>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path d="M8.851,10.101c-0.18-0.399-0.2-0.763-0.153-1.104C9.383,8.49,9.738,7.621,9.891,6.465C10.493,6.355,10.5,5.967,10.5,5.5
|
7
|
+
c0-0.437-0.008-0.804-0.502-0.94C9.999,4.539,10,4.521,10,4.5c0-2.103-1-4-2-4C8,0.5,7.5,0,6.5,0C5,0,4,1.877,4,4.5
|
8
|
+
c0,0.021,0.001,0.039,0.002,0.06C3.508,4.696,3.5,5.063,3.5,5.5c0,0.467,0.007,0.855,0.609,0.965
|
9
|
+
C4.262,7.621,4.617,8.49,5.303,8.997c0.047,0.341,0.026,0.704-0.153,1.104C1.503,10.503,0,12,0,12v2h14v-2
|
10
|
+
C14,12,12.497,10.503,8.851,10.101z"/>
|
11
|
+
<g>
|
12
|
+
</g>
|
13
|
+
<g>
|
14
|
+
</g>
|
15
|
+
<g>
|
16
|
+
</g>
|
17
|
+
<g>
|
18
|
+
</g>
|
19
|
+
<g>
|
20
|
+
</g>
|
21
|
+
<g>
|
22
|
+
</g>
|
23
|
+
<g>
|
24
|
+
</g>
|
25
|
+
<g>
|
26
|
+
</g>
|
27
|
+
<g>
|
28
|
+
</g>
|
29
|
+
<g>
|
30
|
+
</g>
|
31
|
+
<g>
|
32
|
+
</g>
|
33
|
+
<g>
|
34
|
+
</g>
|
35
|
+
<g>
|
36
|
+
</g>
|
37
|
+
<g>
|
38
|
+
</g>
|
39
|
+
<g>
|
40
|
+
</g>
|
41
|
+
</svg>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 0 14 14" style="enable-background:new 0 0 14 14;" xml:space="preserve">
|
6
|
+
<path fill="#FFF" d="M8.851,10.101c-0.18-0.399-0.2-0.763-0.153-1.104C9.383,8.49,9.738,7.621,9.891,6.465C10.493,6.355,10.5,5.967,10.5,5.5
|
7
|
+
c0-0.437-0.008-0.804-0.502-0.94C9.999,4.539,10,4.521,10,4.5c0-2.103-1-4-2-4C8,0.5,7.5,0,6.5,0C5,0,4,1.877,4,4.5
|
8
|
+
c0,0.021,0.001,0.039,0.002,0.06C3.508,4.696,3.5,5.063,3.5,5.5c0,0.467,0.007,0.855,0.609,0.965
|
9
|
+
C4.262,7.621,4.617,8.49,5.303,8.997c0.047,0.341,0.026,0.704-0.153,1.104C1.503,10.503,0,12,0,12v2h14v-2
|
10
|
+
C14,12,12.497,10.503,8.851,10.101z"/>
|
11
|
+
<g>
|
12
|
+
</g>
|
13
|
+
<g>
|
14
|
+
</g>
|
15
|
+
<g>
|
16
|
+
</g>
|
17
|
+
<g>
|
18
|
+
</g>
|
19
|
+
<g>
|
20
|
+
</g>
|
21
|
+
<g>
|
22
|
+
</g>
|
23
|
+
<g>
|
24
|
+
</g>
|
25
|
+
<g>
|
26
|
+
</g>
|
27
|
+
<g>
|
28
|
+
</g>
|
29
|
+
<g>
|
30
|
+
</g>
|
31
|
+
<g>
|
32
|
+
</g>
|
33
|
+
<g>
|
34
|
+
</g>
|
35
|
+
<g>
|
36
|
+
</g>
|
37
|
+
<g>
|
38
|
+
</g>
|
39
|
+
<g>
|
40
|
+
</g>
|
41
|
+
</svg>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 -2 14 14" style="enable-background:new 0 -2 14 14;" xml:space="preserve">
|
6
|
+
<path d="M8,0H2C0.896,0,0,0.896,0,2v6c0,1.104,0.896,2,2,2h6c1.104,0,2-0.896,2-2V5V2C10,0.896,9.104,0,8,0z M10,5l4,4V1L10,5z"/>
|
7
|
+
</svg>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="14px" height="14px" viewBox="0 -2 14 14" style="enable-background:new 0 -2 14 14;" xml:space="preserve">
|
6
|
+
<path style="fill:#FFFFFF;" d="M8,0H2C0.896,0,0,0.896,0,2v6c0,1.104,0.896,2,2,2h6c1.104,0,2-0.896,2-2V5V2C10,0.896,9.104,0,8,0z
|
7
|
+
M10,5l4,4V1L10,5z"/>
|
8
|
+
</svg>
|
@@ -0,0 +1,380 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Mobile Framework : plugin to provide a dialogs Widget. ver2
|
3
|
+
* Copyright (c) JTSage
|
4
|
+
* CC 3.0 Attribution. May be relicensed without permission/notifcation.
|
5
|
+
* https://github.com/jtsage/jquery-mobile-simpledialog
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function($, undefined ) {
|
9
|
+
$.widget( "mobile.simpledialog2", $.mobile.widget, {
|
10
|
+
options: {
|
11
|
+
version: '1.0.1-2012061300', // jQueryMobile-YrMoDaySerial
|
12
|
+
mode: 'blank', // or 'button'
|
13
|
+
themeDialog: 'b',
|
14
|
+
themeInput: false,
|
15
|
+
themeButtonDefault: false,
|
16
|
+
themeHeader: 'a',
|
17
|
+
|
18
|
+
fullScreen: false,
|
19
|
+
fullScreenForce: false,
|
20
|
+
dialogAllow: false,
|
21
|
+
dialogForce: false,
|
22
|
+
|
23
|
+
headerText: false,
|
24
|
+
headerClose: false,
|
25
|
+
buttonPrompt: false,
|
26
|
+
buttonInput: false,
|
27
|
+
buttonInputDefault: false,
|
28
|
+
buttonPassword: false,
|
29
|
+
blankContent: false,
|
30
|
+
blankContentAdopt: false,
|
31
|
+
|
32
|
+
resizeListener: true,
|
33
|
+
safeNuke: true,
|
34
|
+
forceInput: true,
|
35
|
+
showModal: true,
|
36
|
+
animate: true,
|
37
|
+
transition: 'pop',
|
38
|
+
clickEvent: 'click',
|
39
|
+
zindex: '500',
|
40
|
+
width: '280px',
|
41
|
+
left: false,
|
42
|
+
top: false,
|
43
|
+
|
44
|
+
callbackOpen: false,
|
45
|
+
callbackOpenArgs: [],
|
46
|
+
callbackClose: false,
|
47
|
+
callbackCloseArgs: []
|
48
|
+
},
|
49
|
+
_eventHandler: function(e,p) {
|
50
|
+
// Handle the triggers
|
51
|
+
var self = e.data.widget,
|
52
|
+
o = e.data.widget.options;
|
53
|
+
|
54
|
+
if ( ! e.isPropagationStopped() ) {
|
55
|
+
switch (p.method) {
|
56
|
+
case 'close':
|
57
|
+
self.close();
|
58
|
+
break;
|
59
|
+
case 'html':
|
60
|
+
self.updateBlank(p.source);
|
61
|
+
break;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
_create: function () {
|
66
|
+
var self = this,
|
67
|
+
o = $.extend(this.options, this.element.jqmData('options')),
|
68
|
+
initDate = new Date(),
|
69
|
+
content = $("<div class='ui-simpledialog-container ui-overlay-shadow ui-corner-all ui-simpledialog-hidden " +
|
70
|
+
((o.animate === true) ? o.transition : '') + " ui-body-" + o.themeDialog + "'></div>");
|
71
|
+
|
72
|
+
if ( o.themeButtonDefault === false ) { o.themeButtonDefault = o.themeDialog; }
|
73
|
+
if ( o.themeInput === false ) { o.themeInput = o.themeDialog; }
|
74
|
+
$.mobile.sdCurrentDialog = self;
|
75
|
+
if ( typeof $.mobile.sdLastInput !== 'undefined' ) { delete $.mobile.sdLastInput; }
|
76
|
+
self.internalID = initDate.getTime();
|
77
|
+
self.displayAnchor = $.mobile.activePage.children('.ui-content').first();
|
78
|
+
if ( self.displayAnchor.length === 0 ) { self.displayAnchor = $.mobile.activePage; }
|
79
|
+
|
80
|
+
self.dialogPage = $("<div data-role='dialog' data-theme='" + o.themeDialog + "'><div data-role='header'></div><div data-role='content'></div></div>");
|
81
|
+
self.sdAllContent = self.dialogPage.find('[data-role=content]');
|
82
|
+
|
83
|
+
content.appendTo(self.sdAllContent);
|
84
|
+
|
85
|
+
self.sdIntContent = self.sdAllContent.find('.ui-simpledialog-container');
|
86
|
+
self.sdIntContent.css('width', o.width);
|
87
|
+
|
88
|
+
if ( o.headerText !== false || o.headerClose !== false ) {
|
89
|
+
self.sdHeader = $('<div style="margin-bottom: 4px;" class="ui-header ui-bar-'+o.themeHeader+'"></div>');
|
90
|
+
if ( o.headerClose === true ) {
|
91
|
+
$("<a class='ui-btn-left' rel='close' href='#'>Close</a>").appendTo(self.sdHeader).buttonMarkup({ theme : o.themeHeader, icon : 'delete', iconpos: 'notext', corners: true, shadow : true });
|
92
|
+
}
|
93
|
+
$('<h1 class="ui-title">'+((o.headerText !== false)?o.headerText:'')+'</h1>').appendTo(self.sdHeader);
|
94
|
+
self.sdHeader.appendTo(self.sdIntContent);
|
95
|
+
}
|
96
|
+
|
97
|
+
if ( o.mode === 'blank' ) {
|
98
|
+
if ( o.blankContent === true ) {
|
99
|
+
if ( o.blankContentAdopt === true ) {
|
100
|
+
o.blankContent = self.element.children();
|
101
|
+
} else {
|
102
|
+
o.blankContent = self.element.html();
|
103
|
+
}
|
104
|
+
}
|
105
|
+
$(o.blankContent).appendTo(self.sdIntContent);
|
106
|
+
} else if ( o.mode === 'button' ) {
|
107
|
+
self._makeButtons().appendTo(self.sdIntContent);
|
108
|
+
}
|
109
|
+
|
110
|
+
self.sdIntContent.appendTo(self.displayAnchor.parent());
|
111
|
+
|
112
|
+
self.dialogPage.appendTo( $.mobile.pageContainer )
|
113
|
+
.page().css('minHeight', '0px').css('zIndex', o.zindex);
|
114
|
+
|
115
|
+
if ( o.animate === true ) { self.dialogPage.addClass(o.transition); }
|
116
|
+
|
117
|
+
self.screen = $("<div>", {'class':'ui-simpledialog-screen ui-simpledialog-hidden'})
|
118
|
+
.css('z-index', (o.zindex-1))
|
119
|
+
.appendTo(self.displayAnchor.parent())
|
120
|
+
.bind(o.clickEvent, function(event){
|
121
|
+
if ( !o.forceInput ) {
|
122
|
+
self.close();
|
123
|
+
}
|
124
|
+
event.preventDefault();
|
125
|
+
});
|
126
|
+
|
127
|
+
if ( o.showModal ) { self.screen.addClass('ui-simpledialog-screen-modal'); }
|
128
|
+
|
129
|
+
$(document).bind('simpledialog.'+self.internalID, {widget:self}, function(e,p) { self._eventHandler(e,p); });
|
130
|
+
},
|
131
|
+
_makeButtons: function () {
|
132
|
+
var self = this,
|
133
|
+
o = self.options,
|
134
|
+
buttonHTML = $('<div></div>'),
|
135
|
+
pickerInput = $("<div class='ui-simpledialog-controls'><input class='ui-simpledialog-input ui-input-text ui-shadow-inset ui-corner-all ui-body-"+o.themeInput+"' type='"+((o.buttonPassword===true)?"password":"text")+"' value='"+((o.buttonInputDefault!==false)?o.buttonInputDefault.replace( '"', """ ).replace( "'", "'" ):"")+"' name='pickin' /></div>"),
|
136
|
+
pickerChoice = $("<div>", { "class":'ui-simpledialog-controls' });
|
137
|
+
|
138
|
+
|
139
|
+
if ( o.buttonPrompt !== false ) {
|
140
|
+
self.buttonPromptText = $("<p class='ui-simpledialog-subtitle'>"+o.buttonPrompt+"</p>").appendTo(buttonHTML);
|
141
|
+
}
|
142
|
+
|
143
|
+
if ( o.buttonInput !== false ) {
|
144
|
+
$.mobile.sdLastInput = "";
|
145
|
+
pickerInput.appendTo(buttonHTML);
|
146
|
+
pickerInput.find('input').bind('change', function () {
|
147
|
+
$.mobile.sdLastInput = pickerInput.find('input').first().val();
|
148
|
+
self.thisInput = pickerInput.find('input').first().val();
|
149
|
+
});
|
150
|
+
}
|
151
|
+
|
152
|
+
pickerChoice.appendTo(buttonHTML);
|
153
|
+
|
154
|
+
self.butObj = [];
|
155
|
+
|
156
|
+
$.each(o.buttons, function(name, props) {
|
157
|
+
props = $.isFunction( props ) ? { click: props } : props;
|
158
|
+
props = $.extend({
|
159
|
+
text : name,
|
160
|
+
id : name + self.internalID,
|
161
|
+
theme : o.themeButtonDefault,
|
162
|
+
icon : 'check',
|
163
|
+
iconpos: 'left',
|
164
|
+
corners: 'true',
|
165
|
+
shadow : 'true',
|
166
|
+
args : [],
|
167
|
+
close : true
|
168
|
+
}, props);
|
169
|
+
|
170
|
+
self.butObj.push($("<a href='#'>"+name+"</a>")
|
171
|
+
.appendTo(pickerChoice)
|
172
|
+
.attr('id', props.id)
|
173
|
+
.buttonMarkup({
|
174
|
+
theme : props.theme,
|
175
|
+
icon : props.icon,
|
176
|
+
iconpos: props.iconpos,
|
177
|
+
corners: props.corners,
|
178
|
+
shadow : props.shadow
|
179
|
+
}).unbind("vclick click")
|
180
|
+
.bind(o.clickEvent, function() {
|
181
|
+
if ( o.buttonInput ) { self.sdIntContent.find('input [name=pickin]').trigger('change'); }
|
182
|
+
var returnValue = props.click.apply(self, $.merge(arguments, props.args));
|
183
|
+
if ( returnValue !== false && props.close === true ) {
|
184
|
+
self.close();
|
185
|
+
}
|
186
|
+
})
|
187
|
+
);
|
188
|
+
});
|
189
|
+
|
190
|
+
return buttonHTML;
|
191
|
+
},
|
192
|
+
_getCoords: function(widget) {
|
193
|
+
var self = widget,
|
194
|
+
docWinWidth = $.mobile.activePage.width(),
|
195
|
+
docWinHighOff = $(window).scrollTop(),
|
196
|
+
docWinHigh = $(window).height(),
|
197
|
+
diaWinWidth = widget.sdIntContent.innerWidth(),
|
198
|
+
diaWinHigh = widget.sdIntContent.outerHeight(),
|
199
|
+
|
200
|
+
coords = {
|
201
|
+
'high' : $(window).height(),
|
202
|
+
'width' : $.mobile.activePage.width(),
|
203
|
+
'fullTop' : $(window).scrollTop(),
|
204
|
+
'fullLeft': $(window).scrollLeft(),
|
205
|
+
'winTop' : docWinHighOff + ((widget.options.top !== false) ? widget.options.top : (( docWinHigh / 2 ) - ( diaWinHigh / 2 ) )),
|
206
|
+
'winLeft' : ((widget.options.left !== false) ? widget.options.left : (( docWinWidth / 2 ) - ( diaWinWidth / 2 ) ))
|
207
|
+
};
|
208
|
+
|
209
|
+
if ( coords.winTop < 45 ) { coords.winTop = 45; }
|
210
|
+
|
211
|
+
return coords;
|
212
|
+
},
|
213
|
+
_orientChange: function(e) {
|
214
|
+
var self = e.data.widget,
|
215
|
+
o = e.data.widget.options,
|
216
|
+
coords = e.data.widget._getCoords(e.data.widget);
|
217
|
+
|
218
|
+
e.stopPropagation();
|
219
|
+
|
220
|
+
if ( self.isDialog === true ) {
|
221
|
+
return true;
|
222
|
+
} else {
|
223
|
+
if ( o.fullScreen === true && ( coords.width < 400 || o.fullScreenForce === true ) ) {
|
224
|
+
self.sdIntContent.css({'border': 'none', 'position': 'absolute', 'top': coords.fullTop, 'left': coords.fullLeft, 'height': coords.high, 'width': coords.width, 'maxWidth': coords.width }).removeClass('ui-simpledialog-hidden');
|
225
|
+
} else {
|
226
|
+
self.sdIntContent.css({'position': 'absolute', 'top': coords.winTop, 'left': coords.winLeft}).removeClass('ui-simpledialog-hidden');
|
227
|
+
}
|
228
|
+
}
|
229
|
+
},
|
230
|
+
repos: function() {
|
231
|
+
var bsEvent = { data: {widget:this}, stopPropagation: function () { return true; }};
|
232
|
+
this._orientChange(bsEvent);
|
233
|
+
},
|
234
|
+
open: function() {
|
235
|
+
var self = this,
|
236
|
+
o = this.options,
|
237
|
+
coords = this._getCoords(this);
|
238
|
+
|
239
|
+
self.sdAllContent.find('.ui-btn-active').removeClass('ui-btn-active');
|
240
|
+
self.sdIntContent.delegate('[rel=close]', o.clickEvent, function (e) { e.preventDefault(); self.close(); });
|
241
|
+
|
242
|
+
if ( ( o.dialogAllow === true && coords.width < 400 ) || o.dialogForce ) {
|
243
|
+
self.isDialog = true;
|
244
|
+
|
245
|
+
if ( o.mode === 'blank' ) { // Custom selects do not play well with dialog mode - so, we turn them off.
|
246
|
+
self.sdIntContent.find('select').each(function () {
|
247
|
+
$(this).jqmData('nativeMenu', true);
|
248
|
+
});
|
249
|
+
}
|
250
|
+
|
251
|
+
self.displayAnchor.parent().unbind("pagehide.remove");
|
252
|
+
self.sdAllContent.append(self.sdIntContent);
|
253
|
+
self.sdAllContent.trigger('create');
|
254
|
+
if ( o.headerText !== false ) {
|
255
|
+
self.sdHeader.find('h1').appendTo(self.dialogPage.find('[data-role=header]'));
|
256
|
+
self.sdIntContent.find('.ui-header').empty().removeClass();
|
257
|
+
}
|
258
|
+
if ( o.headerClose === true ) {
|
259
|
+
self.dialogPage.find('.ui-header a').bind('click', function () {
|
260
|
+
setTimeout("$.mobile.sdCurrentDialog.destroy();", 1000);
|
261
|
+
});
|
262
|
+
} else {
|
263
|
+
self.dialogPage.find('.ui-header a').remove();
|
264
|
+
}
|
265
|
+
|
266
|
+
self.sdIntContent.removeClass().css({'top': 'auto', 'width': 'auto', 'left': 'auto', 'marginLeft': 'auto', 'marginRight': 'auto', 'zIndex': o.zindex});
|
267
|
+
$.mobile.changePage(self.dialogPage, {'transition': (o.animate === true) ? o.transition : 'none'});
|
268
|
+
} else {
|
269
|
+
self.isDialog = false;
|
270
|
+
self.selects = [];
|
271
|
+
|
272
|
+
if ( o.fullScreen === false ) {
|
273
|
+
if ( o.showModal === true && o.animate === true ) { self.screen.fadeIn('slow'); }
|
274
|
+
else { self.screen.removeClass('ui-simpledialog-hidden'); }
|
275
|
+
}
|
276
|
+
|
277
|
+
self.sdIntContent.addClass('ui-overlay-shadow in').css('zIndex', o.zindex).trigger('create');
|
278
|
+
|
279
|
+
if ( o.fullScreen === true && ( coords.width < 400 || o.fullScreenForce === true ) ) {
|
280
|
+
self.sdIntContent.removeClass('ui-simpledialog-container').css({'border': 'none', 'position': 'absolute', 'top': coords.fullTop, 'left': coords.fullLeft, 'height': coords.high, 'width': coords.width, 'maxWidth': coords.width }).removeClass('ui-simpledialog-hidden');
|
281
|
+
} else {
|
282
|
+
self.sdIntContent.css({'position': 'absolute', 'top': coords.winTop, 'left': coords.winLeft}).removeClass('ui-simpledialog-hidden');
|
283
|
+
}
|
284
|
+
|
285
|
+
$(document).bind('orientationchange.simpledialog', {widget:self}, function(e) { self._orientChange(e); });
|
286
|
+
if ( o.resizeListener === true ) {
|
287
|
+
$(window).bind('resize.simpledialog', {widget:self}, function (e) { self._orientChange(e); });
|
288
|
+
}
|
289
|
+
}
|
290
|
+
if ( $.isFunction(o.callbackOpen) ) {
|
291
|
+
o.callbackOpen.apply(self, o.callbackOpenArgs);
|
292
|
+
}
|
293
|
+
},
|
294
|
+
close: function() {
|
295
|
+
var self = this, o = this.options, retty;
|
296
|
+
|
297
|
+
if ( $.isFunction(self.options.callbackClose) ) {
|
298
|
+
retty = self.options.callbackClose.apply(self, self.options.callbackCloseArgs);
|
299
|
+
if ( retty === false ) { return false; }
|
300
|
+
}
|
301
|
+
|
302
|
+
if ( self.isDialog ) {
|
303
|
+
$(self.dialogPage).dialog('close');
|
304
|
+
self.sdIntContent.addClass('ui-simpledialog-hidden');
|
305
|
+
self.sdIntContent.appendTo(self.displayAnchor.parent());
|
306
|
+
if ( $.mobile.activePage.jqmData("page").options.domCache != true && $.mobile.activePage.is(":jqmData(external-page='true')") ) {
|
307
|
+
$.mobile.activePage.bind("pagehide.remove", function () {
|
308
|
+
$(this).remove();
|
309
|
+
});
|
310
|
+
}
|
311
|
+
} else {
|
312
|
+
if ( self.options.showModal === true && self.options.animate === true ) {
|
313
|
+
self.screen.fadeOut('slow');
|
314
|
+
} else {
|
315
|
+
self.screen.addClass('ui-simpledialog-hidden');
|
316
|
+
}
|
317
|
+
self.sdIntContent.addClass('ui-simpledialog-hidden').removeClass('in');
|
318
|
+
$(document).unbind('orientationchange.simpledialog');
|
319
|
+
if ( self.options.resizeListener === true ) { $(window).unbind('resize.simpledialog'); }
|
320
|
+
}
|
321
|
+
|
322
|
+
if ( o.mode === 'blank' && o.blankContent !== false && o.blankContentAdopt === true ) {
|
323
|
+
self.element.append(o.blankContent);
|
324
|
+
o.blankContent = true;
|
325
|
+
}
|
326
|
+
|
327
|
+
if ( self.isDialog === true || self.options.animate === true ) {
|
328
|
+
setTimeout(function(that) { return function () { that.destroy(); };}(self), 1000);
|
329
|
+
} else {
|
330
|
+
self.destroy();
|
331
|
+
}
|
332
|
+
},
|
333
|
+
destroy: function() {
|
334
|
+
var self = this,
|
335
|
+
ele = self.element;
|
336
|
+
|
337
|
+
if ( self.options.mode === 'blank' ) {
|
338
|
+
$.mobile.sdCurrentDialog.sdIntContent.find('select').each(function() {
|
339
|
+
if ( $(this).data('nativeMenu') == false ) {
|
340
|
+
$(this).data('selectmenu').menuPage.remove();
|
341
|
+
$(this).data('selectmenu').screen.remove();
|
342
|
+
$(this).data('selectmenu').listbox.remove();
|
343
|
+
}
|
344
|
+
});
|
345
|
+
}
|
346
|
+
|
347
|
+
$(self.sdIntContent).remove();
|
348
|
+
$(self.dialogPage).remove();
|
349
|
+
$(self.screen).remove();
|
350
|
+
$(document).unbind('simpledialog.'+self.internalID);
|
351
|
+
delete $.mobile.sdCurrentDialog;
|
352
|
+
$.Widget.prototype.destroy.call(self);
|
353
|
+
if ( self.options.safeNuke === true && $(ele).parents().length === 0 && $(ele).contents().length === 0 ) {
|
354
|
+
ele.remove();
|
355
|
+
}
|
356
|
+
},
|
357
|
+
updateBlank: function (newHTML) {
|
358
|
+
var self = this,
|
359
|
+
o = this.options;
|
360
|
+
|
361
|
+
self.sdIntContent.empty();
|
362
|
+
|
363
|
+
if ( o.headerText !== false || o.headerClose !== false ) {
|
364
|
+
self.sdHeader = $('<div class="ui-header ui-bar-'+o.themeHeader+'"></div>');
|
365
|
+
if ( o.headerClose === true ) {
|
366
|
+
$("<a class='ui-btn-left' rel='close' href='#'>Close</a>").appendTo(self.sdHeader).buttonMarkup({ theme : o.themeHeader, icon : 'delete', iconpos: 'notext', corners: true, shadow : true });
|
367
|
+
}
|
368
|
+
$('<h1 class="ui-title">'+((o.headerText !== false)?o.headerText:'')+'</h1>').appendTo(self.sdHeader);
|
369
|
+
self.sdHeader.appendTo(self.sdIntContent);
|
370
|
+
}
|
371
|
+
|
372
|
+
$(newHTML).appendTo(self.sdIntContent);
|
373
|
+
self.sdIntContent.trigger('create');
|
374
|
+
$(document).trigger('orientationchange.simpledialog');
|
375
|
+
},
|
376
|
+
_init: function() {
|
377
|
+
this.open();
|
378
|
+
}
|
379
|
+
});
|
380
|
+
})( jQuery );
|