Simplify footer branding html

This commit is contained in:
Johannes Zellner
2020-06-17 13:15:52 +02:00
parent 98f62eba9d
commit 39bccea953

View File

@@ -71,27 +71,24 @@
<h3>Footer</h3>
</div>
<div class="card">
<div class="card" ng-show="config.features.branding">
<div class="row">
<div class="col-md-12">
<p ng-hide="config.features.branding">Customizing the footer is only available in the business plan.</p>
<div ng-show="config.features.branding">
<form role="form" name="footerForm" autocomplete="off">
<p">Use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">markdown</a> to style the footer.</p>
<textarea name="footer" class="form-control" ng-model="footer.content" ng-disabled="footer.busy"></textarea>
</form>
</div>
<form role="form" name="footerForm" autocomplete="off">
<p">Use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">markdown</a> to style the footer.</p>
<textarea name="footer" class="form-control" ng-model="footer.content" ng-disabled="footer.busy"></textarea>
</form>
</div>
</div>
<br/>
<div class="row">
<div class="col-md-12 text-right">
<button class="btn btn-outline btn-primary pull-right" ng-click="footer.submit()" ng-disabled="!footerForm.$dirty || footerForm.$invalid || footer.busy"><i class="fa fa-circle-notch fa-spin" ng-show="footer.busy"></i> Save</button>
</div>
</div>
</div>
<div class="card" ng-hide="config.features.branding">
Customizing the footer is only available in the premium plan.
</div>
</div>