Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (44 sloc) 1.61 KB
!!! 5
%html
%title
- if @channel
= @channel
- if @date
= " on #{@date}"
= ""
irc logs at whitequark.org
%meta{charset: "utf-8"}
%meta{'http-equiv' => "X-UA-Compatible", content: "IE=9"}
%link{rel: "stylesheet", href: "/style-light.css", id: "stylesheet"}
%link{rel: "shortcut icon", href: "/favicon.png"}
%link{rel: "canonical", href: "http://#{Config['domain']}#{request.fullpath}"}
- if @channel
%meta{name: 'description', content: "channel #{@channel} IRC chat logs"}
- if @messages && @messages.empty?
%meta{name: 'robots', content: 'noindex'}
%script{src: "/jquery.min.js"}
%script{src: "/jquery.ba-hashchange.min.js"}
%script{src: "/cookies.min.js"}
%script{src: "/application.js"}
%body
%section#sidebar
%section#calendar
%pre.clock= Time.now.gmtime.strftime('%H:%M UTC')
%pre= calendar(@channel, @date, !@channel.nil?)
- if @channel
%section#options
%a{href: '#', id: 'clear_selection'}> Clear selection
%form{action: channel_url(@channel, 'search')}
%input{placeholder: 'Enter keywords', id: 'search-box', name: 'q', value: params[:q]}
%input{type: 'submit', value: 'Search'}
%a{href: '/help/search'}
?
- if request.host == Config['domain']
%ul#channels
%li{class: "#{"current" unless @channel}"}
%a{href: '/'} Console
- @channels.each do |channel|
%li{class: "#{"current" if channel == @channel}"}
%a{href: channel_url(channel)}= channel
= yield
= erb :_analytics