aboutsummaryrefslogtreecommitdiffstats
path: root/source/about.js
blob: 8f724e79b69b034455ecaebe89acf61814607e74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"},
            {content: $L("About BibleZ")}
        ]},
        {kind: "enyo.Scroller", fit: true, touch: true, components: [
            {classes: "settings-container", style: "text-align: center;", components: [
                {tag: "img", src: "assets/biblez128.png"},
                {allowHtml: true, content: "BibleZ is based on <a href='https://github.com/zefanja/swordjs' target='_blank'>swordjs</a>, a Javascript library to access the bible modules from the <a href='http://crosswire.org/sword' target='_blank'>SWORD Project</a>.<br><br>BibleZ is licenced under the GPLv3. (<a href='https://github.com/zefanja/biblez-ng' target='_blank'>Source Code</a>)"},
                {tag: "br"},
                {tag: "span", content: "<a href='https://twitter.com/biblez' target='_blank'><img src='assets/twitter_32.png'></a>", allowHtml: true, style: "margin: 5px;"},
                {tag: "span", content: "<a href='https://www.facebook.com/zefanjas' target='_blank'><img src='assets/facebook_32.png'></a>", allowHtml: true, style: "margin: 5px;"},
                {tag: "br"},
                {kind: "onyx.Button", content: "Send eMail", ontap: "handleMail", classes: "onyx-affirmative", style: "margin-top: 10px;"}
            ]},


        ]}
    ],

    handleMail: function () {
        window.location = "mailto:info@zefanjas.de";
    },

    handleBack: function() {
        this.doBack();
    }
});