From a2c8ceb25845d585c06d503794d61efb4968fa08 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Tue, 13 Dec 2011 22:04:12 -0700 Subject: [PATCH] Modifying appearance of contract --- app/views/contracts/show.html.erb | 13 ++----------- public/stylesheets/scaffold.css | 6 +++++- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index 92815d3..1ecdb5d 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -1,9 +1,6 @@

First Name: <%= @contract.signer.first_name %> -

-

- Last Name: <%= @contract.signer.last_name %>

@@ -12,26 +9,20 @@

- Boilerplate: <%=@contract.boilerplate %>

- Signature:

Date Signed: <%=h @contract.datesigned %> -

- -

+
Hash: <%=h @contract.signinghash %> -

- -

+
Verification: <%=Digest::SHA1.hexdigest @contract.boilerplate+@contract.signature+@contract.datesigned.to_s%>

diff --git a/public/stylesheets/scaffold.css b/public/stylesheets/scaffold.css index 093c209..fb9b6bf 100644 --- a/public/stylesheets/scaffold.css +++ b/public/stylesheets/scaffold.css @@ -1,6 +1,6 @@ body { background-color: #fff; color: #333; } -body, p, ol, ul, td { +body, ol, ul, td { font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 18px; @@ -16,6 +16,10 @@ a { color: #000; } a:visited { color: #666; } a:hover { color: #fff; background-color:#000; } +p { + margin: 0.25em 0; +} + .fieldWithErrors { padding: 2px; background-color: red;