2016-04-06 11:31:22 -05:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="Ironsmith - A simple, script driven continuous integration tool">
|
|
|
|
|
|
|
|
<title>Ironsmith - A simple, script driven continuous integration tool</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="/css/pure-min.css">
|
|
|
|
|
|
|
|
<style>
|
2016-04-14 11:29:56 -05:00
|
|
|
.container {
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2016-04-06 11:31:22 -05:00
|
|
|
|
2016-04-14 11:29:56 -05:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
.container {
|
|
|
|
padding-right: 40px;
|
|
|
|
padding-left: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-block {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*tables*/
|
|
|
|
|
|
|
|
.table-responsive {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-responsive table {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-04-15 16:57:59 -05:00
|
|
|
/* error */
|
|
|
|
.error {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: .5em 1em;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* breadcrumbs */
|
|
|
|
|
|
|
|
#breadcrumbs {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-separator {
|
|
|
|
color: #ccc;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
2016-04-14 11:29:56 -05:00
|
|
|
|
2016-04-06 11:31:22 -05:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script id="tMain" type="text/ractive">
|
2016-04-14 11:29:56 -05:00
|
|
|
<div class="container pure-g">
|
|
|
|
<div class="pure-u-1">
|
2016-04-15 16:57:59 -05:00
|
|
|
<h3 class="text-center">Iron Smith</h3>
|
|
|
|
{{#if error}}
|
|
|
|
<div class="text-center">
|
|
|
|
<span class="error">{{error}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div id="breadcrumbs" class="pure-menu pure-menu-horizontal text-center">
|
|
|
|
<ul class="pure-menu-list">
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<a href="/" class="pure-menu-link">Project List</a>
|
|
|
|
</li>
|
|
|
|
{{#if project}}
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<span class="breadcrumb-separator">/</span>
|
|
|
|
</li>
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<a href="/project/{{project.id}}" class="pure-menu-link">{{project.name}}</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if project && version}}
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<span class="breadcrumb-separator">/</span>
|
|
|
|
</li>
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<a href="/project/{{project.id}}/{{version}}" class="pure-menu-link">{{version}}</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if project && version && stage}}
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<span class="breadcrumb-separator">/</span>
|
|
|
|
</li>
|
|
|
|
<li class="pure-menu-item">
|
|
|
|
<a href="/project/{{project.id}}/{{version}}/{{stage}}" class="pure-menu-link">{{stage}}</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2016-04-14 11:29:56 -05:00
|
|
|
{{#if !project}}
|
|
|
|
{{>projects}}
|
|
|
|
{{elseif !version}}
|
2016-04-15 16:57:59 -05:00
|
|
|
{{>project}}
|
2016-04-14 11:29:56 -05:00
|
|
|
{{elseif !stage}}
|
2016-04-15 16:57:59 -05:00
|
|
|
{{>version}}
|
2016-04-14 11:29:56 -05:00
|
|
|
{{else}}
|
2016-04-15 16:57:59 -05:00
|
|
|
{{>stage}}
|
2016-04-14 11:29:56 -05:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-13 16:59:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
{{#partial projects}}
|
2016-04-14 11:29:56 -05:00
|
|
|
<div class="table-responsive">
|
2016-04-13 16:59:28 -05:00
|
|
|
<table class="pure-table pure-table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Project</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Stage</th>
|
|
|
|
<th>Last Release</th>
|
|
|
|
<th>Last Version</th>
|
2016-04-14 11:29:56 -05:00
|
|
|
<th>Last Log</th>
|
2016-04-13 16:59:28 -05:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#projects:i}}
|
|
|
|
<tr>
|
2016-04-15 16:57:59 -05:00
|
|
|
<td><a href="/project/{{.id}}/">{{.name}}</a></td>
|
2016-04-13 16:59:28 -05:00
|
|
|
<td>{{.status}}</td>
|
|
|
|
<td>{{.stage}}</td>
|
|
|
|
<td>{{.releaseVersion}}</td>
|
2016-04-15 16:57:59 -05:00
|
|
|
<td>{{.lastLog.version}}</td>
|
|
|
|
<td title="{{.lastLog.log}}">{{#if .lastLog.log}}{{.lastLog.log.substring(0,100) + " ..."}}{{/if}}</td>
|
2016-04-13 16:59:28 -05:00
|
|
|
</tr>
|
|
|
|
{{/projects}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-04-14 11:29:56 -05:00
|
|
|
</div>
|
2016-04-13 16:59:28 -05:00
|
|
|
{{/partial}}
|
2016-04-15 16:57:59 -05:00
|
|
|
|
|
|
|
{{#partial project}}
|
2016-04-17 20:43:27 -05:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="pure-table pure-table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Version</th>
|
|
|
|
<th>Stage</th>
|
|
|
|
<th>Last Log</th>
|
|
|
|
<th>Release File</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#project.versions:i}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.version}}</td>
|
|
|
|
<td>{{.stage}}</td>
|
|
|
|
<td title="{{.log}}">{{#if .log}}{{.log.substring(0,100) + " ..."}}{{/if}}</td>
|
|
|
|
<td>
|
|
|
|
{{#if .stage == "released"}}
|
|
|
|
<a href="/release/{{project.id}}/{{.version}}?file">Download</a>
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/versions}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2016-04-15 16:57:59 -05:00
|
|
|
{{/partial}}
|
|
|
|
|
|
|
|
{{#partial version}}
|
2016-04-17 20:43:27 -05:00
|
|
|
|
2016-04-15 16:57:59 -05:00
|
|
|
{{/partial}}
|
|
|
|
|
|
|
|
{{#partial stage}}
|
|
|
|
|
|
|
|
{{/partial}}
|
2016-04-06 11:31:22 -05:00
|
|
|
|
|
|
|
</script>
|
|
|
|
<script src="/js/ractive.min.js"></script>
|
|
|
|
<script src="/js/index.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|