nome del progetto appare in home e in impostazioni

This commit is contained in:
redup nomade 2016-12-10 21:46:31 +01:00
parent c8f4acf0b8
commit 8933c90361
2 changed files with 5 additions and 4 deletions

View file

@ -123,7 +123,7 @@
<ul data-role="listview" data-inset="true" data-shadow="false">
<li data-role="collapsible" data-iconpos="right" data-inset="false">
<h2 data-id="0" id="prog-0">furga</h2>
<h2 data-id="0" id="prog-0" class="prog-name">furga</h2>
<ul data-role="listview" data-theme="a">
<li><a href="#impostazioni">Impostazioni</a></li>
<li><a href="#giorni">Giorni</a></li>
@ -143,7 +143,7 @@
<div class="ui-body ui-body-a">
<p>Progetto</p>
<ul data-role="listview" data-theme="a">
<li id="prog-name"></li>
<li class="prog-name"></li>
<li>creato il <span id="prog-created">16/08/2016</span></li>
</ul>
</div>

View file

@ -1,4 +1,4 @@
var prog_name=["furga"];
var prog_name=["furgabbb"];
var prog_data=[]; //serve?
var prog_indice=0; //serve?
@ -143,7 +143,8 @@ function initProgetto() {
if(localStorage.getItem(prog_name)!=null)
console.log(prog_name+"nome progetto");
$('#prog-name').text(prog_name);
$('.prog-name').text(prog_name);
}
$( function(){