updt=ate ollama indocker and add plugins

This commit is contained in:
southseact-3d
2026-02-09 18:09:12 +00:00
parent a52572ede1
commit a546eafc0b
39 changed files with 5239 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
/* --------------------------------------------------------------
Public Styles for Custom Login URL
-------------------------------------------------------------- */
.login-custom-form {
max-width: 400px;
margin: 50px auto;
padding: 30px;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.login-custom-form h2 {
margin-top: 0;
color: #2c3e50;
text-align: center;
}
.login-custom-form label {
display: block;
margin-bottom: 12px;
font-weight: 600;
color: #34495e;
}
.login-custom-form input[type="submit"] {
width: 100%;
padding: 12px;
background: #2c3e50;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background 0.2s;
}
.login-custom-form input[type="submit"]:hover {
background: #1a252f;
}
.login-custom-form .forgot {
margin-top: 15px;
text-align: center;
}
.login-custom-form .forgot a {
color: #2c3e50;
text-decoration: underline;
}

View File

@@ -0,0 +1,4 @@
/* Public Script for Custom Login URL */
document.addEventListener('DOMContentLoaded', function() {
// Placeholder for future enhancements
});

View File

@@ -0,0 +1,29 @@
<?php
/**
* Custom login form template used when a custom login slug is set.
*
* @package Plugin_Compass_Appointment_Manager
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Redirect to the default WordPress login page if the custom slug is not set.
*/
$custom_slug = get_option( 'plugin_name_custom_login_url', '' );
if ( empty( $custom_slug ) ) {
wp_redirect( wp_login_url() );
exit;
}
/**
* Show a simple notice for the custom login URL.
*/
?>
<div class="login-url-container">
<h2><?php esc_html_e( 'Custom Login Page', 'plugin-name' ); ?></h2>
<p><?php esc_html_e( 'Please use the login form at the new URL.', 'plugin-name' ); ?></p>
<p><a href="<?php echo esc_url( wp_login_url() ); ?>"><?php esc_html_e( 'Log In', 'plugin-name' ); ?></a></p>
</div>