bookyt_projects 0.19.15 → 0.19.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,14 @@
1
1
  = semantic_form_for @activity do |f|
2
2
  = f.inputs do
3
3
  .row
4
- .span8= f.input :person, :as => :combobox
5
- .span8= f.input :project, :as => :combobox
4
+ .span6= f.input :person, :as => :combobox
5
+ .span6= f.input :project, :as => :combobox
6
6
  .row
7
- .span8= f.input :date, :as => :date_field
8
- .span8= f.input :duration, :as => :string
7
+ .span6= f.input :date, :as => :date_field
8
+ .span6= f.input :duration, :as => :string
9
9
 
10
10
  .row
11
- .span16= f.input :remarks, :input_html => {:rows => 2, :class => 'span12'}
11
+ .span12= f.input :remarks, :input_html => {:rows => 2, :class => 'span12'}
12
12
 
13
13
  = f.buttons do
14
14
  = f.commit_button
@@ -1,4 +1,4 @@
1
- %table.zebra-striped.activities.collection
1
+ %table.table.table-striped.activities.collection
2
2
  %thead
3
3
  %tr
4
4
  - [:person, :date, :duration].each do |attr|
@@ -3,7 +3,7 @@
3
3
  = f.input :date, :as => :date_field, :label => t('attributes.date'), :input_html => {:value => @date}
4
4
 
5
5
  = f.inputs do
6
- %table.zebra-striped{:style => 'width: 100%'}
6
+ %table.table.table-striped.collection
7
7
  %thead
8
8
  %th= t_attr :person, Activity
9
9
  %th= t_attr :project, Activity
@@ -1,8 +1,8 @@
1
1
  - WorkDay.create_or_update_upto(@employee, Date.today.end_of_month)
2
2
 
3
3
  .row
4
- .span8
4
+ .span12
5
5
  = render 'timesheets/show', :work_days => @employee.work_days.where(:date => current_month_period(:time_sheet_period))
6
6
 
7
- .span4
8
- = render 'timesheets/pager'
7
+ - content_for :sidebar do
8
+ = render 'timesheets/pager'
@@ -2,15 +2,15 @@
2
2
  = f.semantic_errors
3
3
  = f.inputs do
4
4
  .row
5
- .span8
5
+ .span6
6
6
  = f.input :name, :input_html => {'data-autofocus' => 'true'}
7
7
  = f.input :duration_from, :as => :date_field
8
8
  = f.input :client, :as => :combobox
9
- .span8
9
+ .span6
10
10
  = f.input :project_state
11
11
  = f.input :duration_to, :as => :date_field
12
12
  .row
13
- .span16
13
+ .span12
14
14
  = f.input :remarks, :input_html => {:rows => 5, :class => 'span12'}
15
15
 
16
16
  = f.buttons do
@@ -1,4 +1,4 @@
1
- %table.zebra-striped{:class => "#{collection.first.class.to_s.downcase.pluralize} collection"}
1
+ %table.table.table-striped.activities.collection
2
2
  %thead
3
3
  %tr
4
4
  %th= t_attr :name
@@ -1,7 +1,10 @@
1
- %ul.tabs
2
- %li.active= link_to 'Details', '#details'
3
- %li= link_to 'Stundenrapport', '#activities'
1
+ .tabbable
2
+ %ul.nav.nav-tabs
3
+ %li.active= link_to 'Details', '#details', {:data => {:toggle => 'tab'}}
4
+ %li= link_to 'Stundenrapport', '#activities', {:data => {:toggle => 'tab'}}
4
5
 
5
6
  .tab-content
6
- #details.active= render "form"
7
- #activities= render 'show_activities'
7
+ #details.tab-pane.active
8
+ = render "form"
9
+ #activities.tab-pane
10
+ = render 'show_activities'
@@ -1,4 +1,4 @@
1
- = boot_page_title t('title.period')
1
+ %h3 t_title('title.period')
2
2
 
3
3
  %ul.pager
4
4
  = month_pages(:time_sheet_period)
@@ -1,4 +1,4 @@
1
- %table.zebra-striped.condensed-table.span8
1
+ %table.table.table-striped.collection
2
2
  %thead
3
3
  %tr
4
4
  %th= t_attr :date, Activity
@@ -1,7 +1,7 @@
1
1
  module BookytProjects
2
2
  module Navigation
3
3
  def setup_bookyt_projects(navigation)
4
- navigation.item :projects, t('bookyt.main_navigation.projects'), projects_path, :if => Proc.new { user_signed_in? } do |projects|
4
+ navigation.item :projects, t('bookyt.main_navigation.projects'), '#', :if => Proc.new { user_signed_in? } do |projects|
5
5
  projects.item :project_index, t_title(:index, Project), projects_path, :highlights_on => /\/(projects|activities)($|\/[0-9]*($|\/.*))/
6
6
  projects.item :new_project, t_title(:new, Project), new_project_path
7
7
  projects.item :divider, "", :class => 'divider'
@@ -1,3 +1,3 @@
1
1
  module BookytPos
2
- VERSION = '0.19.15'
2
+ VERSION = '0.19.17'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_projects
3
3
  version: !ruby/object:Gem::Version
4
- hash: 77
4
+ hash: 113
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 19
9
- - 15
10
- version: 0.19.15
9
+ - 17
10
+ version: 0.19.17
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek (CyT)
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-03-20 00:00:00 Z
19
+ date: 2012-03-26 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails