Finish mobilification of org view
This commit is contained in:
parent
531ddadb8a
commit
f1ea20315a
10 changed files with 153 additions and 112 deletions
|
@ -1,17 +1,14 @@
|
|||
<div class="application-manager-element">
|
||||
<div class="cor-loader" ng-show="loading"></div>
|
||||
<div ng-show="!loading">
|
||||
<div class="manager-header">
|
||||
<div class="side-controls">
|
||||
<span class="popup-input-button" placeholder="'Application Name'"
|
||||
submitted="createApplication(value)">
|
||||
<i class="fa fa-plus"></i> Create New Application
|
||||
</span>
|
||||
</div>
|
||||
<h3>OAuth Applications</h3>
|
||||
<div class="manager-header" header-title="OAuth Applications">
|
||||
<span class="popup-input-button" placeholder="'Application Name'"
|
||||
submitted="createApplication(value)">
|
||||
<i class="fa fa-plus"></i> Create New Application
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="manager-header section-description-header">
|
||||
<div class="section-description-header">
|
||||
The OAuth Applications panel allows organizations to define custom OAuth applications that can be used by internal or external customers to access <span class="registry-name"></span> data on behalf of the customers. More information about the <span class="registry-name"></span> API can be found by contacting support.
|
||||
</div>
|
||||
|
||||
|
@ -23,7 +20,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<table class="co-table" ng-show="applications.length">
|
||||
<table class="cor-table" ng-show="applications.length">
|
||||
<thead>
|
||||
<td>Application Name</td>
|
||||
<td>Application URI</td>
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
<div class="logs-view-element">
|
||||
<div class="header">
|
||||
<span class="header-text">
|
||||
<span ng-show="!performer">Usage Logs</span>
|
||||
<span class="entity-reference" entity="performer" ng-show="performer"></span>
|
||||
<span id="logs-range" class="mini">
|
||||
From
|
||||
<div class="manager-header" header-title="Usage Logs">
|
||||
<span id="logs-range" class="mini">
|
||||
<span class="date-line">
|
||||
<span class="date-line-caption">From</span>
|
||||
<input type="text" class="logs-date-picker input-sm" name="start" ng-model="logStartDate" data-max-date="{{ logEndDate }}" data-container="body" bs-datepicker/>
|
||||
<span class="add-on">to</span>
|
||||
</span>
|
||||
|
||||
<span class="date-line">
|
||||
<span class="date-line-caption add-on">to</span>
|
||||
<input type="text" class="logs-date-picker input-sm" name="end" ng-model="logEndDate" data-min-date="{{ logStartDate }}" bs-datepicker/>
|
||||
</span>
|
||||
</span>
|
||||
<span class="right">
|
||||
<span class="hidden-xs right">
|
||||
<i class="fa fa-bar-chart-o toggle-icon" ng-class="chartVisible ? 'active' : ''"
|
||||
ng-click="toggleChart()" data-title="Toggle Chart" bs-tooltip="tooltip.title"></i>
|
||||
<a href="{{ logsPath }}" download="usage-log.json" target="_new">
|
||||
|
@ -19,13 +20,12 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="cor-loader-inline" ng-show="loading"></div>
|
||||
<div ng-show="!loading">
|
||||
<div>
|
||||
<div id="bar-chart" style="width: 800px; height: 500px;" ng-show="chartVisible">
|
||||
<svg style="width: 800px; height: 500px;"></svg>
|
||||
</div>
|
||||
|
||||
<div class="side-controls">
|
||||
<div class="hidden-xs side-controls">
|
||||
<div class="result-count">
|
||||
Showing {{(logs | visibleLogFilter:kindsAllowed | filter:search | limitTo:150).length}} of
|
||||
{{(logs | visibleLogFilter:kindsAllowed | filter:search).length}} matching logs
|
||||
|
@ -36,14 +36,14 @@
|
|||
</div>
|
||||
|
||||
<div class="table-container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<th>Description</th>
|
||||
<th style="min-width: 226px">Date/Time</th>
|
||||
<th>User/Token/App</th>
|
||||
</thead>
|
||||
<div class="cor-loader" ng-show="loading"></div>
|
||||
<table class="cor-table">
|
||||
<thead>
|
||||
<td>Description</td>
|
||||
<td style="min-width: 226px">Date/Time</td>
|
||||
<td>User/Token/App</td>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr class="log" ng-repeat="log in (logs | visibleLogFilter:kindsAllowed | filter:search | limitTo:150)">
|
||||
<td>
|
||||
<span class="circle" style="{{ 'background: ' + getColor(log.kind) }}"></span>
|
||||
|
@ -74,8 +74,7 @@
|
|||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
<div class="prototype-manager-element">
|
||||
<div class="cor-loader" ng-show="loading"></div>
|
||||
<div ng-show="!loading">
|
||||
<div class="manager-header">
|
||||
<div class="side-controls">
|
||||
<button class="btn btn-primary" ng-click="showAddDialog()">
|
||||
<i class="fa fa-plus"></i>
|
||||
Create Default Permission
|
||||
</button>
|
||||
</div>
|
||||
<h3>Default Permissions</h3>
|
||||
<div class="manager-header" header-title="Default Permissions">
|
||||
<button class="btn btn-primary" ng-click="showAddDialog()">
|
||||
<i class="fa fa-plus"></i>
|
||||
Create Default Permission
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="manager-header section-description-header">
|
||||
<div class="section-description-header">
|
||||
The Default permissions panel defines permissions that should be granted automatically to a repository when it is created, in addition to the default of the repository's
|
||||
creator. Permissions are assigned based on the user who created the repository.
|
||||
<br><br>
|
||||
|
@ -26,7 +23,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<table class="co-table" ng-show="prototypes.length">
|
||||
<table class="cor-table" ng-show="prototypes.length">
|
||||
<thead>
|
||||
<td>
|
||||
<span class="context-tooltip"
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
<div class="teams-manager-element">
|
||||
<div class="manager-header">
|
||||
<div class="manager-header" header-title="Teams">
|
||||
<span class="popup-input-button" pattern="TEAM_PATTERN" placeholder="'Team Name'"
|
||||
submitted="createTeam(value)" ng-show="organization.is_admin">
|
||||
<i class="fa fa-plus" style="margin-right: 6px;"></i> Create New Team
|
||||
</span>
|
||||
<h3>Teams</h3>
|
||||
</div>
|
||||
|
||||
<div class="row hidden-xs">
|
||||
|
@ -33,7 +32,7 @@
|
|||
|
||||
<div class="team-description markdown-view" content="team.description" first-line-only="true"></div>
|
||||
|
||||
<div class="team-member-list" ng-if="members[team.name]">
|
||||
<div class="team-member-list hidden-xs" ng-if="members[team.name]">
|
||||
<div class="cor-loader" ng-if="!members[team.name].members"></div>
|
||||
<span class="team-member"
|
||||
ng-repeat="member in members[team.name].members | orderBy:'is_robot' | limitTo: 20">
|
||||
|
|
Reference in a new issue