Skip to content

Commit a9fe524

Browse files
committed
Merge pull request #52 from Codeinwp/development
Development
2 parents dd4c314 + 3b7b024 commit a9fe524

File tree

5 files changed

+37
-10
lines changed

5 files changed

+37
-10
lines changed

classes/Visualizer/Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class Visualizer_Plugin {
5757
const FILTER_GET_CHART_SETTINGS = 'visualizer-get-chart-settings';
5858

5959
// Added by Ash/Upwork
60-
const PRO_TEASER_URL = "http://www.google.com";
61-
const PRO_TEASER_TITLE = "blah";
60+
const PRO_TEASER_URL = "http://themeisle.com/plugins/visualizer-charts-and-graphs-pro-addon/";
61+
const PRO_TEASER_TITLE = "Check PRO version ";
6262
// Added by Ash/Upwork
6363

6464
/**

classes/Visualizer/Render/Page/Data.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,15 @@ protected function _renderSidebarContent() {
8989
esc_attr_e( 'From Computer', Visualizer_Plugin::NAME );
9090
echo '</div>';
9191

92+
echo '<a id="" class="button from-web from-web-btn" href="javascript:;">', esc_html__( 'From Web', Visualizer_Plugin::NAME ), '</a>';
9293
// Added by Ash/Upwork
9394
if( defined( 'Visualizer_Pro' ) ){
9495
global $Visualizer_Pro;
9596
$Visualizer_Pro->_addFormElements();
96-
}
97+
}else{
9798
// Added by Ash/Upwork
98-
99-
100-
echo '<a id="" class="button from-web from-web-btn" href="javascript:;">', esc_html__( 'From Web', Visualizer_Plugin::NAME ), '</a>';
101-
102-
echo '<div class="just-on-pro"> </div>';
99+
echo '<div class="just-on-pro"> </div>';
100+
}
103101
echo '</div>';
104102
echo '</form>';
105103

@@ -110,7 +108,7 @@ protected function _renderSidebarContent() {
110108
}else{
111109
?>
112110
<a href="<?php echo Visualizer_Plugin::PRO_TEASER_URL;?>" title="<?php echo Visualizer_Plugin::PRO_TEASER_TITLE;?>" target="_new">
113-
<input type="button" class="button preview preview-btn" id="existing-chart-free" value="<?php esc_attr_e( 'PREVIEW', Visualizer_Plugin::NAME );?>">
111+
<input type="button" class="button preview preview-btn" id="existing-chart-free" value="<?php esc_attr_e( 'Check PRO Version ', Visualizer_Plugin::NAME );?>">
114112
</a>
115113
<?php
116114
}

css/frame.css

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ div.group-content .group-description {
477477
width: 250px;
478478
height: 100px;
479479
cursor:not-allowed;
480-
opacity: 0.6;
480+
opacity: 0.8;
481481
margin-bottom: 10px;
482482
}
483483

@@ -519,6 +519,35 @@ div.group-content .group-description {
519519
.preview{
520520
width: 100%;
521521
}
522+
.from-chart-btn{
523+
color: #646464 !important;
524+
border: medium none #646464 !important;
525+
background: #E6E6E6 url("../images/from_chart.png") no-repeat scroll 7px 1px !important;
526+
padding-left: 25px !important;
527+
transition: all 0.3s ease 0s;
528+
border: 1px solid #B0B0B0 !important;
529+
box-shadow: none !important;
530+
font-family: "Open Sans",sans-serif;
531+
font-weight: 700;
532+
margin-left: 2px !important;
533+
margin-top: 2px !important;
534+
}
535+
536+
.from-chart-btn:hover{
537+
color: white !important;
538+
background: #10aecb url("../images/from_chart.png") no-repeat scroll 7px -36px !important;
539+
transition: all 0.3s ease 0s;
540+
padding-left: 25px !important;
541+
-webkit-transition: all .3s ease;
542+
-moz-transition: all .3s ease;
543+
-ms-transition: all .3s ease;
544+
-o-transition: all .3s ease;
545+
transition: all .3s ease;
546+
margin-left: 2px !important;
547+
border: 1px solid #10aecb !important;
548+
box-shadow: none !important;
549+
margin-top: 2px !important;
550+
}
522551

523552
.preview-btn{
524553
font-family: "Open Sans",sans-serif;

images/ajax-loader.gif

16.5 KB
Loading

images/available_pro.png

10.4 KB
Loading

0 commit comments

Comments
 (0)