Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #10117: replaced dialog by modal and corrected js
- Loading branch information
LouisGac
committed
Dec 16, 2015
1 parent
d2a4243
commit 89e0c3a
Showing
4 changed files
with
51 additions
and
49 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
application/views/admin/labels/_labelviewquickadd_view.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="modal fade" tabindex="-1" role="dialog" id='quickadd'> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | ||
<h4 class="modal-title"><?php eT('Enter your labels:') ?></h4> | ||
</div> | ||
<div class="modal-body"> | ||
<textarea id='quickaddarea' name='quickaddarea' class='tipme' title='<?php eT('Enter one label per line. You can provide a code by separating code and label text with a semikolon or tab. For multilingual surveys you add the translation(s) on the same line separated with a semikolon or tab.') ?>' rows='20' cols='100' style='width:570px;'></textarea> | ||
</div> | ||
<div class="modal-footer button-list"> | ||
<button id='btnqareplace' type='button' class="btn btn-default"><?php eT('Replace') ?></button> | ||
<button id='btnqainsert' type='button' class="btn btn-default"><?php eT('Add') ?></button> | ||
<button id='btnqacancel' type='button' class="btn btn-warning"><?php eT('Cancel') ?></button> | ||
</div> | ||
</div><!-- /.modal-content --> | ||
</div><!-- /.modal-dialog --> | ||
</div><!-- /.modal --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters