burp_cms 1.5.12 → 1.5.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTI0YjhmNjA2NjU0MDZhMmFjYjViNTRjMzk2OWQ5ZmY3N2NmMjdjZg==
4
+ ZTQ2ZTE4YTk2YWVkMDc2MmRmODIxMzAyNDlkNWQ2ZWY2YjNkMTY5Mg==
5
5
  data.tar.gz: !binary |-
6
- ODIyM2UwNzNlYmFhOTlhYjRlZTQ4YzJmNWNjNTc2OTk0Mjk0NzI2OQ==
6
+ ZGY5MGNmYTMxYjVjNDljMGYwOTE5NzYwNjliZmRmMDU4NzJjM2ExMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzQ0OGVjNjI1NDY5NTcyNTJhMGU3ZTdhNzA2NTQyYzRiNGRhMzg1ZmY1YWVh
10
- YzlkMDRjMTZjYmI1ZDlkYzk0ZDJmZjU5YmU2NWJiNjA2ODZkNDM0ZDYxOWY3
11
- ODE5YmJkOWQwM2RkNzllZDM4ZGUxYWE3YTcxMDZlYWQ5NzUzYTM=
9
+ OWYxZTU1NmFkYjBkYzZmNzA4Njg0MzdjNzUxMDJjZjNiOGFhYWQxYjNlYzZj
10
+ OTRhODhmOGUwZmJmMmM5MmY2MmI3ODBmNTM5ZDE0NTIyM2NkOWI4ZGIzYWI2
11
+ ZDk3YmRiZDQxNDc5Y2RhOWY2N2U1ZDkxYTg3Yjg5Zjk0Mjc0MWE=
12
12
  data.tar.gz: !binary |-
13
- NDYxMTlhZDhlYmEzNjY3NGQzZjgzYTkwZmZhOTFhNTYxOGNjYjA4NjQxYzQz
14
- NjVkMGFjY2MxMmEyMDFjMTkxMjZhYTFiZmZlYTkzOWUzNDcwZmEwYjlmZTRh
15
- ODgxMDk1MDBmN2M0NTgyNzZmMjhmNzk2ZTBhNzAzNjZlMDg2NTA=
13
+ OWE5Y2I2MmE2MTdmZWRkMDRlNzgyYTI5NWVjNzI2OGYyNTdjZmM1NmE0ZjI1
14
+ MGU3ZmIxNmI4MzllYTI1YWY2NzIzYzUwODNlZmUwZmU0ODQ3NmZkMzlhNjcz
15
+ MDBkY2UwNjBiOWY5N2Y5Mzg5Mzc3NTU0MmVmZWVlNzZmYjNlOGE=
@@ -9,18 +9,6 @@ module Burp
9
9
  @menu = Menu.find(params[:id])
10
10
  @menu.update_id("")
11
11
 
12
- all_items = @menu.all_children
13
-
14
- @pages_not_in_menu = Group.new("pages not in menu")
15
-
16
- PageModel.all_paths.each do |path|
17
- path2 = path == "/" ? path : path + "/"
18
- if(all_items.select{|item| item.is_a?(Link) && (item.url == path || item.url == path2)}.length == 0)
19
- page = PageModel.find(path)
20
- @pages_not_in_menu.children << Link.new(page.title => page.path)
21
- end
22
- end
23
-
24
12
  render :layout => false if params[:no_layout]
25
13
  end
26
14
 
@@ -5,7 +5,7 @@
5
5
  <fieldset>
6
6
  <legend>Link</legend>
7
7
  <%= f.text_field :name %>
8
- <%= f.text_field :url %>
8
+ <%= f.text_field :url, :label => "URL" %>
9
9
  </fieldset>
10
10
 
11
11
 
@@ -16,10 +16,6 @@
16
16
 
17
17
  <h4>Add a group or link</h4>
18
18
  <p>Click on "New link" or "New group" bellow the menu to add a new <strong style="color: green;">link</strong> or <strong style="color: orange;">group</strong>.</p>
19
-
20
- <h4>Quikly add a cms page</h4>
21
- <p>Drag and drop a <strong style="color: green;">link</strong> from the <strong>"Pages not in the above menu"</strong> list.<p>
22
- <p>NOTE! <strong>"Pages not in the above menu"</strong> is a generated list of pages, any <strong style="color: green;">links</strong> or <strong style="color: orange;">groups</strong> draged to it will be removed from the menu and lost when this page is reloaded.</p>
23
19
  </div>
24
20
 
25
21
  <h1><%= @menu.name.capitalize %></h1>
@@ -31,15 +27,6 @@
31
27
  <%= link_to "» New link", new_menu_link_path(@menu), :class => 'new-link-link' %><br>
32
28
  <%= link_to "» New group", new_menu_group_path(@menu), :class => 'new-group-link' %>
33
29
 
34
- <hr>
35
- <h3>Pages not in the above menu</h3>
36
- <span class="dnd-editable-menu not-editable">
37
- <%= @pages_not_in_menu.to_html %>
38
- </span>
39
-
40
-
41
-
42
-
43
30
  <div class="modal hide fade">
44
31
  <div class="modal-header">
45
32
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
data/lib/burp/engine.rb CHANGED
@@ -4,6 +4,7 @@ module Burp
4
4
  # These require are need so that jquery and jquery-ui are included into the asset pipeline.
5
5
  require 'jquery-rails'
6
6
  require 'jquery-ui-rails'
7
+ require 'jquery-migrate-rails'
7
8
 
8
9
  isolate_namespace Burp
9
10
 
data/lib/burp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Burp
2
- VERSION = "1.5.12"
3
- end
2
+ VERSION = "1.5.13"
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.5.12
4
+ version: 1.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darwin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-09 00:00:00.000000000 Z
11
+ date: 2014-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails