CC-2950: Tell users if they are running an out-of-date version or not

Initial implementation.
- added some code in phone_home_stat to retrieve latest version from stat server
  and store result in db

- created new view helper VersionNotify.php, which queries and calculates version
  difference, then returns the necessary information in html to the view files

- created new javascript file versiontooltip.js, which sets up the qtip stuff so that
  when the version notification icon is clicked, a tooltip is displayed
This commit is contained in:
Yuchen Wang 2011-11-14 00:34:53 -05:00
parent 1c5b2dc813
commit 1a1db1892f
14 changed files with 172 additions and 2 deletions

View file

@ -57,6 +57,31 @@ select {
display:block;
}
/* Version Notification Starts*/
#version_icon {
position:absolute;
right:85px;
top:104px;
height:35px;
width:35px;
z-index:1000;
display:block;
cursor:pointer;
background-repeat:no-repeat;
background-position:center;
}
#ui-tooltip-version a {
color:#ff5d1a;
text-decoration:none;
}
#ui-tooltip-version {
font-size: 14px;
}
/* Version Notification Ends*/
/* Clearfix */
.clearfix:after, li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix, li { display: inline-block; }