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

34
src/views/branding.html Normal file
View File

@@ -0,0 +1,34 @@
<div class="content">
<div class="text-left">
<h1>Branding</h1>
</div>
<div class="text-left">
<h3>Footer</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">
<p>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="footer.content" ng-disabled="footer.busy"></textarea>
</div>
</div>
<div class="col-md-12 text-right">
<button class="btn btn-outline btn-primary pull-right" ng-click="footer.save()"><i class="fa fa-circle-notch fa-spin" ng-show="footer.busy"></i> Save</button>
</div>
</div>
<br/>
</div>
</div>