Added version number

This commit is contained in:
Giulio Cesare Solaroli 2015-03-22 22:43:19 +01:00
parent 087929a177
commit b95d99d33f
6 changed files with 49 additions and 3 deletions

View File

@ -821,6 +821,13 @@ html {
-ms-flex: auto;
flex: auto;
overflow: auto; }
#extraFeaturesPanel footer {
-webkit-box-flex: none;
-webkit-flex: none;
-moz-box-flex: none;
-moz-flex: none;
-ms-flex: none;
flex: none; }
.container {
height: 100%;
@ -1987,6 +1994,19 @@ span.count {
background-color: #999; }
#extraFeaturesPanel > div ul li a.button.disabled:hover {
color: white; }
#extraFeaturesPanel footer {
font-size: 8pt;
padding: 5px 5px 5px 5px;
border-top: 1px solid #999999; }
#extraFeaturesPanel footer span {
color: #999999; }
#extraFeaturesPanel footer span:after {
content: ":"; }
#extraFeaturesPanel footer a {
color: #999999;
text-decoration: none;
padding-left: 5px;
font-weight: bold; }
.miscInfo .proxyInfo {
border-bottom: 1px solid white;

File diff suppressed because one or more lines are too long

View File

@ -157,7 +157,7 @@ Clipperz.PM.UI.Components.Pages.LoginPage = React.createClass({
this.props['isNewUserRegistrationAvailable'] ? registrationLink : null,
React.DOM.div({'className':'applicationVersion'}, [
React.DOM.span({}, "application version"),
React.DOM.a({'href':'https://github.com/clipperz/password-manager/commit/' + Clipperz_version}, Clipperz_version)
React.DOM.a({'href':'https://github.com/clipperz/password-manager/commit/' + Clipperz_version, 'target':'github'}, Clipperz_version)
])
])
// this.props['isNewUserRegistrationAvailable'] ? registrationLink : null

View File

@ -181,6 +181,10 @@ Clipperz.PM.UI.Components.Panels.ExtraFeaturesPanel = React.createClass({
])
])
])
]),
React.DOM.footer({'className':'applicationVersion'}, [
React.DOM.span({}, "application version"),
React.DOM.a({'href':'https://github.com/clipperz/password-manager/commit/' + Clipperz_version, 'target':'github'}, Clipperz_version)
])
]);
}

View File

@ -144,7 +144,6 @@ html {
header {
@include flex(none);
}
& > div {
@ -154,6 +153,9 @@ html {
}
footer {
@include flex(none);
}
}
.container {

View File

@ -104,4 +104,24 @@
}
}
}
footer {
$applicationVersionColor: #999;
font-size: 8pt;
padding: 5px 5px 5px 5px;
border-top: 1px solid $applicationVersionColor;
span {
color: $applicationVersionColor;
&:after {
content: ":";
};
}
a {
color: $applicationVersionColor;
text-decoration: none;
padding-left: 5px;
font-weight: bold;
}
}
}