burp_cms 1.3.28 → 1.3.29
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001be3b750841a64a69f32f5576b9849ac889175
|
4
|
+
data.tar.gz: 33d0a38d18eb883904237df832631ab510e023eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5006101a566317332b649e2e4175091b6706ec40ec68cf8ea0d3e4fcc1d28dd77eb93df082ebaa864fc6ad679f2c51d863384c27a3071aee8153c52fd404532
|
7
|
+
data.tar.gz: ae1fdeb230be0bc3394bacd2ce38149dc3de7f6cb817775b38f0a4a01e7712386f7f3a4ae6515c808e893c19ac6ddec6f33ab65dde46077d3e41e8b34264006e
|
@@ -16,6 +16,13 @@
|
|
16
16
|
//= require ./burp
|
17
17
|
//= require_tree .
|
18
18
|
|
19
|
+
<%
|
20
|
+
begin
|
21
|
+
require_asset("customize-burp.js")
|
22
|
+
rescue => e
|
23
|
+
end
|
24
|
+
%>
|
25
|
+
|
19
26
|
$(function() {
|
20
27
|
var csrf_token = $('meta[name=csrf-token]').attr('content');
|
21
28
|
$.ajaxSetup({ headers: { "X-CSRF-Token": csrf_token } });
|
@@ -21,6 +21,12 @@ $(function($) {
|
|
21
21
|
function setBodyPadding() {
|
22
22
|
var height = $.adminDock.visible() ? dockElement.height() : 0;
|
23
23
|
$('body').css('padding-bottom', (originalBodyPadding + height) + 'px');
|
24
|
+
|
25
|
+
if($.adminDock.visible()) {
|
26
|
+
$('html').addClass("burp-editor-showing");
|
27
|
+
} else {
|
28
|
+
$('html').removeClass("burp-editor-showing");
|
29
|
+
}
|
24
30
|
}
|
25
31
|
|
26
32
|
var activeModuleButton = null;
|
@@ -133,7 +139,7 @@ $(function($) {
|
|
133
139
|
var element = $('<li class="toolbar-selector"><a href="javascript: void 0;"></a></li>');
|
134
140
|
var button = element.find('a');
|
135
141
|
|
136
|
-
button.css('width',
|
142
|
+
button.css('width', String() + width + 'px');
|
137
143
|
button.append("<i class='icon-sort'></i>");
|
138
144
|
button.append("<label>" + options['default'] + "</label>");
|
139
145
|
button.click(function(event) {
|
@@ -12,6 +12,18 @@
|
|
12
12
|
*= require_tree .
|
13
13
|
*/
|
14
14
|
|
15
|
+
<%
|
16
|
+
begin
|
17
|
+
require_asset("customize-burp")
|
18
|
+
rescue => e
|
19
|
+
end
|
20
|
+
|
21
|
+
begin
|
22
|
+
require_asset("customize-burp.less")
|
23
|
+
rescue => e
|
24
|
+
end
|
25
|
+
%>
|
26
|
+
|
15
27
|
.nav-collapse.collapse {
|
16
28
|
height: auto !important;
|
17
29
|
overflow: visible !important;
|
data/lib/burp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: burp_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darwin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -255,7 +255,7 @@ files:
|
|
255
255
|
- app/assets/images/burp/remove-page-from-menu-2.png
|
256
256
|
- app/assets/images/burp/remove-page-from-menu-3.png
|
257
257
|
- app/assets/images/burp/remove-page-from-menu-4.png
|
258
|
-
- app/assets/javascripts/burp/application.js
|
258
|
+
- app/assets/javascripts/burp/application.js.erb
|
259
259
|
- app/assets/javascripts/burp/burp.js
|
260
260
|
- app/assets/javascripts/burp/cms_helper.js
|
261
261
|
- app/assets/javascripts/burp/edit-links.js
|
@@ -342,7 +342,7 @@ files:
|
|
342
342
|
- app/assets/packages/gritter/index.html
|
343
343
|
- app/assets/packages/gritter/js/jquery.gritter.js
|
344
344
|
- app/assets/packages/gritter/js/jquery.gritter.min.js
|
345
|
-
- app/assets/stylesheets/burp/application.less
|
345
|
+
- app/assets/stylesheets/burp/application.less.erb
|
346
346
|
- app/assets/stylesheets/burp/bootstrap.less
|
347
347
|
- app/assets/stylesheets/burp/docs.less
|
348
348
|
- app/assets/stylesheets/burp/fileupload.less
|