page-items.html #2

  • //
  • guest/
  • paul_allen/
  • p4am/
  • src/
  • main/
  • resources/
  • spark/
  • template/
  • freemarker/
  • browse/
  • page-items.html
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<html>
<head>
<title>PAM</title>
<link rel="stylesheet" href="/bootstrap-3.3.4-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/bootstrap-3.3.4-dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="/css/parent.css">
</head>
<body>

	<#include "/navigation/bar.html">

	<div class="container theme-showcase" role="main">
		<div class="row">

			<div class="page-header">
				<h1>${title}</h1>
			</div>

			<ol class="breadcrumb">
				<#list breadcrumb as c>
				<li><a href="${c.getLink()}"> <#if c.isHome()> <span class="glyphicon glyphicon-home" aria-hidden="true"></span>
						<#else> ${c.getCrumb()} </#if>
				</a></li> </#list>
			</ol>


			<#if summary??>
			<div class="panel panel-success">
				<div class="panel-heading">
					<h3 class="panel-title">Artifact Summary</h3>
				</div>
				<table class="table table-summary">
					<tbody>
						<#list summary.getProperties()?keys as key>
						<tr>
							<td>${key}</td>
							<td><code>${summary.getProperties()[key]}</code></td>
						</tr>
						</#list>
					</tbody>
				</table>
			</div>
			</#if>

			<ul class="list-group">
				<#list directories as d>
				<li class="list-group-item"><a href="${d.getLink()}"><span class="glyphicon glyphicon-folder-close"
						aria-hidden="true"></span> ${d.getName()}</a></li> </#list>
			</ul>

			<#if (files?size) gt 0>
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">Artifact Files</h3>
				</div>
				<table class="table table-hover row-clickable">
					<tbody>
						<#list files as f>
						<tr>
							<td><a href=${f.getLink()}><span class="glyphicon glyphicon-file" aria-hidden="true"></span>
									${f.getName()}</a></td>
							<td><a href=${f.getLink()}>${f.getSize()}</a></td>
							<td><a href=${f.getLink()}>${f.getDate()}</a></td>
						</tr>
						</#list>
					</tbody>
				</table>
			</div>
			</#if>
			
		</div>
	</div>

	<script src="/js/jquery.min.js"></script>
	<script src="/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>
</body>
</html>
# Change User Description Committed
#2 15782 Paul Allen Update to UX

 - deploy has 3 process steps (including a submit report)
#1 14882 Paul Allen Refactor static html pages
//guest/paul_allen/p4am/src/main/resources/spark/template/freemarker/page-browse.html
#6 14866 Paul Allen Create different Depot types.
 - Display site types
#5 14864 Paul Allen Depot Configuration and Site type
#4 14863 Paul Allen Change File/Dir browse to support extended options
#3 14227 Paul Allen Moved over MAVEN Artifact summary.
#2 14226 Paul Allen Tidy up Browse elements over to micro MVC model
#1 13869 Paul Allen - Fix logout when testing cookie.
- Refactor ftl->html
- Add local bootstrap
//guest/paul_allen/p4am/src/main/resources/spark/template/freemarker/browse.ftl
#3 13798 Paul Allen Basic file upload and login/logout cookie tidyup
#2 13746 Paul Allen Basic File/Dir browsing and Cookie management.
#1 13720 Paul Allen Perforce Asset Manager (PAM or P4AM) -- ideas