Skip to content

Commit d516b9a

Browse files
committed
update html templates for gh-pages
1 parent 3d3981a commit d516b9a

34 files changed

Lines changed: 537 additions & 537 deletions

assets/js-project/page-picker.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
pickerMap,
44
pickerMarker;
55

6-
function initMap () {
7-
pickerMap = new google.maps.Map(document.getElementById('picker_info_map_wrap'), {
6+
function initPickerMap () {
7+
pickerMap = new google.maps.Map(document.getElementById('ui_picker_map_wrap'), {
88
center: {
99
lat: 0,
1010
lng: 0
@@ -21,7 +21,7 @@
2121
};
2222

2323
if (typeof google != 'undefined') {
24-
initMap();
24+
initPickerMap();
2525
};
2626

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

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

7979
pickerMap.setCenter(pickerMapLatLng);
8080
pickerMarker.setMap(pickerMap);
@@ -96,7 +96,7 @@
9696
$('.ui-picker-info-desc-wrap').html($first.find('.ui-picker-info-desc').html());
9797
$('.ui-picker-info-title-wrap').html($first.find('.ui-picker-info-title').html());
9898

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

101101
pickerMap.setCenter(firstLatLng);
102102
pickerMarker.setMap(pickerMap);

assets/js-project/ui-picker.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ui-picker.html
2-
$('#doc_datepicker_example_1').pickdate();
2+
$('#ui_datepicker_example_1').pickdate();
33

4-
$('#doc_datepicker_example_2').pickdate({
4+
$('#ui_datepicker_example_2').pickdate({
55
cancel: 'Clear',
66
closeOnCancel: false,
77
closeOnSelect: true,
@@ -25,7 +25,7 @@
2525
today: ''
2626
});
2727

28-
$('#doc_datepicker_example_3').pickdate({
28+
$('#ui_datepicker_example_3').pickdate({
2929
disable: [
3030
[2016,0,12],
3131
[2016,0,13],
@@ -34,7 +34,7 @@
3434
today: ''
3535
});
3636

37-
$('#doc_datepicker_example_4').pickdate({
37+
$('#ui_datepicker_example_4').pickdate({
3838
disable: [
3939
new Date(2016,0,12),
4040
new Date(2016,0,13),
@@ -43,14 +43,14 @@
4343
today: ''
4444
});
4545

46-
$('#doc_datepicker_example_5').pickdate({
46+
$('#ui_datepicker_example_5').pickdate({
4747
disable: [
4848
2, 4, 6
4949
],
5050
today: ''
5151
});
5252

53-
$('#doc_datepicker_example_6').pickdate({
53+
$('#ui_datepicker_example_6').pickdate({
5454
disable: [
5555
{
5656
from: [2016,0,12],
@@ -60,7 +60,7 @@
6060
today: ''
6161
});
6262

63-
$('#doc_datepicker_example_7').pickdate({
63+
$('#ui_datepicker_example_7').pickdate({
6464
disable: [
6565
true,
6666
3,
@@ -70,7 +70,7 @@
7070
today: ''
7171
});
7272

73-
$('#doc_datepicker_example_8').pickdate({
73+
$('#ui_datepicker_example_8').pickdate({
7474
disable: [
7575
{
7676
from: [2016,0,10],
@@ -86,19 +86,19 @@
8686
today: ''
8787
});
8888

89-
$('#doc_datepicker_example_9').pickdate({
89+
$('#ui_datepicker_example_9').pickdate({
9090
max: [2016,0,30],
9191
min: [2016,0,10],
9292
today: ''
9393
});
9494

95-
$('#doc_datepicker_example_10').pickdate({
95+
$('#ui_datepicker_example_10').pickdate({
9696
max: new Date(2016,0,30),
9797
min: new Date(2016,0,10),
9898
today: ''
9999
});
100100

101-
$('#doc_datepicker_example_11').pickdate({
101+
$('#ui_datepicker_example_11').pickdate({
102102
max: true,
103103
min: -10,
104104
today: ''

assets/js-project/ui-progress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$($(this).attr('data-target')).addClass('el-loading-done');
55
});
66

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

assets/js-project/ui-snackbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ui-snackbar.html
22
var snackbarText = 1;
33

4-
$('#doc_snackbar_toggle_1').on('click', function () {
4+
$('#ui_snackbar_toggle_1').on('click', function () {
55
$('body').snackbar({
66
content: 'Simple snackbar ' + snackbarText + ' with some text',
77
show: function () {
@@ -10,7 +10,7 @@
1010
});
1111
});
1212

13-
$('#doc_snackbar_toggle_2').on('click', function () {
13+
$('#ui_snackbar_toggle_2').on('click', function () {
1414
$('body').snackbar({
1515
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>',
1616
show: function () {

assets/sass-project/templates/_page-picker.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@
5555
padding-left: $grid-gutter;
5656
}
5757

58-
.ui-picker-info-map-wrap {
59-
height: ($grid-gutter * 25 / 16 * 9);
60-
width: ($grid-gutter * 25);
61-
}
62-
6358
.ui-picker-info-null {
6459
&:after {
6560
background-color: $offwhite-solid;
@@ -109,6 +104,11 @@
109104
position: relative;
110105
}
111106

107+
.ui-picker-map-wrap {
108+
height: ($grid-gutter * 25 / 16 * 9);
109+
width: ($grid-gutter * 25);
110+
}
111+
112112
.ui-picker-nav {
113113
@extend .ui-picker-info;
114114
width: ($grid-gutter * 15);

css/project.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ body {
9393
padding-left: 16px;
9494
}
9595

96-
.ui-picker-info-map-wrap {
97-
height: 225px;
98-
width: 400px;
99-
}
100-
10196
.ui-picker-info-null:after {
10297
background-color: #f5f5f5;
10398
content: "Select an item to view its details.";
@@ -154,6 +149,11 @@ body {
154149
position: relative;
155150
}
156151

152+
.ui-picker-map-wrap {
153+
height: 225px;
154+
width: 400px;
155+
}
156+
157157
.ui-picker-nav {
158158
width: 240px;
159159
}

css/project.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/project.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
pickerMap,
44
pickerMarker;
55

6-
function initMap () {
7-
pickerMap = new google.maps.Map(document.getElementById('picker_info_map_wrap'), {
6+
function initPickerMap () {
7+
pickerMap = new google.maps.Map(document.getElementById('ui_picker_map_wrap'), {
88
center: {
99
lat: 0,
1010
lng: 0
@@ -21,7 +21,7 @@
2121
};
2222

2323
if (typeof google != 'undefined') {
24-
initMap();
24+
initPickerMap();
2525
};
2626

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

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

7979
pickerMap.setCenter(pickerMapLatLng);
8080
pickerMarker.setMap(pickerMap);
@@ -96,7 +96,7 @@
9696
$('.ui-picker-info-desc-wrap').html($first.find('.ui-picker-info-desc').html());
9797
$('.ui-picker-info-title-wrap').html($first.find('.ui-picker-info-title').html());
9898

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

101101
pickerMap.setCenter(firstLatLng);
102102
pickerMarker.setMap(pickerMap);
@@ -111,9 +111,9 @@
111111
});
112112

113113
// ui-picker.html
114-
$('#doc_datepicker_example_1').pickdate();
114+
$('#ui_datepicker_example_1').pickdate();
115115

116-
$('#doc_datepicker_example_2').pickdate({
116+
$('#ui_datepicker_example_2').pickdate({
117117
cancel: 'Clear',
118118
closeOnCancel: false,
119119
closeOnSelect: true,
@@ -137,7 +137,7 @@
137137
today: ''
138138
});
139139

140-
$('#doc_datepicker_example_3').pickdate({
140+
$('#ui_datepicker_example_3').pickdate({
141141
disable: [
142142
[2016,0,12],
143143
[2016,0,13],
@@ -146,7 +146,7 @@
146146
today: ''
147147
});
148148

149-
$('#doc_datepicker_example_4').pickdate({
149+
$('#ui_datepicker_example_4').pickdate({
150150
disable: [
151151
new Date(2016,0,12),
152152
new Date(2016,0,13),
@@ -155,14 +155,14 @@
155155
today: ''
156156
});
157157

158-
$('#doc_datepicker_example_5').pickdate({
158+
$('#ui_datepicker_example_5').pickdate({
159159
disable: [
160160
2, 4, 6
161161
],
162162
today: ''
163163
});
164164

165-
$('#doc_datepicker_example_6').pickdate({
165+
$('#ui_datepicker_example_6').pickdate({
166166
disable: [
167167
{
168168
from: [2016,0,12],
@@ -172,7 +172,7 @@
172172
today: ''
173173
});
174174

175-
$('#doc_datepicker_example_7').pickdate({
175+
$('#ui_datepicker_example_7').pickdate({
176176
disable: [
177177
true,
178178
3,
@@ -182,7 +182,7 @@
182182
today: ''
183183
});
184184

185-
$('#doc_datepicker_example_8').pickdate({
185+
$('#ui_datepicker_example_8').pickdate({
186186
disable: [
187187
{
188188
from: [2016,0,10],
@@ -198,19 +198,19 @@
198198
today: ''
199199
});
200200

201-
$('#doc_datepicker_example_9').pickdate({
201+
$('#ui_datepicker_example_9').pickdate({
202202
max: [2016,0,30],
203203
min: [2016,0,10],
204204
today: ''
205205
});
206206

207-
$('#doc_datepicker_example_10').pickdate({
207+
$('#ui_datepicker_example_10').pickdate({
208208
max: new Date(2016,0,30),
209209
min: new Date(2016,0,10),
210210
today: ''
211211
});
212212

213-
$('#doc_datepicker_example_11').pickdate({
213+
$('#ui_datepicker_example_11').pickdate({
214214
max: true,
215215
min: -10,
216216
today: ''
@@ -222,7 +222,7 @@
222222
$($(this).attr('data-target')).addClass('el-loading-done');
223223
});
224224

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

@@ -243,7 +243,7 @@
243243
// ui-snackbar.html
244244
var snackbarText = 1;
245245

246-
$('#doc_snackbar_toggle_1').on('click', function () {
246+
$('#ui_snackbar_toggle_1').on('click', function () {
247247
$('body').snackbar({
248248
content: 'Simple snackbar ' + snackbarText + ' with some text',
249249
show: function () {
@@ -252,7 +252,7 @@
252252
});
253253
});
254254

255-
$('#doc_snackbar_toggle_2').on('click', function () {
255+
$('#ui_snackbar_toggle_2').on('click', function () {
256256
$('body').snackbar({
257257
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>',
258258
show: function () {

0 commit comments

Comments
 (0)