<div data-role="content">
    <div style="text-align: center;">
        <% if(profile.data.name){ %>
        <h3 id="benvenuto">Bentornat<% if(profile.data.gender=="male"){%>o<%}else{%>a<%}%> <%=profile.data.name %></h3><% }else{ %>
        <h3 id="benvenuto">Benarrivata/o nel nostro ricettario</h3>
        <% } %>
    </div>
    <div>
        <% var customClassTheme = "itemMenuHomeMetro-" + profile.data.tema;%>
        <div id="menuHomeMetro">
            <div class="itemMenuHomeMetro <%= customClassTheme %><% if(!profile.isConnected()){ %> loginClass<% }else{ %> profileClass<%}%>">
                <div>
                    <% if(profile.isConnected()){ %>
                    <a href="#settingsView" data-role="none" style=""></a>
                    <span>Profilo</span>
                    <% }else{ %>
                    <a href="#syncView" data-role="none"></a>
                    <span>Login</span>
                    <% } %>
                </div>
            </div>
            <div class="itemMenuHomeMetro <%= customClassTheme %> indexClass">
                <div>
                    <a href="#indexView" data-role="none"></a>
                    <span>Indice</span>
                </div>
            </div>
            <div class="itemMenuHomeMetro <%= customClassTheme %> searchClass">
                <div>
                    <a href="#searchView" data-role="none"></a>
                    <span>Ricerca</span>
                </div>
            </div>
            <div class="itemMenuHomeMetro <%= customClassTheme %> blogClass">
                <div>
                    <a href="http://blog.gruppolapastamadre.it" data-role="none"></a>
                    <span>Blog</span>
                </div>
            </div>
            <div class="itemMenuHomeMetro <%= customClassTheme %> mapsClass">
                <div>
                    <a href="#mapsView" data-role="none"></a>
                    <span>Mappa Spacciatori</span>
                </div>
            </div>
        </div>
    </div>
</div>
<!--<div data-role="popup" id="nuovoGruppo" data-history="false" data-dismissible="false">
    <div data-role="header"><h1>IMPORTANTE</h1></div>
        <div role="main" class="ui-content">
        <p style="text-align: center;font-style: italic;">
            <img src="https://dl.dropboxusercontent.com/s/xnbrbbe7eejkfv2/festa.png"><br><br>
            Le admin <br><br><b>Alessia, Elena e Francesca</b><br><br>hanno RIFONDATO IL GRUPPO!!<br>
            <br>"<b>Gruppo La Pasta Madre</b>"<br>
            <br>vuoi chiedere di diventare membro?
            <br>Se sei già membro premi si e poi torna indietro con il browser
        </p>
        <p style="text-align: center;">
            <a id="goFbGroup" href="#" class="ui-btn ui-corner-all ui-shadow ui-btn-inline ui-btn-b" data-rel="back">Si</a>
            <a href="#" class="ui-btn ui-corner-all ui-shadow ui-btn-inline ui-btn-b" data-rel="back" data-transition="flow">No</a>
        </p>
    </div>
</div>-->