<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_homeButtons.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_homeButtons" %>


<div class="shortcuts">
  <div class="row">
    <div class="col-12">
      <asp:Repeater ID="menu" runat="server" DataSourceID="XmlMenu">
        <ItemTemplate>
          <asp:Repeater ID="voci" runat="server" DataSource='<%# XPathSelect("voce") %>'>
            <ItemTemplate>
              <a href='<%# XPath("@url").ToString().Replace("~/","")%>' class="shortcut">
                <i class='<%# XPath("@description")%>'></i>
                <span class="shortcut-label"><%# XPath("@title")%></span>
              </a>
            </ItemTemplate>
          </asp:Repeater>
          </li>
        </ItemTemplate>
        <SeparatorTemplate>
        </SeparatorTemplate>
      </asp:Repeater>
      <asp:XmlDataSource ID="XmlMenu" runat="server" enablecaching="True" cacheduration="5"></asp:XmlDataSource>
    </div>
  </div>
</div>
