header2
This commit is contained in:
@@ -195,20 +195,17 @@ function statpress_yearly_summary_page() {
|
||||
<h1>Podsumowanie Roczne</h1>
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<div class="tablenav top">
|
||||
<div class="alignleft actions">
|
||||
<label for="filter-by-year" class="screen-reader-text">Filtruj według roku</label>
|
||||
<form method="get" style="display: flex; gap: 5px; align-items: center;">
|
||||
<input type="hidden" name="page" value="statpress-yearly-summary">
|
||||
<select name="year" id="filter-by-year">
|
||||
<?php foreach ( $available_years as $year_option ) : ?>
|
||||
<option value="<?php echo esc_attr( $year_option ); ?>" <?php selected( $current_year, $year_option ); ?>><?php echo esc_html( $year_option ); ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<?php submit_button( 'Filtruj', 'secondary', 'filter_action', false ); ?>
|
||||
</form>
|
||||
</div>
|
||||
<br class="clear">
|
||||
<div style="margin-bottom: 20px;">
|
||||
<form method="get" style="display: flex; gap: 10px; align-items: center;">
|
||||
<input type="hidden" name="page" value="statpress-yearly-summary">
|
||||
<label for="filter-by-year" style="font-weight: 500; color: #3c4043;">Filtruj według roku:</label>
|
||||
<select name="year" id="filter-by-year">
|
||||
<?php foreach ( $available_years as $year_option ) : ?>
|
||||
<option value="<?php echo esc_attr( $year_option ); ?>" <?php selected( $current_year, $year_option ); ?>><?php echo esc_html( $year_option ); ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<?php submit_button( 'Filtruj', 'secondary', 'filter_action', false, array( 'style' => 'margin: 0;' ) ); ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php if ( ! empty( $goals_for_year ) ) : ?>
|
||||
|
||||
Reference in New Issue
Block a user