From: "Alex Legler" <a3li@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/infra-status:master commit in: /, views/ Date: Sat, 18 Jan 2014 12:10:45 +0000 (UTC) [thread overview] Message-ID: <1389717718.4eaeb77dd3e494f10c848848df7b4814e98c11b6.a3li@gentoo> (raw) commit: 4eaeb77dd3e494f10c848848df7b4814e98c11b6 Author: Alex Legler <alex <AT> a3li <DOT> li> AuthorDate: Tue Jan 14 16:41:58 2014 +0000 Commit: Alex Legler <a3li <AT> gentoo <DOT> org> CommitDate: Tue Jan 14 16:41:58 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/infra-status.git;a=commit;h=4eaeb77d Rework footer Make it 2014 and include the node that served the page. --- infra-status.rb | 1 + views/layout.erb | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/infra-status.rb b/infra-status.rb index 0029579..2bff57c 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -7,6 +7,7 @@ require 'sinatra' require 'sinatra/partial' require 'redcarpet' require 'rss' +require 'socket' require_relative 'lib/notice_store' require_relative 'lib/service_registry' diff --git a/views/layout.erb b/views/layout.erb index 4b779ec..ca92c8e 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -78,9 +78,14 @@ <div class="container"> <div class="row"> <div class="col-md-8"> - Status data updated at <%= date_format ServiceRegistry.instance.load_date %>.<br /> - Notices updated at <%= date_format NoticeStore.instance.load_date %>.<br /> - Fugue iconset by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a>. + <p> + Status data updated at <em><%= date_format ServiceRegistry.instance.load_date %>.</em><br /> + Notices updated at <em><%= date_format NoticeStore.instance.load_date %>.</em><br /> + Served by <em><%= Socket.gethostname == 'avocet' ? 'infra-status1' : 'infra-status2' %></em> + </p> + <p> + Fugue iconset by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a>. + </p> </div> <div class="col-md-4"> <strong>Questions or comments?</strong><br/> @@ -89,7 +94,7 @@ </div> <div class="row"> <div class="col-md-12"> - <strong>© 2001-2013 Gentoo Foundation, Inc.</strong><br/> + <strong>© 2001-2014 Gentoo Foundation, Inc.</strong><br/> <small> Gentoo is a trademark of the Gentoo Foundation, Inc. The contents of this document, unless otherwise expressly stated, are licensed under the
WARNING: multiple messages have this Message-ID (diff)
From: "Alex Legler" <a3li@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/infra-status:master commit in: /, views/ Date: Thu, 16 Jan 2014 16:43:40 +0000 (UTC) [thread overview] Message-ID: <1389717718.4eaeb77dd3e494f10c848848df7b4814e98c11b6.a3li@gentoo> (raw) Message-ID: <20140116164340.HFdBDkGvxzfPX9KuSjpoyjbZEOySvt4W91plk1pjDmg@z> (raw) commit: 4eaeb77dd3e494f10c848848df7b4814e98c11b6 Author: Alex Legler <alex <AT> a3li <DOT> li> AuthorDate: Tue Jan 14 16:41:58 2014 +0000 Commit: Alex Legler <a3li <AT> gentoo <DOT> org> CommitDate: Tue Jan 14 16:41:58 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/infra-status.git;a=commit;h=4eaeb77d Rework footer Make it 2014 and include the node that served the page. --- infra-status.rb | 1 + views/layout.erb | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/infra-status.rb b/infra-status.rb index 0029579..2bff57c 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -7,6 +7,7 @@ require 'sinatra' require 'sinatra/partial' require 'redcarpet' require 'rss' +require 'socket' require_relative 'lib/notice_store' require_relative 'lib/service_registry' diff --git a/views/layout.erb b/views/layout.erb index 4b779ec..ca92c8e 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -78,9 +78,14 @@ <div class="container"> <div class="row"> <div class="col-md-8"> - Status data updated at <%= date_format ServiceRegistry.instance.load_date %>.<br /> - Notices updated at <%= date_format NoticeStore.instance.load_date %>.<br /> - Fugue iconset by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a>. + <p> + Status data updated at <em><%= date_format ServiceRegistry.instance.load_date %>.</em><br /> + Notices updated at <em><%= date_format NoticeStore.instance.load_date %>.</em><br /> + Served by <em><%= Socket.gethostname == 'avocet' ? 'infra-status1' : 'infra-status2' %></em> + </p> + <p> + Fugue iconset by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a>. + </p> </div> <div class="col-md-4"> <strong>Questions or comments?</strong><br/> @@ -89,7 +94,7 @@ </div> <div class="row"> <div class="col-md-12"> - <strong>© 2001-2013 Gentoo Foundation, Inc.</strong><br/> + <strong>© 2001-2014 Gentoo Foundation, Inc.</strong><br/> <small> Gentoo is a trademark of the Gentoo Foundation, Inc. The contents of this document, unless otherwise expressly stated, are licensed under the
next reply other threads:[~2014-01-18 12:10 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-01-18 12:10 Alex Legler [this message] 2014-01-16 16:43 ` [gentoo-commits] proj/infra-status:master commit in: /, views/ Alex Legler -- strict thread matches above, loose matches on Subject: below -- 2014-04-17 16:41 Alex Legler
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1389717718.4eaeb77dd3e494f10c848848df7b4814e98c11b6.a3li@gentoo \ --to=a3li@gentoo.org \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox