{% load staticfiles %}
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>FTP Deploy</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Bootstrap -->
    <link href="{% static "ftp_deploy/css/bootstrap.min.css"%} " rel="stylesheet" type="text/css">
    <link href="{% static "ftp_deploy/css/select2.css"%} " rel="stylesheet" type="text/css">
    <link href="{% static "ftp_deploy/css/select2-bootstrap.css"%} " rel="stylesheet" type="text/css">
    <link href="{% static "ftp_deploy/css/font-awesome.min.css"%} " rel="stylesheet" type="text/css">
    <link href="{% static "ftp_deploy/css/style.css"%} " rel="stylesheet" type="text/css">
    {% block extrahead %} {% endblock %}
    {# <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet"> #}
   
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="../../assets/js/html5shiv.js"></script>
      <script src="../../assets/js/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
    	<header class="page-header">
    		<div class="row">
    			<div class="col-sm-6">
    				<h1>Dashboard <small>FTPDeploy</small></h1>
    			</div>
    			<div class="col-sm-6">
    				<div class="pull-right">
    					<a href="{% url 'ftpdeploy_log' %}"type="button" class="btn btn-default">Log</a>
    					<button type="button" class="btn btn-danger">Logout</button>
    				</div>

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

        <div id="message">
            <div class="row">
                <div class="col-sm-12">
                    {% if messages %}
                        {% for message in messages %}
                        <div class="alert alert-{{message.tags}} fade in"> <button data-dismiss="alert" class="close" type="button">×</button> 
                            {{message}}
                        </div> 
                        {% endfor %}
                    {% endif %}
                </div>
            </div>
           
        </div>
        <div id="page">
            {% block content %} {% endblock %}
        </div>

        <footer>
            
        </footer>
    	
    </div>

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script type="text/javascript"> $.ajaxSetup({data: {csrfmiddlewaretoken:'{{ csrf_token }}'},}); </script>
    <script type="text/javascript" src="{% static "ftp_deploy/js/bootstrap.min.js"%} "></script>
    <script type="text/javascript" src="{% static "ftp_deploy/js/select2.min.js"%} "></script>
    <script type="text/javascript" src="{% static "ftp_deploy/js/script.js"%} "></script>
  </body>
</html>