forked from shreyankg/fsoc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
147 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
%h3 | ||
FSoC is currently in | ||
= APP_CONFIG['fsocmode'] | ||
mode | ||
%br | ||
%br | ||
%br | ||
- if APP_CONFIG['fsocmode'] == "Summer Coding" | ||
- form_tag :action => "set_timeframes" do | ||
%h3 | ||
Project Creation Timeframe | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
From | ||
%th | ||
To | ||
%tr | ||
%td | ||
= select_date Date.today, :prefix => "pct_from" | ||
%td | ||
= select_date Date.today, :prefix => "pct_to" | ||
%br | ||
%br | ||
%h3 | ||
Proposal Submission Timeframe | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
From | ||
%th | ||
To | ||
%tr | ||
%td | ||
= select_date Date.today | ||
%td | ||
= select_date Date.today | ||
|
||
%br | ||
%br | ||
%h3 | ||
Proposal Acceptance Timeframe | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
From | ||
%th | ||
To | ||
%tr | ||
%td | ||
= select_date Date.today | ||
%td | ||
= select_date Date.today | ||
%br | ||
|
||
%br | ||
%br | ||
%h3 | ||
Coding Starts Date | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
On | ||
%tr | ||
%td | ||
= select_date Date.today | ||
|
||
%br | ||
%br | ||
%h3 | ||
Mid-Term Evaluation Timeframe | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
From | ||
%th | ||
To | ||
%tr | ||
%td | ||
= select_date Date.today | ||
%td | ||
= select_date Date.today | ||
|
||
%br | ||
%br | ||
%h3 | ||
Coding Ends Date | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
On | ||
%tr | ||
%td | ||
= select_date Date.today | ||
%br | ||
|
||
%br | ||
%br | ||
%h3 | ||
Final Evaluation Timeframe | ||
%table{:id => 'hor-minimalist-a'} | ||
%tr | ||
%th | ||
From | ||
%th | ||
To | ||
%tr | ||
%td | ||
= select_date Date.today | ||
%td | ||
= select_date Date.today | ||
%br | ||
|
||
%br | ||
%br | ||
= submit_tag 'Set Timeframes' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fsocmode: Summer Coding | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APP_CONFIG = YAML.load_file("#{RAILS_ROOT}/config/app_settings.yml") |