Create all the templates needed to start implementing the navigation between the views of your app.
In your favorite editor create three new files named
create-tpl.html
,open-tpl.html
, andshare-tpl.html
and save them in thetpl
folder of your project.Use the previous code snippet in order to populate the
create-tpl.html
template and save it.From the same code, create the other two templates changing the
id
and the CSS class needed to render the right icon; theid
needs to match the section name i.e.,open
andshare
) and the CSS class for the icon should be composed by the section name and the string-start
(i.e.,open-start
andshare-start
).
You created the templates needed to render the welcome screen of each section of the app; the CSS needed to render the template are very simple and are available in the www/css
folder of this chapter's source code, which you can find at https://github.com/GiorgioNatili/itinero/tree/features...