Align buttons in support view to be consistent
The email verification is like the appstore login button essential and thus centered for focus.
This commit is contained in:
+11
-5
@@ -19,12 +19,18 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row" ng-show="ready && config.features.support">
|
<div class="row" ng-show="ready && config.features.support">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div ng-show="subscription && !subscription.emailVerified">
|
<div ng-show="subscription && !subscription.emailVerified" style="margin-bottom: 30px;">
|
||||||
<p class="text-bold">{{ 'support.ticket.emailNotVerified' | tr:{ email: subscription.email } }}</p>
|
<p class="text-bold">
|
||||||
<p><a ng-href="{{ config.webServerOrigin + '/console.html#/userprofile?email=' + subscription.emailEncoded }}" target="_blank" class="btn btn-primary">{{ 'support.ticket.emailVerifyAction' | tr }}</a></p>
|
{{ 'support.ticket.emailNotVerified' | tr:{ email: subscription.email } }}
|
||||||
|
<br/>
|
||||||
|
<center>
|
||||||
|
<a ng-href="{{ config.webServerOrigin + '/console.html#/userprofile?email=' + subscription.emailEncoded }}" target="_blank" class="btn btn-success">{{ 'support.ticket.emailVerifyAction' | tr }}</a>
|
||||||
|
</center>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ng-bind-html="supportConfig.ticketFormBody | markdown2html"></div>
|
<div ng-bind-html="supportConfig.ticketFormBody | markdown2html"></div>
|
||||||
|
|
||||||
<form ng-show="supportConfig.submitTickets" name="feedbackForm" ng-submit="submitFeedback()">
|
<form ng-show="supportConfig.submitTickets" name="feedbackForm" ng-submit="submitFeedback()">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>{{ 'support.ticket.type' | tr }}</label>
|
<label>{{ 'support.ticket.type' | tr }}</label>
|
||||||
@@ -57,7 +63,7 @@
|
|||||||
<input type="checkbox" ng-model="feedback.enableSshSupport" ng-disabled="!subscription.emailVerified"> {{ 'support.ticket.sshCheckbox' | tr }}
|
<input type="checkbox" ng-model="feedback.enableSshSupport" ng-disabled="!subscription.emailVerified"> {{ 'support.ticket.sshCheckbox' | tr }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary" ng-disabled="!subscription.emailVerified || feedbackForm.$invalid || feedback.busy"><i class="fa fa-circle-notch fa-spin" ng-show="feedback.busy"></i> {{ 'support.ticket.submitAction' | tr }}</button>
|
<button type="submit" class="btn btn-primary pull-right" ng-disabled="!subscription.emailVerified || feedbackForm.$invalid || feedback.busy"><i class="fa fa-circle-notch fa-spin" ng-show="feedback.busy"></i> {{ 'support.ticket.submitAction' | tr }}</button>
|
||||||
<span ng-show="feedback.error" class="text-danger text-bold">{{feedback.error}}</span>
|
<span ng-show="feedback.error" class="text-danger text-bold">{{feedback.error}}</span>
|
||||||
<span ng-show="feedback.result" class="text-success text-bold">{{feedback.result.message}}</span>
|
<span ng-show="feedback.result" class="text-success text-bold">{{feedback.result.message}}</span>
|
||||||
</form>
|
</form>
|
||||||
@@ -81,7 +87,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<b class="pull-left text-danger text-bold" ng-show="toggleSshSupportError">{{ toggleSshSupportError }}</b>
|
<b class="pull-left text-danger text-bold" ng-show="toggleSshSupportError">{{ toggleSshSupportError }}</b>
|
||||||
<button class="btn" ng-class="!sshSupportEnabled ? 'btn-danger' : 'btn-primary'" ng-click="toggleSshSupport()">{{ sshSupportEnabled ? ('support.remoteSupport.disableAction' | tr) : ('support.remoteSupport.enableAction' | tr) }}</button>
|
<button class="btn pull-right" ng-class="!sshSupportEnabled ? 'btn-danger' : 'btn-primary'" ng-click="toggleSshSupport()">{{ sshSupportEnabled ? ('support.remoteSupport.disableAction' | tr) : ('support.remoteSupport.enableAction' | tr) }}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user