Skip to content

Commit

Permalink
adde custom jquery ui css and start using of wp jquerui plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeiher committed Jun 27, 2014
1 parent 0d0f69d commit 61182c0
Show file tree
Hide file tree
Showing 21 changed files with 1,242 additions and 18 deletions.
2 changes: 2 additions & 0 deletions admin/js/travelermap-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
(function($) {
$(document).ready(function() {

$('body').addClass("wp_travelermap");

var _currentSelection = null;
var _marker = null;
var _map = null;
Expand Down
14 changes: 12 additions & 2 deletions admin/travelermap-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,17 @@
function travelermap_enqueue_admin_scripts() {
wp_enqueue_media();
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-01.10.4', TM_URL . "js/jquery-ui-1.10.4.min.js" , array('jquery'), '1.10.4', false);
//wp_enqueue_script('jquery-ui-01.10.4', TM_URL . "js/jquery-ui-1.10.4.min.js" , array('jquery'), '1.10.4', false);

wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-widget');
wp_enqueue_script('jquery-ui-autocomplete');
wp_enqueue_script('jquery-ui-sortable');
wp_enqueue_script('jquery-ui-datepicker');
wp_enqueue_script('jquery-ui-tooltip');
wp_enqueue_script('jquery-ui-dialog');
wp_enqueue_script('jquery-ui-button');

wp_enqueue_script('jquery-colorbox', TM_URL . "js/jquery.colorbox-min.js" , array('jquery'), '1.5.9', false);
wp_enqueue_script('jquery-dateFormat', TM_URL . "js/jquery-dateFormat.min.js" , array('jquery'), '1.0.0', false);
wp_enqueue_script('spectrum', TM_URL . "js/spectrum.js" , array('jquery'), '1.3.4', false);
Expand All @@ -39,7 +49,7 @@ function travelermap_enqueue_admin_scripts() {
wp_enqueue_style('tm-admin', TM_URL . "media/tm-admin.css" );
wp_enqueue_style('tm-frontend', TM_URL . "media/tm-frontend.css" );
wp_enqueue_style('font-awesome', TM_URL . "media/font-awesome.min.css" );
wp_enqueue_style('jquery-style', TM_URL . "media/jquery-ui-1.10.4.min.css" );
wp_enqueue_style('jquery-style', TM_URL . "media/jquery-ui.css" );
wp_enqueue_style('jquery-colorbox-style', TM_URL . "media/colorbox/colorbox.css");
wp_enqueue_style('spectrum', TM_URL . "media/spectrum.css");
}
Expand Down
3 changes: 2 additions & 1 deletion admin/travelermap-editmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function travelermap_editmap() {
<?php
}
?>
<div class="wp_travelermap">
<a href="admin.php?page=travelermap_managemaps">Back to maps</a>
<div class="tm_mapoptions">
<input id="travelermap_ajax_getpostnames" type="hidden" value="<?php echo wp_create_nonce('travelermap_ajax_getpostnames') ?>"/>
Expand Down Expand Up @@ -193,7 +194,7 @@ function travelermap_editmap() {
<ul id="tm_pointlist">
</ul>
</div>

</div>
<?php
}
?>
7 changes: 0 additions & 7 deletions js/jquery-ui-1.10.4.min.js

This file was deleted.

Binary file modified media/images/ui-bg_diagonals-thick_18_b81900_40x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_diagonals-thick_20_666666_40x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_flat_10_000000_40x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_glass_100_f6f6f6_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_glass_100_fdf5ce_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_glass_65_ffffff_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_gloss-wave_35_f6a828_500x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-icons_222222_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-icons_228ef1_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-icons_ef8c08_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-icons_ffd27a_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/images/ui-icons_ffffff_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions media/jquery-ui-1.10.4.min.css

This file was deleted.

Loading

0 comments on commit 61182c0

Please sign in to comment.