admin: remove flex scrollable
This commit is contained in:
parent
4280268580
commit
eea3429734
4 changed files with 152 additions and 169 deletions
|
@ -1,17 +1,14 @@
|
||||||
<div class="flex scrollable">
|
<div class="page-header-title">
|
||||||
<div class="horizontal">
|
<div class="horizontal">
|
||||||
<div class="page-header-title">
|
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
|
||||||
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
|
|
||||||
</div>
|
|
||||||
<div class="page-header-meta">
|
<div class="page-header-meta">
|
||||||
<% if @buttons: %>
|
<% if @buttons: %>
|
||||||
<% for button in @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 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table-overview"></div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="table-overview"></div>
|
|
@ -1,43 +1,39 @@
|
||||||
<div class="flex scrollable">
|
<div class="page-header-title">
|
||||||
<div>
|
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
|
||||||
<div class="page-header-title">
|
</div>
|
||||||
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<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>
|
||||||
<li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li>
|
<li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
-->
|
-->
|
||||||
<p>
|
<p>
|
||||||
<form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data" class="horizontal center">
|
<form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data" class="horizontal center">
|
||||||
<input type="file" name="file_upload"/>
|
<input type="file" name="file_upload"/>
|
||||||
<button class="align-right btn btn--primary" type="submit"><%- @T('Install Package') %></button>
|
<button class="align-right btn btn--primary" type="submit"><%- @T('Install Package') %></button>
|
||||||
</form>
|
</form>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table class="table table-striped table-hover">
|
<table class="table table-striped table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><%- @T('Name') %></th>
|
<th><%- @T('Name') %></th>
|
||||||
<th><%- @T('Version') %></th>
|
<th><%- @T('Version') %></th>
|
||||||
<th><%- @T('Vendor') %></th>
|
<th><%- @T('Vendor') %></th>
|
||||||
<th><%- @T('State') %></th>
|
<th><%- @T('State') %></th>
|
||||||
<th><%- @T('Action') %></th>
|
<th><%- @T('Action') %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% for item in @packages: %>
|
<% for item in @packages: %>
|
||||||
<tr data-id="<%= item.id %>">
|
<tr data-id="<%= item.id %>">
|
||||||
<td><%= item.name %></td>
|
<td><%= item.name %></td>
|
||||||
<td><%= item.version %></td>
|
<td><%= item.version %></td>
|
||||||
<td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td>
|
<td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td>
|
||||||
<td><%- @T(item.state) %></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>
|
<td><% for action in item.action: %><a href="#" class="action" data-type="<%= action %>"><%- @T(action) %></a><br/><% end %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
|
|
@ -1,98 +1,91 @@
|
||||||
<div class="flex scrollable">
|
<div class="page-header-title">
|
||||||
<div class="horizontal">
|
<h1>Scheduler <small>Management</small></h1>
|
||||||
<div class="page-header-title">
|
</div>
|
||||||
<h1>Scheduler <small>Management</small></h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<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 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>
|
||||||
<li><a href="#channel-outbound" data-toggle="tab">Properties</a></li>
|
<li><a href="#channel-outbound" data-toggle="tab">Properties</a></li>
|
||||||
<li><a href="#channel-filter" data-toggle="tab">Message</a></li>
|
<li><a href="#channel-filter" data-toggle="tab">Message</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div class="tab-pane active" id="channel-inbound">
|
<div class="tab-pane active" id="channel-inbound">
|
||||||
|
<table class="table table-striped">
|
||||||
<table class="table table-striped">
|
<tr>
|
||||||
<tr>
|
<th>Host</th>
|
||||||
<th>Host</th>
|
<th>User</th>
|
||||||
<th>User</th>
|
<th>Type</th>
|
||||||
<th>Type</th>
|
<th>Active</th>
|
||||||
<th>Active</th>
|
<th>Delete</th>
|
||||||
<th>Delete</th>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>lalal.example.com</td>
|
||||||
<td>lalal.example.com</td>
|
<td>wpt234rwr</td>
|
||||||
<td>wpt234rwr</td>
|
<td>IMAP</td>
|
||||||
<td>IMAP</td>
|
<td>true</td>
|
||||||
<td>true</td>
|
<td>x</td>
|
||||||
<td>x</td>
|
</tr>
|
||||||
</tr>
|
<tr>
|
||||||
<tr>
|
<td>l31alal.example.com</td>
|
||||||
<td>l31alal.example.com</td>
|
<td>wpt23dd4rwr</td>
|
||||||
<td>wpt23dd4rwr</td>
|
<td>POP3</td>
|
||||||
<td>POP3</td>
|
<td>true</td>
|
||||||
<td>true</td>
|
<td>x</td>
|
||||||
<td>x</td>
|
</tr>
|
||||||
</tr>
|
</table>
|
||||||
</table>
|
</div>
|
||||||
|
<div class="tab-pane" id="channel-outbound">
|
||||||
</div>
|
<table class="table table-striped">
|
||||||
<div class="tab-pane" id="channel-outbound">
|
<tr>
|
||||||
<table class="table table-striped">
|
<th>Host</th>
|
||||||
<tr>
|
<th>User</th>
|
||||||
<th>Host</th>
|
<th>Type</th>
|
||||||
<th>User</th>
|
<th>Active</th>
|
||||||
<th>Type</th>
|
<th>Delete</th>
|
||||||
<th>Active</th>
|
</tr>
|
||||||
<th>Delete</th>
|
<tr>
|
||||||
</tr>
|
<td>lalal.example.com</td>
|
||||||
<tr>
|
<td>wpt234rwr</td>
|
||||||
<td>lalal.example.com</td>
|
<td>SMTP</td>
|
||||||
<td>wpt234rwr</td>
|
<td>true</td>
|
||||||
<td>SMTP</td>
|
<td>x</td>
|
||||||
<td>true</td>
|
</tr>
|
||||||
<td>x</td>
|
<tr>
|
||||||
</tr>
|
<td>l31alal.example.com</td>
|
||||||
<tr>
|
<td>wpt23dd4rwr</td>
|
||||||
<td>l31alal.example.com</td>
|
<td>Sendmail</td>
|
||||||
<td>wpt23dd4rwr</td>
|
<td>true</td>
|
||||||
<td>Sendmail</td>
|
<td>x</td>
|
||||||
<td>true</td>
|
</tr>
|
||||||
<td>x</td>
|
</table>
|
||||||
</tr>
|
</div>
|
||||||
</table>
|
<div class="tab-pane" id="channel-filter">
|
||||||
</div>
|
<table class="table table-striped">
|
||||||
<div class="tab-pane" id="channel-filter">
|
<tr>
|
||||||
<table class="table table-striped">
|
<th>Name</th>
|
||||||
<tr>
|
<th>Active</th>
|
||||||
<th>Name</th>
|
<th>Last Run</th>
|
||||||
<th>Active</th>
|
<th>Delete</th>
|
||||||
<th>Last Run</th>
|
</tr>
|
||||||
<th>Delete</th>
|
<tr>
|
||||||
</tr>
|
<td>lalal.example.com</td>
|
||||||
<tr>
|
<td>true</td>
|
||||||
<td>lalal.example.com</td>
|
<td>true</td>
|
||||||
<td>true</td>
|
<td>x</td>
|
||||||
<td>true</td>
|
</tr>
|
||||||
<td>x</td>
|
<tr>
|
||||||
</tr>
|
<td>wpt23dd4rwr</td>
|
||||||
<tr>
|
<td>true</td>
|
||||||
<td>wpt23dd4rwr</td>
|
<td>true</td>
|
||||||
<td>true</td>
|
<td>x</td>
|
||||||
<td>true</td>
|
</tr>
|
||||||
<td>x</td>
|
</table>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -1,30 +1,27 @@
|
||||||
<div class="flex scrollable">
|
<div class="page-header-title">
|
||||||
<div>
|
<h1><%- @T('Sessions') %><small></small></h1>
|
||||||
<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>
|
||||||
|
<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>
|
Loading…
Reference in a new issue