Sha256: 36e61bb75e2c7c2ae626678b183d5ac1de5a270c74ebbeeaa90448b1310b97b7

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

require 'nitro/element'

class SystemPage < Nitro::Element  
  def render
    %~
    <html>
      <head>
        <title>System</title>
        <base href="\#{context.host_url}\#{base}/" />    
        <meta http-equiv="content-type" content="text/html; charset=#{AdminPart.charset}" />
        <link rel="stylesheet" href="stylesheet/system" type="text/css" media="screen" />    
      </head>
      <body>
        <h1>#@title</h1>
        #{content}
        <p>Powered by <a href="http://www.nitroproject.org">Nitro</a> version #{Nitro::Version}</p>
      </body>
    </html>
    ~
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.30.0 src/part/admin/skin.rb
nitro-0.31.0 src/part/admin/skin.rb