aboutsummaryrefslogtreecommitdiff
path: root/views/user_profile_alt.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 11:02:14 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 11:02:14 +0000
commitbca90452150c6a128f88765d04481a0235059af3 (patch)
tree3d262800ae64ae2b7491f030728aea008154b9a0 /views/user_profile_alt.hbs
parent91638c435076736ea1d6ac7f532a35523bd79f89 (diff)
need pull"
Diffstat (limited to 'views/user_profile_alt.hbs')
-rw-r--r--views/user_profile_alt.hbs24
1 files changed, 21 insertions, 3 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs
index 30153d1..c97c77c 100644
--- a/views/user_profile_alt.hbs
+++ b/views/user_profile_alt.hbs
@@ -153,7 +153,6 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
</div>
<div class="row" id="profile-send-message">
- <h3>Send Message</h3>
{{# if messages.success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
@@ -166,6 +165,8 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
</section>
{{/if}}
{{/if}}
+ <h3>Send Message</h3>
+
<div class="col-xs-offset-1 col-sm-offset-3 col-xs-10 col-sm-6">
<form action="/user/user_profile/send_message" method="post">
<div class="form-group">
@@ -189,7 +190,22 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
{{# if inbox }}
<h3>Inbox</h3>
<div class="col-sm-10 col-sm-offset-1 prf-tables">
- <table class="table">
+ <div class="table">
+ <div class="table-row">
+ <div class="table-cell" class="head"><h5>Date</h5></div>
+ <div class="table-cell" class="head"><h5>Subject</h5></div>
+ <div class="table-cell" class="head"><h5>Sender</h5></div>
+ </div>
+ {{# each inbox }}
+ <a href="#" class="table-row" data-toggle="modal" data-target=".{{ this.class }}">
+ <div class="table-cell">{{ this.date }}</div>
+ <div class="table-cell">{{ this.subject }}</div>
+ <div class="table-cell">{{ this.sender }}</div>
+ </a>
+ {{/each}}
+ </div>
+
+ <!--<table class="table">
<thead>
<tr>
<th>Date</th>
@@ -198,6 +214,7 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
</tr>
</thead>
<tbody>
+
{{# each inbox }}
<tr>
<td><a href="#" data-toggle="modal" data-target=".{{ this.class }}">
@@ -209,7 +226,7 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
</tr>
{{/each}}
</tbody>
- </table>
+ </table> -->
{{# each inbox}}
<article class="modal fade {{this.class}}">
@@ -220,6 +237,7 @@ col-sm-offset-0 col-md-offset-3 col-lg-offset-3 toppad prf-details">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title"><em>Subject: </em>{{ this.subject }}</h4>
<h5><em>From: </em>{{ this.sender }}</h5>
+ <em>Date: </em> {{this.date}}
</section>
<section class="modal-body">