-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2876 from skaut/2875-Removed-bootstrap-native
Removed bootstrap.native
- Loading branch information
Showing
13 changed files
with
92 additions
and
82 deletions.
There are no files selected for viewing
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
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
24 changes: 13 additions & 11 deletions
24
app/AccountancyModule/Components/templates/Dialog.layout.latte
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<div n:snippet n:inner-if="$renderModal" class="modal" tabindex="-1" role="dialog"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" n:inner-block="dialog-title"></h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body" n:inner-block="dialog-body"></div> | ||
<div class="modal-footer" n:inner-block="dialog-footer"> | ||
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Storno</button> | ||
<div n:snippet class="modal-container"> | ||
<div n:inner-if="$renderModal" class="modal" tabindex="-1" role="dialog"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" n:inner-block="dialog-title"></h5> | ||
<a n:href="close" class="btn-close ajax" data-bs-dismiss="modal" aria-label="Close"></a> {* Duplicate call to data-bs-modal to speed up modal closing. *} | ||
</div> | ||
<div class="modal-body" n:inner-block="dialog-body"></div> | ||
<div class="modal-footer" n:inner-block="dialog-footer"> | ||
<a n:href="close" class="btn btn-light ajax" data-bs-dismiss="modal">Storno</a> {* Duplicate call to data-bs-modal to speed up modal closing. *} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
36 changes: 19 additions & 17 deletions
36
app/AccountancyModule/UnitAccountModule/Components/templates/CreateCashbookDialog.latte
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 |
---|---|---|
@@ -1,17 +1,19 @@ | ||
<div n:snippet n:inner-if="$renderModal" class="modal {if $renderModal}rendered{/if}" tabindex="-1"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h4 class="modal-title">Založit pokladní knihu</h4> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body"> | ||
<p>Vyberte rok, pro který si přejete založit pokladní knihu</p> | ||
{control form} | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Storno</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{layout $layout} | ||
|
||
{define control $input, $extraClasses} | ||
<input n:name="$input" n:class="$input->hasErrors() ? 'is-invalid', form-control, $extraClasses ?? ''"> | ||
{/define} | ||
|
||
{define errors $input} | ||
<div class="invalid-feedback d-block" n:foreach="$input->getErrors() as $error">{$error}</div> | ||
{/define} | ||
|
||
|
||
{block dialog-title}Založit pokladní knihu{/block} | ||
|
||
{block dialog-body} | ||
<p>Vyberte rok, pro který si přejete založit pokladní knihu</p> | ||
{control form} | ||
|
||
|
||
{/block} |
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 was deleted.
Oops, something went wrong.
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