Added short system analysis in upper multi-view section
/trunk/styles/lcars22.css |
---|
408,7 → 408,6 |
text-transform: uppercase; |
text-align: right; |
overflow: hidden; |
text-overflow: ellipsis; |
} |
.multi-display .upper .content .title span |
423,10 → 422,43 |
right: 11em; |
left: 0; |
overflow: hidden; |
text-overflow: ellipsis; |
text-align: left; |
cursor: default; |
} |
.multi-display .upper .content .analysis table { |
border-collapse: collapse; |
line-height: 1.2; |
} |
.multi-display .upper .content .analysis th { |
padding: 0 0.1em; |
font-weight: normal; |
text-align: left; |
text-transform: uppercase; |
white-space: nowrap; |
vertical-align: baseline; |
} |
.multi-display .upper .content .analysis td { |
padding: 0 0.1em; |
text-overflow: ellipsis; |
white-space: nowrap; |
vertical-align: baseline; |
text-overflow: ellipsis; |
} |
.multi-display .upper .content .analysis tr:hover th, |
.multi-display .upper .content .analysis tr:hover td |
{ |
color: #f90; |
} |
.multi-display .upper .content .analysis td sup { |
line-height: 1; |
font-weight: 500; |
} |
.multi-display .upper .content .commands |
{ |
position: absolute; |
/trunk/styles/lcars-ani.css |
---|
349,8 → 349,7 |
); |
?> |
.fade-in .multi-display .upper .title, |
.fade-in .multi-display .upper .button, |
.fade-in .multi-display .upper .content, |
.fade-in #connectors, |
.fade-in #content |
{ |
359,4 → 358,53 |
Mixins::animation('-duration', '1.125s'); |
Mixins::animation('-timing-function', 'linear'); |
?> |
} |
} |
<?php |
Mixins::keyframes('analysis', <<<CSS |
from, 74% { |
opacity: 0; |
} |
75% { |
opacity: 1; |
} |
CSS |
); |
?> |
/* |
.multi-display .upper .content .analysis:hover tr { |
<?php |
Mixins::animation('-play-state', 'paused'); |
?> |
} |
*/ |
.multi-display .upper .content .analysis tr:nth-child(1) { |
<?php |
Mixins::animation('-name', 'analysis'); |
Mixins::animation('-duration', '1.5s'); |
//Mixins::animation('-iteration-count', 'infinite'); |
Mixins::animation('-timing-function', 'linear'); |
?> |
} |
.multi-display .upper .content .analysis tr:nth-child(2) { |
<?php |
Mixins::animation('-name', 'analysis'); |
Mixins::animation('-delay', '0.25s'); |
Mixins::animation('-duration', '1.5s'); |
//Mixins::animation('-iteration-count', 'infinite'); |
Mixins::animation('-timing-function', 'linear'); |
?> |
} |
.multi-display .upper .content .analysis tr:nth-child(3) { |
<?php |
Mixins::animation('-name', 'analysis'); |
Mixins::animation('-delay', '0.5s'); |
Mixins::animation('-duration', '1.5s'); |
//Mixins::animation('-iteration-count', 'infinite'); |
Mixins::animation('-timing-function', 'linear'); |
?> |
} |
/trunk/LocaleData/de/LC_MESSAGES/de.pointedears.mo |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/index.phtml |
---|
137,7 → 137,7 |
width="120" |
height="168" |
alt="<?php echo _("Vulcan greeting"); ?>" |
title="" |
title="<?php echo _("Vulcan greeting"); ?>" |
style="border: none; cursor: default" |
onmouseover="return setStatus(this.title)" |
onmouseout="return resetStatus()"><br> |
363,8 → 363,70 |
<div class="upper"> |
<div class="content"> |
<div class="title"><span>Home</span></div> |
<div class="analysis"> </div> |
<script type="text/javascript"> |
<div class="analysis"> |
<table> |
<tr> |
<th><?php echo _('Display'); ?>:</th> |
<td><script type="text/javascript"> |
var dim = { |
getScreen: function () { |
return screen.width + "×" + screen.height; |
}, |
getAvail: function () { |
return screen.availWidth + "×" + screen.availHeight; |
}, |
getInner: function () { |
return window.innerWidth + "×" + window.innerHeight; |
}, |
getColorDepth: function () { |
return (screen.colorDepth || screen.pixelDepth); |
} |
}; |
var displayInfo; |
(function () { |
displayInfo = |
'<span id="screenDim">' + dim.getScreen() + '<\/span>' |
+ ' (<span id="availDim">' + dim.getAvail() + "<\/span> <?php echo _('available'); ?>," |
+ ' <span id="innerDim">' + dim.getInner() + "<\/span> <?php echo _('used'); ?>) <?php echo _('pixels'); ?>" |
+ ' × 2<sup><span id="colorDepth">' + dim.getColorDepth() + "<\/span><\/sup> <?php echo _('colors'); ?>"; |
/* FIXME: Convert HTML to text, update whole title text */ |
document.write('<span>' + displayInfo + '<\/span>'); |
}()); |
window.onresize = function () { |
/* FIXME: Update whole title text */ |
document.getElementById("screenDim").innerHTML = dim.getScreen(); |
document.getElementById("availDim").innerHTML = dim.getAvail(); |
document.getElementById("innerDim").innerHTML = dim.getInner(); |
}; |
window.setTimeout(function () { |
/* FIXME: Update whole title text */ |
document.getElementById("colorDepth").innerHTML = dim.getColorDepth(); |
}, 1000); |
</script><noscript><?php echo _('N/A'); ?></noscript></td> |
</tr> |
<tr> |
<th><?php echo _('User Agent'); ?>:</th> |
<td><script type="text/javascript"> |
(function () { |
var ua = navigator.userAgent; |
document.write('<span id="ua" title="' + ua + '">' + ua + '<\/span>'); |
window.setTimeout(function () { |
document.getElementById("ua").innerHTML = navigator.userAgent; |
}, 1000); |
}()); |
</script><noscript><?php echo _('N/A'); ?></noscript></td> |
</tr> |
<tr> |
<th><?php echo _('Features'); ?>:</th> |
<td><script type="text/javascript"> |
var fullscreen = (function () { |
var _isHostMethod = jsx.object.isHostMethod; |
480,7 → 542,38 |
} |
}; |
}()); |
</script> |
(function () { |
function getFeatures () |
{ |
var features = []; |
if (navigator.cookieEnabled) features.push("<?php echo _('Cookies'); ?>"); |
if (fullscreen.isSupportedBy(document.documentElement)) features.push("<?php echo _('Fullscreen'); ?>"); |
if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) features.push("<?php echo _('Gamepad'); ?>"); |
if (navigator.geolocation) features.push("<?php echo _('Geolocation'); ?>"); |
if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) features.push("Java"); |
if (typeof window.localStorage != "undefined") features.push("Local Storage"); |
if (navigator.plugins) features.push("Plugins"); |
if (typeof window.sessionStorage != "undefined") features.push("Session Storage"); |
if (typeof window.ontouchstart != "undefined") features.push("Touch"); |
return features.join(" • "); |
} |
var sFeatures = getFeatures(); |
document.write('<span id="features" title="' + sFeatures + '">' + sFeatures + '<\/span>'); |
window.setTimeout(function () { |
var sFeatures = getFeatures(); |
var oFeatures = document.getElementById("features"); |
oFeatures.innerHTML = sFeatures; |
/* Converts CREs */ |
oFeatures.title = oFeatures.innerHTML; |
}, 1000); |
}()); |
</script><noscript><?php echo _('N/A'); ?></noscript></td> |
</tr> |
</table> |
</div> |
<ul class="commands"> |
<li id="cmd1"><a href="index.php" |
title="Language selection" |
/trunk/po/de.po |
---|
155,6 → 155,50 |
msgid "The Search for Extra-Terrestrial Intelligence at HOME" |
msgstr "Die Suche nach ausserirdischer Intelligenz von zuhause aus" |
#: ../index.phtml:369 |
msgid "Display" |
msgstr "Anzeige" |
#: ../index.phtml:373 |
msgid "available" |
msgstr "verfügbar" |
#: ../index.phtml:373 |
msgid "used" |
msgstr "benutzt" |
#: ../index.phtml:373 |
msgid "pixels" |
msgstr "Pixel" |
#: ../index.phtml:375 |
msgid "colors" |
msgstr "Farben" |
#: ../index.phtml:376 |
msgid "N/A" |
msgstr "" |
#: ../index.phtml:379 |
msgid "User Agent" |
msgstr "Software" |
#: ../index.phtml:385 |
msgid "Features" |
msgstr "" |
#: ../index.phtml:504 |
msgid "Cookies" |
msgstr "" |
#: ../index.phtml:506 |
msgid "Gamepad" |
msgstr "" |
#: ../index.phtml:508 |
msgid "Geolocation" |
msgstr "Geolokalisierung" |
#: ../index.phtml:418 ../index.phtml:453 |
msgid "Fullscreen" |
msgstr "Vollbild" |
/trunk/po/de.pointedears.pot |
---|
109,6 → 109,50 |
msgid "The Search for Extra-Terrestrial Intelligence at HOME" |
msgstr "" |
#: ../index.phtml:369 |
msgid "Display" |
msgstr "" |
#: ../index.phtml:373 |
msgid "available" |
msgstr "" |
#: ../index.phtml:373 |
msgid "used" |
msgstr "" |
#: ../index.phtml:373 |
msgid "pixels" |
msgstr "" |
#: ../index.phtml:375 |
msgid "colors" |
msgstr "" |
#: ../index.phtml:376 |
msgid "N/A" |
msgstr "" |
#: ../index.phtml:379 |
msgid "User Agent" |
msgstr "" |
#: ../index.phtml:385 |
msgid "Features" |
msgstr "" |
#: ../index.phtml:504 |
msgid "Cookies" |
msgstr "" |
#: ../index.phtml:506 |
msgid "Gamepad" |
msgstr "" |
#: ../index.phtml:508 |
msgid "Geolocation" |
msgstr "" |
#: ../index.phtml:418 |
#: ../index.phtml:453 |
msgid "Fullscreen" |