forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/enterprise' into frontend-extens…
…ions
- Loading branch information
Showing
35 changed files
with
11,839 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
package extensions | ||
|
||
import ( | ||
_ "gopkg.in/square/go-jose.v2" | ||
) | ||
|
||
var IsEnterprise bool = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<page-header model="ctrl.navModel"></page-header> | ||
|
||
<div class="page-container page-body"> | ||
<table class="filter-table form-inline"> | ||
<tbody> | ||
<tr> | ||
<td colspan="2" class="admin-settings-section">License Details</td> | ||
</tr> | ||
<tr> | ||
<td>License ID</td> | ||
<td>{{token.lid}} (<a href="{{token.iss}}/licenses/{{token.lid}}" target="_blank" rel="noopener noreferer">View Details</a>)</td> | ||
</tr> | ||
<tr> | ||
<td>Licensed URL</td> | ||
<td><a href="{{token.sub}}" target="_blank" rel="noopener noreferer">{{token.sub}}</a></td> | ||
</tr> | ||
<tr> | ||
<td>Company</td> | ||
<td>{{token.company}}</td> | ||
</tr> | ||
<tr> | ||
<td>Products</td> | ||
<td> | ||
<div ng-repeat="product in token.prod">{{product}}</div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Max Users</td> | ||
<td>{{token.maxUsers}}</td> | ||
</tr> | ||
<tr> | ||
<td>License Issued</td> | ||
<td>{{token.nbf*1000 | date:'medium'}}</td> | ||
</tr> | ||
<tr> | ||
<td>License Expires</td> | ||
<td>{{token.lexp*1000 | date:'medium'}}</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2" class="admin-settings-section">Token Details</td> | ||
</tr> | ||
<tr> | ||
<td>Token ID</td> | ||
<td>{{token.jti}}</td> | ||
</tr> | ||
<tr> | ||
<td>Token Issued</td> | ||
<td>{{token.iat*1000 | date:'medium'}}</td> | ||
</tr> | ||
<tr> | ||
<td>Token Expires</td> | ||
<td>{{token.exp*1000 | date:'medium'}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.