1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-04 16:25:07 -05:00

move lightbox to template

This commit is contained in:
Tankred Hase 2013-09-18 23:27:56 +02:00
parent a5d6a4549b
commit 289b462c2d
2 changed files with 15 additions and 15 deletions

View File

@ -10,6 +10,7 @@
<!-- left column: containing list view and navigation header --> <!-- left column: containing list view and navigation header -->
<div class="column view-mail-list" ng-include="'tpl/mail-list.html'" ng-controller="MailListCtrl"></div> <div class="column view-mail-list" ng-include="'tpl/mail-list.html'" ng-controller="MailListCtrl"></div>
<!-- right column: containing list read view -->
<div class="column" ng-include="'tpl/read.html'"></div> <div class="column" ng-include="'tpl/read.html'"></div>
</section> </section>
@ -18,18 +19,4 @@
</div><!--/.nav-container--> </div><!--/.nav-container-->
<!-- lightbox --> <!-- lightbox -->
<div class="lightbox-overlay"> <div class="lightbox-overlay" ng-include="'tpl/lightbox.html'"></div>
<div class="lightbox lightbox-effect">
<div class="lightbox-body">
<header>
<!-- add lightbox title -->
<h2>New email</h2>
<button class="close" data-action="lightbox-close">&#xe007;</button>
</header>
<div class="content">
<!-- add lightbox content here -->
some content
</div>
</div>
</div>
</div><!--/.lightbox-->

13
src/tpl/lightbox.html Normal file
View File

@ -0,0 +1,13 @@
<div class="lightbox lightbox-effect">
<div class="lightbox-body">
<header>
<!-- add lightbox title -->
<h2>New email</h2>
<button class="close" data-action="lightbox-close">&#xe007;</button>
</header>
<div class="content">
<!-- add lightbox content here -->
some content
</div>
</div>
</div>