Add the ability to view the system logs in the superuser endpoint
This commit is contained in:
parent
1f9f4ef26b
commit
5c7a9d0daf
10 changed files with 440 additions and 145 deletions
11
static/directives/cor-log-box.html
Normal file
11
static/directives/cor-log-box.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="co-log-box-element">
|
||||
<div id="co-log-viewer" class="co-log-viewer" ng-if="logs">
|
||||
<div class="quay-spinner" ng-if="!logs"></div>
|
||||
<div class="co-log-container">
|
||||
<div id="co-log-content" class="co-log-content">{{ logs }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="co-log-viewer-new-logs" ng-show="hasNewLogs" ng-click="moveToBottom()">
|
||||
New Logs <i class="fa fa-lg fa-arrow-circle-down"></i>
|
||||
</div>
|
||||
</div>
|
3
static/directives/cor-option.html
Normal file
3
static/directives/cor-option.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<li>
|
||||
<a href="javascript:void(0)" ng-click="optionClick()" ng-transclude></a>
|
||||
</li>
|
6
static/directives/cor-options-menu.html
Normal file
6
static/directives/cor-options-menu.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<span class="co-options-menu">
|
||||
<div class="dropdown" style="text-align: left;">
|
||||
<i class="fa fa-gear fa-lg dropdown-toggle" data-toggle="dropdown" data-title="Options" bs-tooltip></i>
|
||||
<ul class="dropdown-menu pull-right" ng-transclude></ul>
|
||||
</div>
|
||||
</span>
|
Reference in a new issue