Sha256: d7430505571587f00887c8e9d6e9fcc07de625a81831e45ef702a3f15e682ebd

Contents?: true

Size: 1.62 KB

Versions: 24

Compression:

Stored size: 1.62 KB

Contents

<!-- Title System -->
<% phc_title "Script URL" %>
<% phc_title_tagline "Script URL Index" %>

<!-- Bread Crumb -->
<div class="page-bar">

	<ul class="page-breadcrumb">
		<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
		<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
		<li class="active"><%= yield(:phc_title_tagline) %></li>
	</ul>

</div>

<!-- Main Content -->
<div class="row">
	<div class="col-lg-12">

		<div class="portlet light">

			<div class="portlet-title">
				<div class="caption">
					<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
				</div>
				<div class="actions">
					<%= link_to new_scriptcdn_main_url_path, class: "btn blue-chambray" do %>
						<i class="fa fa-plus"></i> Add a New Url for Script
					<% end %>
				</div>
			</div>

			<div class="portlet-body">
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover table-header-fixed">
						<thead>
							<tr>
								<th>URL Path</th>
								<th></th>
							</tr>
						</thead>
						<tbody>
							<% @scriptcdn_urls.each do |scriptcdn_url| %>
								<tr>
									<td><%= link_to scriptcdn_url.scripturl, edit_scriptcdn_main_url_path(scriptcdn_url.main, scriptcdn_url) %></td>
									<td><%= link_to 'Destroy', scriptcdn_main_url_path(scriptcdn_url.main, scriptcdn_url), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td>
								</tr>
							<% end %>
						</tbody>
					</table>
				</div>
			</div>

		</div>
	</div>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.7.8 app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb
phcscriptcdnpro-1.7.7 app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb
phcscriptcdnpro-1.7.5 app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb
phcscriptcdnpro-1.7.0 app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb