PluginProbe
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications / 2.0
JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications v2.0
2.5.0 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 All 33 releases
jobwp / admin / view / partial / single-style.php

single-style.php in JobWP – Job Board Plugin for WordPress | Job Listings, Career Page & Applications 2.0, at admin/view/partial/single-style.php

85 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5
6 //$jobwpSingleStyles = [];
7 foreach ( $jobwpSingleStyles as $option_name => $option_value ) {
8 if ( isset( $jobwpSingleStyles[$option_name] ) ) {
9 ${"" . $option_name} = $option_value;
10 }
11 }
12 ?>
13 <form name="jobwp_single_style_form" role="form" class="form-horizontal" method="post" action="" id="jobwp-single-style-form">
14 <table class="jobwp-single-style-settings-table">
15 <!-- Container -->
16 <tr>
17 <th scope="row" colspan="4">
18 <hr><span><?php _e('Container', JOBWP_TXT_DOMAIN); ?></span><hr>
19 </th>
20 </tr>
21 <tr>
22 <th scope="row">
23 <label><?php _e('Background Color', JOBWP_TXT_DOMAIN); ?>:</label>
24 </th>
25 <td>
26 <input class="jobwp-wp-color" type="text" name="jobwp_single_container_bg_color" id="jobwp_single_container_bg_color" value="<?php esc_attr_e( $jobwp_single_container_bg_color ); ?>">
27 <div id="colorpicker"></div>
28 </td>
29 </tr>
30 <!-- Title -->
31 <tr>
32 <th scope="row" colspan="4">
33 <hr><span><?php _e('Job Title', JOBWP_TXT_DOMAIN); ?></span><hr>
34 </th>
35 </tr>
36 <tr>
37 <th scope="row">
38 <label><?php _e('Font Color', JOBWP_TXT_DOMAIN); ?>:</label>
39 </th>
40 <td>
41 <input class="jobwp-wp-color" type="text" name="jobwp_single_title_font_color" id="jobwp_single_title_font_color" value="<?php esc_attr_e( $jobwp_single_title_font_color ); ?>">
42 <div id="colorpicker"></div>
43 </td>
44 <th scope="row">
45 <label><?php _e('Font Size', JOBWP_TXT_DOMAIN); ?>:</label>
46 </th>
47 <td>
48 <input type="number" class="small-text" min="11" max="50" name="jobwp_single_title_font_size" id="jobwp_single_title_font_size" value="<?php esc_attr_e( $jobwp_single_title_font_size ); ?>">
49 <code>px</code>
50 </td>
51 </tr>
52 <!-- Job Info -->
53 <tr>
54 <th scope="row" colspan="4">
55 <hr><span><?php _e('Job Info', JOBWP_TXT_DOMAIN); ?></span><hr>
56 </th>
57 </tr>
58 <tr>
59 <th scope="row">
60 <label><?php _e('Font Color', JOBWP_TXT_DOMAIN); ?>:</label>
61 </th>
62 <td>
63 <input class="jobwp-wp-color" type="text" name="jobwp_single_info_font_color" id="jobwp_single_info_font_color" value="<?php esc_attr_e( $jobwp_single_info_font_color ); ?>">
64 <div id="colorpicker"></div>
65 </td>
66 </tr>
67 <!-- Apply Button -->
68 <tr>
69 <th scope="row" colspan="4">
70 <hr><span><?php _e('Apply Button', JOBWP_TXT_DOMAIN); ?></span><hr>
71 </th>
72 </tr>
73 <tr>
74 <th scope="row">
75 <label><?php _e('Button Color', JOBWP_TXT_DOMAIN); ?>:</label>
76 </th>
77 <td>
78 <input class="jobwp-wp-color" type="text" name="jobwp_single_apply_btn_bg_color" id="jobwp_single_apply_btn_bg_color" value="<?php esc_attr_e( $jobwp_single_apply_btn_bg_color ); ?>">
79 <div id="colorpicker"></div>
80 </td>
81 </tr>
82 </table>
83 <hr>
84 <p class="submit"><button id="updateSingleStyles" name="updateSingleStyles" class="button button-primary jobwp-button"><?php _e('Save Settings', JOBWP_TXT_DOMAIN); ?></button></p>
85 </form>