git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@69 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-02-17 16:34:01 +00:00
parent 939e42f8fc
commit edb59bed85
6 changed files with 37 additions and 928 deletions
+27 -685
View File
File diff suppressed because one or more lines are too long
-217
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,5 +1,5 @@
@import url("jquery.mobile.icons.min.css"); @import url("jquery.mobile.icons.min.css");
@import url("IlLievitario.min.css"); @import url("IlLievitario.css");
@import url("loadingStyle.css"); @import url("loadingStyle.css");
@import url("base.style.css"); @import url("base.style.css");
@import url("metroHome.css"); @import url("metroHome.css");
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
var myManifest = { var myManifest = {
Debug: (window.location.port !== ""), Debug: (window.location.port !== ""),
Name: "Il Lievitario", Name: "Il Lievitario",
Version: "3.0.1.7", Version: "3.0.2.0",
Author: "Denis Ironi", Author: "Denis Ironi",
Settings: { Settings: {
DefaultURL: (window.location.port === "" ? "http://" + window.location.host + "/Service": "http://" + window.location.hostname + ":" + window.location.port + "/Service_Manut"), DefaultURL: (window.location.port === "" ? "http://" + window.location.host + "/Service": "http://" + window.location.hostname + ":" + window.location.port + "/Service_Manut"),
+5 -21
View File
@@ -3,30 +3,14 @@
<h3 id='titoloRicetta'><%= unescape(ricetta.titolo)%></h3> <h3 id='titoloRicetta'><%= unescape(ricetta.titolo)%></h3>
<a id="backBtn" href="#" class="nav-glyphish-example ui-btn ui-icon-myHome ui-btn-icon-notext ui-btn-right" data-icon="custom"></a> <a id="backBtn" href="#" class="nav-glyphish-example ui-btn ui-icon-myHome ui-btn-icon-notext ui-btn-right" data-icon="custom"></a>
</div> </div>
<%
var widthImg = 320;
if( myManifest.Agent.device.type != "" )
{
/*prendo la larghezza del viewport e sottraggo il 10perc, poi divito per le due colonne*/
widthImg = (myManifest.Settings.Device.Width - (myManifest.Settings.Device.Width / 10)) / 2;
if(widthImg>320)
widthImg = 320;
}
%>
<div id="contentIngredienti" data-role="content"> <div id="contentIngredienti" data-role="content">
<h1>Ingredienti</h1> <h1>Ingredienti</h1>
<center><p id='ingredienti'>
<% _.each(ingredienti, function(ingrediente) { <% _.each(ingredienti, function(ingrediente) {
var liStyle = ""; if(ingrediente.id_tipo_ingredienti == 152)/*Intestazione*/{%>
var qty = ": " + ingrediente.quantita; <h2 class="intestazione"><%= unescape(ingrediente.note) %></h2>
var nome_ingr = ingrediente.nome_ingrediente; <%}else if(ingrediente.id_tipo_ingredienti == 22)/*Nota-Paragrafo*/{%>
if(ingrediente.id_tipo_ingredienti == 22) <p class="nota"><%= unescape(ingrediente.note) %></p>
{ <%}else{%><li class="ingrediente"><div class="nomeIngrediente"><%= ingrediente.nome_ingrediente %></div><%= ": " + ingrediente.quantita %> <%= ingrediente.unita %><div class="notaIngrediente"> <%= unescape(ingrediente.note) %></div></li><%}}); %>
liStyle="list-style-type: none;";
qty = "";
nome_ingr = "";
} %> <li style="<%= liStyle %>"><b><%= nome_ingr %></b><%= qty %> <%= ingrediente.unita %> <%= unescape(ingrediente.note) %></li><br> <% }); %>
</p></center>
<p style="font-size: xx-small;font-weight: lighter;">La proprietà del materiale pubblicato nel Lievitario , salvo diversa indicazione, è dei rispettivi autori. E vietata la ripubblicazione, anche parziale, di tutto il materiale pubblicato nel sito Lievitario senza preventiva autorizzazione scritta.</p> <p style="font-size: xx-small;font-weight: lighter;">La proprietà del materiale pubblicato nel Lievitario , salvo diversa indicazione, è dei rispettivi autori. E vietata la ripubblicazione, anche parziale, di tutto il materiale pubblicato nel sito Lievitario senza preventiva autorizzazione scritta.</p>
</div> </div>
<div id="contentProcedimento" data-role="content" style="display: none;"> <div id="contentProcedimento" data-role="content" style="display: none;">