Fix setup wizard dependency on setupToken

This commit is contained in:
Johannes Zellner
2015-12-29 15:27:46 +01:00
parent 3a4ec5c86a
commit d83939b165
2 changed files with 9 additions and 5 deletions

View File

@@ -38,13 +38,13 @@
<body class="setup" ng-app="Application" ng-controller="SetupController">
<center ng-show="!setupToken">
<center ng-show="wizard.provider === 'caas' && !setupToken">
<h1> <i class="fa fa-frown-o fa-fw text-danger"></i> No setup token provided. </h1>
Please use the setup link for this cloudron.
</center>
<div class="main-container">
<div class="row" ng-show="initialized && !busy && setupToken">
<div class="row" ng-show="initialized && !busy && !(wizard.provider === 'caas' && !setupToken)">
<div class="col-md-8 col-md-offset-2">
<div class="card" style="max-width: none; padding: 20px;">
<form role="form" name="setup_form" novalidate>