block.hbs
4 years ago
index.php
3 years ago
settings.hbs
4 years ago
settingsDisplayOptions.hbs
1 year ago
settingsSelection.hbs
4 years ago
settingsSelectionEmpty.hbs
4 years ago
settingsSinglePost.hbs
4 years ago
widget.hbs
4 years ago
settingsSelection.hbs
29 lines
| 1 | <div class="mailpoet_settings_posts_selection_controls"> |
| 2 | <div class="mailpoet_post_selection_filter_row"> |
| 3 | <input type="text" name="" class="mailpoet_input mailpoet_input_full mailpoet_posts_search_term" value="{{model.search}}" placeholder="<%= __('Search...') %>" /> |
| 4 | </div> |
| 5 | <div class="mailpoet_post_selection_filter_row"><select name="mailpoet_posts_content_type" class="mailpoet_select mailpoet_select_half_width mailpoet_settings_posts_content_type"> |
| 6 | <option value="post" {{#ifCond model.contentType '==' 'post'}}SELECTED{{/ifCond}}><%= __('Posts') %></option> |
| 7 | <option value="page" {{#ifCond model.contentType '==' 'page'}}SELECTED{{/ifCond}}><%= __('Pages') %></option> |
| 8 | <option value="mailpoet_page" {{#ifCond model.contentType '==' 'mailpoet_page'}}SELECTED{{/ifCond}}><%= __('MailPoet pages') %></option> |
| 9 | </select><select class="mailpoet_select mailpoet_select_half_width mailpoet_posts_post_status"> |
| 10 | <option value="publish" {{#ifCond model.postStatus '==' 'publish'}}SELECTED{{/ifCond}}><%= __('Published') %></option> |
| 11 | <option value="future" {{#ifCond model.postStatus '==' 'future'}}SELECTED{{/ifCond}}><%= __('Scheduled') %></option> |
| 12 | <option value="draft" {{#ifCond model.postStatus '==' 'draft'}}SELECTED{{/ifCond}}><%= __('Draft') %></option> |
| 13 | <option value="pending" {{#ifCond model.postStatus '==' 'pending'}}SELECTED{{/ifCond}}><%= __('Pending Review') %></option> |
| 14 | <option value="private" {{#ifCond model.postStatus '==' 'private'}}SELECTED{{/ifCond}}><%= __('Private') %></option> |
| 15 | </select></div> |
| 16 | <div class="mailpoet_post_selection_filter_row"> |
| 17 | <select class="mailpoet_select mailpoet_posts_categories_and_tags" multiple="multiple"> |
| 18 | {{#each model.terms}} |
| 19 | <option value="{{ id }}" selected="selected">{{ text }}</option> |
| 20 | {{/each}} |
| 21 | </select> |
| 22 | </div> |
| 23 | </div> |
| 24 | <div class="mailpoet_post_selection_container"> |
| 25 | </div> |
| 26 | <div class="mailpoet_post_selection_loading" style="visibility: hidden;"> |
| 27 | <%= __('Loading posts...') %> |
| 28 | </div> |
| 29 |