Files
cloudron-box/src/views/support.html

64 lines
3.5 KiB
HTML
Raw Normal View History

2018-01-22 13:01:38 -08:00
<div class="content">
<div class="text-left">
<h1>Support</h1>
</div>
<div class="text-left">
<h3>Ticket</h3>
2018-01-22 13:01:38 -08:00
</div>
<div class="card">
<div class="grid-item-top">
<div class="row animateMeOpacity">
<div class="col-lg-12">
2019-05-10 17:12:55 -07:00
<div ng-bind-html="config.uiSpec.support.ticketFormBody | markdown2html"></div>
<form ng-show="config.uiSpec.support.submitTickets" name="feedbackForm" ng-submit="submitFeedback()">
2018-01-22 13:01:38 -08:00
<div class="form-group">
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.type" required>
<option value="app_error">App Error</option>
2018-03-05 10:28:22 -08:00
<option value="ticket">Bug Report</option>
2018-01-22 13:01:38 -08:00
</select>
</div>
<div class="form-group" ng-show="feedback.type === 'app_error'">
<select class="form-control" name="type" style="width: 50%;" ng-model="feedback.appId" ng-required="feedback.type === 'app_error'">
<option value="" disabled selected>Select App</option>
<option ng-repeat="app in apps" value="{{ app.id }}">{{ app.fqdn }}</option>
</select>
</div>
2018-01-22 13:01:38 -08:00
<div class="form-group" ng-class="{ 'has-error': (feedbackForm.subject.$dirty && feedbackForm.subject.$invalid) }">
<input type="text" class="form-control" name="subject" placeholder="Topic" ng-model="feedback.subject" ng-maxlength="512" ng-minlength="1" required>
2018-01-22 13:01:38 -08:00
</div>
<div class="form-group" ng-class="{ 'has-error': (feedbackForm.description.$dirty && feedbackForm.description.$invalid) }">
<textarea class="form-control" name="description" rows="3" placeholder="Describe your issue" ng-model="feedback.description" ng-minlength="1" required></textarea>
2018-01-22 13:01:38 -08:00
</div>
<button type="submit" class="btn btn-primary" ng-disabled="feedbackForm.$invalid || feedback.busy"><i class="fa fa-circle-notch fa-spin" ng-show="feedback.busy"></i> Submit</button>
2018-01-22 13:01:38 -08:00
<span ng-show="feedback.error" class="text-danger text-bold">{{feedback.error}}</span>
2018-06-12 13:20:08 -07:00
<span ng-show="feedback.success" class="text-success text-bold"> An email for sent to support@cloudron.io. We will get back shortly!</span>
2018-01-22 13:01:38 -08:00
</form>
</div>
</div>
</div>
</div>
2019-05-10 16:09:13 -07:00
<div class="text-left" ng-show="config.uiSpec.support.remoteSupport">
2018-01-22 13:01:38 -08:00
<h3>Remote Support</h3>
</div>
2019-05-10 16:09:13 -07:00
<div class="card" ng-show="config.uiSpec.support.remoteSupport">
2018-01-22 13:01:38 -08:00
<div class="grid-item-top">
<div class="row animateMeOpacity">
<div class="col-lg-12">
Enable this option to allow Cloudron engineers to connect to this server via SSH.
<br/>
<br/>
<b>Only enable this option if you were asked to do so by the Cloudron support team!</b>
2018-01-22 13:01:38 -08:00
<br/>
<br/>
<button class="btn" ng-class="{ 'btn-danger': !sshSupportEnabled, 'btn-primary': sshSupportEnabled }" ng-click="toggleSshSupport()">{{ sshSupportEnabled ? 'Disable SSH support access' : 'Enable SSH support access' }}</button>
</div>
</div>
</div>
</div>
</div>