admin: remove flex scrollable

This commit is contained in:
Felix Niklas 2014-09-30 13:34:05 +02:00
parent 4280268580
commit eea3429734
4 changed files with 152 additions and 169 deletions

View file

@ -1,17 +1,14 @@
<div class="flex scrollable">
<div class="page-header-title">
<div class="horizontal">
<div class="page-header-title">
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
</div>
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
<div class="page-header-meta">
<% if @buttons: %>
<% for button in @buttons: %>
<a data-type="<%= button['data-type'] %>" class="btn btn-default <%= button['class'] %>"><%- @T( button.name ) %></a>
<a data-type="<%= button['data-type'] %>" class="btn <%= button['class'] %>"><%- @T( button.name ) %></a>
<% end %>
<% end %>
</div>
</div>
</div>
<div class="table-overview"></div>
</div>
<div class="table-overview"></div>

View file

@ -1,43 +1,39 @@
<div class="flex scrollable">
<div>
<div class="page-header-title">
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
</div>
<div class="page-header-title">
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
</div>
<!--
<ul class="nav nav-tabs nav-stacked">
<li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li>
<li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li>
</ul>
<ul class="nav nav-tabs nav-stacked">
<li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li>
<li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li>
</ul>
-->
<p>
<form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data" class="horizontal center">
<input type="file" name="file_upload"/>
<button class="align-right btn btn--primary" type="submit"><%- @T('Install Package') %></button>
</form>
</p>
<p>
<form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data" class="horizontal center">
<input type="file" name="file_upload"/>
<button class="align-right btn btn--primary" type="submit"><%- @T('Install Package') %></button>
</form>
</p>
<table class="table table-striped table-hover">
<thead>
<tr>
<th><%- @T('Name') %></th>
<th><%- @T('Version') %></th>
<th><%- @T('Vendor') %></th>
<th><%- @T('State') %></th>
<th><%- @T('Action') %></th>
</tr>
</thead>
<tbody>
<% for item in @packages: %>
<tr data-id="<%= item.id %>">
<td><%= item.name %></td>
<td><%= item.version %></td>
<td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td>
<td><%- @T(item.state) %></td>
<td><% for action in item.action: %><a href="#" class="action" data-type="<%= action %>"><%- @T(action) %></a><br/><% end %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th><%- @T('Name') %></th>
<th><%- @T('Version') %></th>
<th><%- @T('Vendor') %></th>
<th><%- @T('State') %></th>
<th><%- @T('Action') %></th>
</tr>
</thead>
<tbody>
<% for item in @packages: %>
<tr data-id="<%= item.id %>">
<td><%= item.name %></td>
<td><%= item.version %></td>
<td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td>
<td><%- @T(item.state) %></td>
<td><% for action in item.action: %><a href="#" class="action" data-type="<%= action %>"><%- @T(action) %></a><br/><% end %></td>
</tr>
<% end %>
</tbody>
</table>

View file

