forked from elpaso/qgis-feed
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a review step before submitting a feed item
- Loading branch information
Showing
5 changed files
with
198 additions
and
21 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
65 changes: 65 additions & 0 deletions
65
qgisfeedproject/templates/feeds/feed_item_confirmation.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,65 @@ | ||
<div id="form-review-modal" class="modal"> | ||
<div class="modal-background"></div> | ||
<div class="modal-card" style="width:60% !important"> | ||
<header class="modal-card-head"> | ||
<p class="modal-card-title">Review your changes</p> | ||
<button class="delete" aria-label="close"></button> | ||
</header> | ||
<section class="modal-card-body"> | ||
{% include 'feeds/feed_item_preview.html' %} | ||
|
||
<table class="table is-fullwidth"> | ||
<tbody> | ||
<tr> | ||
<th>Url:</th> | ||
<td id="urlPreview"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Sticky:</th> | ||
<td id="stickyPreview"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Sorting order:</th> | ||
<td id="sortingPreview"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Language filter:</th> | ||
<td id="languagePreview"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Spatial filter:</th> | ||
<td id="spatialFilterPreview" class="notification is-light"></td> | ||
</tr> | ||
<tr> | ||
<th>Publication start:</th> | ||
<td id="publishFromPreview"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Publication end:</th> | ||
<td id="publishToPreview"> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</section> | ||
<footer class="modal-card-foot is-justify-content-flex-end"> | ||
<button class="button"> | ||
<span class="icon"> | ||
<i class="fa fa-pen-to-square" aria-hidden="true"></i> | ||
</span> | ||
<span>Back to edition</span> | ||
</button> | ||
<button class="button is-success" type="submit" form="feedItemForm"> | ||
<span class="icon"> | ||
<i class="fa fa-floppy-disk" aria-hidden="true"></i> | ||
</span> | ||
<span>Submit changes</span> | ||
</button> | ||
</footer> | ||
</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