Sha256: 7244d01273cc02e02099caad01ee4439d2d0463c2360053edfd79f6af3777d88

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 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=utf-8" />
        <!--
        <script src="/js/behaviour.js" type="text/javascript"> </script>
        <script src="/js/prototype.js" type="text/javascript"> </script>
        <script src="/js/effects.js" type="text/javascript"> </script>
        <script src="/js/dragdrop.js" type="text/javascript"> </script>
        <script src="/js/controls.js" type="text/javascript"> </script>
        -->
        <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

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.26.0 src/part/admin/skin.rb