format code

This commit is contained in:
Synox 2016-11-21 22:29:56 +01:00
parent bd72639c5d
commit 9cc3435af6

View File

@ -100,8 +100,6 @@
</div> </div>
</div> </div>
<div class="row mail-content" ng-init="htmlTabActive=false"> <div class="row mail-content" ng-init="htmlTabActive=false">
<button ng-show="htmlTabActive" class="btn btn-outline-info btn-sm" <button ng-show="htmlTabActive" class="btn btn-outline-info btn-sm"
ng-click="htmlTabActive=false">show text ng-click="htmlTabActive=false">show text
</button> </button>
@ -109,21 +107,16 @@
ng-click="htmlTabActive=true">show html ng-click="htmlTabActive=true">show html
</button> </button>
<div ng-if="!htmlTabActive" ng-bind-html="mail.textPlain | nl2br | autolink "></div> <div ng-if="!htmlTabActive" class="mail-content"
<div ng-if="htmlTabActive" class="mail-conent" ng-bind-html="mail.textHtml"></div> ng-bind-html="mail.textPlain | nl2br | autolink "></div>
<div ng-if="htmlTabActive" class="mail-content" ng-bind-html="mail.textHtml"></div>
</div> </div>
</section> </section>
</div> </div>
</div> </div>
</main> </main>
</div> </div>
<footer> <footer>
<p>Powered by <a href="https://github.com/synox/disposable-mailbox"><strong>synox/disposable-mailbox</strong></a> <p>Powered by <a href="https://github.com/synox/disposable-mailbox"><strong>synox/disposable-mailbox</strong></a>
| <a href="https://github.com/synox/disposable-mailbox"><span class="octicon octicon-mark-github"></span> Fork | <a href="https://github.com/synox/disposable-mailbox"><span class="octicon octicon-mark-github"></span> Fork