| 1 |
<div class="export"> |
| 2 |
<a href="#export-csv" title="<?php esc_attr_e( 'Export CSV', 'm-chart' ); ?>" class="button"><?php esc_html_e( 'Export', 'm-chart' ); ?></a> |
| 3 |
</div> |
| 4 |
<div class="import"> |
| 5 |
<div class="controls"> |
| 6 |
<a href="#select-csv" title="<?php esc_attr_e( 'Select CSV File', 'm-chart' ); ?>" class="button select"><?php esc_html_e( 'Select File', 'm-chart' ); ?></a> |
| 7 |
<a href="#import-csv" title="<?php esc_attr_e( 'Import', 'm-chart' ); ?>" class="button import hide"><?php esc_html_e( 'Import', 'm-chart' ); ?></a> |
| 8 |
<p class="file error hide"><?php esc_html_e( 'You can only import CSV files', 'm-chart' ); ?></p> |
| 9 |
<p class="import error hide"></p> |
| 10 |
<p class="import in-progress hide"><?php esc_html_e( 'Importing file', 'm-chart' ); ?></p> |
| 11 |
<div class="file-info hide"> |
| 12 |
<a href="#cancel" title="<?php esc_attr_e( 'Cancel Import', 'm-chart' ); ?>" class="dashicons dashicons-dismiss"></a> |
| 13 |
File: <span class="file-name"></span><br /> |
| 14 |
<span class="warning"><?php esc_html_e( 'Importing this file will replace all existing data', 'm-chart' ); ?></span> |
| 15 |
</div> |
| 16 |
</div> |
| 17 |
</div> |