app/views/phccodesnipperpro/script/snippets/show.html.erb in phccodesnipperpro-4.4.0 vs app/views/phccodesnipperpro/script/snippets/show.html.erb in phccodesnipperpro-5.0.0
- old
+ new
@@ -1,71 +1,76 @@
-<!-- Title System -->
+<!-- -PHCDEV- Title Variables -->
<% phc_title "Code Snippet Manager" %>
<% phc_title_tagline "Code Snippet Details" %>
<% phc_breadcrumb_one link_to "Code Snippet Index", phccodesnipperpro.script_snippets_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
-<!-- Title System -->
+<!-- -PHCDEV- Title Variables -->
-<!-- Page Bradcrumbs -->
-<ol class="breadcrumb pull-right">
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
+<!-- -PHCDEV- Bradcrumbs -->
+<ol class="breadcrumb float-xl-end">
+<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
+<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
-<!-- Page Bradcrumbs -->
+<!-- -PHCDEV- Bradcrumbs -->
-<!-- Page Header -->
+<!-- -PHCDEV- Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
-<!-- Page Header -->
+<!-- -PHCDEV- Bradcrumbs -->
-<!-- Page Content -->
+<!-- -PHCDEV- Panel -->
<div class="row">
- <!-- Button Area -->
- <div class="col-lg-4">
- <!-- Button Panel -->
- <div class="panel panel-inverse">
- <!-- Panel Heading -->
- <div class="panel-heading">
- <h4 class="panel-title">Options Panel</h4>
- </div>
- <!-- Panel Heading -->
- <!-- Panel Body -->
- <div class="panel-body">
- <div class="btn-group d-flex" role="group">
- <%= link_to 'Update', phccodesnipperpro.edit_script_snippet_path, class: "btn btn-primary" %>
- <%= link_to 'Remove', phccodesnipperpro.script_snippet_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
- </div>
- </div>
- <!-- Panel Body -->
- </div>
- <!-- Button Panel -->
- </div>
- <!-- Button Area -->
+ <!-- -PHCDEV- Button Area -->
+ <div class="col-lg-4">
- <!-- Main Area -->
- <div class="col-lg-8">
- <!-- Main Panel -->
- <div class="panel panel-inverse">
- <!-- Panel Heading -->
- <div class="panel-heading">
- <div class="panel-heading-btn">
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
- </div>
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
- </div>
- <!-- Panel Heading -->
- <!-- Panel Body -->
- <div class="panel-body">
- <p class="h3"><%= @script_snippet.snippet_title %></p>
- <hr>
- <pre><code><%= @script_snippet.snippet_code %></code></pre>
- </div>
- <!-- Panel Body -->
- </div>
- <!-- Main Panel -->
- </div>
- <!-- Main Area -->
+ <!-- -PHCDEV- Button Panel -->
+ <div class="panel panel-inverse">
+ <!-- -PHCDEV- Panel - Heading -->
+ <div class="panel-heading">
+ <h4 class="panel-title">Options Panel</h4>
+ </div>
+ <!-- -PHCDEV- Panel - Heading -->
+
+ <!-- -PHCDEV- Panel - Body -->
+ <div class="panel-body">
+ <div class="btn-group d-flex" role="group">
+ <%= link_to "Update", phccodesnipperpro.edit_script_snippet_path, class: "btn btn-primary" %>
+ <%= link_to "Remove", phccodesnipperpro.script_snippet_path, method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %>
+ </div>
+ </div>
+ <!-- -PHCDEV- Panel - Body -->
+
+ </div>
+ <!-- -PHCDEV- Button Panel -->
+
+ </div>
+ <!-- -PHCDEV- Button Area -->
+
+ <!-- -PHCDEV- Main Area -->
+ <div class="col-lg-8">
+
+ <!-- -PHCDEV- Main Panel -->
+ <div class="panel panel-inverse">
+
+ <!-- -PHCDEV- Panel - Heading -->
+ <div class="panel-heading">
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
+ </div>
+ <!-- -PHCDEV- Panel - Heading -->
+
+ <!-- -PHCDEV- Panel - Body -->
+ <div class="panel-body">
+ <p class="h3"><%= @script_snippet.snippet_title %></p>
+ <hr>
+ <pre><code><%= @script_snippet.snippet_code %></code></pre>
+ </div>
+ <!-- -PHCDEV- Panel - Body -->
+
+ </div>
+ <!-- -PHCDEV- Main Panel -->
+
+ </div>
+ <!-- -PHCDEV- Main Area -->
+
</div>
-<!-- Page Content -->
+<!-- -PHCDEV- Panel -->