diff --git a/css/screen.css b/css/screen.css index 71e243a..398de7e 100644 --- a/css/screen.css +++ b/css/screen.css @@ -255,3 +255,7 @@ canvas { border-width: 1px 20px 1px 1px; color: #2c3e50; } + +#settings .version { + font-style: italic; +} \ No newline at end of file diff --git a/index.html b/index.html index 92d169e..b0c9b29 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,7 @@
  • Blue colors
  • Yellow colors
  • Red colors (default)
  • +
  • You're running version
  • diff --git a/js/App.js b/js/App.js index dbd897b..9fc5c05 100644 --- a/js/App.js +++ b/js/App.js @@ -59,6 +59,12 @@ function App() { $(".info.swipe").addClass("hidden"); } + + var request = window.navigator.mozApps.getSelf(); + request.onsuccess = function() { + $("#version").innerHTML = request.result.manifest.version; + } + }; App.prototype.authenticate = function() { diff --git a/manifest.webapp b/manifest.webapp index afd10fe..dd8fe19 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -19,5 +19,5 @@ } }, "installs_allowed_from": ["*"], - "version": "0.2" + "version": "0.2.0" } \ No newline at end of file