header2
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15) !important;
|
||||
background: #fff;
|
||||
clear: both;
|
||||
}
|
||||
.wrap .postbox-header { border-bottom: 1px solid #dadce0; }
|
||||
.wrap .postbox-header h2 { font-weight: 500; font-size: 16px; color: #202124; margin: 0; padding: 16px 20px; }
|
||||
|
||||
@@ -110,21 +110,18 @@ function statpress_infographic_page() {
|
||||
<h1>Infografika Statystyk Sportowych</h1>
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<div class="tablenav top">
|
||||
<div class="alignleft actions">
|
||||
<form method="get" style="display: flex; gap: 5px; align-items: center;">
|
||||
<div style="margin-bottom: 20px;">
|
||||
<form method="get" style="display: flex; gap: 10px; align-items: center;">
|
||||
<input type="hidden" name="page" value="statpress-infographic">
|
||||
<label for="filter-by-year" class="screen-reader-text">Filtruj według roku</label>
|
||||
<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 ); ?>
|
||||
<?php submit_button( 'Filtruj', 'secondary', 'filter_action', false, array( 'style' => 'margin: 0;' ) ); ?>
|
||||
</form>
|
||||
</div>
|
||||
<br class="clear">
|
||||
</div>
|
||||
|
||||
<div class="postbox" style="margin-bottom: 20px;">
|
||||
<div class="postbox-header"><h2 class="hndle">Statystyki Ogólne (wszystkie lata)</h2></div>
|
||||
|
||||
@@ -195,21 +195,18 @@ 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;">
|
||||
<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 ); ?>
|
||||
<?php submit_button( 'Filtruj', 'secondary', 'filter_action', false, array( 'style' => 'margin: 0;' ) ); ?>
|
||||
</form>
|
||||
</div>
|
||||
<br class="clear">
|
||||
</div>
|
||||
|
||||
<?php if ( ! empty( $goals_for_year ) ) : ?>
|
||||
<div class="postbox" style="margin-bottom: 20px;">
|
||||
|
||||
Reference in New Issue
Block a user