fictioneer/partials/_modal-suggestions.php
2024-05-17 12:34:14 +02:00

54 lines
1.6 KiB
PHP

<?php
/**
* Partial: Suggestion Modal
*
* @package WordPress
* @subpackage Fictioneer
* @since 4.0.0
*/
// No direct access!
defined( 'ABSPATH' ) OR exit;
?>
<div id="suggestions-modal" class="suggestions modal" data-nosnippet hidden>
<label for="suggestions-modal-toggle" class="background-close"></label>
<div class="modal__wrapper suggestions__wrapper">
<label class="close" for="suggestions-modal-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
<?php fictioneer_icon( 'fa-xmark' ); ?>
</label>
<div class="modal__header drag-anchor"><?php _ex( 'Suggestion', 'Suggestion modal heading.', 'fictioneer' ); ?></div>
<div class="modal__row suggestions__display">
<div class="suggestions__original">
<div id="suggestions-modal-original" class="suggestions__text"></div>
</div>
</div>
<div class="modal__row suggestions__input">
<div id="suggestions-modal-edit" class="suggestions__edit">
<textarea id="suggestions-modal-input" rows="1"></textarea>
</div>
</div>
<div class="modal__row suggestions__display">
<div class="suggestions__diff">
<div id="suggestions-modal-diff" class="suggestions__text"></div>
</div>
</div>
<div class="modal__actions suggestions__actions">
<button type="reset" id="button-suggestion-reset" class="button"><?php _e( 'Reset', 'fictioneer' ); ?></button>
<button type="submit" id="button-suggestion-submit" class="button"><?php _e( 'Append to Comment', 'fictioneer' ); ?></button>
</div>
</div>
</div>