39 lines
1.1 KiB
HTML
Executable File
39 lines
1.1 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
|
<title><#processVersionName></title>
|
|
<!-- JQuery -->
|
|
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
|
<!-- AWS UI -->
|
|
<link rel="stylesheet" type="text/css" href="../commons/css/awsui.css">
|
|
<script type="text/javascript">
|
|
var workbench_sid = "<#sid>";
|
|
var workbench_uid = "<#uid>";
|
|
var workbench_type = "<#type>";
|
|
var workbench_docurl = "<#docurl>";
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<img id="img">
|
|
<div id="desc" style="padding: 0 20px;"><#docurl></div>
|
|
<div id="paldocurl" style="padding: 0 20px;"><#paldocurl></div>
|
|
</body>
|
|
<script>
|
|
$(document).ready(function() {
|
|
if (workbench_type=="desc") {
|
|
$("#desc").show();
|
|
}else if(workbench_type=="wfimg") {
|
|
$("#img").attr('src',workbench_docurl);
|
|
$("#desc").hide();
|
|
$('#paldocurl').hide();
|
|
}else if (workbench_type == 'pal2'){// pal
|
|
$('#img').hide();
|
|
$('#desc').hide();
|
|
$('#paldocurl').show();
|
|
}
|
|
});
|
|
</script>
|
|
</html> |