# HG changeset patch # User Tero Marttila # Date 1234152267 -7200 # Node ID 69494e4a5ecc8844631cb9156065e3e186bb4c39 # Parent 5667d2bbdc50b0a86c98606ee8772cff4894d049 tweak layout slightly diff -r 5667d2bbdc50 -r 69494e4a5ecc handlers.py --- a/handlers.py Mon Feb 09 05:44:29 2009 +0200 +++ b/handlers.py Mon Feb 09 06:04:27 2009 +0200 @@ -64,6 +64,9 @@ # return http.Response('\n'.join(str(channel.source.get_latest(count))), 'text/plain') pass + elif format == 'html' : + pass + else : raise http.ResponseError("Unknown filetype %r" % format) diff -r 5667d2bbdc50 -r 69494e4a5ecc static/irclogs.css --- a/static/irclogs.css Mon Feb 09 05:44:29 2009 +0200 +++ b/static/irclogs.css Mon Feb 09 06:04:27 2009 +0200 @@ -46,6 +46,10 @@ font-weight: bold; } +#menu li.join-left { + border-left: none; +} + #menu li a, #menu li form { height: 1.5em; @@ -128,6 +132,12 @@ /* * General */ +/* Channel view */ +div#title { + text-align: center; + text-size: xx-large; + font-weight: bold; +} /* Calendar */ table.calendar { diff -r 5667d2bbdc50 -r 69494e4a5ecc templates/channel.tmpl --- a/templates/channel.tmpl Mon Feb 09 05:44:29 2009 +0200 +++ b/templates/channel.tmpl Mon Feb 09 06:04:27 2009 +0200 @@ -5,9 +5,9 @@
  • Home
  • + Channel: +
  • - - % for cc in (10, 20, 50, 100, 'all') : ${cc} diff -r 5667d2bbdc50 -r 69494e4a5ecc templates/channel_date.tmpl --- a/templates/channel_date.tmpl Mon Feb 09 05:44:29 2009 +0200 +++ b/templates/channel_date.tmpl Mon Feb 09 06:04:27 2009 +0200 @@ -1,6 +1,6 @@ <%inherit file="channel.tmpl" /> -

    ${channel.title} » Logs for ${h.fmt_date(date)}

    +
    ${channel.title} :: Logs for ${h.fmt_date(date)}
    % for line in lines : ${line}\ diff -r 5667d2bbdc50 -r 69494e4a5ecc templates/channel_view.tmpl --- a/templates/channel_view.tmpl Mon Feb 09 05:44:29 2009 +0200 +++ b/templates/channel_view.tmpl Mon Feb 09 06:04:27 2009 +0200 @@ -1,6 +1,6 @@ <%inherit file="channel.tmpl" /> -

    ${channel.title} » Last ${count} lines

    +
    ${channel.title} :: Last ${count} lines
    % for line in lines : ${line}