add new branding view

This commit is contained in:
Girish Ramakrishnan
2020-03-18 17:53:50 -07:00
parent 19e2df65ca
commit 0e3ae2b450
7 changed files with 85 additions and 65 deletions

View File

@@ -384,33 +384,4 @@
</div>
</div>
</div>
<div class="text-left">
<h3>Branding</h3>
</div>
<div class="card" style="margin-bottom: 15px;">
<div class="row" ng-hide="config.features.branding">
<div class="col-xs-12">
<b>Customizing the footer is only available in the business plan.</b>
</div>
</div>
<div class="row" ng-show="config.features.branding">
<div class="col-md-12">
<div class="form-group">
<label class="control-label" style="width: 100%">Footer</label>
<p class="text-small">Use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">markdown</a> to style the footer.</p>
<textarea class="form-control" ng-model="branding.footer.content" ng-disabled="branding.footer.busy"></textarea>
</div>
</div>
<div class="col-md-12 text-right">
<button class="btn btn-outline btn-primary pull-right" ng-click="branding.footer.save()"><i class="fa fa-circle-notch fa-spin" ng-show="branding.footer.busy"></i> Save</button>
</div>
</div>
<br/>
</div>
</div>