mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add inline uploader UI to media modal sidebar. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1309,6 +1309,13 @@ function wp_print_media_templates( $attachment ) {
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="tmpl-uploader-inline">
|
||||
<h3><?php _e( 'Drop files here' ); ?></h3>
|
||||
<!--<span><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></span>-->
|
||||
<a href="#" class="browser button-secondary"><?php _e( 'Select Files' ); ?></a>
|
||||
<div class="media-progress-bar"><div></div></div>
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="tmpl-sidebar">
|
||||
<h2 class="sidebar-title"><%- title %></h2>
|
||||
<div class="sidebar-content"></div>
|
||||
|
||||
Reference in New Issue
Block a user