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: 31599760bf773b202d9e50a501ca6c538d0b9004
4
- data.tar.gz: 8ca7fe77ffaddf14f113eb0a887140b4996a143b
3
+ metadata.gz: 001be3b750841a64a69f32f5576b9849ac889175
4
+ data.tar.gz: 33d0a38d18eb883904237df832631ab510e023eb
5
5
  SHA512:
6
- metadata.gz: 498a92d94b46a494b0f3a13fc53ea7aac510d4fccc3c9a155dd2d8d7817a9eba2493816cddf362c71d00c35e8ac5a260092c6ee557a2ab6469b1ac122c095d44
7
- data.tar.gz: 0c4c18d1b040946cae3800e45631f0efd0cb1164fe7dbea527ef45db6cfdb5532d0bda213a3df0c9cca59a028ea187904e55d48b3810b9f24d6302aa5ce5abb6
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', '' + width + 'px');
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
@@ -1,3 +1,3 @@
1
1
  module Burp
2
- VERSION = "1.3.28"
2
+ VERSION = "1.3.29"
3
3
  end
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.28
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-10-25 00:00:00.000000000 Z
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