]> iEval git - gruntmaster-page.git/commitdiff
Add a clock
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 28 Jun 2014 09:21:18 +0000 (12:21 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 28 Jun 2014 09:21:18 +0000 (12:21 +0300)
app.psgi
css/custom.css
tmpl/header.en

index 0d58450a91b44c977b7a761bd1f483af2e9df98a..d9d42bfcf2127e1e9c4c46db1433a119ec922cf2 100644 (file)
--- a/app.psgi
+++ b/app.psgi
@@ -12,7 +12,7 @@ use Digest::SHA qw/sha256/;
 use Log::Log4perl;
 
 use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i|%h %u "%r" %>s %b "%{Referer}i" "%{User-agent}i"';
-use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self',;
+use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self'; frame-src 'free.timeanddate.com',;
 
 $Apache2::AuthzCaps::rootdir = $Apache2::Authen::Passphrase::rootdir;
 my $word = qr,(\w+),a;
index 9872ee8daf56c22f8819dbf17a8ef45d52c14c23..13943543d72beec9ad91c8377a388673a5ca71ed 100644 (file)
@@ -54,4 +54,9 @@ a.dropdown-toggle{
 
 .table-fixed{
        table-layout: fixed;
+}
+
+#clock{
+       float: right;
+       margin-right: 1em;
 }
\ No newline at end of file
index c4f51f6c9c07e99040daf75ed209e23f28525438..0f5938ba85aa18c1c5717e27a5e4201ef306c952 100644 (file)
@@ -36,6 +36,8 @@
 </div>
 </nav>
 
+<iframe src="http://free.timeanddate.com/clock/i47sdccv/n49/tlro/fc99f/tct/pct/ta1" frameborder="0" id="clock" width="98" height="18" sandbox="allow-scripts allow-same-origin"></iframe>
+
 <div class="container-fluid">
 
 <h1 id="title">TITLE_GOES_HERE</h1>
This page took 0.029234 seconds and 4 git commands to generate.