Streamline of screens.

This commit is contained in:
Martin Edenhofer 2014-09-25 08:04:28 +02:00
parent 07148462dd
commit 98496cee66
5 changed files with 85 additions and 112 deletions

View file

@ -1,4 +1,5 @@
<div class="page-header horizontal"> <div class="flex scrollable">
<div class="horizontal">
<div class="page-header-title"> <div class="page-header-title">
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1> <h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
</div> </div>
@ -9,40 +10,8 @@
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
</div>
<!--
<div class="row">
<div class="span3">
<ul class="nav nav-tabs nav-stacked">
<% if @menus: %>
<% for menu in @menus: %>
<li class="<%= menu['class'] %>"><a data-type="<%= menu['data-type'] %>" ><%= menu.name %></a></li>
-->
<!--
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= menu.name %><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">List</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">New</a></li>
</ul>
</li>
-->
<!--
<% end %>
<% end %>
</ul>
<% for note in @notes: %>
<p><%- @T( note ) %></p>
<% end %>
-->
<!--
</div> </div>
-->
<div class="table-overview"></div> <div class="table-overview"></div>
<!--
</div> </div>
-->

View file

@ -1,9 +1,9 @@
<div class="page-header"> <div class="flex scrollable">
<div>
<div class="page-header-title">
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1> <h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
</div> </div>
<div class="row">
<div class="span3">
<!-- <!--
<ul class="nav nav-tabs nav-stacked"> <ul class="nav nav-tabs nav-stacked">
<li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li> <li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li>
@ -16,7 +16,6 @@
<button class="btn btn--primary" type="submit"><%- @T('Install Package') %></button> <button class="btn btn--primary" type="submit"><%- @T('Install Package') %></button>
</form> </form>
</p> </p>
</div>
<table class="table table-striped table-hover"> <table class="table table-striped table-hover">
<thead> <thead>

View file

@ -1,15 +1,15 @@
<div class="page-header"> <div class="flex scrollable">
<div class="horizontal">
<div class="page-header-title">
<h1>Scheduler <small>Management</small></h1> <h1>Scheduler <small>Management</small></h1>
</div> </div>
</div>
<div class="row">
<div class="span3">
<ul class="nav nav-tabs nav-stacked"> <ul class="nav nav-tabs nav-stacked">
<li><a href="#">Jobs</a></li> <li><a href="#">Jobs</a></li>
</ul> </ul>
</div>
<div class="table-overview">
<div class="table-overview">
<div class="tabbable"> <div class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li> <li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li>

View file

@ -1,7 +1,9 @@
<div class="page-header"> <div class="flex scrollable">
<div>
<div class="page-header-title">
<h1><%- @T('Sessions') %><small></small></h1> <h1><%- @T('Sessions') %><small></small></h1>
</div> </div>
<table class="table table-striped table-hover"> <table class="table table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th class="span4"><%- @T('User') %></th> <th class="span4"><%- @T('User') %></th>
@ -24,4 +26,5 @@
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>

View file

@ -1,4 +1,5 @@
<div class="page-header horizontal"> <div class="flex scrollable">
<div class="horizontal">
<div class="page-header-title"> <div class="page-header-title">
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1> <h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
</div> </div>
@ -9,14 +10,15 @@
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
</div> </div>
<input class="search" name="search" placeholder="<%- @T('Search for users') %>"> <input class="search" name="search" placeholder="<%- @T('Search for users') %>">
<div class="tabs wide-tabs horizontal" style="width: 100%;"> <div class="tabs wide-tabs horizontal" style="width: 100%;">
<% for role in @roles: %> <% for role in @roles: %>
<div class="tab" data-id="<%= role.id %>"><%- @T(role.displayName() ) %></div> <div class="tab" data-id="<%= role.id %>"><%- @T(role.displayName() ) %></div>
<% end %> <% end %>
</div> </div>
<div class="table-overview"></div> <div class="table-overview"></div>
</div>