Commit b9a45fbd authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Show version in About window

parent 6c163ae9
......@@ -26,7 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="wrapper home">
<header>
<img src="static/images/logo.png" class="logo" alt="agkyra"/>
<h1></i>Agkyra... it syncs<i></h1>
<h1>
Agkyra <span id="version"></span>
<em>...it syncs</em>
</h1>
</header>
<p>Η <b>Agkyra</b> είναι ένας ευέλικτος συγχρονιστής αρχείων για το σύστημα Pithos+.<br/>Συγχρονίζει έναν απομακρυσμένο περιέκτη (container) του Pithos+ με ένα φάκελο στο τοπικό σύστημα.</p>
......@@ -44,6 +47,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<li id="grnet"> <img src="static/images/grnet.png" /> </li>
</ul>
</footer>
<script src="protocol.js"></script>
<script>
document.getElementById("version").innerHTML = agkyra_version;
</script>
</body>
</html>
......@@ -25,7 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="wrapper home">
<header>
<img src="static/images/logo.png" class="logo" alt="agkyra"/>
<h1>Agkyra... it syncs</h1>
<h1>
Agkyra <span id="version"></span>
<em>...it syncs</em>
</h1>
</header>
<p><b>Agkyra</b> is a minimal file syncing client for Pithos+.<br/>It syncs a Pithos+ container with a local folder.</p>
......@@ -43,6 +46,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<li id="grnet"> <img src="static/images/grnet.png" /> </li>
</ul>
</footer>
<script src="protocol.js"></script>
<script>
document.getElementById("version").innerHTML = agkyra_version;
</script>
</body>
</html>
......@@ -19,6 +19,8 @@ var gui = require('nw.gui');
var path = require('path');
var fs = require('fs');
var agkyra_version = gui.App.manifest.version;
// Read config file
var cnf = JSON.parse(fs.readFileSync(gui.App.argv[0], encoding='utf-8'));
function load_common(lang) {
......
......@@ -37,6 +37,7 @@ header {
}
header h1 {font-size: 18px; font-weight: 680; }
header h1 em {font-size:14px; display:block;}
header h2 { font-size: 16px; font-weight: 640;}
header h2 img { height: 16px;}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment