Skip to content

Commit

Permalink
update html templates for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sesemaya committed Apr 7, 2016
1 parent 3d3981a commit d516b9a
Show file tree
Hide file tree
Showing 34 changed files with 537 additions and 537 deletions.
10 changes: 5 additions & 5 deletions assets/js-project/page-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pickerMap,
pickerMarker;

function initMap () {
pickerMap = new google.maps.Map(document.getElementById('picker_info_map_wrap'), {
function initPickerMap () {
pickerMap = new google.maps.Map(document.getElementById('ui_picker_map_wrap'), {
center: {
lat: 0,
lng: 0
Expand All @@ -21,7 +21,7 @@
};

if (typeof google != 'undefined') {
initMap();
initPickerMap();
};

if (typeof jQuery.ui != 'undefined') {
Expand Down Expand Up @@ -74,7 +74,7 @@
$('.ui-picker-info-desc-wrap').html($selectingParent.find('.ui-picker-info-desc').html());
$('.ui-picker-info-title-wrap').html($selectingParent.find('.ui-picker-info-title').html());

var pickerMapLatLng = new google.maps.LatLng($selectingParent.find('.ui-picker-info-map-lat').html(), $selectingParent.find('.ui-picker-info-map-lng').html());
var pickerMapLatLng = new google.maps.LatLng($selectingParent.find('.ui-picker-map-lat').html(), $selectingParent.find('.ui-picker-map-lng').html());

pickerMap.setCenter(pickerMapLatLng);
pickerMarker.setMap(pickerMap);
Expand All @@ -96,7 +96,7 @@
$('.ui-picker-info-desc-wrap').html($first.find('.ui-picker-info-desc').html());
$('.ui-picker-info-title-wrap').html($first.find('.ui-picker-info-title').html());

var firstLatLng = new google.maps.LatLng($first.find('.ui-picker-info-map-lat').html(), $first.find('.ui-picker-info-map-lng').html());
var firstLatLng = new google.maps.LatLng($first.find('.ui-picker-map-lat').html(), $first.find('.ui-picker-map-lng').html());

pickerMap.setCenter(firstLatLng);
pickerMarker.setMap(pickerMap);
Expand Down
22 changes: 11 additions & 11 deletions assets/js-project/ui-picker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ui-picker.html
$('#doc_datepicker_example_1').pickdate();
$('#ui_datepicker_example_1').pickdate();

$('#doc_datepicker_example_2').pickdate({
$('#ui_datepicker_example_2').pickdate({
cancel: 'Clear',
closeOnCancel: false,
closeOnSelect: true,
Expand All @@ -25,7 +25,7 @@
today: ''
});

$('#doc_datepicker_example_3').pickdate({
$('#ui_datepicker_example_3').pickdate({
disable: [
[2016,0,12],
[2016,0,13],
Expand All @@ -34,7 +34,7 @@
today: ''
});

$('#doc_datepicker_example_4').pickdate({
$('#ui_datepicker_example_4').pickdate({
disable: [
new Date(2016,0,12),
new Date(2016,0,13),
Expand All @@ -43,14 +43,14 @@
today: ''
});

$('#doc_datepicker_example_5').pickdate({
$('#ui_datepicker_example_5').pickdate({
disable: [
2, 4, 6
],
today: ''
});

$('#doc_datepicker_example_6').pickdate({
$('#ui_datepicker_example_6').pickdate({
disable: [
{
from: [2016,0,12],
Expand All @@ -60,7 +60,7 @@
today: ''
});

$('#doc_datepicker_example_7').pickdate({
$('#ui_datepicker_example_7').pickdate({
disable: [
true,
3,
Expand All @@ -70,7 +70,7 @@
today: ''
});

$('#doc_datepicker_example_8').pickdate({
$('#ui_datepicker_example_8').pickdate({
disable: [
{
from: [2016,0,10],
Expand All @@ -86,19 +86,19 @@
today: ''
});

$('#doc_datepicker_example_9').pickdate({
$('#ui_datepicker_example_9').pickdate({
max: [2016,0,30],
min: [2016,0,10],
today: ''
});

$('#doc_datepicker_example_10').pickdate({
$('#ui_datepicker_example_10').pickdate({
max: new Date(2016,0,30),
min: new Date(2016,0,10),
today: ''
});

$('#doc_datepicker_example_11').pickdate({
$('#ui_datepicker_example_11').pickdate({
max: true,
min: -10,
today: ''
Expand Down
2 changes: 1 addition & 1 deletion assets/js-project/ui-progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$($(this).attr('data-target')).addClass('el-loading-done');
});

$('#doc_el_loading_example_wrap .tile-active-show').each(function (index) {
$('#ui_el_loading_example_wrap .tile-active-show').each(function (index) {
var $this = $(this),
timer;

Expand Down
4 changes: 2 additions & 2 deletions assets/js-project/ui-snackbar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ui-snackbar.html
var snackbarText = 1;

$('#doc_snackbar_toggle_1').on('click', function () {
$('#ui_snackbar_toggle_1').on('click', function () {
$('body').snackbar({
content: 'Simple snackbar ' + snackbarText + ' with some text',
show: function () {
Expand All @@ -10,7 +10,7 @@
});
});

$('#doc_snackbar_toggle_2').on('click', function () {
$('#ui_snackbar_toggle_2').on('click', function () {
$('body').snackbar({
content: '<a data-dismiss="snackbar">Dismiss</a><div class="snackbar-text">Simple snackbar ' + snackbarText + ' with some text and a simple <a href="javascript:void(0)">link</a>.</div>',
show: function () {
Expand Down
10 changes: 5 additions & 5 deletions assets/sass-project/templates/_page-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
padding-left: $grid-gutter;
}

.ui-picker-info-map-wrap {
height: ($grid-gutter * 25 / 16 * 9);
width: ($grid-gutter * 25);
}

.ui-picker-info-null {
&:after {
background-color: $offwhite-solid;
Expand Down Expand Up @@ -109,6 +104,11 @@
position: relative;
}

.ui-picker-map-wrap {
height: ($grid-gutter * 25 / 16 * 9);
width: ($grid-gutter * 25);
}

.ui-picker-nav {
@extend .ui-picker-info;
width: ($grid-gutter * 15);
Expand Down
10 changes: 5 additions & 5 deletions css/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ body {
padding-left: 16px;
}

.ui-picker-info-map-wrap {
height: 225px;
width: 400px;
}

.ui-picker-info-null:after {
background-color: #f5f5f5;
content: "Select an item to view its details.";
Expand Down Expand Up @@ -154,6 +149,11 @@ body {
position: relative;
}

.ui-picker-map-wrap {
height: 225px;
width: 400px;
}

.ui-picker-nav {
width: 240px;
}
Expand Down
2 changes: 1 addition & 1 deletion css/project.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions js/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pickerMap,
pickerMarker;

function initMap () {
pickerMap = new google.maps.Map(document.getElementById('picker_info_map_wrap'), {
function initPickerMap () {
pickerMap = new google.maps.Map(document.getElementById('ui_picker_map_wrap'), {
center: {
lat: 0,
lng: 0
Expand All @@ -21,7 +21,7 @@
};

if (typeof google != 'undefined') {
initMap();
initPickerMap();
};

if (typeof jQuery.ui != 'undefined') {
Expand Down Expand Up @@ -74,7 +74,7 @@
$('.ui-picker-info-desc-wrap').html($selectingParent.find('.ui-picker-info-desc').html());
$('.ui-picker-info-title-wrap').html($selectingParent.find('.ui-picker-info-title').html());

var pickerMapLatLng = new google.maps.LatLng($selectingParent.find('.ui-picker-info-map-lat').html(), $selectingParent.find('.ui-picker-info-map-lng').html());
var pickerMapLatLng = new google.maps.LatLng($selectingParent.find('.ui-picker-map-lat').html(), $selectingParent.find('.ui-picker-map-lng').html());

pickerMap.setCenter(pickerMapLatLng);
pickerMarker.setMap(pickerMap);
Expand All @@ -96,7 +96,7 @@
$('.ui-picker-info-desc-wrap').html($first.find('.ui-picker-info-desc').html());
$('.ui-picker-info-title-wrap').html($first.find('.ui-picker-info-title').html());

var firstLatLng = new google.maps.LatLng($first.find('.ui-picker-info-map-lat').html(), $first.find('.ui-picker-info-map-lng').html());
var firstLatLng = new google.maps.LatLng($first.find('.ui-picker-map-lat').html(), $first.find('.ui-picker-map-lng').html());

pickerMap.setCenter(firstLatLng);
pickerMarker.setMap(pickerMap);
Expand All @@ -111,9 +111,9 @@
});

// ui-picker.html
$('#doc_datepicker_example_1').pickdate();
$('#ui_datepicker_example_1').pickdate();

$('#doc_datepicker_example_2').pickdate({
$('#ui_datepicker_example_2').pickdate({
cancel: 'Clear',
closeOnCancel: false,
closeOnSelect: true,
Expand All @@ -137,7 +137,7 @@
today: ''
});

$('#doc_datepicker_example_3').pickdate({
$('#ui_datepicker_example_3').pickdate({
disable: [
[2016,0,12],
[2016,0,13],
Expand All @@ -146,7 +146,7 @@
today: ''
});

$('#doc_datepicker_example_4').pickdate({
$('#ui_datepicker_example_4').pickdate({
disable: [
new Date(2016,0,12),
new Date(2016,0,13),
Expand All @@ -155,14 +155,14 @@
today: ''
});

$('#doc_datepicker_example_5').pickdate({
$('#ui_datepicker_example_5').pickdate({
disable: [
2, 4, 6
],
today: ''
});

$('#doc_datepicker_example_6').pickdate({
$('#ui_datepicker_example_6').pickdate({
disable: [
{
from: [2016,0,12],
Expand All @@ -172,7 +172,7 @@
today: ''
});

$('#doc_datepicker_example_7').pickdate({
$('#ui_datepicker_example_7').pickdate({
disable: [
true,
3,
Expand All @@ -182,7 +182,7 @@
today: ''
});

$('#doc_datepicker_example_8').pickdate({
$('#ui_datepicker_example_8').pickdate({
disable: [
{
from: [2016,0,10],
Expand All @@ -198,19 +198,19 @@
today: ''
});

$('#doc_datepicker_example_9').pickdate({
$('#ui_datepicker_example_9').pickdate({
max: [2016,0,30],
min: [2016,0,10],
today: ''
});

$('#doc_datepicker_example_10').pickdate({
$('#ui_datepicker_example_10').pickdate({
max: new Date(2016,0,30),
min: new Date(2016,0,10),
today: ''
});

$('#doc_datepicker_example_11').pickdate({
$('#ui_datepicker_example_11').pickdate({
max: true,
min: -10,
today: ''
Expand All @@ -222,7 +222,7 @@
$($(this).attr('data-target')).addClass('el-loading-done');
});

$('#doc_el_loading_example_wrap .tile-active-show').each(function (index) {
$('#ui_el_loading_example_wrap .tile-active-show').each(function (index) {
var $this = $(this),
timer;

Expand All @@ -243,7 +243,7 @@
// ui-snackbar.html
var snackbarText = 1;

$('#doc_snackbar_toggle_1').on('click', function () {
$('#ui_snackbar_toggle_1').on('click', function () {
$('body').snackbar({
content: 'Simple snackbar ' + snackbarText + ' with some text',
show: function () {
Expand All @@ -252,7 +252,7 @@
});
});

$('#doc_snackbar_toggle_2').on('click', function () {
$('#ui_snackbar_toggle_2').on('click', function () {
$('body').snackbar({
content: '<a data-dismiss="snackbar">Dismiss</a><div class="snackbar-text">Simple snackbar ' + snackbarText + ' with some text and a simple <a href="javascript:void(0)">link</a>.</div>',
show: function () {
Expand Down
Loading

0 comments on commit d516b9a

Please sign in to comment.