Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
<?php
/**
* LiteSpeed Cache OptimaX
*
* Manages the OptimaX interface for LiteSpeed Cache.
*
* @package LiteSpeed
* @since 8.0
*/
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
$menu_list = array(
'summary' => esc_html__( 'OptimaX Summary', 'litespeed-cache' ),
'settings' => esc_html__( 'OptimaX Settings', 'litespeed-cache' ),
);
if ( is_network_admin() ) {
$menu_list = array(
'network_settings' => esc_html__( 'OptimaX Settings', 'litespeed-cache' ),
);
}
?>
<div class="wrap">
<h1 class="litespeed-h1">
<?php esc_html_e( 'LiteSpeed Cache OptimaX', 'litespeed-cache' ); ?>
</h1>
<span class="litespeed-desc">
v<?php echo esc_html( Core::VER ); ?>
</span>
<hr class="wp-header-end">
</div>
<div class="litespeed-wrap">
<h2 class="litespeed-header nav-tab-wrapper">
<?php GUI::display_tab_list( $menu_list ); ?>
</h2>
<div class="litespeed-body">
<?php
foreach ( $menu_list as $menu_key => $val ) {
echo '<div data-litespeed-layout="' . esc_attr( $menu_key ) . '">';
require LSCWP_DIR . 'tpl/optimax/' . $menu_key . '.tpl.php';
echo '</div>';
}
?>
</div>
</div>

View File

@@ -0,0 +1,43 @@
<?php
/**
* LiteSpeed Cache OptimaX Settings
*
* Manages OptimaX settings for LiteSpeed Cache.
*
* @package LiteSpeed
* @since 8.0
*/
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
$this->form_action();
?>
<h3 class="litespeed-title-short">
<?php esc_html_e( 'OptimaX Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/imageopt/#image-optimization-settings-tab' ); ?>
</h3>
<table class="wp-list-table striped litespeed-table">
<tbody>
<tr>
<th>
<?php $option_id = Base::O_OPTIMAX; ?>
<?php $this->title( $option_id ); ?>
</th>
<td>
<?php $this->build_switch( $option_id ); ?>
<div class="litespeed-desc">
<?php esc_html_e( 'Turn on OptimaX. This will automatically request your pages OptimaX result via cron job.', 'litespeed-cache' ); ?>
</div>
</td>
</tr>
</tbody>
</table>
<?php
$this->form_end();

View File

@@ -0,0 +1,38 @@
<?php
/**
* LiteSpeed Cache OptimaX Summary
*
* Manages the OX summary interface for LiteSpeed Cache.
*
* @package LiteSpeed
* @since 8.0
*/
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
?>
<div class="litespeed-flex-container litespeed-column-with-boxes">
<div class="litespeed-width-7-10 litespeed-column-left litespeed-image-optim-summary-wrapper">
<div class="litespeed-image-optim-summary">
<h3>
Coming soon
</h3>
</div>
</div>
<div class="litespeed-width-3-10 litespeed-column-right">
<div class="postbox litespeed-postbox litespeed-postbox-imgopt-info">
<div class="inside">
<h3 class="litespeed-title">
Placeholder
</h3>
<div class="litespeed-flex-container">
... Placeholder ...
</div>
</div>
</div>
</div>
</div>