
Changed the colors of the network graph to match the color of the differents houses (the color will probably be in the database in the future). Reactivate the panel swipe (there are still some problems but it's better to keep the swipe for the user). Added various comments and fixed the missing logo in the about page when using the phone app.
25 lines
533 B
JavaScript
25 lines
533 B
JavaScript
// Dom7
|
|
var $$ = Dom7;
|
|
|
|
// Framework7 App main instance
|
|
var app = new Framework7({
|
|
root: '#app', // App root element
|
|
id: 'net.dariogenga.fecharts', // App bundle ID
|
|
name: 'Fire Emblem Charts', // App name
|
|
theme: 'auto', // Automatic theme detection
|
|
// App root data
|
|
data: function () {
|
|
return {};
|
|
},
|
|
// App root methods
|
|
methods: {},
|
|
// App routes
|
|
routes: routes,
|
|
|
|
panel: {
|
|
swipe: "left"
|
|
}
|
|
});
|
|
|
|
// Init/Create main view
|
|
var mainView = app.views.create('.view-main'); |