55 */
66
77if ( ! defined ( 'ABSPATH ' ) ) exit ; // Exit if accessed directly
8- ?>
98
10- <?php
11- $ page = 'home ' ;
12- include_once ('includes/header.php ' );
9+ // All the Awesomeness
10+ $ widgets = self ::$ ma_get_settings ;
1311?>
1412
13+ <?php include_once ('includes/header.php ' ); ?>
14+
15+ <!-- Home Sweet Home -->
1516<div id="general" class="ma-tabs-content">
1617 <div class="mt-banner">
1718 <img class="banner" src="<?php echo MIGHTY_ADDONS_PLG_URL . 'assets/admin/images/banner.jpg ' ; ?> " alt="">
6566 </div>
6667</div>
6768
69+ <!-- Widget Controls | What you allow is what will continue - Mighty Dashboard -->
70+ <div id="widgets" class="ma-tabs-content">
71+ <div class="ma-row">
72+ <div class="ma-col-full">
73+
74+ <div class="ma-gl-cnt-right">
75+ <div class="ma-btn-group">
76+ <button id="enable-all" type="button" class="ma-btn ma-btn-action ma-gl-cnt-enable">Enable All</button>
77+ <button id="disable-all" type="button" class="ma-btn ma-btn-action ma-gl-cnt-disable">Disable All</button>
78+ </div>
79+ </div>
80+
81+ <form id="mighty-settings" action="" method="POST" name="mighty-settings">
82+ <div class="ma-element-container">
83+ <?php foreach ( $ widgets as $ widget => $ props ) : ?>
84+ <div class="ma-element ma-element-free">
85+ <div class="ma-ele-info">
86+ <i class="<?php echo $ props ['icon ' ]; ?> widget-icon"></i>
87+ <p class="ma-ele-title"><?php echo ucfirst ($ props ['title ' ]); ?> </p>
88+ <a href="https://demo.mightythemes.com/mighty-addons/<?php echo strtolower (str_replace (' ' , '- ' , $ props ['title ' ])); ?> " class="ma-ele-info-link" target="_blank">
89+ <span class="ma-view-demo">
90+ <img src="<?php echo MIGHTY_ADDONS_PLG_URL . 'assets/admin/images/desktop-solid.svg ' ?> " alt="">
91+ </span>
92+ <span class="ma-ele-info-tooltip">Demo</span>
93+ </a>
94+ <a href="https://mightythemes.com/products/mighty-addons/" target="_blank" class="ma-ele-info-link">
95+ <span class="ma-get-help">
96+ <img src="<?php echo MIGHTY_ADDONS_PLG_URL . 'assets/admin/images/question-solid.svg ' ?> " alt="">
97+ </span>
98+ <span class="ma-ele-info-tooltip">Documentation</span>
99+ </a>
100+ </div>
101+ <div class="ma-ele-switch">
102+ <label class="switch">
103+ <input class="switch-input" type="checkbox" name="<?php echo $ props ['slug ' ]; ?> " id="<?php echo $ props ['slug ' ]; ?> " <?php checked ( 1 , $ props ['enable ' ], true ); ?> />
104+ <span class="switch-label"></span>
105+ <span class="switch-handle"></span>
106+ </label>
107+ </div>
108+ </div>
109+ <?php endforeach ; ?>
110+ </div>
111+
112+ <div class="text-center ma-cta-save">
113+ <button type="submit" class="button ma-btn js-ma-settings-save ma-btn ma-save-button" disabled="disabled"><?php echo __ ('Save Settings ' , 'mighty-addons ' ); ?> </button>
114+ </div>
115+ </form>
116+ </div>
117+ </div>
118+ </div>
119+
120+ <!-- Extensions -->
121+ <div id="extensions" class="ma-tabs-content coming-soon">
122+ <div class="ma-row">
123+ <div class="ma-col-full">
124+ <div class="text-center">
125+ <h1 class="cs-title">Coming Soon_</h1>
126+ <p>: : : : : :</p>
127+ <div class="text-muted cs-description">Something cool is coming.<br>Stay tuned.</div>
128+ </div>
129+ <div class="mt-illustration">
130+ <img class="under-construction" src="<?php echo MIGHTY_ADDONS_PLG_URL . 'assets/admin/images/undraw_under_construction.svg ' ?> " alt="">
131+ </div>
132+ </div>
133+ </div>
134+ </div>
135+
136+ <!-- "Be a HERO" - Go Pro -->
137+ <div id="go-pro" class="ma-tabs-content coming-soon">
138+ <div class="ma-row">
139+ <div class="ma-col-full">
140+ <div class="mt-illustration">
141+ <img class="under-construction" src="<?php echo MIGHTY_ADDONS_PLG_URL . 'assets/admin/images/undraw_on_the_way.svg ' ?> " alt="">
142+ </div>
143+ <div class="text-center">
144+ <h1 class="cs-title">On the way ..</h1>
145+ <p>: : : : : :</p>
146+ <div class="text-muted cs-description">Mighty Addons is coming up with a pro version very soon.<br> Sign Up for an exclusive launch offer. </div>
147+ <a href="https://mailchi.mp/58871d7350d3/mightyaddonspro" target="_BLANK" class="button ma-btn cs-cta"><?php echo __ ('Get Aboard ' , 'mighty-addons ' ); ?> </a>
148+ </div>
149+ </div>
150+ </div>
151+ </div>
152+
68153<?php include_once ('includes/footer.php ' ); ?>
0 commit comments