Skip to content

Commit 08364dc

Browse files
committed
Added permission list item.
1 parent 19e4aaf commit 08364dc

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

classes/Visualizer/Render/Page/Data.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class="dashicons dashicons-lock"></span></h2>
241241
</li>
242242
</ul>
243243
<li class="group group-category bottom-fixed sidebar-footer-link" id="vz-chart-settings">
244-
<h2><?php _e( 'Advanced Settings', 'visualizer' ); ?></h2>
244+
<h2><span class="dashicons dashicons-admin-tools"></span><?php _e( 'Advanced', 'visualizer' ); ?></h2>
245245
<div class="group-header">
246246
<button class="customize-section-back" tabindex="0"></button>
247247
<h3 class="group-title main-group"><?php _e( 'Chart Settings', 'visualizer' ); ?></h3>
@@ -254,9 +254,8 @@ class="dashicons dashicons-lock"></span></h2>
254254
</ul>
255255
</li>
256256
<?php echo apply_filters( 'visualizer_pro_sidebar_footer_links', '', $this->chart->ID ); ?>
257-
<li class=" group bottom-fixed" id="vz-chart-review">
258-
<a href="https://wordpress.org/support/plugin/visualizer/reviews/?filter=5#new-post"
259-
target="_blank"><?php _e( 'Rate our plugin', 'visualizer' ); ?></a>
257+
<li class=" group bottom-fixed vz-pro-sidebar-link" id="vz-chart-permissions">
258+
<a target="_blank"><span class="dashicons dashicons-admin-users"></span><?php _e( 'Permissions (PRO)', 'visualizer' ); ?></a>
260259
</li>
261260
<li class="group bottom-fixed" id="vz-chart-copyright">Visualizer &copy; <?php echo date( 'Y', current_time( 'timestamp' ) ); ?></li>
262261
</ul>

css/frame.css

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -830,24 +830,24 @@ button#editor-chart-button {
830830

831831
#vz-chart-review {
832832
right: 0;
833-
bottom: 40px;
833+
bottom: 10px;
834834
-webkit-box-sizing: border-box;
835835
box-sizing: border-box;
836-
width: 50%;
837-
padding-right: 20px;
836+
width: 40%;
837+
padding-right: 6px;
838838
text-align: right;
839839
}
840840

841841
#vz-chart-settings.bottom-fixed h2 {
842-
padding-left: 20px;
842+
padding-left: 6px;
843843
}
844844

845845
#vz-chart-settings {
846846
bottom: 40px;
847847
left: 0;
848848
-webkit-box-sizing: border-box;
849849
box-sizing: border-box;
850-
width: 50%;
850+
width: 33%;
851851
text-align: left;
852852
}
853853

@@ -862,6 +862,7 @@ button#editor-chart-button {
862862

863863
.sidebar-footer-link,
864864
#vz-chart-review,
865+
#vz-chart-permissions,
865866
#vz-chart-settings {
866867
display: inline;
867868
background: none;
@@ -1021,4 +1022,16 @@ span.section-error {
10211022
}
10221023
#visualizer-error-manual{
10231024
color:#ff595e;
1025+
}
1026+
#vz-chart-permissions{
1027+
1028+
width:43%;
1029+
}
1030+
#vz-chart-permissions{
1031+
color: #ce484c;
1032+
}
1033+
#vz-chart-permissions{
1034+
width: 30%;
1035+
bottom: 40px;
1036+
right: 6px;
10241037
}

0 commit comments

Comments
 (0)