From 80ba04e050870cc01835cb1cc93bfd6645efcecd Mon Sep 17 00:00:00 2001 From: Date: Tue, 19 Feb 2008 09:56:54 -0500 Subject: [PATCH] cleaned up minor issues from testing embeddable code --- app/views/election/general_information.rhtml | 2 +- app/views/election/show.rhtml | 5 ++--- app/views/embed/full_vote.rhtml | 6 +++--- app/views/embed/results.rhtml | 3 ++- public/stylesheets/main.css | 5 +++++ 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/app/views/election/general_information.rhtml b/app/views/election/general_information.rhtml index dd1271c..1eae59f 100644 --- a/app/views/election/general_information.rhtml +++ b/app/views/election/general_information.rhtml @@ -5,6 +5,6 @@ <% form_tag (:action => 'create_election') do %> <%= render :partial => 'overview_form' %> - <%= submit_tag "Done!" %> + <%= submit_tag "Proceed to Next Step" %> <% end %> diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml index 87529d1..fe522aa 100644 --- a/app/views/election/show.rhtml +++ b/app/views/election/show.rhtml @@ -132,8 +132,7 @@

To embed your election, copy and paste the following code into your homepage:

-
-
<%= h("") %>
-
+
<%= h("") %>
<% end %> diff --git a/app/views/embed/full_vote.rhtml b/app/views/embed/full_vote.rhtml index 70a6825..170b1f5 100644 --- a/app/views/embed/full_vote.rhtml +++ b/app/views/embed/full_vote.rhtml @@ -1,6 +1,6 @@
@@ -25,7 +25,7 @@

Submit Vote

-

Drag and drop to rank your favorite videos

+

Drag and drop to rank the choices.

diff --git a/app/views/embed/results.rhtml b/app/views/embed/results.rhtml index b9b1eb4..dea9b61 100644 --- a/app/views/embed/results.rhtml +++ b/app/views/embed/results.rhtml @@ -1,5 +1,6 @@
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 1ac598a..acb8bb2 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -36,6 +36,11 @@ label { font-weight: bold; } +pre { + font-family: monospace; + overflow: scroll; + background: #d9d9d9; +} /* Left column. Includes logo, poll information, and graph. */ -- 2.39.5