Przeglądaj źródła

notifications

mend
Serghey Rodin 10 lat temu
rodzic
commit
84a967a6ab
1 zmienionych plików z 30 dodań i 1 usunięć
  1. 30 1
      web/templates/admin/panel.html

+ 30 - 1
web/templates/admin/panel.html

@@ -1,3 +1,4 @@
+  <div class="hidden" id="token" token="<?=$_SESSION['token']?>"></div>
   <a href="#" class="to-top">
     <i class="l-icon-to-top"></i>
   </a>
@@ -21,14 +22,42 @@
         <div class="l-menu__item <?php if($TAB == 'SERVER' ) echo 'l-menu__item--active' ?>"><a href="/list/server/"><?=__('Server')?></a></div>
       </div>
       <!-- /.l-menu -->
-
       <div class="l-profile noselect">
+        <a class="l-profile__notifications <? if($panel[$user]['NOTIFICATIONS'] == 'yes') echo "updates"; ?>">&nbsp;</a>
         <a class="l-profile__username" href="/edit/user/?user=<?php echo $user; ?>"><?=$user?></a>
         <a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> </a>
       </div>
       <!-- /.l-profile -->
     </div>
   </div>
+  <ul class="notification-container hidden">
+        <li class="unseen"><span class="mark-seen">&nbsp;</span>
+            <span class="title">Welcome to the New Version</span>
+            New version of vesta has just been released, take a quik look at the <a href="http://vestacp.com/new-version.html">updates</a>
+        </li>
+        <li class="unseen"><span class="mark-seen">&nbsp;</span>
+            <span class="title">Realtime Stats are available</span>
+            see details on your CPU, Memory, Network and Disk performance at <a href="https://u1.vestacp.com:8083/list/server/?cpu">server page</a>
+        </li>
+        <li class="unseen"><span class="mark-seen">&nbsp;</span>
+            <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>
+            new commercial module is available to purchase.<br>
+            To knowing more ablout it go to little <a href="http://vestacp.com/modules/filemanager.html">presentation page</a>.<br>
+            For getting the licence code go to <a href="/edit/server/?lead=filemanager#module-filemanager">server settings page</a>.
+        </li>
+        <li class="unseen"><span class="mark-seen">&nbsp;</span>
+            <span class="title"><a href="/edit/server/?lead=sftp#module-sftp">SSH FTP</a></span>
+            one more commercial module allows to make Secured ftp connections.
+            Read details <a href="http://vestacp.com/modules/sftp.html">here</a>.<br>
+            For getting the licence code go to <a href="/edit/server/?lead=sftp#module-sftp">server settings page</a>.
+        </li>
+
+        <li><span class="mark-seen">&nbsp;</span>
+            <span class="title"><span style="background: url('/images/sprite.png') repeat scroll -184px 556px; display: inline-block; width: 21px;">&nbsp;</span>Introducing Stars</span>
+            mark most important or most frequent items with star to find them fast..<br>
+        </li>
+      </ul>
+
   <!-- /.l-header -->