phccodesnipperpro 4.4.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +28 -0
  4. data/Rakefile +4 -18
  5. data/app/assets/config/phccodesnipperpro_manifest.js +2 -2
  6. data/app/controllers/phccodesnipperpro/application_controller.rb +14 -15
  7. data/app/controllers/phccodesnipperpro/script/snippets_controller.rb +1 -1
  8. data/app/controllers/phccodesnipperpro/script/urls_controller.rb +1 -1
  9. data/app/models/phccodesnipperpro/script/snippet.rb +0 -3
  10. data/app/views/layouts/phccodesnipperpro/application.html.erb +73 -79
  11. data/app/views/layouts/phccodesnipperpro/components/backend/footer/_footer.html.erb +14 -8
  12. data/app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb +41 -37
  13. data/app/views/layouts/phccodesnipperpro/components/backend/sidebars/_side_menu.html.erb +921 -189
  14. data/app/views/phccodesnipperpro/script/snippets/_form.html.erb +15 -15
  15. data/app/views/phccodesnipperpro/script/snippets/edit.html.erb +21 -21
  16. data/app/views/phccodesnipperpro/script/snippets/index.html.erb +57 -57
  17. data/app/views/phccodesnipperpro/script/snippets/new.html.erb +19 -21
  18. data/app/views/phccodesnipperpro/script/snippets/show.html.erb +63 -58
  19. data/app/views/phccodesnipperpro/script/urls/_form.html.erb +12 -12
  20. data/app/views/phccodesnipperpro/script/urls/edit.html.erb +16 -16
  21. data/app/views/phccodesnipperpro/script/urls/index.html.erb +55 -55
  22. data/app/views/phccodesnipperpro/script/urls/new.html.erb +21 -21
  23. data/app/views/phccodesnipperpro/script/urls/show.html.erb +61 -57
  24. data/config/routes.rb +6 -9
  25. data/db/migrate/20190504104048_create_phccodesnipperpro_script_urls.rb +19 -0
  26. data/db/migrate/20190504104101_create_phccodesnipperpro_script_snippets.rb +19 -0
  27. data/lib/phccodesnipperpro/engine.rb +30 -56
  28. data/lib/phccodesnipperpro/version.rb +1 -1
  29. data/lib/phccodesnipperpro.rb +2 -0
  30. metadata +62 -390
  31. data/app/assets/javascripts/phccodesnipperpro/application.js +0 -2
  32. data/app/assets/stylesheets/phccodesnipperpro/application.scss +0 -2
  33. 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
- <!-- PHCNotifi Render Validation -->
5
- <%= render 'phcnotifi/default/validations', :object => @script_snippet %>
6
- <!-- PHCNotifi Render Validation -->
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="form-group field_with_errors">
10
- <%= form.label :snippet_title, "Snippet Title" %>
11
- <%= form.text_field :snippet_title, class: 'form-control', placeholder: 'Snippet Title' %>
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="form-group field_with_errors">
14
- <%= form.label :snippet_code, "Code Snippet" %>
15
- <%= form.text_area :snippet_code, class: 'form-control', placeholder: 'Code Snippet', rows: '10' %>
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
- <!-- For Submition Button -->
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 System -->
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 System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
7
 
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
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
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
 
19
- <!-- Page & Panel Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
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
- <!-- Panel Body -->
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
32
29
  <div class="panel-body">
33
- <!-- Form to Edit Script Snippet -->
34
- <%= render 'form', script_snippet: @script_snippet %>
35
- <!-- Form to Edit Script Snippet -->
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
- <!-- Page & Panel Content -->
39
+ <!-- -PHCDEV- Panel -->
@@ -1,68 +1,68 @@
1
- <!-- Title System -->
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 System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
7
 
8
- <!-- Page Bradcrumbs -->
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>
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
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
 
