
This adds clippy, the workflow accelerator, to gerrit rewiews. Clippy comes from: https://www.smore.com/clippy-js A demo is available at: http://reviewtest.cloud.nibalizer.com/#/c/1/ Change-Id: Ia0d9151d1ce81f87f41e8e9083c839898472d6e3
26 lines
696 B
HTML
26 lines
696 B
HTML
<div>
|
|
<script type="text/javascript" src="static/jquery.js" />
|
|
<script type="text/javascript" src="static/hideci.js" />
|
|
<a href="/"><h1 style="color: #CF2F19"><img src="static/title.png" style="vertical-align:middle;" /></h1></a>
|
|
|
|
<!-- Clippy.js -->
|
|
<script src="static/clippy.min.js"></script>
|
|
|
|
<!-- Init script -->
|
|
<script type="text/javascript">
|
|
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'static/clippy.css') );
|
|
var now = new Date();
|
|
if (now.getMonth() == 3) {
|
|
if (now.getDate() == 1){
|
|
clippy.load('Clippy', function(agent) {
|
|
// Do anything with the loaded agent
|
|
agent.show();
|
|
agent.animate();
|
|
});
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
</div>
|