enyo.kind({ name: "biblez.about", kind: "enyo.FittableRows", fit: true, events: { onBack: "", }, components: [ {kind: "onyx.MoreToolbar", layoutKind:"FittableColumnsLayout", components: [ {kind: "onyx.IconButton", src: "assets/back.png", ontap: "handleBack"}, {name: "title", content: $L("About BibleZ")} ]}, {kind: "enyo.Scroller", fit: true, components: [ {classes: "settings-container", style: "text-align: center;", components: [ {tag: "img", src: "assets/biblez128.png"}, {allowHtml: true, content: "BibleZ is based on swordjs, a Javascript library to access the bible modules from the SWORD Project.

BibleZ is licenced under the GPLv3. (Source Code)"}, {tag: "br"}, {tag: "span", content: "", allowHtml: true, style: "margin: 5px;"}, {tag: "span", content: "", allowHtml: true, style: "margin: 5px;"}, {tag: "br"}, {kind: "onyx.Button", content: "Send eMail", ontap: "handleMail", classes: "onyx-affirmative", style: "margin-top: 10px;"} ]}, ]} ], version: "", rendered: function () { this.inherited(arguments); var request = navigator.mozApps.getSelf(); request.onsuccess = enyo.bind(this, function() { if (request.result) { this.version = request.result.manifest.version; this.$.title.addContent(" v" + this.version); } }); }, handleMail: function () { window.location = "mailto:info@zefanjas.de?subject=BibleZ " + this.version; }, handleBack: function() { this.doBack(); } });