2017-02-23 01:48:34 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html ng-app="com.daplie.cloud" ng-strict>
|
|
|
|
<head>
|
2017-02-28 01:22:25 +00:00
|
|
|
<link type="text/css" rel="stylesheet" href="/assets/com.bootstrapcdn/spacelab/bootstrap.css">
|
2017-02-23 01:48:34 +00:00
|
|
|
</head>
|
2017-02-28 01:22:25 +00:00
|
|
|
<body class="fade" ng-class="[ 'in' ]">
|
2017-02-23 01:48:34 +00:00
|
|
|
|
|
|
|
Do admin stuff:
|
|
|
|
|
2017-02-28 01:22:25 +00:00
|
|
|
<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>
|
2017-02-23 01:48:34 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>Login to Daplie</li>
|
2017-02-28 01:22:25 +00:00
|
|
|
<li>Show domains (or ask purchase)</li>
|
2017-02-23 01:48:34 +00:00
|
|
|
<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>
|
2017-02-28 01:22:25 +00:00
|
|
|
<script src="/assets/org.oauth3/oauth3.ng.js"></script>
|
|
|
|
<script src="/assets/org.oauth3/oauth3.domains.js"></script>
|
2017-02-23 01:48:34 +00:00
|
|
|
<script src="/js/app.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|