Updated styling for 'Manage Assessments' page

This commit is contained in:
Ruben Ramirez 2025-04-04 15:23:59 -05:00
parent dee9632ebd
commit 18ac849317

View file

@ -35,13 +35,15 @@ get_header(); ?>
<div class="entry-content">
<?php if ( $builder_url ) : ?>
<p><a href="<?php echo esc_url( $builder_url ); ?>" class="quiztech-button quiztech-button-primary"><?php esc_html_e( 'Create New Assessment', 'quiztech' ); ?></a></p>
<?php else : ?>
<p><?php esc_html_e( 'Assessment Builder page not found. Please ensure a page with the slug "assessment-builder" exists and uses the correct template.', 'quiztech' ); ?></p>
<?php endif; ?>
<h2 class="quiztech-section-title"><?php esc_html_e( 'Existing Assessments', 'quiztech' ); ?></h2>
<?php if ( $builder_url ) : ?>
<p style="margin-bottom: 20px;"><a href="<?php echo esc_url( $builder_url ); ?>" class="quiztech-button quiztech-button-primary"><?php esc_html_e( 'Create New Assessment', 'quiztech' ); ?></a></p>
<?php else : ?>
<p style="margin-bottom: 20px;"><?php esc_html_e( 'Assessment Builder page not found. Please ensure a page with the slug \"assessment-builder\" exists and uses the correct template.', 'quiztech' ); ?></p>
<?php endif; ?>
<?php
$args = array(