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/>. ...@@ -26,7 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="wrapper home"> <div class="wrapper home">
<header> <header>
<img src="static/images/logo.png" class="logo" alt="agkyra"/> <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> </header>
<p>Η <b>Agkyra</b> είναι ένας ευέλικτος συγχρονιστής αρχείων για το σύστημα Pithos+.<br/>Συγχρονίζει έναν απομακρυσμένο περιέκτη (container) του Pithos+ με ένα φάκελο στο τοπικό σύστημα.</p> <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/>. ...@@ -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> <li id="grnet"> <img src="static/images/grnet.png" /> </li>
</ul> </ul>
</footer> </footer>
<script src="protocol.js"></script>
<script>
document.getElementById("version").innerHTML = agkyra_version;
</script>
</body> </body>
</html> </html>
...@@ -25,7 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -25,7 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="wrapper home"> <div class="wrapper home">
<header> <header>
<img src="static/images/logo.png" class="logo" alt="agkyra"/> <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> </header>
<p><b>Agkyra</b> is a minimal file syncing client for Pithos+.<br/>It syncs a Pithos+ container with a local folder.</p> <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/>. ...@@ -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> <li id="grnet"> <img src="static/images/grnet.png" /> </li>
</ul> </ul>
</footer> </footer>
<script src="protocol.js"></script>
<script>
document.getElementById("version").innerHTML = agkyra_version;
</script>
</body> </body>
</html> </html>
...@@ -19,6 +19,8 @@ var gui = require('nw.gui'); ...@@ -19,6 +19,8 @@ var gui = require('nw.gui');
var path = require('path'); var path = require('path');
var fs = require('fs'); var fs = require('fs');
var agkyra_version = gui.App.manifest.version;
// Read config file // Read config file
var cnf = JSON.parse(fs.readFileSync(gui.App.argv[0], encoding='utf-8')); var cnf = JSON.parse(fs.readFileSync(gui.App.argv[0], encoding='utf-8'));
function load_common(lang) { function load_common(lang) {
......
...@@ -37,6 +37,7 @@ header { ...@@ -37,6 +37,7 @@ header {
} }
header h1 {font-size: 18px; font-weight: 680; } 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 { font-size: 16px; font-weight: 640;}
header h2 img { height: 16px;} 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