Skip to content

Commit

Permalink
added version in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Nov 25, 2024
1 parent 5a6fa52 commit 0ff30b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions css/admin-dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@
}

.welcome-panel .current_version {
color: #111827;
text-align: center;
font-size: 16px;
font-weight: bold;
font-size: 14px;
margin: 0;
padding: 0;
position: relative;
top: -30px;
}

.welcome-panel .welcome-icon {
Expand Down Expand Up @@ -1034,8 +1031,7 @@ h2.hndle.ui-sortable-handle {
padding: 0 0 0 25px;
}
.qsm-welcome-panel-content img {
position: relative;
bottom: 4px;
height: 40px;
}
.qsm-welcome-panel-content p {
margin: 7px 0;
Expand Down
1 change: 1 addition & 0 deletions php/admin/admin-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function qsm_generate_dashboard_page() {
<div class="welcome-panel-content">
<div class="qsm-welcome-panel-content">
<img src="<?php echo esc_url( QSM_PLUGIN_URL . '/assets/logo.png' ); ?>" alt="Welcome Logo">
<p class="current_version"><?php esc_html_e( 'Version: ', 'quiz-master-next' ); ?><?php echo esc_attr( $mlwQuizMasterNext->version ); ?></p>
</div>
<div class="qsm-welcome-panel-content">
<h3><?php esc_html_e( 'Welcome to Quiz And Survey Master!', 'quiz-master-next' ); ?></h3>
Expand Down

0 comments on commit 0ff30b3

Please sign in to comment.