Cleaned up template modal

pull/24/head
Jordan 2014-03-18 16:00:48 -05:00
parent b3e3dd8ff1
commit bd182964ca
2 changed files with 15 additions and 7 deletions

View File

@ -108,4 +108,10 @@
.pagination {
margin:0px;
}
}
@media (min-width: 992px) {
.modal-lg {
width: 900px;
}
}

View File

@ -53,7 +53,7 @@
</div>
<!-- New Template Modal -->
<div class="modal" id="newTemplateModal" tabindex="-1" role="dialog" aria-labelledby="templateModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
@ -78,16 +78,18 @@
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="template_text">
<textarea class="form-control" ng-model="template.text" placeholder="Plaintext"></textarea>
<textarea rows="10" class="form-control" ng-model="template.text" placeholder="Plaintext"></textarea>
</div>
<div class="tab-pane" id="template_html">
<textarea class="form-control" ng-model="template.html" placeholder="HTML"></textarea>
<textarea rows="10" class="form-control" ng-model="template.html" placeholder="HTML"></textarea>
</div>
<div class="tab-pane" id="template_preview" ng-bind-html="template.html | unsafe"></div>
</div>
<div class="form-group" style="margin-top:15px">
<button class="btn btn-danger"><i class="fa fa-plus"></i> Add Files</button>
</div>
<fieldset disabled>
<div class="form-group" style="margin-top:15px">
<button class="btn btn-danger btn-disabled"><i class="fa fa-plus"></i> Add Files (Coming Soon!)</button>
</div>
</fieldset>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>