From dee3f81c09f82b6152b9796e03d76e162079667d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heiko=20Bernl=C3=B6hr?= Date: Fri, 12 Jun 2020 01:11:30 +0200 Subject: Add version string to menu line. To mark a new version write the version string into the file "version" in rails root directory. Then commit a "bump version". --- app/assets/stylesheets/ecs.css | 4 +++- app/views/shared/_main_menu_line.html.erb | 5 +++++ version | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 version 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 . diff --git a/version b/version new file mode 100644 index 0000000..0b12adb --- /dev/null +++ b/version @@ -0,0 +1 @@ +Version 1.2.3 -- cgit v1.2.3