diff options
-rw-r--r-- | app/assets/stylesheets/ecs.css | 4 | ||||
-rw-r--r-- | app/views/shared/_main_menu_line.html.erb | 5 | ||||
-rw-r--r-- | version | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/ecs.css b/app/assets/stylesheets/ecs.css index c63201b..3130b93 100644 --- a/app/assets/stylesheets/ecs.css +++ b/app/assets/stylesheets/ecs.css @@ -123,6 +123,8 @@ ul.menu { display: inline-block; padding: 0 0 0 0; margin: 0 0 2px 0; } ul.menu li { display: block; float: left; list-style: none; border-right: 1px solid #282; } ul.menu li:last-child { display: block; float: left; list-style: none; border-right: none; } +#version { float:right; margin-right:1em; } + @@ -189,7 +191,7 @@ body { #banner { background: #9c9; padding-top: 20px; - padding-bottom: 0px; + padding-bottom: 10px; border-bottom: 2px solid; font: small-caps 25px/25px "Times New Roman", serif; color: #282; diff --git a/app/views/shared/_main_menu_line.html.erb b/app/views/shared/_main_menu_line.html.erb index 57cf86a..7359d51 100644 --- a/app/views/shared/_main_menu_line.html.erb +++ b/app/views/shared/_main_menu_line.html.erb @@ -19,5 +19,10 @@ License along with ECS. If not, see <http://www.gnu.org/licenses/>. <div id="menu"> + <% if File.exist?(File.expand_path("version", Rails.root)) -%> + <div id=version> + <%= IO.read(File.expand_path("version", Rails.root)) %> + </div> + <% end -%> <%= render_navigation %> </div> @@ -0,0 +1 @@ +Version 1.2.3 |