phccodesnipper 1.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/app/controllers/phccodesnipper/application_controller.rb +17 -17
- data/app/controllers/phccodesnipper/script/snippets_controller.rb +11 -10
- data/app/controllers/phccodesnipper/script/urls_controller.rb +3 -3
- data/app/models/phccodesnipper/script/snippet.rb +23 -1
- data/app/models/phccodesnipper/script/url.rb +8 -0
- data/app/views/layouts/phccodesnipper/application.html.erb +6 -5
- data/app/views/layouts/phccodesnipper/components/backend/footer/_footer.html.erb +5 -5
- data/app/views/layouts/phccodesnipper/components/backend/sidebars/_side_menu.html.erb +43 -26
- data/app/views/phccodesnipper/script/snippets/_form.html.erb +20 -17
- data/app/views/phccodesnipper/script/snippets/edit.html.erb +17 -21
- data/app/views/phccodesnipper/script/snippets/index.html.erb +14 -21
- data/app/views/phccodesnipper/script/snippets/new.html.erb +18 -22
- data/app/views/phccodesnipper/script/snippets/show.html.erb +4 -16
- data/app/views/phccodesnipper/script/urls/_form.html.erb +14 -10
- data/app/views/phccodesnipper/script/urls/edit.html.erb +10 -6
- data/app/views/phccodesnipper/script/urls/index.html.erb +21 -29
- data/app/views/phccodesnipper/script/urls/new.html.erb +11 -7
- data/app/views/phccodesnipper/script/urls/show.html.erb +4 -16
- data/config/initializers/friendly_id.rb +107 -0
- data/config/routes.rb +4 -4
- data/db/migrate/20190508091330_create_phccodesnipper_script_snippets.rb +1 -1
- data/db/migrate/20190513040626_create_friendly_id_slugs.rb +21 -0
- data/lib/phccodesnipper/engine.rb +16 -15
- data/lib/phccodesnipper/version.rb +1 -1
- data/lib/phccodesnipper.rb +0 -1
- metadata +68 -75
- data/app/assets/javascripts/phccodesnipper/script/snippets.coffee +0 -3
- data/app/assets/stylesheets/phccodesnipper/script/snippets.scss +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -65
@@ -18,26 +18,22 @@
|
|
18
18
|
|
19
19
|
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
</div>
|
39
|
-
<!-- Panel Body -->
|
40
|
-
|
21
|
+
<!-- Panel Heading -->
|
22
|
+
<div class="panel-heading">
|
23
|
+
<div class="panel-heading-btn">
|
24
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
25
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
26
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
27
|
+
</div>
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel Heading -->
|
31
|
+
<!-- Panel Body -->
|
32
|
+
<div class="panel-body">
|
33
|
+
<!-- Form to Edit Script Snippet -->
|
34
|
+
<%= render 'form', script_snippet: @script_snippet %>
|
35
|
+
<!-- Form to Edit Script Snippet -->
|
36
|
+
</div>
|
37
|
+
<!-- Panel Body -->
|
41
38
|
</div>
|
42
39
|
<!-- Page & Panel Content -->
|
43
|
-
|
@@ -18,7 +18,6 @@
|
|
18
18
|
|
19
19
|
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
21
|
<!-- Panel Heading -->
|
23
22
|
<div class="panel-heading">
|
24
23
|
<div class="panel-heading-btn">
|
@@ -29,47 +28,41 @@
|
|
29
28
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
30
29
|
</div>
|
31
30
|
<!-- Panel Heading -->
|
32
|
-
|
33
31
|
<!-- Panel Body -->
|
34
32
|
<div class="panel-body">
|
35
|
-
|
36
33
|
<!-- Table - Snippet Index -->
|
37
34
|
<div class="table-responsive">
|
38
35
|
<table class="table table-striped table-bordered">
|
39
|
-
|
40
36
|
<thead>
|
41
37
|
<tr>
|
42
|
-
<th>Snippet
|
38
|
+
<th>Snippet Title</th>
|
43
39
|
<th>Snippet Summary</th>
|
44
|
-
<th
|
40
|
+
<th></th>
|
45
41
|
</tr>
|
46
42
|
</thead>
|
47
43
|
<tbody>
|
48
44
|
<% @script_snippets.each do |script_snippet| %>
|
49
45
|
<tr>
|
50
|
-
<td><%= script_snippet.
|
46
|
+
<td><%= script_snippet.snippet_title %></td>
|
51
47
|
<td><%= truncate(script_snippet.snippet_code, :length => 80) %></td>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
48
|
+
<td>
|
49
|
+
<div class="btn-group d-flex" role="group">
|
50
|
+
<%= link_to 'Details', script_snippet, class: "btn btn-purple btn-xs" %>
|
51
|
+
<%= link_to 'Update', edit_script_snippet_path(script_snippet), class: "btn btn-primary btn-xs" %>
|
52
|
+
<%= link_to 'Remmove', script_snippet, method: :delete, data: { confirm: 'Are you sure? This will aslo delte the snippet urls.' }, class: "btn btn-danger btn-xs" %>
|
53
|
+
</div>
|
54
|
+
</td>
|
59
55
|
</tr>
|
60
56
|
<% end %>
|
61
57
|
</tbody>
|
62
|
-
|
63
58
|
</table>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
59
|
+
<%= link_to phccodesnipper.new_script_snippet_path, class: "btn btn-primary btn-sm" do %>
|
60
|
+
<i class="fas fa-plus-circle"></i>
|
61
|
+
Add a New Code Snippet
|
62
|
+
<% end %>
|
68
63
|
</div>
|
69
64
|
<!-- Table - Snippet Index -->
|
70
|
-
|
71
65
|
</div>
|
72
66
|
<!-- Panel Body -->
|
73
|
-
|
74
67
|
</div>
|
75
68
|
<!-- Page & Panel Content -->
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
|
-
<% phc_title_tagline "New Code Snippet" %>
|
3
|
+
<% phc_title_tagline "Create a New Code Snippet" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipper.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
@@ -18,26 +18,22 @@
|
|
18
18
|
|
19
19
|
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
</div>
|
39
|
-
<!-- Panel Body -->
|
40
|
-
|
21
|
+
<!-- Panel Heading -->
|
22
|
+
<div class="panel-heading">
|
23
|
+
<div class="panel-heading-btn">
|
24
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
25
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
26
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
27
|
+
</div>
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel Heading -->
|
31
|
+
<!-- Panel Body -->
|
32
|
+
<div class="panel-body">
|
33
|
+
<!-- Form for New Script Snippet -->
|
34
|
+
<%= render 'form', script_snippet: @script_snippet %>
|
35
|
+
<!-- Form for New Script Snippet -->
|
36
|
+
</div>
|
37
|
+
<!-- Panel Body -->
|
41
38
|
</div>
|
42
39
|
<!-- Page & Panel Content -->
|
43
|
-
|
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
<!-- Page Bradcrumbs -->
|
9
9
|
<ol class="breadcrumb pull-right">
|
10
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
13
|
<!-- Page Bradcrumbs -->
|
14
14
|
|
@@ -21,39 +21,30 @@
|
|
21
21
|
|
22
22
|
<!-- Button Area -->
|
23
23
|
<div class="col-lg-4">
|
24
|
-
|
25
24
|
<!-- Button Panel -->
|
26
25
|
<div class="panel panel-inverse">
|
27
|
-
|
28
26
|
<!-- Panel Heading -->
|
29
27
|
<div class="panel-heading">
|
30
28
|
<h4 class="panel-title">Options Panel</h4>
|
31
29
|
</div>
|
32
30
|
<!-- Panel Heading -->
|
33
|
-
|
34
31
|
<!-- Panel Body -->
|
35
32
|
<div class="panel-body">
|
36
|
-
|
37
33
|
<div class="btn-group d-flex" role="group">
|
38
34
|
<%= link_to 'Update', phccodesnipper.edit_script_snippet_path, class: "btn btn-primary" %>
|
39
35
|
<%= link_to 'Remove', phccodesnipper.script_snippet_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
40
|
-
</div>
|
41
|
-
|
36
|
+
</div>
|
42
37
|
</div>
|
43
38
|
<!-- Panel Body -->
|
44
|
-
|
45
39
|
</div>
|
46
40
|
<!-- Button Panel -->
|
47
|
-
|
48
41
|
</div>
|
49
42
|
<!-- Button Area -->
|
50
43
|
|
51
44
|
<!-- Main Area -->
|
52
45
|
<div class="col-lg-8">
|
53
|
-
|
54
46
|
<!-- Main Panel -->
|
55
47
|
<div class="panel panel-inverse">
|
56
|
-
|
57
48
|
<!-- Panel Heading -->
|
58
49
|
<div class="panel-heading">
|
59
50
|
<div class="panel-heading-btn">
|
@@ -64,18 +55,15 @@
|
|
64
55
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
65
56
|
</div>
|
66
57
|
<!-- Panel Heading -->
|
67
|
-
|
68
58
|
<!-- Panel Body -->
|
69
59
|
<div class="panel-body">
|
70
|
-
<p class="h3"><%= @script_snippet.
|
60
|
+
<p class="h3"><%= @script_snippet.snippet_title %></p>
|
71
61
|
<hr>
|
72
62
|
<pre><code><%= @script_snippet.snippet_code %></code></pre>
|
73
63
|
</div>
|
74
64
|
<!-- Panel Body -->
|
75
|
-
|
76
65
|
</div>
|
77
66
|
<!-- Main Panel -->
|
78
|
-
|
79
67
|
</div>
|
80
68
|
<!-- Main Area -->
|
81
69
|
|
@@ -1,18 +1,22 @@
|
|
1
1
|
<!-- Form - Script - Url -->
|
2
2
|
<%= form_with(model: [ @script_snippet, @script_url], url: form_url, local: true) do |form| %>
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
<!-- PHCNotifi Render Validation -->
|
5
|
+
<%= render 'phcnotifi/default/validations', :object => @script_url %>
|
6
|
+
<!-- PHCNotifi Render Validation -->
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
<!-- Form Input Fields -->
|
9
|
+
<div class="form-group field_with_errors">
|
10
|
+
<%= form.label :script_url %>
|
11
|
+
<%= form.text_field :script_url, class: 'form-control', placeholder: 'Script Url' %>
|
12
|
+
</div>
|
13
|
+
<!-- Form Input Fields -->
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
|
15
|
+
<!-- Form Submition Button -->
|
16
|
+
<div class="actions">
|
17
|
+
<%= form.submit class: "btn btn-primary" %>
|
18
|
+
</div>
|
19
|
+
<!-- For Submition Button -->
|
16
20
|
|
17
21
|
<% end %>
|
18
22
|
<!-- Form - Script - Url -->
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
|
-
<% phc_title_tagline "Update
|
3
|
+
<% phc_title_tagline "Update Asset URL" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipper.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
@@ -16,8 +16,9 @@
|
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
17
|
<!-- Page Header -->
|
18
18
|
|
19
|
-
<!-- Page Content -->
|
19
|
+
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
+
<!-- Panel Heading -->
|
21
22
|
<div class="panel-heading">
|
22
23
|
<div class="panel-heading-btn">
|
23
24
|
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
@@ -26,10 +27,13 @@
|
|
26
27
|
</div>
|
27
28
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
28
29
|
</div>
|
30
|
+
<!-- Panel Heading -->
|
31
|
+
<!-- Panel Body -->
|
29
32
|
<div class="panel-body">
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
+
<!-- Form to Edit Script Snippet Asset URLS -->
|
34
|
+
<%= render 'form', { form_url: script_snippet_url_path } %>
|
35
|
+
<!-- Form to Edit Script Snippet Asset URLS -->
|
33
36
|
</div>
|
37
|
+
<!-- Panel Body -->
|
34
38
|
</div>
|
35
|
-
<!-- Page Content -->
|
39
|
+
<!-- Page & Panel Content -->
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
|
-
<% phc_title_tagline "
|
3
|
+
<% phc_title_tagline "Update Asset Index" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Code Snippet Index", phccodesnipper.script_snippets_path %>
|
6
6
|
<!-- Title System -->
|
@@ -18,7 +18,6 @@
|
|
18
18
|
|
19
19
|
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
22
21
|
<!-- Panel Heading -->
|
23
22
|
<div class="panel-heading">
|
24
23
|
<div class="panel-heading-btn">
|
@@ -29,46 +28,39 @@
|
|
29
28
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
30
29
|
</div>
|
31
30
|
<!-- Panel Heading -->
|
32
|
-
|
33
31
|
<!-- Panel Body -->
|
34
32
|
<div class="panel-body">
|
35
|
-
|
36
33
|
<!-- Table - Snippet Index -->
|
37
34
|
<div class="table-responsive">
|
38
35
|
<table class="table table-striped table-bordered">
|
39
|
-
|
40
36
|
<thead>
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
37
|
+
<tr>
|
38
|
+
<th>Script Url</th>
|
39
|
+
<th colspan="3"></th>
|
40
|
+
</tr>
|
45
41
|
</thead>
|
46
|
-
|
47
42
|
<tbody>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
43
|
+
<% @script_urls.each do |script_url| %>
|
44
|
+
<tr>
|
45
|
+
<td><%= script_url.script_url %></td>
|
46
|
+
<td>
|
47
|
+
<div class="btn-group d-flex" role="group">
|
48
|
+
<%= link_to 'Details', script_snippet_url_path(script_url.snippet, script_url), class: "btn btn-purple btn-xs" %>
|
49
|
+
<%= link_to 'Update', edit_script_snippet_url_path(script_url.snippet, script_url), class: "btn btn-primary btn-xs" %>
|
50
|
+
<%= link_to 'Remove', script_snippet_url_path(script_url.snippet, script_url), method: :delete, data: { confirm: 'Are you sure? This action cannot be reversed.' }, class: "btn btn-danger btn-xs" %>
|
51
|
+
</div>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<% end %>
|
60
55
|
</tbody>
|
61
|
-
|
62
56
|
</table>
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
57
|
+
<%= link_to phccodesnipper.new_script_snippet_url_path, class: "btn btn-primary btn-sm" do %>
|
58
|
+
<i class="fas fa-plus-circle"></i>
|
59
|
+
Add a New Script URL
|
60
|
+
<% end %>
|
67
61
|
</div>
|
68
62
|
<!-- Table - Snippet Index -->
|
69
|
-
|
70
63
|
</div>
|
71
64
|
<!-- Panel Body -->
|
72
|
-
|
73
65
|
</div>
|
74
66
|
<!-- Page & Panel Content -->
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
|
-
<% phc_title_tagline "New
|
4
|
-
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipper.
|
3
|
+
<% phc_title_tagline "Create a New Asset URL" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipper.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
@@ -16,8 +16,9 @@
|
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
17
|
<!-- Page Header -->
|
18
18
|
|
19
|
-
<!-- Page Content -->
|
19
|
+
<!-- Page & Panel Content -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
+
<!-- Panel Heading -->
|
21
22
|
<div class="panel-heading">
|
22
23
|
<div class="panel-heading-btn">
|
23
24
|
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
@@ -26,10 +27,13 @@
|
|
26
27
|
</div>
|
27
28
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
28
29
|
</div>
|
30
|
+
<!-- Panel Heading -->
|
31
|
+
<!-- Panel Body -->
|
29
32
|
<div class="panel-body">
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
+
<!-- Form for New Script Asset URL -->
|
34
|
+
<%= render 'form', { form_url: script_snippet_urls_path } %>
|
35
|
+
<!-- Form for New Script Asset URL -->
|
33
36
|
</div>
|
37
|
+
<!-- Panel Body -->
|
34
38
|
</div>
|
35
|
-
<!-- Page Content -->
|
39
|
+
<!-- Page & Panel Content -->
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
|
-
<% phc_title_tagline "
|
3
|
+
<% phc_title_tagline "Asset URL Details" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipper.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
8
|
<!-- Page Bradcrumbs -->
|
9
9
|
<ol class="breadcrumb pull-right">
|
10
|
-
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
-
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
13
|
<!-- Page Bradcrumbs -->
|
14
14
|
|
@@ -21,39 +21,30 @@
|
|
21
21
|
|
22
22
|
<!-- Button Area -->
|
23
23
|
<div class="col-lg-4">
|
24
|
-
|
25
24
|
<!-- Button Panel -->
|
26
25
|
<div class="panel panel-inverse">
|
27
|
-
|
28
26
|
<!-- Panel Heading -->
|
29
27
|
<div class="panel-heading">
|
30
28
|
<h4 class="panel-title">Options Panel</h4>
|
31
29
|
</div>
|
32
30
|
<!-- Panel Heading -->
|
33
|
-
|
34
31
|
<!-- Panel Body -->
|
35
32
|
<div class="panel-body">
|
36
|
-
|
37
33
|
<div class="btn-group d-flex" role="group">
|
38
34
|
<%= link_to 'Update', phccodesnipper.edit_script_snippet_url_path, class: "btn btn-primary" %>
|
39
35
|
<%= link_to 'Remove', phccodesnipper.script_snippet_urls_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
40
|
-
</div>
|
41
|
-
|
36
|
+
</div>
|
42
37
|
</div>
|
43
38
|
<!-- Panel Body -->
|
44
|
-
|
45
39
|
</div>
|
46
40
|
<!-- Button Panel -->
|
47
|
-
|
48
41
|
</div>
|
49
42
|
<!-- Button Area -->
|
50
43
|
|
51
44
|
<!-- Main Area -->
|
52
45
|
<div class="col-lg-8">
|
53
|
-
|
54
46
|
<!-- Main Panel -->
|
55
47
|
<div class="panel panel-inverse">
|
56
|
-
|
57
48
|
<!-- Panel Heading -->
|
58
49
|
<div class="panel-heading">
|
59
50
|
<div class="panel-heading-btn">
|
@@ -64,7 +55,6 @@
|
|
64
55
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
65
56
|
</div>
|
66
57
|
<!-- Panel Heading -->
|
67
|
-
|
68
58
|
<!-- Panel Body -->
|
69
59
|
<div class="panel-body">
|
70
60
|
<p class="h3">Script Snippet URL</p>
|
@@ -72,10 +62,8 @@
|
|
72
62
|
<pre><code><%= @script_url.script_url %></code></pre>
|
73
63
|
</div>
|
74
64
|
<!-- Panel Body -->
|
75
|
-
|
76
65
|
</div>
|
77
66
|
<!-- Main Panel -->
|
78
|
-
|
79
67
|
</div>
|
80
68
|
<!-- Main Area -->
|
81
69
|
|