<commit_before><div class="row">
	<div id="sidebar" class="col-xs-12 col-sm-2 col-md-2" role="navigation">
		<h2>Menu</h2>
		<ul class="metismenu nav nav-pills nav-stacked" id="menu">
			<?php if ($this->session->nivel == 1) : ?>
				<li><?= anchor('Curso','Cursos') ?></li>
				<li><?= anchor('Disciplina','Disciplinas') ?></li>
				<li><?= anchor('Professor/index', 'Professores') ?></li>
				<li><?= anchor('Sala','Salas') ?></li>
				<li><?= anchor('Turma','Turmas') ?></li>
			<?php elseif ($this->session->nivel == 2) : ?>
				<li><?= anchor('Professor/disponibilidade','Disponibilidade') ?></li>
				<li><?= anchor('Professor/preferencia','Preferências') ?></li>
				<?php if ($this->session->isCoordenador) : ?>
					<li><?= anchor('Professor/cadastrar','Visualizar Professores') ?></li>
							<li><?= anchor('Professor/coordenadorde','CoordenadorDe') ?></li>
				<?php endif; ?>
			<?php endif; ?>
			<li><?= anchor('Professor/Grade','Grade') ?></li>
			<hr>
			<?php if ($this->session->nivel == 2) : ?>
				<li><?= anchor('Usuario/editar','<span class="glyphicon glyphicon-cog"></span> Configurações',array('aria-expanded'=>'true')) ?></li>
			<?php endif; ?>
			<li><?= anchor('Login/logout', '<span class="glyphicon glyphicon-log-out"></span> Sair do Sistema') ?></li>
		</ul>

		<script>
			var active = 0;
			var nivelUsuario = <?= $this->session->nivel?>;
			for (var i = 0; i < document.links.length; i++) {
				var a  = document.links[i].href.split('/');
				var b = document.URL.split('/');

				switch (nivelUsuario) {
					case 1:
						if (a[5] === b[5]) {
							active = i;
							break;
						}
						break;
					case 2:
						if (a[6] === b[6]) {
							active = i;
							break;
						}<commit_msg>Sidebar na View da Grade<commit_after><div class="row">
	<div id="sidebar" class="col-xs-12 col-sm-2 col-md-2" role="navigation">
		<h2>Menu</h2>
		<ul class="metismenu nav nav-pills nav-stacked" id="menu">
			<?php if ($this->session->nivel == 1) : ?>
				<li><?= anchor('Curso','Cursos') ?></li>
				<li><?= anchor('Disciplina','Disciplinas') ?></li>
				<li><?= anchor('Professor/index', 'Professores') ?></li>
				<li><?= anchor('Sala','Salas') ?></li>
				<li><?= anchor('Turma','Turmas') ?></li>
			<?php elseif ($this->session->nivel == 2) : ?>
				<li><?= anchor('Professor/disponibilidade','Disponibilidade') ?></li>
				<li><?= anchor('Professor/preferencia','Preferências') ?></li>
				<?php if ($this->session->isCoordenador) : ?>
					<li><?= anchor('Professor/cadastrar','Visualizar Professores') ?></li>
							<li><?= anchor('Professor/coordenadorde','CoordenadorDe') ?></li>
				<?php endif; ?>
			<?php endif; ?>
                        <?php if ($this->session->nivel == 2) : ?>
			<li><?= anchor('Professor/Grade','Grade') ?></li>
                        <?php endif; ?>
			<hr>
			<?php if ($this->session->nivel == 2) : ?>
				<li><?= anchor('Usuario/editar','<span class="glyphicon glyphicon-cog"></span> Configurações',array('aria-expanded'=>'true')) ?></li>
			<?php endif; ?>
			<li><?= anchor('Login/logout', '<span class="glyphicon glyphicon-log-out"></span> Sair do Sistema') ?></li>
		</ul>

		<script>
			var active = 0;
			var nivelUsuario = <?= $this->session->nivel?>;
			for (var i = 0; i < document.links.length; i++) {
				var a  = document.links[i].href.split('/');
				var b = document.URL.split('/');

				switch (nivelUsuario) {
					case 1:
						if (a[5] === b[5]) {
							active = i;
							break;
						}
						break;
					case 2:
						if (a[6] === b[6]) {
							active = i;
							break;
						}
{'fraction_non_alphanumeric': 0.25014005602240896, 'fraction_numerical': 0.00980392156862745, 'mean_word_length': 3.2664277180406214, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1995023', 'n_tokens_mistral': 1610, 'n_tokens_neox': 1316, 'n_words': 258}