@ -1,98 +1,91 @@
<div class="flex scrollable">
<div class="horizontal">
<div class="page-header-title">
<h1>Scheduler <small>Management</small></h1>
</div>
</div>
<div class="page-header-title">
<h1>Scheduler <small>Management</small></h1>
</div>
<ul class="nav nav-tabs nav-stacked">
<li><a href="#">Jobs</a></li>
</ul>
<ul class="nav nav-tabs nav-stacked">
<li><a href="#">Jobs</a></li>
</ul>
<div class="table-overview">
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li>
<li><a href="#channel-outbound" data-toggle="tab">Properties</a></li>
<li><a href="#channel-filter" data-toggle="tab">Message</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="channel-inbound">
<table class="table table-striped">
<tr>
<th>Host</th>
<th>User</th>
<th>Type</th>
<th>Active</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>wpt234rwr</td>
<td>IMAP</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>l31alal.example.com</td>
<td>wpt23dd4rwr</td>
<td>POP3</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
<div class="tab-pane" id="channel-outbound">
<table class="table table-striped">
<tr>
<th>Host</th>
<th>User</th>
<th>Type</th>
<th>Active</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>wpt234rwr</td>
<td>SMTP</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>l31alal.example.com</td>
<td>wpt23dd4rwr</td>
<td>Sendmail</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
<div class="tab-pane" id="channel-filter">
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Active</th>
<th>Last Run</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>true</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>wpt23dd4rwr</td>
<td>true</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
<div class="table-overview">
<div class="tabbable">
<ul class="nav nav-tabs">
<li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li>
<li><a href="#channel-outbound" data-toggle="tab">Properties</a></li>
<li><a href="#channel-filter" data-toggle="tab">Message</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="channel-inbound">
<table class="table table-striped">
<tr>
<th>Host</th>
<th>User</th>
<th>Type</th>
<th>Active</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>wpt234rwr</td>
<td>IMAP</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>l31alal.example.com</td>
<td>wpt23dd4rwr</td>
<td>POP3</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
<div class="tab-pane" id="channel-outbound">
<table class="table table-striped">
<tr>
<th>Host</th>
<th>User</th>
<th>Type</th>
<th>Active</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>wpt234rwr</td>
<td>SMTP</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>l31alal.example.com</td>
<td>wpt23dd4rwr</td>
<td>Sendmail</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
<div class="tab-pane" id="channel-filter">
<table class="table table-striped">
<tr>
<th>Name</th>
<th>Active</th>
<th>Last Run</th>
<th>Delete</th>
</tr>
<tr>
<td>lalal.example.com</td>
<td>true</td>
<td>true</td>
<td>x</td>
</tr>
<tr>
<td>wpt23dd4rwr</td>
<td>true</td>
<td>true</td>
<td>x</td>
</tr>
</table>
</div>
</div>
</div>
</div>

View file

@ -1,30 +1,27 @@
<div class="flex scrollable">
<div>
<div class="page-header-title">
<h1><%- @T('Sessions') %><small></small></h1>
</div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="span4"><%- @T('User') %></th>
<th class="span3"><%- @T('Browser') %></th>
<th class="span3"><%- @T('Location') %></th>
<th class="span1"><%- @T('Age') %></th>
<th class="span1"><%- @T('Update') %></th>
<th class="span1"></th>
</tr>
</thead>
<tbody>
<% for session in @sessions: %>
<tr>
<td><% if session.data.user: %><%= session.data.user.displayName() %><% end %></td>
<td><% if session.data.user_agent: %><%= session.data.user_agent %><% end %></td>
<td><% if session.data.geo: %><%= session.data.geo.country_code %> <%= session.data.geo.city %><% end %></td>
<td><span class="humanTimeFromNow" data-time="<%- session.created_at %>">?</span></td>
<td><span class="humanTimeFromNow" data-time="<%- session.updated_at %>">?</span></td>
<td><a href="#" data-session-id="<%- session.id %>" data-type="delete" class="glyphicon glyphicon-trash" title="<%- @T('Delete') %>"></a></td>
</tr>
<% end %>
</tbody>
</table>
</div>
<div class="page-header-title">
<h1><%- @T('Sessions') %><small></small></h1>
</div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="span4"><%- @T('User') %></th>
<th class="span3"><%- @T('Browser') %></th>
<th class="span3"><%- @T('Location') %></th>
<th class="span1"><%- @T('Age') %></th>
<th class="span1"><%- @T('Update') %></th>
<th class="span1"></th>
</tr>
</thead>
<tbody>
<% for session in @sessions: %>
<tr>
<td><% if session.data.user: %><%= session.data.user.displayName() %><% end %></td>
<td><% if session.data.user_agent: %><%= session.data.user_agent %><% end %></td>
<td><% if session.data.geo: %><%= session.data.geo.country_code %> <%= session.data.geo.city %><% end %></td>
<td><span class="humanTimeFromNow" data-time="<%- session.created_at %>">?</span></td>
<td><span class="humanTimeFromNow" data-time="<%- session.updated_at %>">?</span></td>
<td><a href="#" data-session-id="<%- session.id %>" data-type="delete" class="glyphicon glyphicon-trash" title="<%- @T('Delete') %>"></a></td>
</tr>
<% end %>
</tbody>
</table>