<!DOCTYPE html>
<html>
<head>
  <title>IsSdur</title>
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
<script type="text/javascript" src="dropdown.js"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>
  <div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="#">IS Sdur, s.r.o.</a>
        <div class="nav-collapse">

			<ul class="nav nav-pills">

			<li class="dropdown" id="menu1">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="">
			      ZAMESTNANCI
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', zamestnancis_path %></li>
			      <li><%= link_to 'Zmluvy', evidencia_zmluvs_path %></li>
			      <li><%= link_to 'Činnosti', cinnostis_path %></li>
			      <li class="divider"></li>
				  <li><%= link_to 'Priradiť činnosti', cinnosti_zamestnanci_path %></li></ul>
			  </li>
			
			<li class="dropdown" id="menu2">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu2">
			      KLIENTI
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', klientis_path %></li>
			      <li><%= link_to 'Zmluvy', evidencia_zmluvs_path %></li>
			      <li><%= link_to 'Fotky', galeria_fotkies_path %></li>
			      <li><%= link_to 'Videá', videas_path %></li>
			      <li><%= link_to 'Zvukové nahrávky', zvukove_subories_path %></li>
			      <li class="divider"></li>
			      <li><%= link_to 'Pridať podujatie', podujatie_klientis_path %></li>
			    </ul>
			  </li>
			
			<li class="dropdown" id="menu3">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu3">
			      FIRMY
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', firmies_path %></li>
			      <li><%= link_to 'Zmluvy', evidencia_zmluvs_path %></li>
			      <li><%= link_to 'Fotky', galeria_fotkies_path %></li>
			      <li><%= link_to 'Sponzorské dary', sponzorske_daries_path %></li>
			      <li><%= link_to 'Kontaktné osoby', kontaktne_osobies_path %></li>
			      <li class="divider"></li>
				  <li><%= link_to 'Priradiť činnosti', cinnosti_firmies_path %></li>
			    </ul>
			  </li>
			  <li class="dropdown" id="menu4">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu4">
			      PODUJATIA
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', podujatia_path %></li>
			      <li><%= link_to 'Zmluvy', evidencia_zmluvs_path %></li>
			      <li><%= link_to 'Fotky', galeria_fotkies_path %></li>
			      <li><%= link_to 'Činnosti', cinnostis_path %></li>
			      <li class="divider"></li>
			      <li><%= link_to 'Stav vstupeniek', c_stav_vstupenieks_path %></li>
			      <li><%= link_to 'Stav podujatia', c_stav_podujatia_path %></li>
			    </ul>
			  </li>
			<li class="dropdown" id="menu5">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu5">
			      ČINNOSTI
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', cinnostis_path %></li>
			      <li class="divider"></li>
			      <li><%= link_to 'Typ činností', evidencia_zmluvs_path %></li>
			      <li><%= link_to 'Stav činností', galeria_fotkies_path %></li>
			    </ul>
			  </li>
			<li class="dropdown" id="menu6">
			    <a class="dropdown-toggle" data-toggle="dropdown" href="#menu6">
			      SPONZORSKÉ DARY
			      <b class="caret"></b>
			    </a>
			    <ul class="dropdown-menu">
			      <li><%= link_to 'Zoznam', sponzorske_daries_path %></li>
			      <li class="divider"></li>
			      <li><%= link_to 'Stav sponzorských darov', c_stav_sponzor_dars_path %></li>
			    </ul>
			  </li>
 			  
				<li class="active"><%= link_to 'ODHLÁSENIE', odhlasenie_path, :method => :delete %></li>

			</ul>


        </div>
      </div>
    </div>
  </div>

  <div class="container" style="margin-top: 100px">
    <div class="row">
      <div class="span12"><%= yield %></div>
<!--      <div class="span2"> -->

      </div>
    </div>
  </div> 
</body>
</html>
