Initial commit
This commit is contained in:
commit
f9f65dc84d
23 files changed
+5074
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Simply_Static
|
||||
*/
|
||||
?>
|
||||
|
||||
<h2><?php _e( 'Simply Static S3', $this->slug ); ?></h2>
|
||||
|
||||
<div class="wrap">
|
||||
|
||||
<?php if ( is_array( $this->export_log ) && count( $this->export_log ) ): ?>
|
||||
<h3><?php _e( 'Export Log', $this->slug ); ?></h3>
|
||||
<div class="export-log">
|
||||
<pre><?php echo implode( "\n", $this->export_log ) ?></pre>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<form id="generate" method="post" action="">
|
||||
|
||||
<?php if ( $this->system_requirements_check_failed ) : ?>
|
||||
<p><?php _e( "Uh oh, we've found an issue that prevents us from creating a static copy of your site.", $this->slug ); ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( "Press the button below to create a static copy of your site.", $this->slug ); ?></p>
|
||||
<p><?php _e( "Note: on large sites this process may take a while.", $this->slug ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<p class="submit">
|
||||
<?php wp_nonce_field( $this->slug ) ?>
|
||||
<input class="button button-primary button-hero" type="submit" name="generate" value="Generate Static Files" <?php if ( $this->system_requirements_check_failed ) { echo 'disabled=disabled'; } ?> />
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
Reference in new issue
Block a user