2018-01-22 13:01:38 -08:00
|
|
|
<div class="content">
|
|
|
|
|
|
|
|
|
|
<div class="text-left">
|
2020-10-28 16:17:14 +01:00
|
|
|
<h1>{{ 'support.title' | tr }}</h1>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="text-left">
|
2020-11-11 18:27:43 +01:00
|
|
|
<h3>{{ 'support.ticket.title' | tr }}</h3>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
2020-02-19 14:19:35 +01:00
|
|
|
<div class="grid-item-top">
|
2021-10-19 15:14:52 +02:00
|
|
|
<div class="row" ng-hide="ready">
|
|
|
|
|
<h2 class="text-center"><i class="fa fa-circle-notch fa-spin"></i></h2>
|
|
|
|
|
</div>
|
2022-05-26 14:13:13 -07:00
|
|
|
<div class="row" ng-show="ready">
|
2021-08-26 13:04:55 +02:00
|
|
|
<div class="col-lg-12">
|
2021-10-19 15:24:40 +02:00
|
|
|
<div ng-show="subscription && !subscription.emailVerified" style="margin-bottom: 30px;">
|
|
|
|
|
<p class="text-bold">
|
|
|
|
|
{{ 'support.ticket.emailNotVerified' | tr:{ email: subscription.email } }}
|
|
|
|
|
<br/>
|
|
|
|
|
<center>
|
2022-05-05 16:34:45 +02:00
|
|
|
<a ng-href="{{ config.consoleServerOrigin }}" target="_blank" class="btn btn-success">{{ 'support.ticket.emailVerifyAction' | tr }}</a>
|
2021-10-19 15:24:40 +02:00
|
|
|
</center>
|
|
|
|
|
</p>
|
2021-10-18 21:48:54 -07:00
|
|
|
</div>
|
|
|
|
|
|
2020-02-19 14:19:35 +01:00
|
|
|
<div ng-bind-html="supportConfig.ticketFormBody | markdown2html"></div>
|
2021-10-19 15:24:40 +02:00
|
|
|
|
2020-02-19 14:19:35 +01:00
|
|
|
<form ng-show="supportConfig.submitTickets" name="feedbackForm" ng-submit="submitFeedback()">
|
|
|
|
|
<div class="form-group">
|
2020-11-11 18:27:43 +01:00
|
|
|
<label>{{ 'support.ticket.type' | tr }}</label>
|
2021-08-26 13:04:55 +02:00
|
|
|
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.type" required ng-disabled="!subscription.emailVerified">
|
2020-11-11 18:27:43 +01:00
|
|
|
<option value="app_error">{{ 'support.ticket.typeApp' | tr }}</option>
|
|
|
|
|
<option value="ticket">{{ 'support.ticket.typeBug' | tr }}</option>
|
|
|
|
|
<option value="email_error">{{ 'support.ticket.typeEmail' | tr }}</option>
|
2020-02-19 14:19:35 +01:00
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-show="feedback.type === 'app_error'">
|
2020-11-11 18:27:43 +01:00
|
|
|
<label>{{ 'support.ticket.selectApp' | tr }}</label>
|
2021-08-26 13:04:55 +02:00
|
|
|
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.appId" ng-required="feedback.type === 'app_error'" ng-disabled="!subscription.emailVerified">
|
|
|
|
|
<option ng-repeat="app in apps" value="{{ app.id }}">{{ app.fqdn }}</option>
|
2020-02-19 14:19:35 +01:00
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{ 'has-error': (feedbackForm.subject.$dirty && feedbackForm.subject.$invalid) }">
|
2020-11-11 18:27:43 +01:00
|
|
|
<label>{{ 'support.ticket.topic' | tr }}</label>
|
2021-08-26 13:04:55 +02:00
|
|
|
<input type="text" class="form-control" name="subject" ng-model="feedback.subject" ng-maxlength="512" ng-minlength="1" required ng-disabled="!subscription.emailVerified">
|
2020-02-19 14:19:35 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{ 'has-error': (feedbackForm.description.$dirty && feedbackForm.description.$invalid) }">
|
2020-11-11 18:27:43 +01:00
|
|
|
<label>{{ 'support.ticket.report' | tr }}</label>
|
2021-08-26 13:04:55 +02:00
|
|
|
<textarea class="form-control" name="description" rows="3" placeholder="{{ 'support.ticket.reportPlaceholder' | tr }}" ng-model="feedback.description" ng-minlength="1" required ng-disabled="!subscription.emailVerified"></textarea>
|
2020-02-19 14:19:35 +01:00
|
|
|
</div>
|
2022-07-12 18:13:56 +02:00
|
|
|
<div class="form-group" ng-class="{ 'has-error': feedbackForm.email.$invalid }">
|
2020-11-12 23:13:52 +01:00
|
|
|
<label>{{ 'support.ticket.email' | tr }}</label> <small>{{ 'support.ticket.emailInfo' | tr:{ email: subscription.email } }}</small>
|
2022-07-12 18:13:56 +02:00
|
|
|
<input type="email" class="form-control" name="email" placeholder="{{ 'support.ticket.emailPlaceholder' | tr }}" ng-model="feedback.altEmail" ng-required="feedback.type === 'email_error'" ng-disabled="!subscription.emailVerified">
|
2020-02-19 14:19:35 +01:00
|
|
|
</div>
|
2020-10-05 15:20:07 +02:00
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="control-label">
|
2021-08-26 13:04:55 +02:00
|
|
|
<input type="checkbox" ng-model="feedback.enableSshSupport" ng-disabled="!subscription.emailVerified"> {{ 'support.ticket.sshCheckbox' | tr }}
|
2020-10-05 15:20:07 +02:00
|
|
|
</label>
|
|
|
|
|
</div>
|
2021-10-19 15:24:40 +02:00
|
|
|
<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>
|
2020-02-19 14:19:35 +01:00
|
|
|
<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>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
|
|
|
|
|
2020-02-28 19:27:19 +01:00
|
|
|
<div class="text-left">
|
2020-11-11 18:27:43 +01:00
|
|
|
<h3>{{ 'support.remoteSupport.title' | tr }}</h3>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
|
|
|
|
|
2020-02-28 19:27:19 +01:00
|
|
|
<div class="card">
|
2020-02-19 14:19:35 +01:00
|
|
|
<div class="grid-item-top">
|
2022-02-09 17:04:20 +01:00
|
|
|
<div class="row" ng-hide="ready">
|
|
|
|
|
<h2 class="text-center"><i class="fa fa-circle-notch fa-spin"></i></h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row" ng-show="ready">
|
2020-02-19 14:19:35 +01:00
|
|
|
<div class="col-lg-12">
|
2020-11-11 18:27:43 +01:00
|
|
|
<p>{{ 'support.remoteSupport.description' | tr }}</p>
|
2022-05-26 14:13:13 -07:00
|
|
|
<div>
|
2020-11-11 18:27:43 +01:00
|
|
|
<b>{{ 'support.remoteSupport.warning' | tr }}</b>
|
2020-03-06 01:08:55 -08:00
|
|
|
<br/>
|
|
|
|
|
<br/>
|
2021-10-07 17:16:27 +02:00
|
|
|
<b class="pull-left text-danger text-bold" ng-show="toggleSshSupportError">{{ toggleSshSupportError }}</b>
|
2021-10-19 15:24:40 +02:00
|
|
|
<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>
|
2020-03-06 01:08:55 -08:00
|
|
|
</div>
|
2020-02-19 14:19:35 +01:00
|
|
|
</div>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
2020-02-19 14:19:35 +01:00
|
|
|
</div>
|
2018-01-22 13:01:38 -08:00
|
|
|
</div>
|
|
|
|
|
</div>
|