<commit_before>{% extends 'OptimusOptimusBundle:Layouts:layout.html.twig' %}
{# extends Bundle - carpeta - archivo twig#}

{% block javascripts %}
	<script type="text/javascript" src="{{ asset('bundles/optimus/js/jquery-1.11.1.min.js') }}"></script>
	
{% endblock %}

{% block content %} 
  
	<div id="left">
		<ul type="none" style="">
			<li><a href="">Tracker</a></li>
			<li><a href="{{path('cityDashboard')}}">City Dashboard</a></li>
			<li style="background-color:#f6f6f6;"><a style="color:#0069b4;" href="{{path('init')}}">Buildings</a></li>
		</ul>
		<p>{{ "now"|date('l, F d, Y') }}</p>
	</div>
	
	<div id="right">
		<div id="topRight">
			<p>{{ nameBuilding }}</p>	
			
			<ul type="none">
				<li><a href="{{ path('buildingDashboard', {'idBuilding':idBuilding}) }}">Dashboard</a></li>
				<li class="active"><a href="{{ path('listActionPlans', {'idBuilding':idBuilding}) }}">Action Plans</a></li>
				<li><a href="{{ path('prediction', {'idBuilding':idBuilding}) }}">Historical Data</a></li>
				<li><a href="{{ path('tableReports', {'idBuilding':idBuilding, 'insertDB':'ok'} )}}">Weekly Report</a></li>
				<li><a href="">User Activity</a></li>
			</ul>
			
		</div>
		<div id="centerRight">			
		
				<p class="titleSection">Description section Action Plans</p>
				
				<div id="markDayActual"></div>
				
				<div class="contentAllAP">
					<div class="contentHeadersDays">
																
						<p class="daysAP">SUN <br>{{ ("now") | date_modify('Sunday this week')|date("d.m") }}</p>
						<p class="daysAP">SAT <br>{{ ("now") | date_modify('Saturday this week')|date("d.m") }}</p>
						<p class="daysAP">FRI <br>{{ ("now") | date_modify('Friday this week')|date("d.m") }}</p>
						<p class="daysAP">THU <br>{{ ("now") | date_modify('Thursday this week')|date("d.m") }}</p>
						<p class="daysAP">WED <br>{{ ("now") | date_modify('Wednesday this week')|date("d.m") }}</p>
						<p class="daysAP">TUE <br>{{ ("now") | date_modify('Tuesday this week')|date("d.m") }}</p>
						<p class="daysAP">MON <br>{{ ("now") | date_modify('Monday this week')|date("d.m") }}</p>
					</div>
					
					
					{% set i=0 %}
					{% for aPlan in actionPlans %}
						
						{% if aPlan.type==1 %}
							{% set direccion=path('getOccupancyPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==2 %}
							{% set direccion=path('getSetPointPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==4 %}
							{% set direccion=path('view_switchOnOff', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==6 %}
							{% set direccion=path('actionPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==5 %}
							{% set direccion=path('actionPlan_PVMaintenance', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% else %}
							{% set direccion='' %}
						{% endif %}
						
						<div class="contentAP"> 
							
							<div class="leftAP">
								<p class="titleDiv link" onclick="location.href='{{direccion}}';"><strong>{{ aPlan.name }}</strong></span></p>
								<p>{{ aPlan.description }}</p>
							</div><commit_msg>Added two action plans (7,8) to listActionPlans.html.twig<commit_after>{% extends 'OptimusOptimusBundle:Layouts:layout.html.twig' %}
{# extends Bundle - carpeta - archivo twig#}

{% block javascripts %}
	<script type="text/javascript" src="{{ asset('bundles/optimus/js/jquery-1.11.1.min.js') }}"></script>
	
{% endblock %}

{% block content %} 
  
	<div id="left">
		<ul type="none" style="">
			<li><a href="">Tracker</a></li>
			<li><a href="{{path('cityDashboard')}}">City Dashboard</a></li>
			<li style="background-color:#f6f6f6;"><a style="color:#0069b4;" href="{{path('init')}}">Buildings</a></li>
		</ul>
		<p>{{ "now"|date('l, F d, Y') }}</p>
	</div>
	
	<div id="right">
		<div id="topRight">
			<p>{{ nameBuilding }}</p>	
			
			<ul type="none">
				<li><a href="{{ path('buildingDashboard', {'idBuilding':idBuilding}) }}">Dashboard</a></li>
				<li class="active"><a href="{{ path('listActionPlans', {'idBuilding':idBuilding}) }}">Action Plans</a></li>
				<li><a href="{{ path('prediction', {'idBuilding':idBuilding}) }}">Historical Data</a></li>
				<li><a href="{{ path('tableReports', {'idBuilding':idBuilding, 'insertDB':'ok'} )}}">Weekly Report</a></li>
				<li><a href="">User Activity</a></li>
			</ul>
			
		</div>
		<div id="centerRight">			
		
				<p class="titleSection">Description section Action Plans</p>
				
				<div id="markDayActual"></div>
				
				<div class="contentAllAP">
					<div class="contentHeadersDays">
																
						<p class="daysAP">SUN <br>{{ ("now") | date_modify('Sunday this week')|date("d.m") }}</p>
						<p class="daysAP">SAT <br>{{ ("now") | date_modify('Saturday this week')|date("d.m") }}</p>
						<p class="daysAP">FRI <br>{{ ("now") | date_modify('Friday this week')|date("d.m") }}</p>
						<p class="daysAP">THU <br>{{ ("now") | date_modify('Thursday this week')|date("d.m") }}</p>
						<p class="daysAP">WED <br>{{ ("now") | date_modify('Wednesday this week')|date("d.m") }}</p>
						<p class="daysAP">TUE <br>{{ ("now") | date_modify('Tuesday this week')|date("d.m") }}</p>
						<p class="daysAP">MON <br>{{ ("now") | date_modify('Monday this week')|date("d.m") }}</p>
					</div>
					
					
					{% set i=0 %}
					{% for aPlan in actionPlans %}
						
						{% if aPlan.type==1 %}
							{% set direccion=path('getOccupancyPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==2 %}
							{% set direccion=path('getSetPointPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==4 %}
							{% set direccion=path('view_switchOnOff', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==5 %}
							{% set direccion=path('actionPlan_PVMaintenance', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==6 %}
							{% set direccion=path('actionPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==7 %}
							{% set direccion=path('energySourcePlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% elseif aPlan.type==8 %}
							{% set direccion=path('economizerPlan', {'idBuilding':idBuilding, 'idAPType':aPlan.type}) %}
						{% else %}
							{% set direccion='' %}
						{% endif %}
						
						<div class="contentAP"> 
							
							<div class="leftAP">
								<p class="titleDiv link" onclick="location.href='{{direccion}}';"><strong>{{ aPlan.name }}</strong></span></p>
								<p>{{ aPlan.description }}</p>
							</div>
{'fraction_non_alphanumeric': 0.24247441300421432, 'fraction_numerical': 0.006020469596628537, 'mean_word_length': 3.8468271334792123, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 175, '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': '4156607', 'n_tokens_mistral': 3062, 'n_tokens_neox': 2323, 'n_words': 423}