Sha256: f7e670658e17731c83530ad67aa3ab8a78fa86fe7a91ede2a26d06b0ebc1a01f
Contents?: true
Size: 588 Bytes
Versions: 3
Compression:
Stored size: 588 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.nitrohq.com">Nitro</a> version #{Nitro::Version}</p> </body> </html> ~ end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.27.0 | src/part/admin/skin.rb |
nitro-0.28.0 | src/part/admin/skin.rb |
nitro-0.29.0 | src/part/admin/skin.rb |