예제 #1
0
파일: birds.php 프로젝트: holalluis/ecam
			</script>
			<button class="button prev" onclick="event.stopPropagation();window.location='inhabitants.php'"><?php 
write('#previous');
?>
</button><!--
			--><button class="button next" onclick=nextPage()><?php 
write('#next');
?>
</button>
		</div>
	</div>

	<!--graphs-->
	<div class="card inline" style="width:63%">
		<?php 
cardMenu("<b>Graphs</b>");
?>
		<div id=graphs>
			<style> 
				#graphs table{margin:auto !important;margin-bottom:0.5em !important}
				#graphs button{margin:0.5em;margin-top:0;font-size:10px} 
				#graphs div div {text-align:center;position:relative} 
				#graphs div.options {text-align:center;padding:1em}
				#graphs div[graph] {
					display:inline-block;
					text-align:center;
					vertical-align:top;
					width:50%;
					margin-left:-5px;
					margin-bottom:-1px;
					border:1px solid #ddd;
예제 #2
0
파일: edit.php 프로젝트: holalluis/ecam
						<div id=substageGraph style=text-align:center>Click a graph to display</div>
					</div>
					<!--ok next btn-->
					<button class="button save prevNext" onclick="PrevNext.next(this.parentNode.parentNode,'tbd')">Ok, next</button>
				</div>
			</div>
			<?php 
}
?>
	
	<!--opportunities-->
	<?php 
if ($sublevel) {
    ?>
			<div class=card><?php 
    cardMenu("<b>Opportunities</b> <span class=tbd>TBD</span>");
    ?>
				<div style=padding:0.5em>
				Under development
				</div>
			</div>
			<?php 
}
?>
</div>

<!--CURRENT JSON--><?php 
include 'currentJSON.php';
?>

<script>
예제 #3
0
파일: summary.php 프로젝트: holalluis/ecam
	<!--description--><h4>
		<?php 
echo "All active " . ucfirst($type . "s");
?>
		<span>
			<?php 
$otherType = $type == "input" ? "output" : "input";
echo "<a href=summary.php?type={$otherType}>See {$otherType}" . "s</a>";
?>
		</span>
	</h4>

	<!--level 1 fields-->
	<div class="card inline" style="font-size:11px;max-width:49%;padding:0">
		<?php 
cardMenu($lang_json['#ghg_assessment']);
?>
		<table level=1></table>
	</div>

	<!--level 2 fields-->
	<div class="card inline" style="font-size:11px;max-width:49%;padding:0">
		<?php 
cardMenu($lang_json['#energy_performance']);
?>
		<table level=2></table>
	</div>
</div>

<!--CURRENT JSON--><?php 
include 'currentJSON.php';
예제 #4
0
파일: opps.php 프로젝트: holalluis/ecam
					Serviced population is <b><script>document.write(Global.Waste.ww_serv_pop)</script></b> people
					(<script>
						(function(){
							var percentage = 100*Global.Waste.ww_serv_pop/Global.Waste.ww_conn_pop;
							document.write(format(percentage));
						})();
					</script>%).
					<br><br>If serviced population was
					<input type=number id=idealServPop onchange=setServPop(parseFloat(this.value))> people
					(<span id=idealServPop_prc></span>%),
					it would reduce 
					<b><span id=servPopReduction>0</span></b> of Wastewater emissions.
				</div>
			</div>
			<div class=card><?php 
cardMenu("2. Energy efficiency");
?>
				<div class=opp>
					Energy consumption is
					<b><script>
						document.write(format(Global.Waste.ww_nrg_cons))
					</script></b> kWh
					(<script>
						document.write(format(Global.Waste.ww_nrg_cost)+" ")
						document.write(Global.General.Currency)
					</script>).
					Its related emissions are
					<b><script>
						document.write(format(Global.Waste.ww_KPI_GHG_elec()))
					</script></b> kg<sub>CO<sub>2</sub></sub>.
					<br><br>