diff --git a/app/assets/stylesheets/galleries.css.scss b/app/assets/stylesheets/galleries.css.scss index f88f6f2..26654c0 100644 --- a/app/assets/stylesheets/galleries.css.scss +++ b/app/assets/stylesheets/galleries.css.scss @@ -1,3 +1,36 @@ // Place all the styles related to the galleries controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ + +.modal.fade { + top: -25%; + transition: opacity 0.3s linear 0s, top 0.3s ease-out 0s; +} +.modal-gallery { + max-height: none; + outline: medium none; + width: auto; +} +.modal { + color: #333333; +} +.hide { + display: none; +} +.modal { + background-clip: padding-box; + background-color: #FFFFFF; + border: 1px solid rgba(0, 0, 0, 0.3); + border-radius: 6px 6px 6px 6px; + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + left: 50%; + margin-left: -280px; + outline: medium none; + position: fixed; + top: 10%;; + z-index: 1050; +} +.fade { + opacity: 0; + transition: opacity 0.15s linear 0s; +} \ No newline at end of file diff --git a/app/controllers/fetprofiles_controller.rb b/app/controllers/fetprofiles_controller.rb index 587182a..79242f4 100644 --- a/app/controllers/fetprofiles_controller.rb +++ b/app/controllers/fetprofiles_controller.rb @@ -3,7 +3,7 @@ class FetprofilesController < ApplicationController # GET /fetprofiles.json def index - @fetprofiles = Fetprofile.active + @fetprofiles = Fetprofile.active.order(:vorname,:nachname) @fetprofiles = Fetprofile.order(:vorname,:nachname) if params[:filter]== "all" @gremientabs=Gremium.order(:typ) respond_to do |format| diff --git a/app/inputs/datepicker_input.rb b/app/inputs/datepicker_input.rb new file mode 100644 index 0000000..e91e71c --- /dev/null +++ b/app/inputs/datepicker_input.rb @@ -0,0 +1,6 @@ +class DatepickerInput < FormtasticBootstrap::Inputs::StringInput + def input_html_options + super.merge(:class => "datepicker") + end + +end diff --git a/app/views/calendars/_tabs.html.erb b/app/views/calendars/_tabs.html.erb index 07d259a..9db47ba 100644 --- a/app/views/calendars/_tabs.html.erb +++ b/app/views/calendars/_tabs.html.erb @@ -1,6 +1,6 @@