19
- <!-- Page & Panel Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="panel panel-inverse">
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
- <!-- Table - Snippet Index -->
34
- <div class="table-responsive">
35
- <table class="table table-striped table-bordered">
36
- <thead>
37
- <tr>
38
- <th>Snippet Title</th>
39
- <th>Snippet Summary</th>
40
- <th></th>
41
- </tr>
42
- </thead>
43
- <tbody>
44
- <% @script_snippets.each do |script_snippet| %>
45
- <tr>
46
- <td><%= script_snippet.snippet_title %></td>
47
- <td><%= truncate(script_snippet.snippet_code, :length => 80) %></td>
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>
55
- </tr>
56
- <% end %>
57
- </tbody>
58
- </table>
59
- <%= link_to phccodesnipperpro.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 %>
63
- </div>
64
- <!-- Table - Snippet Index -->
65
- </div>
66
- <!-- Panel Body -->
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
- <!-- Page & Panel Content -->
68
+ <!-- -PHCDEV- Panel -->
@@ -1,39 +1,37 @@
1
- <!-- Title System -->
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 System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
7
 
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
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
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
 
19
- <!-- Page & Panel Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
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
- <!-- Panel Body -->
26
+ <!-- -PHCDEV- Panel - Heading -->
27
+
28
+ <!-- -PHCDEV- Panel - Body -->
32
29
  <div class="panel-body">
33
- <!-- Form for New Script Snippet -->
34
- <%= render 'form', script_snippet: @script_snippet %>
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
- <!-- Page & Panel Content -->
37
+ <!-- -PHCDEV- Panel -->
@@ -1,71 +1,76 @@
1
- <!-- Title System -->
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 System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
7
 
8
- <!-- Page Bradcrumbs -->
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>
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
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Bradcrumbs -->
18
18
 
19
- <!-- Page Content -->
19
+ <!-- -PHCDEV- Panel -->
20
20
  <div class="row">
21
21
 
22
- <!-- Button Area -->
23
- <div class="col-lg-4">
24
- <!-- Button Panel -->
25
- <div class="panel panel-inverse">
26
- <!-- Panel Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title">Options Panel</h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
33
- <div class="btn-group d-flex" role="group">
34
- <%= link_to 'Update', phccodesnipperpro.edit_script_snippet_path, class: "btn btn-primary" %>
35
- <%= link_to 'Remove', phccodesnipperpro.script_snippet_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
36
- </div>
37
- </div>
38
- <!-- Panel Body -->
39
- </div>
40
- <!-- Button Panel -->
41
- </div>
42
- <!-- Button Area -->
43
-
44
- <!-- Main Area -->
45
- <div class="col-lg-8">
46
- <!-- Main Panel -->
47
- <div class="panel panel-inverse">
48
- <!-- Panel Heading -->
49
- <div class="panel-heading">
50
- <div class="panel-heading-btn">
51
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
52
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
53
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
54
- </div>
55
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
56
- </div>
57
- <!-- Panel Heading -->
58
- <!-- Panel Body -->
59
- <div class="panel-body">
60
- <p class="h3"><%= @script_snippet.snippet_title %></p>
61
- <hr>
62
- <pre><code><%= @script_snippet.snippet_code %></code></pre>
63
- </div>
64
- <!-- Panel Body -->
65
- </div>
66
- <!-- Main Panel -->
67
- </div>
68
- <!-- Main Area -->
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
- <!-- Page Content -->
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
- <!-- PHCNotifi Render Validation -->
5
- <%= render 'phcnotifi/default/validations', :object => @script_url %>
6
- <!-- PHCNotifi Render Validation -->
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="form-group field_with_errors">
10
- <%= form.label :script_url %>
11
- <%= form.text_field :script_url, class: 'form-control', placeholder: 'Script Url' %>
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
- <!-- For Submition Button -->
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 System -->
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 System -->
6
+ <!-- -PHCDEV- Title Variables -->
7
7
 
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
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
- <!-- Page Bradcrumbs -->
13
+ <!-- -PHCDEV- Bradcrumbs -->
14
14
 
15
- <!-- Page Header -->
15
+ <!-- -PHCDEV- Header -->
16
16
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
 
19
- <!-- Page & Panel Content -->
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 'form', { form_url: script_snippet_url_path } %>
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
- <!-- Page & Panel Content -->
39
+ <!-- -PHCDEV- Panel -->