<commit_before>{% load proto_tags admin_static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
	<title>{% block title %}{% endblock %}</title>
        <link rel="shortcut icon" href="/media/img/favicon.png" />
	<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "css/base.css" %}{% endblock %}" />
	{% block extrastyle %}{% endblock %}
	<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% static "css/ie.css" %}{% endblock %}" /><![endif]-->
	{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "css/rtl.css" %}{% endblock %}" />{% endif %}
	<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "" %}{% endfilter %}";</script>
	{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}

	<script type="text/javascript" src="{% static "js/jquery.min.js" %}></script>
        {% block extrahead %}{% endblock %}
	<script type="text/javascript" src="{% static "js/jquery-blockUI.js" %}"></script>
	<!--<script type="text/javascript" src="/media/js/jquery.accordion.js"></script>
	
	<script type="text/javascript"> 
		$(function(){ 
			$('#efeito').accordion({ 
			autoheight:false 
			}); 
		}); 
	</script>-->
	
	<script type="text/javascript"> <!-- modal box e slider de acoes recentes -->
		$(document).ready(function() {
            $('.modal-box').hide();
			$('.modal-call-header').click(function() {
                var id = '#mod-'+$(this).attr('app');
				$.blockUI({ 
				    message: $(id),
				    css: { top: '10%' }  
				});
			}); 
			
			$('.modal-close').click(function() { 
            $.unblockUI(); 
            return false; 
			});
			
			$('.blockOverlay').click(function() { 
            $.unblockUI(); 
            return false; 
			});
			
		}); 
		
		$(document).ready(function(){
		 	$(".btn-slide-actions").click(function(){
			$("#content-actions").slideToggle("default").css("z-index",1000);
			$(this).toggleClass("active"); return false;
			});
		});

                document.onreadystatechange = function() {
                        if (document.readyState == "complete") {
                                parent.scroll(0,0);
                        }
                }

