Skip to content

Commit

Permalink
Started work on presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ysyrota committed Dec 15, 2011
1 parent ca77d66 commit ddc0060
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions expert.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env perl

use utf8;

package Model;
use ORLite {
file => 'prices.db',
Expand Down Expand Up @@ -142,10 +144,32 @@ package main;
@@ index.html.ep
% layout 'default';
% title 'Welcome';
Welcome to Price Expert!
<div id="sidebar">
<div id="logo"><a href="/"><img alt="Price Expert" src="style/images/logo.png"></a></div>
<div id="menu">
<ul>
<li><a href="">Додати</a></li>
<li><a href="">Видалити</a></li>
</ul>
</div>
</div>
<div id="content">
<form id="searchform>
<input type="text" value="search"/>
</form>
</div>
@@ layouts/default.html.ep
<!doctype html><html>
<head><title><%= title %></title></head>
<body><%= content %></body>
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
<title><%= title %></title>
</head>
<body>
<div id="wrapper">
<%= content %>
</div>
<div class="clear"></div>
</body>
</html>

0 comments on commit ddc0060

Please sign in to comment.