Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
aemadrid committed Oct 6, 2011
1 parent e2c8811 commit e3f9fda
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 43 deletions.
1 change: 1 addition & 0 deletions public/stylesheets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ div#option-ctrl ul li {
}

#results tr td.line {
min-with: 700px;
max-width: 1200px;
}

Expand Down
51 changes: 8 additions & 43 deletions views/error.html.erb
Original file line number Diff line number Diff line change
@@ -1,62 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Clarity</title>
<meta name="description" content="">
<meta name="author" content="">

<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Le styles -->
<link href="../bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
}
</style>

<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">

<%= @content_for_header %>
</head>

<body>

<div class="topbar">
<div class="topbar-inner">
<div class="fill">
<div class="container-fluid">
<a class="brand" href="#">Clarity</a>
<ul class="nav">
<li class="active"><a href="?app=plt">PLT</a></li>
<li><a href="?app=api">API</a></li>
<li><a href="?app=reports">Reports</a></li>
</ul>
<p class="pull-right">Logged in as <a href="#">username</a></p>
<a class="brand" href="/">Clarity</a>
<%= @toolbar %>
</div>
</div>
</div>

<div class="container-fluid">

<div class="sidebar">
<div class="well">
<%= @toolbar %>
<div class="content" style="margin-left: 0;">
<div class="alert-message error">
<p><strong>Oh snap!</strong> <%= @error %></p>
</div>
</div>
</div>

<div id="results" class="content">
<h1>Error</h1>
<p><%= @error %></p>
</div>

</div>
</body>
</html>
</html>

0 comments on commit e3f9fda

Please sign in to comment.