$(document).ajaxSend(function(event, xhr, settings) {
    function getCookie(name) {
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
    function sameOrigin(url) {
        // url could be relative or scheme relative or absolute
        var host = document.location.host; // host + port
        var protocol = document.location.protocol;
        var sr_origin = '//' + host;
        var origin = protocol + sr_origin;
        // Allow absolute or scheme relative URLs to same origin
        return (url == origin || url.slice(0, origin.length + 1) == origin + '/') ||
            (url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') ||
            // or any other URL that isn't scheme relative or absolute i.e relative.
            !(/^(\/\/|http:|https:).*/.test(url));
    }
    function safeMethod(method) {
        return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
    }

    if (!safeMethod(settings.type) && sameOrigin(settings.url)) {
        xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken'));
    }
});

	</script> 
	
	
</head>
{% load i18n %}

<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
	{% block header %}
{% if not is_popup %}
    <!-- Header -->
    <div id="header">
		<div class="header-content">
                        <div id="branding" class="header-logo">
                        {% block branding %}
                        {% endblock %}
                        </div>
	
			<div class="header-sites">
				<ul>
					<li><span class="meta-label2">Sites:</span></li>
					<li><a href="http://www.ansp.br" target="_blank">Rede ANSP</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://intranet.ansp.br/" target="_blank">Intranet NARA</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://diariodebordo.ansp.br/" target="_blank">Diário de Bordo</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://www.fapesp.br" target="_blank">FAPESP</a></li>
				</ul>			
			</div>
			
			{% if user.is_active and user.is_staff %}
			<div id="user-tools">
				<ul>
				<li class="username">{% trans 'Welcome,' %}<strong> {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong></li>
				{% block userlinks %}
                                        <li >{% controle_horario user %}</li>

					{% url 'admin:password_change' as password_change_url %}
					{% if password_change_url %}
					<li><a class="change-pass" href="{{ password_change_url }}">
					{% else %}
					<li><a class="change-pass" href="{{ root_path }}password_change/">
					{% endif %}
					{% trans 'Change password' %}</a></li>
					{% url 'django_cas.views.logout' as logout_url %}
					{% if logout_url %}
					<li><a class="sair" href="{{ logout_url }}">
					{% else %}
					<li><a class="sair" href="{{ root_path }}logout/">
					{% endif %}
					{% trans 'Log out' %}</a></li>
				{% endblock %}
				</ul>
			</div>
			{% endif %}
			{% block nav-global %}{% endblock %}
    {% endif %}

        {% if messages %}
        <ul class="messagelist">{% for message in messages %}
          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
	{% endfor %}</ul>
        {% endif %}
		</div>
    </div><!-- END HEADER -->
	
    {% endblock %}
    
<!-- END Header -->

<!-- Container -->
<div id="container">

		<!-- ABAS -->
	{% block abas %}
	<div class="content-abas">
		<h2>Módulos</h2>
		{% if adm_app_list %}
				{% for app in adm_app_list %}
					<div class="module-header">
					
						<a href="#" class="modal-call-header {{app.name}}" app="{{app.name}}">{% blocktrans with app.verbose_name as name %}{{ name }}{% endblocktrans %}</a>
				
						<div class="modal-box" id="mod-{{app.name}}">
							<h2>{{app.verbose_name}}</h2><a class="modal-close" title="Fechar" name="fechar" >fechar</a>
							<table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
								{% for model in app.models %}
								<tr>
								{% if model.perms.change %}
									<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
								{% else %}
									<th scope="row">{{ model.name }}</th>
								{% endif %}

								{% if model.perms.add %}
									<td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
								{% else %}
									<td>&nbsp;</td>
								{% endif %}

								{% if model.perms.change %}
									<td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
								{% else %}
									<td>&nbsp;</td>
								{% endif %}
								</tr>
								{% endfor %}
							</table>
						</div><!-- end modal-box -->
					</div><!-- end module-header -->
				{% endfor %}
			{% else %}
				<p>{% trans "You don't have permission to edit anything." %}</p>
			{% endif %}
	</div>
	
	{% endblock %}
	{% block breadcrumbs %}<div class="breadcrumbs">Você está em: <a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}

    <!-- Content -->
    <div id="content" class="{% block coltype %}colM{% endblock %}">
        {% block pretitle %}{% endblock %}
        
        {% block content %}
			{% block object-tools %}{% endblock %}
			{{ content }}
        {% endblock %}
		
        {% block sidebar %}{% endblock %}
        <!--<br class="clear" />-->
    </div>
    <!-- END Content -->

	</div><!-- END Container -->
 {% block footer %}
	<div id="footer">
	
		<div class="footer-content">
		
			<div class="content-modules-footer">
				<h2>Módulos carregados</h2>
				<ul>{% if adm_app_list %}
				{% for app in adm_app_list %}
					
						<li>
							<a href="#" class="section modal-call2" app="{{app.name}}">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></li>
					
				{% endfor %}
			{% else %}
				<p class="edit-alert">{% trans "You don't have permission to edit anything." %}</p>
			{% endif %}
				</ul>
			</div><!-- end content-modules-footer -->
			<div class="footer-sites">
				<h2>Sites</h2>
				<ul>
					<li><a href="http://www.ansp.br">Rede ANSP</a></li>
					<li><a href="http://intranet.ansp.br">Intranet NARA</a></li>
					<li><a href="http://diariodebordo.ansp.br">Diário de Bordo</a></li>
					<li><a href="http://www.fapesp.br">FAPESP</a></li>
				</ul>
			</div>
			
			<div class="nara-logo">
				<a href="http://www.ansp.br/index.php/br/nara">Sobre nós</a>
			</div>
			
			<div class="footer-copy">
					Copyright©2010 <span class="meta-sep2">/</span> NARA <span class="meta-sep2">/</span> {% trans "Todos os direitos reservados" %}
					<span class="meta-sep2">/</span>
					<span class="links-copy">
					<a href="Http://www.ansp.br">termos de uso</a>
					<span class="meta-sep2">/</span>
					<a href="Http://www.ansp.br">Segurança e privacidade</a>
					<span class="meta-sep2">/</span>
					<a href="Http://www.ansp.br">www.ansp.br</a>
					<span class="meta-sep2">/</span>
					<a href="http://www.fapesp.br">www.fapesp.br</a></span>
					</span>
				</div>
			
		</div>
	</div>
	{% endblock %}
</body>
</html>
<commit_msg>atualizacao da versao do jquery para a 1.10.2 atualizacao da versao do jquery-blockUI para a 2.64.0 e ajuste no CSS<commit_after>{% load proto_tags admin_static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
	<title>{% block title %}{% endblock %}</title>
        <link rel="shortcut icon" href="/media/img/favicon.png" />
	<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "css/base.css" %}{% endblock %}" />
	{% block extrastyle %}{% endblock %}
	<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% static "css/ie.css" %}{% endblock %}" /><![endif]-->
	{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "css/rtl.css" %}{% endblock %}" />{% endif %}
	<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "" %}{% endfilter %}";</script>
	{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}

	<script type="text/javascript" src="{% static "js/jquery.min.js" %}"></script>
        {% block extrahead %}{% endblock %}
	<script type="text/javascript" src="{% static "js/jquery-blockUI.js" %}"></script>
	<!--<script type="text/javascript" src="/media/js/jquery.accordion.js"></script>
	
	<script type="text/javascript"> 
		$(function(){ 
			$('#efeito').accordion({ 
			autoheight:false 
			}); 
		}); 
	</script>-->
	
	<script type="text/javascript"> <!-- modal box e slider de acoes recentes -->
		$(document).ready(function() {
            $('.modal-box').hide();
			$('.modal-call-header').click(function() {
                var id = '#mod-'+$(this).attr('app');
				$.blockUI({ 
				    message: $(id),
				    css: { top: '10%' }  
				});
			}); 
			
			$('.modal-close').click(function() { 
            $.unblockUI(); 
            return false; 
			});
			
			$('.blockOverlay').click(function() { 
            $.unblockUI(); 
            return false; 
			});
			
		}); 
		
		$(document).ready(function(){
		 	$(".btn-slide-actions").click(function(){
			$("#content-actions").slideToggle("default").css("z-index",1000);
			$(this).toggleClass("active"); return false;
			});
		});

                document.onreadystatechange = function() {
                        if (document.readyState == "complete") {
                                parent.scroll(0,0);
                        }
                }

