Skip to content

Commit 84a967a

Browse files
committed
notifications
mend
1 parent 5078405 commit 84a967a

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

web/templates/admin/panel.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<div class="hidden" id="token" token="<?=$_SESSION['token']?>"></div>
12
<a href="#" class="to-top">
23
<i class="l-icon-to-top"></i>
34
</a>
@@ -21,14 +22,42 @@
2122
<div class="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?>"><a href="/list/server/"><?=__('Server')?></a></div>
2223
</div>
2324
<!-- /.l-menu -->
24-
2525
<div class="l-profile noselect">
26+
<a class="l-profile__notifications <? if($panel[$user]['NOTIFICATIONS'] == 'yes') echo "updates"; ?>">&nbsp;</a>
2627
<a class="l-profile__username" href="/edit/user/?user=<?php echo $user; ?>"><?=$user?></a>
2728
<a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> </a>
2829
</div>
2930
<!-- /.l-profile -->
3031
</div>
3132
</div>
33+
<ul class="notification-container hidden">
34+
<li class="unseen"><span class="mark-seen">&nbsp;</span>
35+
<span class="title">Welcome to the New Version</span>
36+
New version of vesta has just been released, take a quik look at the <a href="http://vestacp.com/new-version.html">updates</a>
37+
</li>
38+
<li class="unseen"><span class="mark-seen">&nbsp;</span>
39+
<span class="title">Realtime Stats are available</span>
40+
see details on your CPU, Memory, Network and Disk performance at <a href="https://u1.vestacp.com:8083/list/server/?cpu">server page</a>
41+
</li>
42+
<li class="unseen"><span class="mark-seen">&nbsp;</span>
43+
<span class="title"><span style="background: url('/images/flat_icons.png') repeat scroll -30px -100px; display: inline-block; width: 23px;">&nbsp;</span><a href="/edit/server/?lead=filemanager#module-filemanager">Web File Manager</a></span>
44+
new commercial module is available to purchase.<br>
45+
To knowing more ablout it go to little <a href="http://vestacp.com/modules/filemanager.html">presentation page</a>.<br>
46+
For getting the licence code go to <a href="/edit/server/?lead=filemanager#module-filemanager">server settings page</a>.
47+
</li>
48+
<li class="unseen"><span class="mark-seen">&nbsp;</span>
49+
<span class="title"><a href="/edit/server/?lead=sftp#module-sftp">SSH FTP</a></span>
50+
one more commercial module allows to make Secured ftp connections.
51+
Read details <a href="http://vestacp.com/modules/sftp.html">here</a>.<br>
52+
For getting the licence code go to <a href="/edit/server/?lead=sftp#module-sftp">server settings page</a>.
53+
</li>
54+
55+
<li><span class="mark-seen">&nbsp;</span>
56+
<span class="title"><span style="background: url('/images/sprite.png') repeat scroll -184px 556px; display: inline-block; width: 21px;">&nbsp;</span>Introducing Stars</span>
57+
mark most important or most frequent items with star to find them fast..<br>
58+
</li>
59+
</ul>
60+
3261
<!-- /.l-header -->
3362

3463

0 commit comments

Comments
 (0)