-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some bootstrap formatting, setup boostrap
- Loading branch information
1 parent
9a29074
commit 6201820
Showing
8 changed files
with
149 additions
and
60 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
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
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,31 @@ | ||
<h3>Email preview:</h3> | ||
<p> | ||
<span id="boss-email-output"> | ||
(To: <%=@user.coworkers.first.email%>) | ||
</span> | ||
</p> | ||
<p> | ||
<span id="subject-line-output">(Subject line: Work plan for this week) </span> | ||
</p> | ||
<span id="boss-name-output">Hi <%=@user.coworkers.first.first_name%>, </span> | ||
<p> | ||
After reviewing my activities here is my plan for the week in order of priority. Let me know if you think I should re-prioritize: | ||
</p> | ||
|
||
<h4>Planned Major Activities for the week</h4> | ||
<ol> | ||
<div id="output"></div> | ||
</ol> | ||
|
||
<h4>Open items that I will look into, but won’t get finished this week</h4> | ||
<ol> | ||
<div id="output2"></div> | ||
</ol> | ||
|
||
<p> | ||
Let me know if you have any comments. Thank you! | ||
</p> | ||
<p> | ||
-<%=@user.name.capitalize%><br> | ||
Sent via <a href="#">Translucent</a> | ||
</p> |
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,23 @@ | ||
<div class="form-group"> | ||
<%= f.label :addressee_email, "Boss's Email Address", class: "col-md-4 control-label" %> | ||
<%= f.text_field :addressee_email, :value => @user.coworkers.first.email, :id => 'boss-email', class: "form-control", :onkeyup => "bossEmailKeyPress()", :onkeypress => "bossEmailKeyPress()" %> | ||
</div> | ||
<div class="form-group"> | ||
<%= f.label :subject_line_beginning_week, "Email Subject Line:", class: "col-md-4 control-label" %> | ||
<%= f.text_field :subject_line_beginning_week, :value => "Work plan for this week", :id => 'subject-line', class: "form-control", :onkeyup => "subjectLineKeyPress()", :onkeypress => "subjectLineKeyPress()" %> | ||
</div> | ||
<div class="form-group"> | ||
<%= f.label :addressee_name, "Recipient name:", class: "col-md-4 control-label" %> | ||
<%= f.text_field :addressee_name, :value => @user.coworkers.first.first_name, :id => 'boss-name', class: "form-control", :onkeyup => "bossNameKeyPress()", :onkeypress => "bossNameKeyPress()" %></p> | ||
</div> | ||
<div class="form-group"> | ||
<%= f.label :major_projects, "Major Projects (separate by comma+space):", class: "col-md-4 control-label" %> | ||
<%= f.text_field :major_projects, :id => 'text', class: "form-control" %></p> | ||
</div> | ||
<div class="form-group"> | ||
<%= f.label :open_projects, "Open Projects (separate by comma+space):", class: "col-md-4 control-label" %> | ||
<%= f.text_field :open_projects, :id => 'text2', class: "form-control" %> | ||
</div> | ||
<p> | ||
<%= f.submit "Send email", class: "btn btn-default", data: { confirm: 'Are you ready to send your email to your boss?' } %> | ||
</p> |
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