corrade-nucleus-nucleons – Diff between revs 38 and 39
?pathlinks?
Rev 38 | Rev 39 | |||
---|---|---|---|---|
Line 88... | Line 88... | |||
88 | </div> |
88 | </div> |
|
89 | </div> |
89 | </div> |
|
90 | </div> |
90 | </div> |
|
Line 91... | Line 91... | |||
91 | |
91 | |
|
92 | <!-- Main nucleon panel. --> |
92 | <!-- Main nucleon panel. --> |
|
93 | <div class="panel panel-default window-manager-window"> |
93 | <div class="panel panel-default window-manager-window" data-target="pack-rat"> |
|
94 | <div class="panel-heading"> |
94 | <div class="panel-heading"> |
|
95 | Pack-Rat |
95 | Pack-Rat |
|
96 | <button type="button" class="close window-manager-close-button" data-target="pack-rat"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
96 | <button type="button" class="close window-manager-close-button" data-target="pack-rat"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
|
97 | </div> |
97 | </div> |
|
Line 191... | Line 191... | |||
191 | $.extend(items, { |
191 | $.extend(items, { |
|
192 | downloadItem: { |
192 | downloadItem: { |
|
193 | label: "Download", |
193 | label: "Download", |
|
194 | "action": function(obj) { |
194 | "action": function(obj) { |
|
195 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
195 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
|
196 | .attr('src', '/pack-rat/img/loader.svg') |
196 | .attr('src', '/img/loader.gif') |
|
197 | .appendTo('#pack-rat-item-download-content'); |
197 | .appendTo('#pack-rat-item-download-content'); |
|
198 | $('#pack-rat-item-download-modal') |
198 | $('#pack-rat-item-download-modal') |
|
199 | .modal('show') |
199 | .modal('show') |
|
200 | .on('hidden.bs.modal', function (e) { |
200 | .on('hidden.bs.modal', function (e) { |
|
201 | $('#pack-rat-item-download-content') |
201 | $('#pack-rat-item-download-content') |
|
Line 226... | Line 226... | |||
226 | $.extend(items, { |
226 | $.extend(items, { |
|
227 | downloadItem: { |
227 | downloadItem: { |
|
228 | label: "Download", |
228 | label: "Download", |
|
229 | "action": function(obj) { |
229 | "action": function(obj) { |
|
230 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
230 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
|
231 | .attr('src', '/pack-rat/img/loader.svg') |
231 | .attr('src', '/img/loader.gif') |
|
232 | .appendTo('#pack-rat-item-download-content'); |
232 | .appendTo('#pack-rat-item-download-content'); |
|
233 | $('#pack-rat-item-download-modal') |
233 | $('#pack-rat-item-download-modal') |
|
234 | .modal('show') |
234 | .modal('show') |
|
235 | .on('hidden.bs.modal', function (e) { |
235 | .on('hidden.bs.modal', function (e) { |
|
236 | $('#pack-rat-item-download-content') |
236 | $('#pack-rat-item-download-content') |
|
Line 268... | Line 268... | |||
268 | $.extend(items, { |
268 | $.extend(items, { |
|
269 | downloadItem: { |
269 | downloadItem: { |
|
270 | label: "Download", |
270 | label: "Download", |
|
271 | "action": function(obj) { |
271 | "action": function(obj) { |
|
272 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
272 | $("<img id='pack-rat-item-download-texture' width='100%' height='100%'>") |
|
273 | .attr('src', '/pack-rat/img/loader.svg') |
273 | .attr('src', '/img/loader.gif') |
|
274 | .appendTo('#pack-rat-item-download-content'); |
274 | .appendTo('#pack-rat-item-download-content'); |
|
275 | $('#pack-rat-item-download-modal') |
275 | $('#pack-rat-item-download-modal') |
|
276 | .modal('show') |
276 | .modal('show') |
|
277 | .on('hidden.bs.modal', function (e) { |
277 | .on('hidden.bs.modal', function (e) { |
|
278 | $('#pack-rat-item-download-content') |
278 | $('#pack-rat-item-download-content') |