52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html ng-app="com.daplie.cloud" ng-strict>
|
|
<head>
|
|
<link type="text/css" rel="stylesheet" href="/assets/com.bootstrapcdn/spacelab/bootstrap.css">
|
|
</head>
|
|
<body class="fade" ng-class="[ 'in' ]">
|
|
|
|
Do admin stuff:
|
|
|
|
<div ng-controller="LoginController as vm" ng-init="vm.setSimple()">
|
|
<button
|
|
type="button"
|
|
class="btn btn-link"
|
|
ng-if="!vm.advanced"
|
|
ng-click="vm.setAdvanced()"
|
|
>advanced</button>
|
|
<button
|
|
type="button"
|
|
class="btn btn-link"
|
|
ng-if="vm.advanced"
|
|
ng-click="vm.setSimple();"
|
|
>simple</button>
|
|
<input
|
|
type="text"
|
|
ng-if="vm.advanced"
|
|
ng-change="vm.checkProviderUri(vm.myProviderUri)"
|
|
ng-model="vm.myProviderUri">
|
|
<button
|
|
type="button"
|
|
class="btn btn-default"
|
|
ng-disabled="vm.advanced && !vm.providerUri"
|
|
ng-click="vm.authenticate()"
|
|
>Login</button>
|
|
</div>
|
|
|
|
<ul>
|
|
<li>Login to Daplie</li>
|
|
<li>Show domains (or ask purchase)</li>
|
|
<li>Tunnel On</li>
|
|
<li>Show configured domains</li>
|
|
</ul>
|
|
|
|
<script src="/assets/com.jquery/jquery-3.1.1.js"></script>
|
|
<script src="/assets/com.google/angular.1.6.2.min.js"></script>
|
|
<script src="/assets/org.oauth3/oauth3.core.js"></script>
|
|
<script src="/assets/org.oauth3/oauth3.ng.js"></script>
|
|
<script src="/assets/org.oauth3/oauth3.domains.js"></script>
|
|
<script src="/js/app.js"></script>
|
|
|
|
</body>
|
|
</html>
|