Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (86 sloc) 3.742 kb
<html>
<head>
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.22.custom.js"></script>
<script type="text/javascript" src="js/jquery.fancybox.pack.js" ></script>
<script type="text/javascript" src="js/jquery.fancybox-thumbs.js" ></script>
<script type="text/javascript" src="js/jquery.fancybox-buttons.js" ></script>
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.22.custom.css" />
<link rel="stylesheet" type="text/css" href="css/tablethemes/blue/style.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.fancybox-thumbs.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.fancybox-buttons.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.fancybox.css" />
<link rel="stylesheet" type="text/css" href="http://private.nees.ucsb.edu/common/neesucsb.css" />
</head>
<script type="text/javascript">
//Disable caching
$.ajaxSetup ({
// Disable caching of AJAX responses
cache: false
});
//Load the main page table
$(document).ready(
function() {
//Setup date picker then hide
$( "#datepicker_start" ).datepicker({ maxDate: "+0d" , altField: "#start",
altFormat: "@", changeMonth: true, changeYear: true});
$( "#datepicker_end" ).datepicker({ maxDate: "+0d" , altField: "#end",
altFormat: "@", changeMonth: true, changeYear: true});
$("#datepicker_start").datepicker('setDate', "-1m");
$("#datepicker_end").datepicker('setDate', "+0d");
$('#plot_disk_button').button();
$('#plot_cpu_button').button();
$('#view_files_button').button();
$('#view_hosts_button').button();
$('#view_work_button').button();
$('#view_files_button').hide();
$('#view_hosts_button').hide();
$('#view_work_button').hide();
$('#plot').hide();
//Load the main page
$('div#sites').load('main.php');
}
);
</script>
</head>
<body>
<div class="hdrBanner">
<div class="hdrLogo"></div>
</div>
<div id="wholebody">
<div id="div-menu">
<?php include $_SERVER['DOCUMENT_ROOT'].'/common/navbar.php'; ?>
</div>
<div id="div-main">
<h1>NEES@UCSB: Remote Monitor</h1>
</div>
<div id="div-cams">
<div id="sites" style="border-bottom: 1px solid #afeeee;"></div>
<div id="sidebar" style="float: left; border-right: 1px solid #afeeee; padding-right: 10px;margin-right: 10px;width: 26%;">
<h3>Site Info</h3>
<div id="status"></div>
<p style="border-bottom: 1px solid #afeeee; padding-bottom: 10px;">
<button id="view_files_button">View files</button>
<button id="view_work_button">View work</button>
<button id="view_hosts_button">View hosts</button>
</p>
<div id="plot">
<h3>Plots</h3>
<p>
Start date: <input type="text" id="datepicker_start">
<input type="text" id="start" style="display: none;">
</p>
<p>
End date: <input type="text" id="datepicker_end">
<input type="text" id="end" style="display: none;">
</p>
<button id="plot_cpu_button">Plot CPU</button>
<button id="plot_disk_button">Plot Disk</button>
</div>
</div>
<div id="selected" style="float: left;"></div>
<div id="pic"></div>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.