49 lines
2.6 KiB
Twig
49 lines
2.6 KiB
Twig
<html>
|
|
<head>
|
|
<title>{{ title | e }} | {% block page_title %}Welcome{% endblock %}</title>
|
|
<link rel="stylesheet" type="text/css" href="{{ files_url }}/css/style.css">
|
|
<link rel="stylesheet" type="text/css" href="{{ files_url }}/css/clippy.css">
|
|
<script type="text/javascript" src="{{ files_url }}/js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="{{ files_url }}/js/clippy.min.js"></script>
|
|
<script type="text/javascript">
|
|
var myagent;
|
|
clippy.load('Links', function(agent){
|
|
myagent = agent;
|
|
// Do anything with the loaded agent
|
|
agent.show();
|
|
agent.speak('If you need assistance with generating and importing certificates, press the [?] Help Button. My name is Links.');
|
|
});
|
|
|
|
window.addEventListener('load', function () {
|
|
myagent.animate();
|
|
});
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="padring">
|
|
<div class="container" id="drag">
|
|
<div class="title" id="dragtitle">
|
|
<img src="{{ files_url }}/media/key.png" width="18" height="18" class="title" onclick="if (event.shiftKey) window.open('<?php echo $CONF_BASE_URI; ?>/media/segfault.mov', '_blank', 'toolbar=no,scrollbars=no,location=no,fullscreen=yes,status=no,height='+screen.height + ',width='+screen.width); else myagent.play('Congratulate'); return false; "/>
|
|
<p class="title">{% block window_title %}Welcome{% endblock %}</p>
|
|
<button onclick="if (typeof helpOpen === 'undefined') myagent.animate(); else window.location.href = window.location.href; return false;">X</button>
|
|
<button onclick="document.getElementById('content').innerHTML='<div class=pdfcontainer><object type=application/pdf height=500 width=100% data={{ files_url }}/media/help.pdf></object></div>'; document.getElementsByClassName('clippy')[0].style.position = 'absolute'; window.helpOpen = true; myagent.play('CheckingSomething'); return false;">?</button>
|
|
</div>
|
|
<div id="content">
|
|
<img src="{{ files_url }}/media/banner.jpg" class="banner" onclick="myagent.play('GetArtsy'); return false;" />
|
|
<div class="left">
|
|
<?php echo(gethostbyaddr($_SERVER['REMOTE_ADDR'])); ?><br/>IP <?php echo($_SERVER['REMOTE_ADDR']); ?>
|
|
</div>
|
|
<div class="right">
|
|
Served by dual SPARC64 VIIIs<br>Mainframe access at port 443
|
|
</div>
|
|
<br>
|
|
{% block body %}{% endblock %}
|
|
<br>
|
|
</div>
|
|
<div class="powered">Protected by <img src="{{ files_url }}/media/chaser.png" style="height: 2em; vertical-align: -30%;" /> Software</div>
|
|
</div>
|
|
</div>
|
|
<script src="{{ files_url }}/js/window.js"></script>
|
|
</body>
|
|
</html> |