burp_cms 1.5.12 → 1.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/controllers/burp/menus_controller.rb +0 -12
- data/app/views/burp/links/edit.html.erb +1 -1
- data/app/views/burp/menus/edit.html.erb +0 -13
- data/lib/burp/engine.rb +1 -0
- data/lib/burp/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTQ2ZTE4YTk2YWVkMDc2MmRmODIxMzAyNDlkNWQ2ZWY2YjNkMTY5Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGY5MGNmYTMxYjVjNDljMGYwOTE5NzYwNjliZmRmMDU4NzJjM2ExMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWYxZTU1NmFkYjBkYzZmNzA4Njg0MzdjNzUxMDJjZjNiOGFhYWQxYjNlYzZj
|
10
|
+
OTRhODhmOGUwZmJmMmM5MmY2MmI3ODBmNTM5ZDE0NTIyM2NkOWI4ZGIzYWI2
|
11
|
+
ZDk3YmRiZDQxNDc5Y2RhOWY2N2U1ZDkxYTg3Yjg5Zjk0Mjc0MWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
|
@@ -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">×</button>
|
data/lib/burp/engine.rb
CHANGED
data/lib/burp/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Burp
|
2
|
-
VERSION = "1.5.
|
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.
|
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-
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|