Sha256: 71c3af291f1a23de8aa0545b346894679282aeeb35dac812a2cd39b851ad2176

Contents?: true

Size: 1.27 KB

Versions: 14

Compression:

Stored size: 1.27 KB

Contents

% javascript = Mote.parse(File.read("#{Kaya::View.path}/javascript.mote"), self, []).call()

% styles = Mote.parse(File.read("#{Kaya::View.path}/styles.mote"), self, []).call()

% navigation_bar = Mote.parse(File.read("#{Kaya::View.path}/navigation_bar.mote"), self, [:section]).call(section:"help")


% error_title , error_msg = Kaya::Support::ErrorHandlerHelper.evaluate exception

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns ="http://www.w3.org/1999/xhtml">

  <head>
    <title>{{Kaya::Support::Configuration.project_name}} through Kaya - Error</title>

    <meta content='text/html;charset=utf-8' http-equiv='Content-Type'/>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <link rel='shortcut icon' href='/favicon'>
    <link href='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css' rel='stylesheet'>

    {{javascript}}

    {{styles}}

  </head>
  <body class='padding-top: 50px;'>

    {{navigation_bar}}

    <div class='container'>
      <br>
        <div class='container'>
          <div class='alert alert-danger' role='alert'>
            <h1>{{error_title}}</h1>
            <p>{{error_msg}}</p>
          </div>
        </div>
    </div>
  </body>
</html>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kaya-0.0.14 lib/kaya/view/error_handler.mote
kaya-0.0.13 lib/kaya/view/error_handler.mote
kaya-0.0.12 lib/kaya/view/error_handler.mote
kaya-0.0.11 lib/kaya/view/error_handler.mote
kaya-0.0.10 lib/kaya/view/error_handler.mote
kaya-0.0.9 lib/kaya/view/error_handler.mote
kaya-0.0.8 lib/kaya/view/error_handler.mote
kaya-0.0.7 lib/kaya/view/error_handler.mote
kaya-0.0.6 lib/kaya/view/error_handler.mote
kaya-0.0.5 lib/kaya/view/error_handler.mote
kaya-0.0.4 lib/kaya/view/error_handler.mote
kaya-0.0.3 lib/kaya/view/error_handler.mote
kaya-0.0.2 lib/kaya/view/error_handler.mote
kaya-0.0.1 lib/kaya/view/error_handler.mote