forked from alfio-event/alf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alfio-event#549 - Waiting queue download button and modal
Get available fields from backend and populate a modal dedicated to waiting queue download
- Loading branch information
Nassim Bounouas
committed
Nov 24, 2018
1 parent
e0431ca
commit a46ba05
Showing
5 changed files
with
46 additions
and
4 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
23 changes: 23 additions & 0 deletions
23
...ces/angular-templates/admin/partials/event/fragment/waiting-queue-select-field-modal.html
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,23 @@ | ||
<div class="modal-header"> | ||
<h3>Download waiting queue : select fields</h3> | ||
</div> | ||
<div class="modal-body"> | ||
<ul style="list-style-type:none;padding:0"> | ||
<li data-ng-repeat="field in fields"><label><input type="checkbox" ng-model="selected[field.key]"> {{field.value}}</label></li> | ||
</ul> | ||
<hr> | ||
<p> | ||
<label><input type="radio" name="format" value="excel" ng-model="format"> Excel</label> | ||
<label><input type="radio" name="format" value="csv" ng-model="format"> csv</label> | ||
</p> | ||
</div> | ||
<div class="modal-footer"> | ||
<div class="pull-left"> | ||
<button class="btn btn-default" data-ng-click="selectAll()">Select all</button> | ||
<button class="btn btn-default" data-ng-click="deselectAll()">Deselect all</button> | ||
</div> | ||
<div class="pull-right"> | ||
<button class="btn btn-primary" type="button" data-ng-click="download()" ><i class="fa fa-download"></i> download waiting queue</button> | ||
<button class="btn btn-default" type="button" data-ng-click="$dismiss()"><i class="fa fa-times"></i> close</button> | ||
</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
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