Footer with links to instiki.org and rubyonrails.org

This commit is contained in:
Alexey Verkhovsky 2005-01-18 01:19:58 +00:00
parent 5db16d8850
commit b195cd8b74
2 changed files with 24 additions and 5 deletions

View file

@ -47,14 +47,22 @@
<% end %>
</h1>
<% if @flash[:error] %> <div id="error" class="error">
<% if @flash[:error] %> <div id="error">
<hr/><p><%= @flash[:error].to_s %></p><hr/></div>
<% end %>
<%= render 'navigation' unless @web.nil? || @hide_navigation %>
<%= @content_for_layout %>
<div id="footer">
<hr/>
<p>This site is running on <a href="http://instiki.org/">Instiki</a></p>
<br/>
<p>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a></p>
</div>
</div> <!-- Content -->
</div> <!-- Container -->
</body>
</html>

View file

@ -28,9 +28,6 @@ a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
/* a.edit:link, a.edit:visited { color: #DA0006; } */
h1, h2, h3 { color: #333; font-family: georgia, verdana; }
h1 { font-size: 28px }
h2 { font-size: 19px }
@ -137,7 +134,21 @@ ol.setup li {
background: lightgreen;
}
.error {
#footer {
height: 14px;
padding: .25em 0;
}
#footer p {
font-size: 10px;
color: gray;
font-style: italic;
margin: 0;
float: right;
text-align: right;
}
#error {
color: darkred;
font-style: italic;
width: 450px;