$(document).ajaxSend(function(event, xhr, settings) {
    function getCookie(name) {
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
    function sameOrigin(url) {
        // url could be relative or scheme relative or absolute
        var host = document.location.host; // host + port
        var protocol = document.location.protocol;
        var sr_origin = '//' + host;
        var origin = protocol + sr_origin;
        // Allow absolute or scheme relative URLs to same origin
        return (url == origin || url.slice(0, origin.length + 1) == origin + '/') ||
            (url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') ||
            // or any other URL that isn't scheme relative or absolute i.e relative.
            !(/^(\/\/|http:|https:).*/.test(url));
    }
    function safeMethod(method) {
        return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
    }

    if (!safeMethod(settings.type) && sameOrigin(settings.url)) {
        xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken'));
    }
});

	</script> 
	
	
</head>
{% load i18n %}

<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
	{% block header %}
{% if not is_popup %}
    <!-- Header -->
    <div id="header">
		<div class="header-content">
                        <div id="branding" class="header-logo">
                        {% block branding %}
                        {% endblock %}
                        </div>
	
			<div class="header-sites">
				<ul>
					<li><span class="meta-label2">Sites:</span></li>
					<li><a href="http://www.ansp.br" target="_blank">Rede ANSP</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://intranet.ansp.br/" target="_blank">Intranet NARA</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://diariodebordo.ansp.br/" target="_blank">Diário de Bordo</a></li>
					<li><span class="meta-sep2">/</span></li>
					<li><a href="http://www.fapesp.br" target="_blank">FAPESP</a></li>
				</ul>			
			</div>
			
			{% if user.is_active and user.is_staff %}
			<div id="user-tools">
				<ul>
				<li class="username">{% trans 'Welcome,' %}<strong> {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}</strong></li>
				{% block userlinks %}
                                        <li >{% controle_horario user %}</li>

					{% url 'admin:password_change' as password_change_url %}
					{% if password_change_url %}
					<li><a class="change-pass" href="{{ password_change_url }}">
					{% else %}
					<li><a class="change-pass" href="{{ root_path }}password_change/">
					{% endif %}
					{% trans 'Change password' %}</a></li>
					{% url 'django_cas.views.logout' as logout_url %}
					{% if logout_url %}
					<li><a class="sair" href="{{ logout_url }}">
					{% else %}
					<li><a class="sair" href="{{ root_path }}logout/">
					{% endif %}
					{% trans 'Log out' %}</a></li>
				{% endblock %}
				</ul>
			</div>
			{% endif %}
			{% block nav-global %}{% endblock %}
    {% endif %}

        {% if messages %}
        <ul class="messagelist">{% for message in messages %}
          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
	{% endfor %}</ul>
        {% endif %}
		</div>
    </div><!-- END HEADER -->
	
    {% endblock %}
    
<!-- END Header -->

<!-- Container -->
<div id="container">

		<!-- ABAS -->
	{% block abas %}
	<div class="content-abas">
		<h2>Módulos</h2>
		{% if adm_app_list %}
				{% for app in adm_app_list %}
					<div class="module-header">
					
						<a href="#" class="modal-call-header {{app.name}}" app="{{app.name}}">{% blocktrans with app.verbose_name as name %}{{ name }}{% endblocktrans %}</a>
				
						<div class="modal-box" id="mod-{{app.name}}">
							<h2>{{app.verbose_name}}</h2><a class="modal-close" title="Fechar" name="fechar" >fechar</a>
							<table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
								{% for model in app.models %}
								<tr>
								{% if model.perms.change %}
									<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
								{% else %}
									<th scope="row">{{ model.name }}</th>
								{% endif %}

								{% if model.perms.add %}
									<td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>
								{% else %}
									<td>&nbsp;</td>
								{% endif %}

								{% if model.perms.change %}
									<td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
								{% else %}
									<td>&nbsp;</td>
								{% endif %}
								</tr>
								{% endfor %}
							</table>
						</div><!-- end modal-box -->
					</div><!-- end module-header -->
				{% endfor %}
			{% else %}
				<p>{% trans "You don't have permission to edit anything." %}</p>
			{% endif %}
	</div>
	
	{% endblock %}
	{% block breadcrumbs %}<div class="breadcrumbs">Você está em: <a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}

    <!-- Content -->
    <div id="content" class="{% block coltype %}colM{% endblock %}">
        {% block pretitle %}{% endblock %}
        
        {% block content %}
			{% block object-tools %}{% endblock %}
			{{ content }}
        {% endblock %}
		
        {% block sidebar %}{% endblock %}
        <!--<br class="clear" />-->
    </div>
    <!-- END Content -->

	</div><!-- END Container -->
 {% block footer %}
	<div id="footer">
	
		<div class="footer-content">
		
			<div class="content-modules-footer">
				<h2>Módulos carregados</h2>
				<ul>{% if adm_app_list %}
				{% for app in adm_app_list %}
					
						<li>
							<a href="#" class="section modal-call2" app="{{app.name}}">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></li>
					
				{% endfor %}
			{% else %}
				<p class="edit-alert">{% trans "You don't have permission to edit anything." %}</p>
			{% endif %}
				</ul>
			</div><!-- end content-modules-footer -->
			<div class="footer-sites">
				<h2>Sites</h2>
				<ul>
					<li><a href="http://www.ansp.br">Rede ANSP</a></li>
					<li><a href="http://intranet.ansp.br">Intranet NARA</a></li>
					<li><a href="http://diariodebordo.ansp.br">Diário de Bordo</a></li>
					<li><a href="http://www.fapesp.br">FAPESP</a></li>
				</ul>
			</div>
			
			<div class="nara-logo">
				<a href="http://www.ansp.br/index.php/br/nara">Sobre nós</a>
			</div>
			
			<div class="footer-copy">
					Copyright©2010 <span class="meta-sep2">/</span> NARA <span class="meta-sep2">/</span> {% trans "Todos os direitos reservados" %}
					<span class="meta-sep2">/</span>
					<span class="links-copy">
					<a href="Http://www.ansp.br">termos de uso</a>
					<span class="meta-sep2">/</span>
					<a href="Http://www.ansp.br">Segurança e privacidade</a>
					<span class="meta-sep2">/</span>
					<a href="Http://www.ansp.br">www.ansp.br</a>
					<span class="meta-sep2">/</span>
					<a href="http://www.fapesp.br">www.fapesp.br</a></span>
					</span>
				</div>
			
		</div>
	</div>
	{% endblock %}
</body>
</html>

{'fraction_non_alphanumeric': 0.21689797906014122, 'fraction_numerical': 0.0055514974433893355, 'mean_word_length': 2.4300985468515117, 'pattern_counts': {'":': 0, '<': 453, '<?xml version=': 0, '>': 451, 'https://': 0, 'lorem ipsum': 0, 'www.': 26, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1847745', 'n_tokens_mistral': 8423, 'n_tokens_neox': 6756, 'n_words': 1427}