phccodesnipperpro 4.4.0 → 5.0.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/README.md +28 -0
- data/Rakefile +4 -18
- data/app/assets/config/phccodesnipperpro_manifest.js +2 -2
- data/app/controllers/phccodesnipperpro/application_controller.rb +14 -15
- data/app/controllers/phccodesnipperpro/script/snippets_controller.rb +1 -1
- data/app/controllers/phccodesnipperpro/script/urls_controller.rb +1 -1
- data/app/models/phccodesnipperpro/script/snippet.rb +0 -3
- data/app/views/layouts/phccodesnipperpro/application.html.erb +73 -79
- data/app/views/layouts/phccodesnipperpro/components/backend/footer/_footer.html.erb +14 -8
- data/app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb +41 -37
- data/app/views/layouts/phccodesnipperpro/components/backend/sidebars/_side_menu.html.erb +921 -189
- data/app/views/phccodesnipperpro/script/snippets/_form.html.erb +15 -15
- data/app/views/phccodesnipperpro/script/snippets/edit.html.erb +21 -21
- data/app/views/phccodesnipperpro/script/snippets/index.html.erb +57 -57
- data/app/views/phccodesnipperpro/script/snippets/new.html.erb +19 -21
- data/app/views/phccodesnipperpro/script/snippets/show.html.erb +63 -58
- data/app/views/phccodesnipperpro/script/urls/_form.html.erb +12 -12
- data/app/views/phccodesnipperpro/script/urls/edit.html.erb +16 -16
- data/app/views/phccodesnipperpro/script/urls/index.html.erb +55 -55
- data/app/views/phccodesnipperpro/script/urls/new.html.erb +21 -21
- data/app/views/phccodesnipperpro/script/urls/show.html.erb +61 -57
- data/config/routes.rb +6 -9
- data/db/migrate/20190504104048_create_phccodesnipperpro_script_urls.rb +19 -0
- data/db/migrate/20190504104101_create_phccodesnipperpro_script_snippets.rb +19 -0
- data/lib/phccodesnipperpro/engine.rb +30 -56
- data/lib/phccodesnipperpro/version.rb +1 -1
- data/lib/phccodesnipperpro.rb +2 -0
- metadata +62 -390
- data/app/assets/javascripts/phccodesnipperpro/application.js +0 -2
- data/app/assets/stylesheets/phccodesnipperpro/application.scss +0 -2
- data/config/initializers/friendly_id.rb +0 -107
@@ -1,26 +1,26 @@
|
|
1
|
-
<!-- Form - Script - Snippets -->
|
1
|
+
<!-- -PHCDEV- Form - Script - Snippets -->
|
2
2
|
<%= form_with(model: script_snippet, local: true) do |form| %>
|
3
3
|
|
4
|
-
<!--
|
5
|
-
<%= render
|
6
|
-
<!--
|
4
|
+
<!-- -PHCDEV- Form Validation -->
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_snippet %>
|
6
|
+
<!-- -PHCDEV- Form Validation -->
|
7
7
|
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="
|
10
|
-
<%= form.label :snippet_title, "Snippet Title" %>
|
11
|
-
<%= form.text_field :snippet_title, class:
|
8
|
+
<!-- -PHCDEV- Form Input Fields -->
|
9
|
+
<div class="mb-3">
|
10
|
+
<%= form.label :snippet_title, "Snippet Title", class: "form-label" %>
|
11
|
+
<%= form.text_field :snippet_title, placeholder: "Snippet Title", class: "form-control" %>
|
12
12
|
</div>
|
13
|
-
<div class="
|
14
|
-
<%= form.label :snippet_code, "Code Snippet" %>
|
15
|
-
<%= form.text_area :snippet_code,
|
13
|
+
<div class="mb-3">
|
14
|
+
<%= form.label :snippet_code, "Code Snippet", class: "form-label" %>
|
15
|
+
<%= form.text_area :snippet_code, placeholder: "Code Snippet", rows: "10", class: "form-control" %>
|
16
16
|
</div>
|
17
|
-
<!-- Form Input Fields -->
|
17
|
+
<!-- -PHCDEV- Form Input Fields -->
|
18
18
|
|
19
|
-
<!-- Form Submition Button -->
|
19
|
+
<!-- -PHCDEV- Form Submition Button -->
|
20
20
|
<div class="actions">
|
21
21
|
<%= form.submit class: "btn btn-primary" %>
|
22
22
|
</div>
|
23
|
-
<!--
|
23
|
+
<!-- -PHCDEV- Form Submition Button -->
|
24
24
|
|
25
25
|
<% end %>
|
26
|
-
<!-- Form - Script - Snippets -->
|
26
|
+
<!-- -PHCDEV- Form - Script - Snippets -->
|
@@ -1,39 +1,39 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
3
|
<% phc_title_tagline "Update Code Snippet" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
8
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
21
|
+
|
22
|
+
<!-- -PHCDEV- Panel - Heading -->
|
22
23
|
<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
24
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
29
25
|
</div>
|
30
|
-
<!-- Panel Heading -->
|
31
|
-
|
26
|
+
<!-- -PHCDEV- Panel - Heading -->
|
27
|
+
|
28
|
+
<!-- -PHCDEV- Panel - Body -->
|
32
29
|
<div class="panel-body">
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
|
31
|
+
<!-- -PHCDEV- Edit Form -->
|
32
|
+
<%= render "form", script_snippet: @script_snippet %>
|
33
|
+
<!-- -PHCDEV- Edit Form -->
|
34
|
+
|
36
35
|
</div>
|
37
|
-
<!-- Panel Body -->
|
36
|
+
<!-- -PHCDEV- Panel - Body -->
|
37
|
+
|
38
38
|
</div>
|
39
|
-
<!--
|
39
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,68 +1,68 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
3
|
<% phc_title_tagline "Code Snippet Index" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
10
|
-
|
11
|
-
|
8
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
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
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
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
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
21
|
+
|
22
|
+
<!-- -PHCDEV- Panel - Heading -->
|
23
|
+
<div class="panel-heading">
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
|
+
</div>
|
26
|
+
<!-- -PHCDEV- Panel - Heading -->
|
27
|
+
|
28
|
+
<!-- -PHCDEV- Panel - Body -->
|
29
|
+
<div class="panel-body">
|
30
|
+
|
31
|
+
<!-- -PHCDEV- Table - Snippet Index -->
|
32
|
+
<div class="table-responsive">
|
33
|
+
<table class="table table-striped table-bordered">
|
34
|
+
<thead>
|
35
|
+
<tr>
|
36
|
+
<th>Snippet Title</th>
|
37
|
+
<th>Snippet Summary</th>
|
38
|
+
<th></th>
|
39
|
+
</tr>
|
40
|
+
</thead>
|
41
|
+
<tbody>
|
42
|
+
<% @script_snippets.each do |script_snippet| %>
|
43
|
+
<tr>
|
44
|
+
<td><%= script_snippet.snippet_title %></td>
|
45
|
+
<td><%= truncate(script_snippet.snippet_code, :length => 80) %></td>
|
46
|
+
<td>
|
47
|
+
<div class="btn-group d-flex" role="group">
|
48
|
+
<%= link_to "Details", script_snippet, class: "btn btn-purple btn-xs" %>
|
49
|
+
<%= link_to "Update", edit_script_snippet_path(script_snippet), class: "btn btn-primary btn-xs" %>
|
50
|
+
<%= 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" %>
|
51
|
+
</div>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<% end %>
|
55
|
+
</tbody>
|
56
|
+
</table>
|
57
|
+
<%= link_to phccodesnipperpro.new_script_snippet_path, class: "btn btn-primary btn-sm" do %>
|
58
|
+
<i class="fas fa-plus-circle"></i>
|
59
|
+
Add a New Code Snippet
|
60
|
+
<% end %>
|
61
|
+
</div>
|
62
|
+
<!-- -PHCDEV- Table - Snippet Index -->
|
63
|
+
|
64
|
+
</div>
|
65
|
+
<!-- -PHCDEV- Panel - Body -->
|
66
|
+
|
67
67
|
</div>
|
68
|
-
<!--
|
68
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,39 +1,37 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Code Snippet" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
8
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
|
21
|
+
|
22
|
+
<!-- -PHCDEV- Panel - Heading -->
|
22
23
|
<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
24
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
29
25
|
</div>
|
30
|
-
<!-- Panel Heading -->
|
31
|
-
|
26
|
+
<!-- -PHCDEV- Panel - Heading -->
|
27
|
+
|
28
|
+
<!-- -PHCDEV- Panel - Body -->
|
32
29
|
<div class="panel-body">
|
33
|
-
<!-- Form for New Script Snippet -->
|
34
|
-
<%= render
|
35
|
-
<!-- Form for New Script Snippet -->
|
30
|
+
<!-- -PHCDEV- Form for New Script Snippet -->
|
31
|
+
<%= render "form", script_snippet: @script_snippet %>
|
32
|
+
<!-- -PHCDEV- Form for New Script Snippet -->
|
36
33
|
</div>
|
37
|
-
<!-- Panel Body -->
|
34
|
+
<!-- -PHCDEV- Panel - Body -->
|
35
|
+
|
38
36
|
</div>
|
39
|
-
<!--
|
37
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,71 +1,76 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
3
|
<% phc_title_tagline "Code Snippet Details" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
10
|
-
|
11
|
-
|
8
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
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
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="row">
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
22
|
+
<!-- -PHCDEV- Button Area -->
|
23
|
+
<div class="col-lg-4">
|
24
|
+
|
25
|
+
<!-- -PHCDEV- Button Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- -PHCDEV- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title">Options Panel</h4>
|
31
|
+
</div>
|
32
|
+
<!-- -PHCDEV- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- -PHCDEV- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
<div class="btn-group d-flex" role="group">
|
37
|
+
<%= link_to "Update", phccodesnipperpro.edit_script_snippet_path, class: "btn btn-primary" %>
|
38
|
+
<%= link_to "Remove", phccodesnipperpro.script_snippet_path, method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<!-- -PHCDEV- Panel - Body -->
|
42
|
+
|
43
|
+
</div>
|
44
|
+
<!-- -PHCDEV- Button Panel -->
|
45
|
+
|
46
|
+
</div>
|
47
|
+
<!-- -PHCDEV- Button Area -->
|
48
|
+
|
49
|
+
<!-- -PHCDEV- Main Area -->
|
50
|
+
<div class="col-lg-8">
|
51
|
+
|
52
|
+
<!-- -PHCDEV- Main Panel -->
|
53
|
+
<div class="panel panel-inverse">
|
54
|
+
|
55
|
+
<!-- -PHCDEV- Panel - Heading -->
|
56
|
+
<div class="panel-heading">
|
57
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
58
|
+
</div>
|
59
|
+
<!-- -PHCDEV- Panel - Heading -->
|
60
|
+
|
61
|
+
<!-- -PHCDEV- Panel - Body -->
|
62
|
+
<div class="panel-body">
|
63
|
+
<p class="h3"><%= @script_snippet.snippet_title %></p>
|
64
|
+
<hr>
|
65
|
+
<pre><code><%= @script_snippet.snippet_code %></code></pre>
|
66
|
+
</div>
|
67
|
+
<!-- -PHCDEV- Panel - Body -->
|
68
|
+
|
69
|
+
</div>
|
70
|
+
<!-- -PHCDEV- Main Panel -->
|
71
|
+
|
72
|
+
</div>
|
73
|
+
<!-- -PHCDEV- Main Area -->
|
69
74
|
|
70
75
|
</div>
|
71
|
-
<!--
|
76
|
+
<!-- -PHCDEV- Panel -->
|
@@ -1,22 +1,22 @@
|
|
1
|
-
<!-- Form - Script - Url -->
|
1
|
+
<!-- -PHCDEV- Form - Script - Url -->
|
2
2
|
<%= form_with(model: [ @script_snippet, @script_url], url: form_url, local: true) do |form| %>
|
3
3
|
|
4
|
-
<!--
|
5
|
-
<%= render
|
6
|
-
<!--
|
4
|
+
<!-- -PHCDEV- Form Validation -->
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @script_url %>
|
6
|
+
<!-- -PHCDEV- Form Validation -->
|
7
7
|
|
8
|
-
<!-- Form Input Fields -->
|
9
|
-
<div class="
|
10
|
-
<%= form.label :script_url %>
|
11
|
-
<%= form.text_field :script_url, class:
|
8
|
+
<!-- -PHCDEV- Form Input Fields -->
|
9
|
+
<div class="mb-3">
|
10
|
+
<%= form.label :script_url, class: "form-label" %>
|
11
|
+
<%= form.text_field :script_url, placeholder: "Script Url", class: "form-control" %>
|
12
12
|
</div>
|
13
|
-
<!-- Form Input Fields -->
|
13
|
+
<!-- -PHCDEV- Form Input Fields -->
|
14
14
|
|
15
|
-
<!-- Form Submition Button -->
|
15
|
+
<!-- -PHCDEV- Form Submition Button -->
|
16
16
|
<div class="actions">
|
17
17
|
<%= form.submit class: "btn btn-primary" %>
|
18
18
|
</div>
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Form Submition Button -->
|
20
20
|
|
21
21
|
<% end %>
|
22
|
-
<!-- Form - Script - Url -->
|
22
|
+
<!-- -PHCDEV- Form - Script - Url -->
|
@@ -1,24 +1,24 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- -PHCDEV- Title Variables -->
|
2
2
|
<% phc_title "Code Snippet Manager" %>
|
3
3
|
<% phc_title_tagline "Update Asset URL" %>
|
4
4
|
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- -PHCDEV- Title Variables -->
|
7
7
|
|
8
|
-
<!--
|
9
|
-
<ol class="breadcrumb
|
8
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
|
-
<!--
|
13
|
+
<!-- -PHCDEV- Bradcrumbs -->
|
14
14
|
|
15
|
-
<!--
|
15
|
+
<!-- -PHCDEV- Header -->
|
16
16
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
-
<!--
|
17
|
+
<!-- -PHCDEV- Header -->
|
18
18
|
|
19
|
-
<!--
|
19
|
+
<!-- -PHCDEV- Panel -->
|
20
20
|
<div class="panel panel-inverse">
|
21
|
-
<!-- Panel Heading -->
|
21
|
+
<!-- -PHCDEV- Panel - Heading -->
|
22
22
|
<div class="panel-heading">
|
23
23
|
<div class="panel-heading-btn">
|
24
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>
|
@@ -27,13 +27,13 @@
|
|
27
27
|
</div>
|
28
28
|
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
29
29
|
</div>
|
30
|
-
<!-- Panel Heading -->
|
31
|
-
<!-- Panel Body -->
|
30
|
+
<!-- -PHCDEV- Panel - Heading -->
|
31
|
+
<!-- -PHCDEV- Panel - Body -->
|
32
32
|
<div class="panel-body">
|
33
|
-
<!-- Form to Edit Script Snippet Asset URLS -->
|
34
|
-
<%= render
|
35
|
-
<!-- Form to Edit Script Snippet Asset URLS -->
|
33
|
+
<!-- -PHCDEV- Form to Edit Script Snippet Asset URLS -->
|
34
|
+
<%= render "form", { form_url: script_snippet_url_path } %>
|
35
|
+
<!-- -PHCDEV- Form to Edit Script Snippet Asset URLS -->
|
36
36
|
</div>
|
37
|
-
<!-- Panel Body -->
|
37
|
+
<!-- -PHCDEV- Panel - Body -->
|
38
38
|
</div>
|
39
|
-
<!--
|
39
|
+
<!-- -PHCDEV- Panel -->
|