diff options
author | Peter Wilmott <p@p8952.info> | 2015-01-26 17:52:46 +0000 |
---|---|---|
committer | Peter Wilmott <p@p8952.info> | 2015-01-26 17:52:46 +0000 |
commit | dc945c646cc910c2ea86d8a17465dad51e36109c (patch) | |
tree | 6237e319cb61e24cd9bfa0b29f0cc34f432a7d66 /web | |
parent | Update colours for partial QA passes (diff) | |
download | ruby-tinderbox-dc945c646cc910c2ea86d8a17465dad51e36109c.tar.gz ruby-tinderbox-dc945c646cc910c2ea86d8a17465dad51e36109c.tar.bz2 ruby-tinderbox-dc945c646cc910c2ea86d8a17465dad51e36109c.zip |
Small redesign of logs pages
Diffstat (limited to 'web')
-rw-r--r-- | web/views/build_logs.erb | 53 | ||||
-rw-r--r-- | web/views/repoman_logs.erb | 29 |
2 files changed, 60 insertions, 22 deletions
diff --git a/web/views/build_logs.erb b/web/views/build_logs.erb index d9069bf..c811414 100644 --- a/web/views/build_logs.erb +++ b/web/views/build_logs.erb @@ -1,29 +1,54 @@ <div class="text-center"> <h1><%=build[:package_id]%></h1> - <ul class="pagination"> - <li class=<%="disabled" if build[:emerge_info].nil?%>><a href="#emerge_info">Emerge Info</a></li> - <li class=<%="disabled" if build[:emerge_pqv].nil?%>><a href="#emerge_pqv">Emerge PQV</a></li> - <li class=<%="disabled" if build[:build_log].nil?%>><a href="#build_log">Build Log</a></li> - <li class=<%="disabled" if build[:gem_list].nil?%>><a href="#gem_list">Gem List</a></li> - </ul> + <div class="btn-group btn-group-justified"> + <a class="btn btn-default <%="disabled" if build[:emerge_info].nil?%>" href="#emerge_info">Emerge Info</a> + <a class="btn btn-default <%="disabled" if build[:emerge_pqv].nil?%>" href="#emerge_pqv">Emerge PQV</a> + <a class="btn btn-default <%="disabled" if build[:build_log].nil?%>" href="#build_log">Build Log</a> + <a class="btn btn-default <%="disabled" if build[:gem_list].nil?%>" href="#gem_list">Gem List</a> + </div> </div> +<br> <%unless build[:emerge_info].nil?%> -<h4><a name="emerge_info">Emerge Info:</a></h4> -<pre><%=build[:emerge_info]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="emerge_info">Emerge Info</a></h4> + </div> + <div class="panel-body"> + <pre><%=build[:emerge_info]%></pre> + </div> +</div> <%end%> <%unless build[:emerge_pqv].nil?%> -<h4><a name="emerge_pqv">Emerge PQV:</a></h4> -<pre><%=build[:emerge_pqv]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="emerge_pqv">Emerge PQV</a></h4> + </div> + <div class="panel-body"> + <pre><%=build[:emerge_pqv]%></pre> + </div> +</div> <%end%> <%unless build[:build_log].nil?%> -<h4><a name="build_log">Build Log:</a></h4> -<pre><%=build[:build_log]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="build_log">Build Log</a></h4> + </div> + <div class="panel-body"> + <pre><%=build[:build_log]%></pre> + </div> +</div> <%end%> <%unless build[:gem_list].nil?%> -<h4><a name="gem_list">Gem List:</a></h4> -<pre><%=build[:gem_list]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="gem_list">Gem List</a></h4> + </div> + <div class="panel-body"> + <pre><%=build[:gem_list]%></pre> + </div> +</div> <%end%> diff --git a/web/views/repoman_logs.erb b/web/views/repoman_logs.erb index 3d227b9..37c3db1 100644 --- a/web/views/repoman_logs.erb +++ b/web/views/repoman_logs.erb @@ -1,17 +1,30 @@ <div class="text-center"> <h1><%=repomans[:package_id]%></h1> - <ul class="pagination"> - <li class=<%="disabled" if repomans[:current_log].nil?%>><a href="#current_log">Current Log</a></li> - <li class=<%="disabled" if repomans[:next_log].nil?%>><a href="#next_log">Next Log</a></li> - </ul> + <div class="btn-group btn-group-justified"> + <a class="btn btn-default <%="disabled" if repomans[:current_log].nil?%>" href="#current_log">Current Ruby Target(s)</a> + <a class="btn btn-default <%="disabled" if repomans[:next_log].nil?%>" href="#next_log">Next Ruby Target</a> + </div> </div> +<br> <%unless repomans[:current_log].nil?%> -<h4><a name="current_log">Current Log:</a></h4> -<pre><%=repomans[:current_log]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="current_log">Current Ruby Target(s)</a></h4> + </div> + <div class="panel-body"> + <pre><%=repomans[:current_log]%></pre> + </div> +</div> <%end%> <%unless repomans[:next_log].nil?%> -<h4><a name="next_log">Next Log:</a></h4> -<pre><%=repomans[:next_log]%></pre> +<div class="panel panel-default"> + <div class="panel-heading"> + <h4><a name="next_log">Next Ruby Target</a></h4> + </div> + <div class="panel-body"> + <pre><%=repomans[:next_log]%></pre> + </div> +</div> <%end%> |