| 1 |
<style type="text/css"> |
| 2 |
#ms-content-wrapper { |
| 3 |
display: table; |
| 4 |
width: 100%; |
| 5 |
} |
| 6 |
#ms-content, #ms-sidebar { |
| 7 |
display: table-cell; |
| 8 |
vertical-align: top; |
| 9 |
} |
| 10 |
#ms-content { |
| 11 |
min-width: 800px; |
| 12 |
} |
| 13 |
#ms-sidebar { |
| 14 |
min-width: 280px; |
| 15 |
width: 300px; |
| 16 |
padding-right: 20px; |
| 17 |
} |
| 18 |
#ms-sidebar section { |
| 19 |
background: #e0e0e0; |
| 20 |
border-radius: 4px; |
| 21 |
overflow: hidden; |
| 22 |
margin-bottom: 20px; |
| 23 |
} |
| 24 |
#ms-sidebar section.highlighted { |
| 25 |
border: 3px solid #fff; |
| 26 |
-webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.2); |
| 27 |
-moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.2); |
| 28 |
box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.2); |
| 29 |
} |
| 30 |
#ms-sidebar .ms-section-content { |
| 31 |
padding: 0 1.5em 1.5em 1.5em; |
| 32 |
} |
| 33 |
#ms-sidebar img { |
| 34 |
width: 100%; |
| 35 |
height: auto; |
| 36 |
} |
| 37 |
#ms-sidebar a { |
| 38 |
text-decoration: none; |
| 39 |
} |
| 40 |
#ms-sidebar .button-primary { |
| 41 |
/*margin-bottom: 2em;*/ |
| 42 |
background: #384048; |
| 43 |
box-shadow:none; |
| 44 |
padding: 0 1.5em; |
| 45 |
height: 38px; |
| 46 |
line-height: 38px; |
| 47 |
text-shadow: none; |
| 48 |
border:none; |
| 49 |
text-transform: uppercase; |
| 50 |
} |
| 51 |
#ms-sidebar .button-primary:hover { |
| 52 |
background: #4bd1c0; |
| 53 |
} |
| 54 |
.ms-divider { |
| 55 |
margin: 1em 0; |
| 56 |
width: 100%; |
| 57 |
height: 2px; |
| 58 |
background: #ccc; |
| 59 |
} |
| 60 |
</style> |
| 61 |
|
| 62 |
|
| 63 |
<div class="wrap"> |
| 64 |
|
| 65 |
<h2><?php echo esc_html(get_admin_page_title()); ?></h2> |
| 66 |
|
| 67 |
<div id="ms-content-wrapper"> |
| 68 |
<div id="ms-content"> |
| 69 |
|
| 70 |
<form method="post" action="options.php"> |
| 71 |
|
| 72 |
<?php |
| 73 |
settings_fields('udb-widgets-settings-group'); |
| 74 |
do_settings_sections('ultimate-dashboard'); |
| 75 |
submit_button(); |
| 76 |
?> |
| 77 |
|
| 78 |
</form> |
| 79 |
|
| 80 |
</div> |
| 81 |
|
| 82 |
<div id="ms-sidebar"> |
| 83 |
<h2><?php _e('Premium Plugins', 'ultimatedashboard'); ?></h2> |
| 84 |
|
| 85 |
<section class="highlighted"> |
| 86 |
<a href="<?php _e('https://mapsteps.com/en/downloads/ultimate-dashboard-pro/', 'ultimatedashboard'); ?>" target="_blank"> |
| 87 |
<img src="<?php echo ULTIMATE_DASHBOARD_PLUGIN_URL ?>/admin/img/Ultimate_Dashboard_PRO.png"> |
| 88 |
</a> |
| 89 |
<div class="ms-section-content"> |
| 90 |
<a href="<?php _e('https://mapsteps.com/en/downloads/ultimate-dashboard-pro/', 'ultimatedashboard'); ?>" target="_blank"> |
| 91 |
<h3><?php _e('Ultimate Dashboard PRO', 'ultimatedashboard'); ?></h3> |
| 92 |
</a> |
| 93 |
|
| 94 |
|
| 95 |
<p><?php _e('For WordPress Multisite Support, 3rd Party Widget Support & Text Widgets check out Ultimate Dashboard PRO. <strong>Save 20% with the Promo Code: "UDB20E"</strong>','ultimatedashboard'); ?></p> |
| 96 |
<a href="<?php _e('https://mapsteps.com/en/downloads/ultimate-dashboard-pro/', 'ultimatedashboard'); ?>" class="button button-primary" target="_blank"> |
| 97 |
<?php _e('Learn more', 'ultimatedashboard'); ?> |
| 98 |
</a> |
| 99 |
</div> |
| 100 |
|
| 101 |
</section> |
| 102 |
|
| 103 |
|
| 104 |
<!-- <div class="ms-divider"></div> --> |
| 105 |
|
| 106 |
|
| 107 |
<section> |
| 108 |
<a href="<?php _e('https://mapsteps.com/en/downloads/timber-wordpress-admin-theme/', 'ultimatedashboard'); ?>" target="_blank"> |
| 109 |
<img src="<?php echo ULTIMATE_DASHBOARD_PLUGIN_URL ?>/admin/img/Timber_Admin.png"> |
| 110 |
</a> |
| 111 |
<div class="ms-section-content"> |
| 112 |
<a href="<?php _e('https://mapsteps.com/en/downloads/timber-wordpress-admin-theme/', 'ultimatedashboard'); ?>" target="_blank"> |
| 113 |
<h3><?php _e('Timber – A WordPress Admin Theme', 'ultimatedashboard'); ?></h3> |
| 114 |
</a> |
| 115 |
<p><?php _e('Timber is a modern and minimalistic WordPress Admin theme that will allow you to customize the WordPress admin dashboard for you and your clients.','ultimatedashboard'); ?></p> |
| 116 |
<a href="<?php _e('https://mapsteps.com/en/downloads/timber-wordpress-admin-theme/', 'ultimatedashboard'); ?>" class="button button-primary" target="_blank"> |
| 117 |
<?php _e('Learn more', 'ultimatedashboard'); ?> |
| 118 |
</a> |
| 119 |
</div> |
| 120 |
</section> |
| 121 |
</div> |
| 122 |
|
| 123 |
</div> |
| 124 |
|
| 125 |
|
| 126 |
|