· 6 years ago · Sep 30, 2019, 09:00 PM
1Results for "$('"
2
3/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/500.html:
4 318: var autocomplete = $('#search_input').yourlabsAutocomplete({
5 324: appendAutocomplete: $('#search_input')
6 326: $('#search_input').bind('selectChoice', function(e, choice, autocomplete) {
7 328: $('#search_input').val(choice[0].innerHTML);
8 329: $('#search').submit();
9
10
11/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/_permissions_form_js.html:
12 86: $('#permissions-body').ready(function(){
13 103: $('#perms_view_anyone').prop('checked', false);
14 104: $('#perms_download_resourcebase_anyone').prop('checked', false);
15 125: $('#perms_view_anyone').prop('checked', true);
16 128: $('#perms_download_resourcebase_anyone').prop('checked', true);
17 166: // $('#' + perm + '_users').val(users[perm].join());
18 168: $('#' + perm + '_users').append(new Option(this, this));
19 202: // $('#' + perm + '_groups').val(groups[perm].join());
20 204: $('#' + perm + '_groups').append(new Option(this, this));
21 340: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
22 353: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
23 402: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
24 434: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
25 459: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
26 472: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
27 497: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
28 510: $('#_permissions_feedbacks').on('hidden.bs.modal', function () { location.reload(); });
29 516: $('#bulk_perms_message').addClass("hidden");
30
31
32/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/_status_message.html:
33 3: <a class="close" onclick="$('.alert').hide()">×</a>
34
35
36/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/base.html:
37 558: var autocomplete = $('#search_input').yourlabsAutocomplete({
38 564: appendAutocomplete: $('#search_input'),
39 567: $('#search_input').bind('selectChoice', function(e, choice, autocomplete) {
40 569: $('#search_input').val($(choice[0]).text());
41 570: $('#search').submit();
42
43
44/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/index.html:
45 392: $('[data-toggle="tooltip"]').tooltip({container: 'body'});
46
47
48/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/monitoring/frontend/index.html:
49 99: <a class="close" onclick="$('.alert').hide()">×</a>
50 372: var autocomplete = $('#search_input').yourlabsAutocomplete({
51 378: appendAutocomplete: $('#search_input'),
52 381: $('#search_input').bind('selectChoice', function(e, choice, autocomplete) {
53 383: $('#search_input').val($(choice[0]).text());
54 384: $('#search').submit();
55
56
57/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/account/signup.html:
58 44: $('#id_username').focus();
59
60
61/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/avatar/change.html:
62 29: $('#id_avatar').change(function() {
63 30: $('#avatar-file').css('visibility', 'visible');
64 33: $('#delete_avatar').css('visibility', 'visible');
65
66
67/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/user_messages/inbox.html:
68 44: $('.tab-content').click(function(event) {
69 56: $('#all').load(window.location.pathname + ' #all');
70 57: $('#inbox').load(window.location.pathname + ' #inbox');
71 64: $('.tab-content a').click(function(event) {
72
73
74/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/documents/templates/documents/document_thumb_upload.html:
75 99: $('#id_doc_file').on('change', function(){
76 100: if($('#id_title').val() == ''){
77 101: $('#id_title').val($('#id_doc_file').val().replace("C:\\fakepath\\", ""));
78 101: $('#id_title').val($('#id_doc_file').val().replace("C:\\fakepath\\", ""));
79 107: $('#upload_form').submit(function(){
80 108: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
81 108: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
82
83
84/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/documents/templates/documents/document_upload.html:
85 43: $('#id_doc_file').on('change', function(){
86 44: if($('#id_title').val() == ''){
87 45: $('#id_title').val($('#id_doc_file').val().replace("C:\\fakepath\\", ""));
88 45: $('#id_title').val($('#id_doc_file').val().replace("C:\\fakepath\\", ""));
89 51: $('#upload_form').submit(function(){
90 52: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
91 52: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
92 55: $('#upload-button').click(function(){
93 56: $('#_resource_uploading').modal('toggle');
94
95
96/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/layers/templates/layers/layer_detail.html:
97 765: $('#form_post_comment_div').modal().find('form')[0].reset();
98 766: $('#form_post_comment_div').modal('hide');
99 767: $('#comments_section').load(window.location.pathname + ' #comments_section',
100 782: $('<ul/>', {
101 794: $('#set_thumbnail').click(function(){
102 796: $('#edit-layer').modal('toggle');
103 799: $('#set_thumbnail').click(function(){
104 801: $('#edit-layer').modal('toggle');
105 818: $('#modal-button-'+id+':first-child').text($(this).text());
106 862: single_value_input = ($('#single_value').select2('data').text).trim();
107 869: $('#wrong-data-type').empty();
108 905: var tab = $('#tabContent .active > a').attr('href')
109 915: max_features = $('#max_features').val();
110 957: $('#tabContent, .query_builder_tab').show();
111 994: $('#tabContent, .query_builder_tab').show();
112 999: $('#tabContent, .query_builder_tab').hide();
113 1004: $('#max_features').val("");
114 1008: $('#tabContent, .query_builder_tab').hide();
115 1013: $('#download-layer').modal('toggle');
116
117
118/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/layers/templates/layers/layer_style_manage.html:
119 77: $('#style-select').multiSelect({
120 81: $('#default_style').append($("<option/>", {
121 89: $('#default_style option').each(function() {
122 97: $('.js-searchlist').on('keyup', function() {
123
124
125/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/layers/templates/layouts/panels.html:
126 547: "yes" onload="if(this.contentWindow.document.body) {$('#preview').height(this.contentWindow.document.body.scrollHeight)}"
127 549: "yes" onload="if(this.contentWindow.document.body) {$('#preview').height(this.contentWindow.document.body.scrollHeight)}"
128
129
130/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/layers/templates/upload/layer_upload_time.html:
131 388: $('input[id="id_text_attribute"]').each(function(index) {
132 389: if($('input[id="id_text_attribute"]')[index].checked) {
133 390: time_attribute = $('input[id="id_text_attribute"]')[index].value;
134 433: // $('#bootstrap-table').bootstrapTable('load', data);
135 434: $('#bootstrap-text-att-table').bootstrapTable('load', data);
136
137
138/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/maps/templates/maps/map_detail.html:
139 333: $('#embed-widget-body').text(formatted_data);
140 392: $('#form_post_comment_div').modal().find('form')[0].reset();
141 393: $('#form_post_comment_div').modal('hide');
142 394: $('#comments_section').load(window.location.pathname + ' #comments_section',
143 405: $('#set_thumbnail').click(function(){
144 407: $('#edit-layer').modal('toggle');
145 410: $('#set_thumbnail').click(function(){
146 412: $('#edit-layer').modal('toggle');
147
148
149/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/maps/templates/maps/map_download.html:
150 95: $('#cancel').hide();
151 102: $('#download').attr({class:'alert alert-error'});
152 103: $('.progress').hide();
153 104: $('#cancel').hide();
154 105: $('#retry').show();
155
156
157/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/services/templates/services/service_detail.html:
158 120: $('#harvestResources').on("click", function() {
159 123: $('button[name^=retry]').on('click', function () {
160
161
162/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/services/templates/services/service_register.html:
163 55: $('#service_register_form').submit(function () {
164 100: $('<tr>').attr('id',i).
165 101: append($('<td>').text(row[0])).
166 102: append($('<td>').text(row[1])).appendTo('#dataTable');
167 107: $('<div>').attr("class", "result").append($('<a>').
168 107: $('<div>').attr("class", "result").append($('<a>').
169 113: $('<h4>').attr("class", "result").text(data[item].msg).appendTo("#responseDiv")
170
171
172/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/services/templates/services/service_remove.html:
173 44: $('#confirmDelete').on("click", function() {
174
175
176/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/services/templates/services/service_resources_harvest.html:
177 187: $('input[name=resource_list]').prop('checked', this.checked);
178 205: $('#btnClearFilter').on('click', function () {
179 219: $('input[name=resource_list]').each(function () {
180
181
182/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/affix.js:
183 151: $('[data-spy="affix"]').each(function () {
184
185
186/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/angular.js:
187 3789: * var $div = $('<div ng-controller="MyCtrl">{{content.label}}</div>');
188 7260: var textarea = $('textarea');
189 7261: var output = $('div[compile]');
190 24031: expect($('#template1').getAttribute('ng-cloak')).
191 24033: expect($('#template2').getAttribute('ng-cloak')).
192 29772: * expect(element(by.model('model.id')).$('option:checked').getText()).toEqual('Two');
193
194
195/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-datetimepicker.js:
196 195: var headTemplate = $('<thead>')
197 196: .append($('<tr>')
198 197: .append($('<th>').addClass('prev').attr('data-action', 'previous')
199 198: .append($('<span>').addClass(options.icons.previous))
200 200: .append($('<th>').addClass('picker-switch').attr('data-action', 'pickerSwitch').attr('colspan',
201 201: .append($('<th>').addClass('next').attr('data-action', 'next')
202 202: .append($('<span>').addClass(options.icons.next))
203 205: contTemplate = $('<tbody>')
204 206: .append($('<tr>')
205 207: .append($('<td>').attr('colspan', (options.calendarWeeks ? '8' : '7')))
206 211: $('<div>').addClass('datepicker-days')
207 212: .append($('<table>').addClass('table-condensed')
208 214: .append($('<tbody>'))
209 216: $('<div>').addClass('datepicker-months')
210 217: .append($('<table>').addClass('table-condensed')
211 221: $('<div>').addClass('datepicker-years')
212 222: .append($('<table>').addClass('table-condensed')
213 226: $('<div>').addClass('datepicker-decades')
214 227: .append($('<table>').addClass('table-condensed')
215 235: var topRow = $('<tr>'),
216 236: middleRow = $('<tr>'),
217 237: bottomRow = $('<tr>');
218 240: topRow.append($('<td>')
219 241: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.incrementHour
220 241: }).addClass('btn').attr('data-action', 'incrementHours').append($('<span>').addClass(options.icons.up))));
221 242: middleRow.append($('<td>')
222 243: .append($('<span>').addClass('timepicker-hour').attr({ 'data-time-component':
223 244: bottomRow.append($('<td>')
224 245: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.decrementHour
225 245: }).addClass('btn').attr('data-action', 'decrementHours').append($('<span>').addClass(options.icons.down))));
226 249: topRow.append($('<td>').addClass('separator'));
227 250: middleRow.append($('<td>').addClass('separator').html(':'));
228 251: bottomRow.append($('<td>').addClass('separator'));
229 253: topRow.append($('<td>')
230 254: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.incrementMinute
231 255: .append($('<span>').addClass(options.icons.up))));
232 256: middleRow.append($('<td>')
233 257: .append($('<span>').addClass('timepicker-minute').attr({ 'data-time-component'
234 258: bottomRow.append($('<td>')
235 259: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.decrementMinute
236 260: .append($('<span>').addClass(options.icons.down))));
237 264: topRow.append($('<td>').addClass('separator'));
238 265: middleRow.append($('<td>').addClass('separator').html(':'));
239 266: bottomRow.append($('<td>').addClass('separator'));
240 268: topRow.append($('<td>')
241 269: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.incrementSecond
242 270: .append($('<span>').addClass(options.icons.up))));
243 271: middleRow.append($('<td>')
244 272: .append($('<span>').addClass('timepicker-second').attr({ 'data-time-component'
245 273: bottomRow.append($('<td>')
246 274: .append($('<a>').attr({ href: '#', tabindex: '-1', 'title': options.tooltips.decrementSecond
247 275: .append($('<span>').addClass(options.icons.down))));
248 279: topRow.append($('<td>').addClass('separator'));
249 280: middleRow.append($('<td>')
250 281: .append($('<button>').addClass('btn btn-primary').attr({ 'data-action': 'togglePeriod',
251 282: bottomRow.append($('<td>').addClass('separator'));
252 285: return $('<div>').addClass('timepicker-picker')
253 286: .append($('<table>').addClass('table-condensed')
254 291: var hoursView = $('<div>').addClass('timepicker-hours')
255 292: .append($('<table>').addClass('table-condensed')),
256 293: minutesView = $('<div>').addClass('timepicker-minutes')
257 294: .append($('<table>').addClass('table-condensed')),
258 295: secondsView = $('<div>').addClass('timepicker-seconds')
259 296: .append($('<table>').addClass('table-condensed')),
260 315: row.push($('<td>').append($('<a>').attr({ 'data-action': 'today', 'title': options.tooltips.today
261 315: row.push($('<td>').append($('<a>').attr({ 'data-action': 'today', 'title': options.tooltips.today
262 315: 'data-action': 'today', 'title': options.tooltips.today }).append($('<span>').addClass(options.icons.today))));
263 318: row.push($('<td>').append($('<a>').attr({ 'data-action': 'togglePicker', 'title':
264 318: row.push($('<td>').append($('<a>').attr({ 'data-action': 'togglePicker', 'title':
265 318: 'togglePicker', 'title': options.tooltips.selectTime }).append($('<span>').addClass(options.icons.time))));
266 321: row.push($('<td>').append($('<a>').attr({ 'data-action': 'clear', 'title': options.tooltips.clear
267 321: row.push($('<td>').append($('<a>').attr({ 'data-action': 'clear', 'title': options.tooltips.clear
268 321: 'data-action': 'clear', 'title': options.tooltips.clear }).append($('<span>').addClass(options.icons.clear))));
269 324: row.push($('<td>').append($('<a>').attr({ 'data-action': 'close', 'title': options.tooltips.close
270 324: row.push($('<td>').append($('<a>').attr({ 'data-action': 'close', 'title': options.tooltips.close
271 324: 'data-action': 'close', 'title': options.tooltips.close }).append($('<span>').addClass(options.icons.close))));
272 326: return $('<table>').addClass('table-condensed').append($('<tbody>').append($('<tr>').append(row)))
273 326: return $('<table>').addClass('table-condensed').append($('<tbody>').append($('<tr>').append(row)));
274 326: return $('<table>').addClass('table-condensed').append($('<tbody>').append($('<tr>').append(row)));
275 330: var template = $('<div>').addClass('bootstrap-datetimepicker-widget dropdown-menu'),
276 331: dateView = $('<div>').addClass('datepicker').append(getDatePickerTemplate()),
277 332: timeView = $('<div>').addClass('timepicker').append(getTimePickerTemplate()),
278 333: content = $('<ul>').addClass('list-unstyled'),
279 334: toolbar = $('<li>').addClass('picker-switch' + (options.collapse ? ' accordion-toggle'
280 354: $('<div>').addClass('row')
281 368: content.append($('<li>').addClass((options.collapse && hasTime() ? 'collapse in'
282 374: content.append($('<li>').addClass((options.collapse && hasDate() ? 'collapse' : '')).append(timeView))
283 504: var row = $('<tr>'),
284 508: row.append($('<th>').addClass('cw').text('#'));
285 512: row.append($('<th>').addClass('dow').text(currentDate.format('dd')));
286 578: spans.push($('<span>').attr('data-action', 'selectMonth').addClass('month').text(monthsShort.format('MMM')))
287 719: row = $('<tr>');
288 766: row = $('<tr>');
289 773: row = $('<tr>');
290 786: row = $('<tr>'),
291 791: row = $('<tr>');
292 804: row = $('<tr>');
293 808: row = $('<tr>');
294
295
296/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-multiselect.js:
297 174: if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) {
298 198: && options.length === $('option', $(select)).length
299 199: && $('option', $(select)).length !== 1
300 457: $('li input', this.$ul).on('change', $.proxy(function(event) {
301 479: var $optionsNotThis = $('option', this.$select).not($option);
302 480: var $checkboxesNotThis = $('input', this.$container).not($target);
303 534: $('li a', this.$ul).on('mousedown', function(e) {
304 541: $('li a', this.$ul).on('touchstart click', $.proxy(function(event) {
305 600: if ($('input[type="text"]', this.$container).is(':focus')) {
306 644: $('li.multiselect-group', this.$ul).on('click', $.proxy(function(event) {
307 682: var $label = $('label', $li);
308 692: var $checkbox = $('<input/>').attr('type', inputType);
309 751: $('label', $li).html(groupName);
310 754: $('label', $li).text(groupName);
311 768: $('option', group).each($.proxy(function(index, element) {
312 786: && $('option', this.$select).length > this.options.includeSelectAllIfMoreThan) {
313 794: $('label', $li).addClass("checkbox");
314 797: $('label', $li).html(" " + this.options.selectAllText);
315 800: $('label', $li).text(" " + this.options.selectAllText);
316 804: $('label', $li).prepend('<input type="checkbox" name="' + this.options.selectAllName
317 807: $('label', $li).prepend('<input type="checkbox" />');
318 810: var $checkbox = $('input', $li);
319 835: $('input', this.$filter).attr('placeholder', this.options.filterPlaceholder);
320 843: $('li', this.$ul).show().removeClass("filter-hidden");
321 868: $.each($('li', this.$ul), $.proxy(function(index, element) {
322 869: var value = $('input', element).length > 0 ? $('input', element).val()
323 869: var value = $('input', element).length > 0 ? $('input', element).val() : "";
324 870: var text = $('label', element).text();
325 939: $('option', this.$select).each($.proxy(function(index, element) {
326 940: var $input = $('li input', this.$ul).filter(function() {
327 1177: if (this.options.disableIfEmpty && $('option', this.$select).length <= 0) {
328 1203: $tag = $('<optgroup/>').attr({
329 1209: $tag.append($('<option/>').attr({
330 1219: $tag = $('<option/>').attr({
331 1277: return $('li.multiselect-all', this.$ul).length > 0;
332 1311: $('.multiselect .multiselect-selected-text', this.$container).html(this.options.buttonText(options,
333 1314: $('.multiselect .multiselect-selected-text', this.$container).text(this.options.buttonText(options,
334 1318: $('.multiselect', this.$container).attr('title', this.options.buttonTitle(options, this.$select))
335 1327: return $('option', this.$select).filter(":selected");
336 1338: var options = $('option', this.$select);
337 1357: var checkboxes = $('li input', this.$ul);
338
339
340/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-select.js:
341 2098: this.$bsContainer = $('<div class="bs-container" />');
342 2453: $notify = $('<div class="notify"></div>');
343 2466: $notify.append($('<div>' + maxTxt + '</div>'));
344 2472: $notify.append($('<div>' + maxTxtGrp + '</div>'));
345 3130: $('.selectpicker').each(function () {
346
347
348/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-table.js:
349 319: var $inner = $('<div/>').addClass('fixed-table-scroll-inner');
350 320: var $outer = $('<div/>').addClass('fixed-table-scroll-outer');
351 323: $('body').append($outer);
352 862: this.$container = $('\n <div class="bootstrap-table">\n <div class="fixed-table-toolbar"><
353 872: this.$toolbar = $('body').find(this.options.buttonsToolbar);
354 908: this.$header = $('<thead class="' + this.options.theadClasses + '"></thead>').appendTo(this.$el)
355 1338: $('body').append($(o.toolbar));
356 2163: this.$body = $('<tbody></tbody>').appendTo(this.$el);
357 2545: var focused = $(':focus');
358 2565: var focusedTemp = $('.focus-temp:visible:eq(0)');
359 3767: $('[data-toggle="table"]').bootstrapTable();
360
361
362/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/client/templates/geoext/layers/layer_geoext_map.html:
363 271: $('#legend_icon').attr('src', legend_icon_src);
364 286: $('#legend_icon').attr('src', $('#legend_icon').attr('src')+'&'+Math.random());
365 286: $('#legend_icon').attr('src', $('#legend_icon').attr('src')+'&'+Math.random());
366
367
368/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/client/templates/geoext/layers/layer_geoext_map_mini.html:
369 269: $('#legend_icon').attr('src', $('#legend_icon').attr('src')+'&'+Math.random());
370 269: $('#legend_icon').attr('src', $('#legend_icon').attr('src')+'&'+Math.random());
371
372
373/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/client/templates/leaflet/maps/map_edit.html:
374 145: var map_height = w_height - $('nav').height();
375 270: $('#add_layer_select').prop('selectedIndex', -1);
376 282: $('#save-map-form').serializeObject();
377 330: $('#save-succeed-modal').modal('show');
378 336: $('#error-message-modal').show();
379 372: $('input:radio[name=background-layer]').change(function () {
380 546: $('#save-map-form').submit(save_map);
381
382
383/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/client/templates/leaflet/maps/map_view.html:
384 189: var map_height = w_height - $('nav').height();
385 346: $('#add_layer_select').prop('selectedIndex', -1);
386 358: var form_data = $('#save-map-form').serializeObject();
387 407: $('#save-map-modal').modal('hide');
388 413: $('#error-message-modal').show();
389 460: $('input:radio[name=background-layer]').change(function () {
390 613: {# var add_layer_select = $('select[id=add_layer_select]');#}
391 621: $('#save-map-form').submit(save_map);
392
393
394/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/geoserver/createlayer/templates/createlayer/layer_create.html:
395 97: $('#layer-create-form').submit(function(){
396 98: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
397 98: $('#permissions').val(JSON.stringify(permissionsString($('#permission_form'),'base')));
398 101: $('.attr-definition').each(function(i, obj) {
399 106: $('#attributes').val(JSON.stringify(attrs));
400
401
402/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/search/cart.js:
403 36: var permissions = permissionsString($('#permission_form'), 'base');
404 38: var message = $('#bulk_perms_message');
405
406
407/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/search/search.js:
408 103: $('#treeview').treeview({
409 110: $('#treeview').treeview('selectNode', node.nodes[i]);
410 118: $('#treeview').treeview('unselectNode', node.nodes[i]);
411 119: $('#treeview').trigger('nodeUnselected', $.extend(true, {}, node.nodes[i]));
412 296: if ($('#categories').length > 0){
413 300: if ($('#group-categories').length > 0){
414 304: //if ($('#keywords').length > 0){
415 309: if ($('#regions').length > 0){
416 312: if ($('#owners').length > 0){
417 315: if ($('#groups').length > 0){
418 318: if ($('#tkeywords').length > 0){
419 328: $('body').find("[data-filter='type__in'][data-value="+types[i]+"]").addClass('active');
420 331: $('body').find("[data-filter='type__in'][data-value="+types+"]").addClass('active');
421 338: $('body').find("[data-filter='order_by']").removeClass('selected');
422 339: $('body').find("[data-filter='order_by'][data-value="+sort+"]").addClass('selected');
423 361: setTimeout(function(){$('[ng-controller="CartList"] [data-toggle="tooltip"]').tooltip();},0);
424 587: var text_autocomplete = $('#text_search_input').yourlabsAutocomplete({
425 596: $('#text_search_input').keypress(function(e) {
426 598: $('#text_search_btn').click();
427 599: $('.yourlabs-autocomplete').hide();
428 603: $('#text_search_input').bind('selectChoice', function(e, choice, text_autocomplete) {
429 605: $('#text_search_input').val($(choice[0]).text());
430 606: $('#text_search_btn').click();
431 610: $('#text_search_btn').click(function(){
432 612: $scope.query['q'] = $('#text_search_input').val();
433 619: console.log('search key', $('#text_search_input').data());
434 620: var query_key = $('#text_search_input').data('query-key')||'title__icontains';
435 621: $scope.query[query_key] = $('#text_search_input').val();
436 628: var region_autocomplete = $('#region_search_input').yourlabsAutocomplete({
437 633: appendAutocomplete: $('#region_search_input'),
438 636: $('#region_search_input').bind('selectChoice', function(e, choice, region_autocomplete) {
439 638: $('#region_search_input').val(choice[0].innerHTML);
440 639: $('#region_search_btn').click();
441 643: $('#region_search_btn').click(function(){
442 644: $scope.query['regions__name__in'] = $('#region_search_input').val();
443 699: if ($('.leaflet_map').length > 0) {
444 737: $('#_extent_filter').click(function(evt) {
445
446
447/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/services/resources_harvest.js:
448 26: me.filterElems[filterInfo[i].id] = $('#' + filterInfo[i].id);
449 27: me.filterButton[filterInfo[i].id] = $('#btn-' + filterInfo[i].id);
450
451
452/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/status/UploadSession.js:
453 27: var td = $('<td/>');
454 32: $('<p/>', {text: value}).appendTo(td);
455 39: var tr = $('<tr />'),
456 45: input = $('<input/>', {type: 'checkbox'});
457 48: a = $('<a/>', {text: 'Edit'});
458 51: this.wrap_value($('<a/>', {text: this.layer_name, href: this.url}))
459
460
461/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/status/status.js:
462 14: var tbody = $('#session-table').find('tbody').first();
463
464
465/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/LayerInfo.js:
466 53: var template = _.template($('#successTemplate').html());
467 112: var is_granule = $('#' + this.name + '-mosaic').is(':checked');
468 114: var is_time_enabled = $('#' + this.name + '-timedim').is(':checked');
469 115: var is_time_valid = is_time_enabled && !$('#' + this.name + '-timedim-value-valid').is(':visible')
470 186: mosaic = $('#' + base_name + '-mosaic').is(':checked');
471 187: var is_time_valid = $('#' + base_name + '-timedim').is(':checked') && !$('#' + base_name + '-timedim-value-valid').is('
472 187: $('#' + base_name + '-timedim').is(':checked') && !$('#' + base_name + '-timedim-value-valid').is(':visible')
473 192: var append_to_mosaic_opts = $('#' + base_name + '-mosaic-granule').is(':checked');
474 193: var append_to_mosaic_name = $('#' + base_name + '-mosaic-granule-format-select').val();
475 198: var time_regex = $('#' + base_name + '-timedim-format-select').val();
476 199: var time_value = $('#' + base_name + '-timedim-value').val();
477 203: var time_presentation_opts = $('#' + base_name + '-timedim-presentation').is(':checked')
478 209: time_presentation = $('#' + base_name + '-timedim-presentation-format-select').val()
479 213: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-years').val()
480 215: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-months').val()
481 217: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-weeks').val()
482 219: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-days').val()
483 221: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-hours').val()
484 223: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-minutes').val()
485 225: time_presentation_res += parseInt( $('#' + base_name + '-timedim-presentation-seconds').val()
486 228: time_presentation_default_value = $('#' + base_name + '-timedim-defaultvalue-format-select').val()
487 231: time_presentation_reference_value = $('#' + base_name + '-timedim-defaultvalue-ref-value').val()
488 265: form_data.append('charset', $('#charset').val());
489 266: if ($('#id_metadata_upload_form').prop('checked')) {
490 268: form_data.append('layer_title', $('#id_layer_title').val());
491 270: if ($('#id_metadata_uploaded_preserve').prop('checked')) {
492 273: if ($('#id_style_upload_form').prop('checked')) {
493 275: form_data.append('layer_title', $('#id_layer_title').val());
494 596: $('#prog > .progress-bar').css('width', pct.toPrecision(3) + '%');
495 639: var layerTemplate = _.template($('#layerTemplate').html()),
496 656: $('#' + this.name + '-mosaic').on('change', this.doImageMosaicToggle);
497 657: $('#' + this.name + '-mosaic-granule').on('change', this.doImageMosaicGranuleOptionsToggle);
498 658: $('#' + this.name + '-timedim').on('change', this.doImageMosaicTimedimOptionsToggle);
499 659: $('#' + this.name + '-timedim-presentation').on('change', this.doImageMosaicTimedimPresentationOptionsToggle)
500 660: $('#' + this.name + '-mosaic-granule-format-select').on('change', this.doImageMosaicGranuleLayerSelect)
501 662: $('#' + this.name + '-timedim-format-select').on('change', function() {
502 669: $('#' + base_name + '-timedim-value-valid').show();
503 672: $('#' + this.name + '-timedim-presentation-format-select').on('change', function() {
504 678: $('#' + base_name + '-mosaic-timedim-presentation-res-options').show();
505 680: $('#' + base_name + '-mosaic-timedim-presentation-res-options').hide();
506 684: $('#' + this.name + '-timedim-defaultvalue-format-select').on('change', function() {
507 690: $('#' + base_name + '-mosaic-timedim-defaultvalue-res-options').show();
508 692: $('#' + base_name + '-mosaic-timedim-defaultvalue-res-options').hide();
509 696: $('#' + this.name + '-timedim-value').on('input', function() {
510 702: $('#' + this.name + '-valid').hide();
511 704: $('#' + this.name + '-valid').show();
512 708: $('#' + this.name + '-timedim-defaultvalue-ref-value').on('input', function() {
513 714: $('#' + this.name + '-valid').hide();
514 716: $('#' + this.name + '-valid').show();
515 763: ul = $('#' + LayerInfo.safeSelector(this.name) + '-element .files');
516 770: var li = $('<li/>').appendTo(ul),
517 771: p = $('<p/>', {text: file.name}).appendTo(li),
518 772: a = $('<a/>', {text: ' ' + gettext('Remove')});
519 775: $('#metadata_uploaded_preserve_check').show();
520 791: $('#metadata_uploaded_preserve_check').hide();
521 805: var ul = $('#' + LayerInfo.safeSelector(this.name) + '-element .errors').first();
522 809: var li = $('<li/>', {text: error, 'class': 'alert alert-error'});
523 832: var mosaic_chkbox = $('#' + id).is(':checked');
524 834: $('#' + base_name + '-mosaic-options').show();
525 836: $('#' + base_name + '-mosaic-options').hide();
526 844: var mosaic_chkbox = $('#' + id).is(':checked');
527 846: $('#' + base_name + '-mosaic-timedim-options').show();
528 848: $('#' + base_name + '-mosaic-timedim-options').hide();
529 856: var mosaic_chkbox = $('#' + id).is(':checked');
530 858: $('#' + base_name + '-mosaic-timedim-presentation-options').show();
531 860: $('#' + base_name + '-mosaic-timedim-presentation-options').hide();
532 868: var mosaic_chkbox = $('#' + id).is(':checked');
533 870: $('#' + base_name + '-mosaic-granule-format-options').show();
534 872: var dropdown = $('#' + base_name + '-mosaic-granule-format-select');
535 889: $('#' + base_name + '-mosaic-granule-format-options').hide();
536 890: $('#' + base_name + '-timedim').prop("checked", false);
537 891: $('#' + base_name + '-timedim').prop("disabled", false);
538 892: $('#' + base_name + '-mosaic-timedim-options').hide();
539 893: $('#' + base_name + '-timedim-presentation').prop("checked", false);
540 894: $('#' + base_name + '-timedim-presentation').prop("disabled", false);
541 895: $('#' + base_name + '-mosaic-timedim-presentation-options').hide();
542 896: $('#' + base_name + '-timedim-format-select').val($('#' + base_name + '-timedim-format-select
543 896: $('#' + base_name + '-timedim-format-select').val($('#' + base_name + '-timedim-format-select option:first').val())
544 897: $('#' + base_name + '-timedim-format-select').prop("disabled", false);
545 910: $('#' + base_name + '-timedim').prop("checked", true);
546 911: $('#' + base_name + '-timedim').prop("disabled", true);
547 912: $('#' + base_name + '-mosaic-timedim-options').show();
548 913: $('#' + base_name + '-timedim-presentation').prop("checked", false);
549 914: $('#' + base_name + '-timedim-presentation').prop("disabled", true);
550 915: $('#' + base_name + '-mosaic-timedim-presentation-options').hide();
551 916: $('#' + base_name + '-timedim-format-select').val(this.time_regex);
552 917: $('#' + base_name + '-timedim-format-select').prop("disabled", true);
553 920: $('#' + base_name + '-timedim').prop("checked", false);
554 921: $('#' + base_name + '-timedim').prop("disabled", false);
555 922: $('#' + base_name + '-mosaic-timedim-options').hide();
556 923: $('#' + base_name + '-timedim-presentation').prop("checked", false);
557 924: $('#' + base_name + '-timedim-presentation').prop("disabled", false);
558 925: $('#' + base_name + '-mosaic-timedim-presentation-options').hide();
559 926: $('#' + base_name + '-timedim-format-select').val($('#' + base_name + '-timedim-format-select
560 926: $('#' + base_name + '-timedim-format-select').val($('#' + base_name + '-timedim-format-select option:first').val())
561 927: $('#' + base_name + '-timedim-format-select').prop("disabled", false);
562
563
564/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/common.js:
565 11: var template = _.template($('#progressTemplate').html());
566 55: var status = options.element || $('#upload-status'),
567
568
569/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/csv.js:
570 33: $('body').append(csv_template);
571 37: $('#next-spinner').removeClass('hide');
572 45: $('#next-spinner').addClass('hide');
573 52: $('#next-spinner').addClass('hide');
574 67: $('#next-spinner').addClass('hide');
575 81: $('#next-spinner').addClass('hide');
576 107: $('#next-spinner').addClass('hide');
577 120: $('#next-spinner').addClass('hide');
578 126: $('#next-spinner').addClass('hide');
579
580
581/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/srs.js:
582 34: $('#next-spinner').removeClass('hide');
583 42: $('#next-spinner').addClass('hide');
584 49: $('#next-spinner').addClass('hide');
585 64: $('#next-spinner').addClass('hide');
586 78: $('#next-spinner').addClass('hide');
587 100: $('#next-spinner').addClass('hide');
588 113: $('#next-spinner').addClass('hide');
589 119: $('#next-spinner').addClass('hide');
590
591
592/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/time.js:
593 33: $('input:radio').each(function(index) {
594 34: if($('input:radio')[index].id === 'notime' &&
595 35: $('input:radio')[index].checked) {
596 44: $('input[id="id_time_attribute"]').each(function(index) {
597 45: if($('input[id="id_time_attribute"]')[index].checked) {
598 46: selected_attribute = $('input[id="id_time_attribute"]')[index].value;
599 49: $('input[id="id_text_attribute"]').each(function(index) {
600 50: if($('input[id="id_text_attribute"]')[index].checked) {
601 51: selected_attribute = $('input[id="id_text_attribute"]')[index].value;
602 54: $('input[id="id_year_attribute"]').each(function(index) {
603 55: if($('input[id="id_year_attribute"]')[index].checked) {
604 56: selected_attribute = $('input[id="id_year_attribute"]')[index].value;
605 85: $('input[id="id_time_attribute"]').each(function(index) {
606 86: if($($('input[id="id_time_attribute"]')[index]).attr('type') == 'hidden' ||
607 87: $($('input[id="id_time_attribute"]')[index]).is(":hidden")) {
608 88: $($('input[id="id_time_attribute"]')[index]).show();
609 91: $('input[id="id_text_attribute"]').each(function(index) {
610 92: if($($('input[id="id_text_attribute"]')[index]).attr('type') == 'hidden' ||
611 93: $($('input[id="id_text_attribute"]')[index]).is(":hidden")) {
612 94: $($('input[id="id_text_attribute"]')[index]).show();
613 97: $('input[id="id_year_attribute"]').each(function(index) {
614 98: if($($('input[id="id_year_attribute"]')[index]).attr('type') == 'hidden' ||
615 99: $($('input[id="id_year_attribute"]')[index]).is(":hidden")) {
616 100: $($('input[id="id_year_attribute"]')[index]).show();
617 105: $('input[id="id_time_attribute"]').each(function(index) {
618 106: $($('input[id="id_time_attribute"]')[index]).hide();
619 108: $('input[id="id_text_attribute"]').each(function(index) {
620 109: $($('input[id="id_text_attribute"]')[index]).hide();
621 111: $('input[id="id_year_attribute"]').each(function(index) {
622 112: $($('input[id="id_year_attribute"]')[index]).hide();
623 117: $('#bootstrap-text-att-table').bootstrapTable('refresh');
624 118: $('#bootstrap-text-att-table').bootstrapTable('selectPage', 1);
625 123: $('#next-tooltip').text('Start Importer');
626 126: $('#next-tooltip').html('Temporal dimension cannot be set if there are <br>errors on data.<br><br>'
627 140: $('#next-spinner').addClass('hide');
628 147: $('#next-spinner').addClass('hide');
629 162: $('#next-spinner').addClass('hide');
630 176: $('#next-spinner').addClass('hide');
631 191: $('#next-spinner').removeClass('hide');
632 202: $('#next-spinner').addClass('hide');
633 215: $('#next-spinner').addClass('hide');
634 221: $('#next-spinner').addClass('hide');
635 247: $('#time-series-toggle-choice').on('change',function(ev) {
636 249: if($('#existing').val()) {
637 250: $('input:radio[id="existing"]').prop("checked", true);
638 251: $('#existing').trigger("click");
639 252: } else if($('#textattribute').val()) {
640 253: $('input:radio[id="textattribute"]').prop("checked", true);
641 254: $('#textattribute').trigger("click");
642 255: } else if($('#convertnumber').val()) {
643 256: $('input:radio[id="convertnumber"]').prop("checked", true);
644 257: $('#convertnumber').trigger("click");
645 260: $('input:radio[id="notime"]').prop("checked", true);
646 261: $('#notime').trigger("click");
647 265: $('input:radio').click(function(event){
648 269: if($('#existing') && !$('#existing')[0].checked) {
649 269: if($('#existing') && !$('#existing')[0].checked) {
650 270: $('#existing')[0].checked = true;
651 274: if($('#textattribute') && !$('#textattribute')[0].checked) {
652 274: if($('#textattribute') && !$('#textattribute')[0].checked) {
653 275: $('#textattribute')[0].checked = true;
654 279: if($('#convertnumber') && !$('#convertnumber')[0].checked) {
655 279: if($('#convertnumber') && !$('#convertnumber')[0].checked) {
656 280: $('#convertnumber')[0].checked = true;
657 287: $('input[id="id_time_attribute"]').each(function(index) {
658 288: if($('input[id="id_time_attribute"]')[index].checked) {
659 289: $('input[id="id_time_attribute"]')[index].checked = false;
660 292: $('input[id="id_text_attribute"]').each(function(index) {
661 293: if($('input[id="id_text_attribute"]')[index].checked) {
662 294: $('input[id="id_text_attribute"]')[index].checked = false;
663 297: $('input[id="id_year_attribute"]').each(function(index) {
664 298: if($('input[id="id_year_attribute"]')[index].checked) {
665 299: $('input[id="id_year_attribute"]')[index].checked = false;
666
667
668/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/upload/upload.js:
669 33: $('body').append(uploadTemplate);
670 35: templates.errorTemplate = _.template($('#errorTemplate').html());
671 37: templates.infoTemplate = _.template($('#infoTemplate').html());
672 45: $('#global-errors').append(templates.errorTemplate(options));
673 156: var is_granule = $('#' + base_name + '-mosaic').is(':checked');
674 158: var is_time_enabled = $('#' + base_name + '-timedim').is(':checked');
675 159: var is_time_valid = is_time_enabled && !$('#' + base_name + '-timedim-value-valid').is(':visible')
676 165: var is_adv_options_enabled = $('#' + base_name + '-timedim-presentation').is(':checked');
677 166: var default_value = $('#' + base_name + '-timedim-defaultvalue-format-select').val();
678 169: is_reference_value_valid = is_adv_options_enabled && !$('#' + base_name + '-timedim-defaultvalue-ref-value-valid').is('
679 205: if ($('#incomplete-download-list > div[id^=incomplete]').length == 0){
680 206: $('#incomplete-download-list').hide();
681 355: $('#file-uploader').get(0).reset();
682
683
684/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/utils/thumbnail.js:
685 2: // var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
686 2: // var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
687 2: // var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
688 3: var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
689 3: var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
690 3: var xmap = ($('.olMapViewport')[0] != undefined ? $('.olMapViewport') : $('#embedded_map'));
691 5: if ($('#preview_map')[0] != undefined) {
692 6: if ($('#preview_map').css('display') != 'none' &&
693 7: $('.olMapViewport')[0] != undefined) {
694 8: xmap = $('.olMapViewport');
695 10: xmap = $('#preview_image');
696 21: ($('.leaflet-tile-pane')[0] != undefined && e.attr("class") !== undefined &&
697 25: ($('.olMapViewport')[0] != undefined && e.attr("class") !== undefined &&
698
699
700/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/geonode/js/utils/utils.js:
701 4: // $('[rel=tooltip]').tooltip({placement:"left"});
702
703
704/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/metadata_base.html:
705 203: $('#set_thumbnail').click(function(){
706 210: $('#id_resource-regions').multiselect({
707 221: $('#id_resource-regions').treeMultiselect({
708 230: $('#id_resource-regions').fastselect({
709
710
711/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/metadata_form_js.html:
712 6: $('.modal-forms').css('max-height', '500px').css('overflow-y', 'scroll');
713 7: $('.modal-cloose-btn').css('margin','20px');
714 9: $('.modal-cloose-btn').click(function(){
715 10: $('.modal-forms').modal('hide');
716 13: $('#id_resource-poc').change(function(){
717 15: $('#poc_form').modal();
718 35: $('#btn_back_dwn').toggle(firstIndex !== tabIndex);
719 36: $('#btn_next_dwn').toggle(lastIndex !== tabIndex);
720 59: $('.metadata-edit-done').popover({
721 67: $('#profileCompleteness .progress-bar').html(parseFloat(((completeness)*100).toFixed(0)) + ' %').width(parseFloat(((completeness)*100).toFixed(2))
722 68: $('#profileCompleteness .completed').toggle(completeness === 1);
723 69: $('#profileCompleteness .not-completed').toggle(completeness !== 1);
724 70: var mandatoryMissing = $('#mandatory').find('.input-empty:not([id^=autocomlete])').length > 0;
725 71: var advancedMissing = $('#advanced').find('.input-empty').length > 0;
726 72: $('#completeness-hints .mandatory-hint')
727 77: $('#completeness-hints .advanced-hint')
728 84: if(completeness === 1 && $('.metadata-edit-done').css('opacity')+"" === "0" && !tooltipShown
729 87: $('.metadata-edit-done').popover('show');
730 89: $('.metadata-edit-done').popover('hide');
731 95: $('.metadata-edit-done').popover('hide');
732 98: $('.metadata-edit-done').animate(completeness === 1 ? {width: '100px', opacity: 1} : {width: 0,
733 145: $('.has-external-popover').each(function(){
734 152: $('.external-popover').each(function(){
735 168: src = $('#preview_image_src').attr('src');
736 174: $('#preview_image_src').attr('src', src + '?' + Math.random());
737 182: $('#preview_image_src').attr('src', e.target.result);
738 197: $('#completeness-hints .mandatory-hint').click(getTab.bind(null, 1));
739 198: $('#completeness-hints .advanced-hint').click(getTab.bind(null, 2));
740 242: idx = $('#id_resource-restriction_code_type')[0].selectedIndex;
741 243: value = $('#id_resource-restriction_code_type')[0].options[idx].text;
742 258: var ee = $('#id_resource-constraints_other')[0];
743 330: $('#category_form').change(onInputChange).change();
744 331: $('#id_resource-group').change(onInputChange).change();
745 332: $('#id_resource-regions').change(onInputChange).change();
746 333: $('#mandatory').find(":input:not(.value-select):not(.autocomplete)").each(function(){
747 337: $('#category_form').on('rendered.bs.select', function() {
748 338: $('.has-popover').popover({'trigger':'hover'});
749 348: $('#mdinfo').find(":input:not(.value-select):not(.autocomplete)").each(function(){
750 392: var to = $('#dataset tbody');
751 409: $('#btn_back_up').click(function(){getPrevTab()});
752 410: $('#btn_back_dwn').click(function(){getPrevTab()});
753 412: $('#btn_next_up').click(function(){getNextTab()});
754 413: $('#btn_next_dwn').click(function(){getNextTab()});
755 415: $('#btn_upd_md_up').click(function(){
756 419: (!is_advanced && $('#category_form').hasClass("input-empty")) ||
757 420: (is_advanced && !$('#category_form input:checked').val())
758 423: $('#category_mandatoryDialog').modal();
759 427: (!is_advanced && $('#id_resource-group').hasClass("input-empty")) ||
760 428: (is_advanced && !$('#id_resource-group').val())
761 431: $('#group_mandatoryDialog').modal();
762 433: $('#preview_pleaseWaitDialog').modal();
763 437: $('#btn_upd_md_dwn').click(function(){
764 441: (!is_advanced && $('#category_form').hasClass("input-empty")) ||
765 442: (is_advanced && !$('#category_form input:checked').val())
766 445: $('#category_mandatoryDialog').modal();
767 449: (!is_advanced && $('#id_resource-group').hasClass("input-empty")) ||
768 450: (is_advanced && !$('#id_resource-group').val())
769 453: $('#group_mandatoryDialog').modal();
770 455: $('#preview_pleaseWaitDialog').modal();
771 459: $('#btn_upd_md_done').click(function(){
772 463: (!is_advanced && $('#category_form').hasClass("input-empty")) ||
773 464: (is_advanced && !$('#category_form input:checked').val())
774 467: $('#category_mandatoryDialog').modal();
775 471: (!is_advanced && $('#id_resource-group').hasClass("input-empty")) ||
776 472: (is_advanced && !$('#id_resource-group').val())
777 475: $('#group_mandatoryDialog').modal();
778 477: $('#preview_pleaseWaitDialog').modal();
779 480: $('#metadata_update').submit();
780 484: $('#preview_tab').on('show.bs.tab', function(){
781 488: (!is_advanced && $('#category_form').hasClass("input-empty")) ||
782 489: (is_advanced && !$('#category_form input:checked').val())
783 492: $('#category_mandatoryDialog').modal();
784 496: (!is_advanced && $('#id_resource-group').hasClass("input-empty")) ||
785 497: (is_advanced && !$('#id_resource-group').val())
786 500: $('#group_mandatoryDialog').modal();
787 502: $('#preview_pleaseWaitDialog').modal();
788 504: $('#preview_encoder_iframe')[0].style.width='100%';
789 505: $('#preview_encoder_iframe')[0].style.height='4500px';
790 507: $('#metadata_update').submit();
791 510: $('#btn_back_dwn').hide();
792 511: $('#btn_next_dwn').hide();
793 512: $('#btn_upd_md_dwn').hide();
794 519: $('#settings_tab').on('show.bs.tab', function() {
795 521: $('#btn_back_dwn').hide();
796 522: $('#btn_next_dwn').hide();
797 523: $('#btn_upd_md_dwn').show();
798 526: $('#metadata_edit_tab').on('show.bs.tab', function() {
799 528: $('#btn_upd_md_dwn').show();
800 532: $('#metadata_update').submit(function(e) {
801 536: (!is_advanced && $('#category_form').hasClass("input-empty")) ||
802 537: (is_advanced && !$('#category_form input:checked').val())
803 540: $('#category_mandatoryDialog').modal();
804 544: (!is_advanced && $('#id_resource-group').hasClass("input-empty")) ||
805 545: (is_advanced && !$('#id_resource-group').val())
806 548: $('#group_mandatoryDialog').modal();
807 574: // $('.message').html(data.message);
808 577: $('#preview_encoder_iframe')[0].style.width='100%';
809 578: $('#preview_encoder_iframe')[0].style.height='100%';
810 579: $('#preview_encoder_iframe')[0].contentWindow.location.reload(true);
811 603: $('#preview_errorDialog').modal();
812 606: $('#preview_pleaseWaitDialog').modal('hide');
813 631: $('#id_resource-metadata_author').change(function(){
814 633: $('#metadata_form').modal();
815 639: $('#metadata_update :input').attr('readonly','readonly');
816 641: $('.has-popover').popover({'trigger':'hover'});
817 652: $('#id_resource-keywords').tokenfield({
818 676: // $('#id_resource-keywords').tokenfield('readonly');
819 677: /* $('div.token .close').click(function() {
820 684: $('#id_resource-keywords').tokenfield({
821 702: const select_button = $('<button id="id_freetext_keyword_select" class="btn btn-primary">Select<
822 703: const select_button_parent = $('#id_resource-keywords').parent().parent();
823 707: $('#id_freetext_keyword_select').click(function() {
824 708: $('#id_resource-keywords-tokenfield').blur().focus();
825 711: const resource_group = $('#id_resource-group');
826 727: $('#treeview').treeview({
827 738: var kws = $('#id_resource-keywords').tokenfield('getTokens');
828 747: $('#id_resource-keywords').tokenfield('createToken', $data.text);
829 749: // $('#treeview-toggle').click();
830 753: $('#treeview-toggle').click((e, value) => {
831 754: $('#treeview').toggle();
832
833
834/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/rating.html:
835 4: $('div.overall_rating').raty({
836
837
838/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/templates/request_download.html:
839 11: $('#status-message-text').text('Success!');
840 12: $('#status-message-text-body').text('Permission to download the resource requested to resource
841 13: $('#status-message').addClass('alert-success').removeClass('alert-danger');
842 14: $('#status-message').show();
843 17: $('#status-message-text').text('Error!');
844 18: $('#status-message-text-body').text('Permission to download the resource could not be requested
845 19: $('#status-message').addClass('alert-danger').removeClass('alert-success');
846 20: $('#status-message').show();
847
848
849/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-toggle.js:
850 55: var $toggleOn = $('<label class="btn">').html(this.options.on)
851 57: var $toggleOff = $('<label class="btn">').html(this.options.off)
852 59: var $toggleHandle = $('<span class="toggle-handle btn btn-default">')
853 61: var $toggleGroup = $('<div class="toggle-group">')
854 63: var $toggle = $('<div class="toggle btn" data-toggle="toggle">')
855 171: $('input[type=checkbox][data-toggle^=toggle]').bootstrapToggle()
856
857
858/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-tokenfield.js:
859 86: var hidingPosition = $('body').css('direction') === 'rtl' ? 'right' : 'left',
860 98: this.$wrapper = $('<div class="tokenfield form-control" />')
861 105: this.$input = $('<input type="text" class="token-input" autocomplete="off" />')
862 118: this.$copyHelper = $('<input type="text" />').css('position', 'absolute').css(hidingPosition, '-10000px').prop('tabindex',
863 143: this.$mirror = $('<span style="position:absolute; top:-999px; left:0; white-space:pre;"/>');
864 233: var $token = $('<div class="token" />')
865
866
867/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap-treeview.js:
868 243: $('#' + this._styleId).remove();
869 1087: $('<style type="text/css" id="' + this._styleId + '"> ' + this._buildStyle() + ' </style>').appendTo('head')
870 1172: tree: $('<ul class="list-group"></ul>'),
871 1173: node: $('<li class="list-group-item"></li>'),
872 1174: indent: $('<span class="indent"></span>'),
873 1176: node: $('<span class="icon node-icon"></span>'),
874 1177: expand: $('<span class="icon expand-icon"></span>'),
875 1178: check: $('<span class="icon check-icon"></span>'),
876 1179: empty: $('<span class="icon"></span>')
877 1181: image: $('<span class="image"></span>'),
878 1182: badge: $('<span></span>'),
879 1183: text: $('<span class="text"></span>')
880
881
882/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/bootstrap.js:
883 540: $('[data-ride="carousel"]').each(function () {
884 567: this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
885 2081: $('[data-spy="scroll"]').each(function () {
886 2395: $('[data-spy="affix"]').each(function () {
887
888
889/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/carousel.js:
890 240: $('[data-ride="carousel"]').each(function () {
891
892
893/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/collapse.js:
894 20: this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
895
896
897/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/fastselect.standalone.js:
898 171: var $allResults = $('<div>'),
899 226: var $group = $('<div class="' + options.groupClass + '">').appendTo($cont);
900 251: $tag = $('<' + (url ? 'a' : 'span') + '>').html(html).addClass(options.itemClass);
901 273: this.$resultsCont = this.$resultsCont || $('<div>').addClass(this.options.resultsContClass).appendTo(this.$el)
902 423: this.$inputId = $('<input type="hidden" name="' + inputIdName + '" />').appendTo(this.$el)
903 616: this.$el = $('<div>').addClass(this.options.elementClass);
904 635: this.$controls = $('<div>').addClass(this.options.controlsClass);
905 636: this.$toggleBtn = $('<div>').addClass(this.options.toggleButtonClass).text(toggleBtnText).appendTo(this.$el)
906 637: this.$queryInput = $('<input>').attr('placeholder', this.options.searchPlaceholder).addClass(this.options.queryInputClass).appendTo(this.$controls)
907 650: this.$controls = $('<div>').addClass(options.controlsClass);
908 651: this.$queryInput = $('<input>').addClass(options.queryInputClass).appendTo(this.$controls)
909 707: $('<div>').html(optionModel.text).text() +
910 894: this.$fakeInput = this.$fakeInput || $('<span>').addClass(this.options.fakeInputClass);
911
912
913/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/jquery.dataTables.js:
914 81: * $('#example').dataTable();
915 88: * $('#example').dataTable( {
916 115: * var oTable = $('#example').dataTable();
917 118: * oTable.$('tr:odd').css('backgroundColor', 'blue');
918 123: * var oTable = $('#example').dataTable();
919 128: * oTable.$('tr', {"search": "applied"}).css('backgroundColor', 'blue');
920 165: * var oTable = $('#example').dataTable();
921 176: * var oTable = $('#example').dataTable();
922 235: * $('#example').dataTable();
923 239: * $('#example').dataTable().fnAddData( [
924 277: * var oTable = $('#example').dataTable( {
925 311: * var oTable = $('#example').dataTable();
926 340: * $('#example tbody tr').click( function () {
927 348: * oTable = $('#example').dataTable();
928 369: * var oTable = $('#example').dataTable();
929 406: * var oTable = $('#example').dataTable();
930 424: * var oTable = $('#example').dataTable();
931 451: * var oTable = $('#example').dataTable();
932 490: * oTable = $('#example').dataTable();
933 492: * oTable.$('tr').click( function () {
934 501: * oTable = $('#example').dataTable();
935 503: * oTable.$('td').click( function () {
936 537: * var oTable = $('#example').dataTable();
937 565: * $('#example tbody td').click( function () {
938 578: * oTable = $('#example').dataTable();
939 614: * $('#example tbody tr').click( function () {
940 622: * oTable = $('#example').dataTable();
941 650: * $('#example tbody tr').click( function () {
942 658: * oTable = $('#example').dataTable();
943 683: * var oTable = $('#example').dataTable();
944 707: * var oTable = $('#example').dataTable();
945 732: * var oTable = $('#example').dataTable();
946 754: * var oTable = $('#example').dataTable();
947 776: * var oTable = $('#example').dataTable();
948 805: * var oTable = $('#example').dataTable();
949 807: * oTable.fnUpdate( ['a', 'b', 'c', 'd', 'e'], $('tbody tr')[0] ); // Row
950 845: * var oTable = $('#example').dataTable();
951 1118: $('tbody tr', this).removeClass( stripeClasses.join(' ') );
952 1245: thead = $('<thead/>').appendTo($this);
953 1251: tbody = $('<tbody/>').appendTo($this);
954 1259: tfoot = $('<tfoot/>').appendTo($this);
955 1865: var n = $('<div/>')
956 1875: $('<div/>')
957 1884: $('<div/>')
958 3203: var createHeader = $('th, td', thead).length === 0;
959 3208: row = $('<tr/>').appendTo( thead );
960 3487: .append( $('<td />', {
961 3565: var holding = $('<div/>').insertBefore( table ); // Holding element for speed
962 3569: var insert = $('<div/>', {
963 3589: nNewNode = $('<div/>')[0];
964 4188: var filter = $('<div/>', {
965 4192: .append( $('<label/>' ).append( str ) );
966 4220: var jqFilter = $('input', filter)
967 4478: var __filter_div = $('<div>')[0];
968 4595: n = $('<div/>', {
969 4816: var select = $('<select/>', {
970 4831: var div = $('<div><label/></div>').addClass( classes.sLength );
971 4842: $('select', div)
972 4852: $('select', div).val( len );
973 4881: node = $('<div/>').addClass( settings.oClasses.sPaging + type )[0],
974 5008: return $('<div/>', {
975 5529: headerCells = $('th', oSettings.nTHead),
976 5582: var tr = $('<tr/>').appendTo( tmpTable.find('tbody') );
977 5609: $( headerCells[i] ).append( $('<div/>').css( {
978 5634: $('[name]', tmpTable).removeAttr('name');
979 5641: var holder = $('<div/>').css( scrollX || scrollY ?
980 5762: var n = $('<div/>')
981 5789: $('<td/>').html( _fnGetCellData( settings, idx, colIdx, 'display' ) )[0] :
982 6873: * var api = $('#example').DataTable();
983 6877: * var api = $('#example').dataTable().api();
984 8213: var created = $('<tr><td/></tr>').addClass( k );
985 8214: $('td', created)
986 9176: * $('#example').dataTable();
987 9189: var head = o.nScrollHead ? $('table', o.nScrollHead)[0] : null;
988 9190: var foot = o.nScrollFoot ? $('table', o.nScrollFoot)[0] : null;
989 9365: $('th, td', thead).removeClass( classes.sSortable+' '+
990 9913: * $('#example').dataTable( {
991 9931: * $('#example').dataTable( {
992 9976: * $('#example').dataTable( {
993 9983: * $('#example').dataTable( {
994 10006: * $('#example').dataTable( {
995 10095: * $('#example').dataTable( {
996 10102: * $('#example').dataTable( {
997 10112: * $('#example').dataTable( {
998 10123: * $('#example').dataTable( {
999 10137: * $('#example').dataTable( {
1000 10142: * "extra_search": $('#extra').val()
1001 10150: * $('#example').dataTable( {
1002 10160: * $('#example').dataTable( {
1003 10189: * $('#example').dataTable( {
1004 10247: * $('#example').dataTable( {
1005 10273: * $('#example').dataTable( {
1006 10293: * $('#example').dataTable( {
1007 10315: * $('#example').dataTable( {
1008 10337: * $('#example').dataTable( {
1009 10343: * $('#example').dataTable( {
1010 10368: * $('#example').dataTable( {
1011 10388: * $('#example').dataTable( {
1012 10407: * $('#example').dataTable( {
1013 10425: * $('#example').dataTable( {
1014 10446: * $('#example').dataTable( {
1015 10476: * return $('#example').dataTable( {
1016 10507: * $('#example').dataTable( {
1017 10529: * $('#example').dataTable( {
1018 10549: * $('#example').dataTable( {
1019 10569: * $('#example').dataTable( {
1020 10589: * $('#example').dataTable( {
1021 10611: * $('#example').dataTable( {
1022 10636: * $('#example').dataTable( {
1023 10658: * $('#example').dataTable( {
1024 10663: * $('td:eq(4)', row).html( '<b>A</b>' );
1025 10683: * $('#example').dataTable( {
1026 10711: * $('#example').dataTable( {
1027 10739: * $('#example').dataTable( {
1028 10775: * $('#example').dataTable( {
1029 10806: * $('#example').dataTable( {
1030 10830: * $('#example').dataTable( {
1031 10854: * $('#example').dataTable( {
1032 10856: * if ( $('#test').val() == 1 ) {
1033 10882: * $('#example').dataTable( {
1034 10886: * $('td:eq(4)', row).html( '<b>A</b>' );
1035 10964: * $('#example').dataTable( {
1036 11005: * $('#example').dataTable( {
1037 11016: * $('#example').dataTable( {
1038 11040: * $('#example').dataTable( {
1039 11065: * $('#example').dataTable( {
1040 11106: * $('#example').dataTable( {
1041 11129: * $('#example').dataTable( {
1042 11158: * $('#example').dataTable( {
1043 11168: * $('#example').dataTable( {
1044 11193: * $('#example').dataTable( {
1045 11214: * $('#example').dataTable( {
1046 11237: * $('#example').dataTable( {
1047 11284: * $('#example').dataTable( {
1048 11307: * $('#example').dataTable( {
1049 11337: * $('#example').dataTable( {
1050 11360: * $('#example').dataTable( {
1051 11383: * $('#example').dataTable( {
1052 11406: * $('#example').dataTable( {
1053 11431: * $('#example').dataTable( {
1054 11463: * $('#example').dataTable( {
1055 11484: * $('#example').dataTable( {
1056 11506: * $('#example').dataTable( {
1057 11529: * $('#example').dataTable( {
1058 11559: * $('#example').dataTable( {
1059 11583: * $('#example').dataTable( {
1060 11607: * $('#example').dataTable( {
1061 11617: * $('#example').dataTable( {
1062 11648: * $('#example').dataTable( {
1063 11669: * $('#example').dataTable( {
1064 11694: * $('#example').dataTable( {
1065 11704: * $('#example').dataTable( {
1066 11740: * $('#example').dataTable( {
1067 11762: * $('#example').dataTable( {
1068 11789: * $('#example').dataTable( {
1069 11883: * $('#example').dataTable( {
1070 11903: * $('#example').dataTable( {
1071 11931: * $('#example').dataTable( {
1072 11955: * $('#example').dataTable( {
1073 11979: * $('#example').dataTable( {
1074 12003: * $('#example').dataTable( {
1075 12088: * $('#example').dataTable( {
1076 12100: * $('#example').dataTable( {
1077 12128: * $('#example').dataTable( {
1078 12140: * $('#example').dataTable( {
1079 12165: * $('#example').dataTable( {
1080 12174: * $('#example').dataTable( {
1081 12198: * $('#example').dataTable( {
1082 12207: * $('#example').dataTable( {
1083 12231: * $('#example').dataTable( {
1084 12240: * $('#example').dataTable( {
1085 12270: * $('#example').dataTable( {
1086 12373: * $('#example').dataTable( {
1087 12399: * $('#example').dataTable( {
1088 12415: * $('#example').dataTable( {
1089 12442: * $('#example').dataTable( {
1090 12454: * $('#example').dataTable( {
1091 12525: * $('#example').dataTable( {
1092 12541: * $('#example').dataTable( {
1093 12558: * $('#example').dataTable( {
1094 12574: * $('#example').dataTable( {
1095 12601: * $('#example').dataTable( {
1096 12623: * $('#example').dataTable( {
1097 12633: * $('#example').dataTable( {
1098 12665: * $('#example').dataTable( {
1099 12693: * $('#example').dataTable( {
1100 12707: * $('#example').dataTable( {
1101 12739: * $('#example').dataTable( {
1102 12753: * $('#example').dataTable( {
1103 12781: * $('#example').dataTable( {
1104 12794: * $('#example').dataTable( {
1105 12821: * $('#example').dataTable( {
1106 12831: * $('#example').dataTable( {
1107 12862: * $('#example').dataTable( {
1108 12872: * $('#example').dataTable( {
1109 12900: * $('#example').dataTable( {
1110 12910: * $('#example').dataTable( {
1111 14157: * return $('input', td).val();
1112 14584: node = $('<a>', {
1113 14858: $('<div/>')
1114 14861: .append( $('<span/>')
1115 15243: * $('#table').dataTable().on('xhr.dt', function (e, settings, json) {
1116 15244: * $('#status').html( json.status );
1117 15249: * $('#table').dataTable().on('xhr.dt', function (e, settings, json) {
1118
1119
1120/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/jquery.raty.js:
1121 287: return $('<input />', { name: this.opt.scoreName, type: 'hidden' }).appendTo(this);
1122 293: cancel = $('<' + this.opt.starType + ' />', { title: this.opt.cancelHint, 'class': this.opt.cancelClass
1123 329: $('<' + this.opt.starType + ' />', attrs).appendTo(this);
1124
1125
1126/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/scrollspy.js:
1127 166: $('[data-spy="scroll"]').each(function () {
1128
1129
1130/Users/ts/Dropbox (Privat)/code/github/geonode/geonode/static/lib/js/select2.full.js:
1131 1070: var $childrenContainer = $('<ul></ul>', {
1132 1525: var $all = $('.select2.select2-container--open');
1133 1641: return $('<span></span>');
1134 4307: var $container = $('<span></span>');
1135 6370: $parent = $('body');