aboutsummaryrefslogtreecommitdiff
path: root/views/user_search.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:56 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 06:59:56 +0000
commit1032205c1a94ae31d780d2c339abbe628eb27fae (patch)
tree7cc15d706f5fbd1c624341e781219710287088cf /views/user_search.hbs
parent553e5d112f34c6be19b388fea110dcdceb7015bd (diff)
parent2b0ca1332175139e44235c3ac3390d5f26eae7e1 (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'views/user_search.hbs')
-rw-r--r--views/user_search.hbs19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/user_search.hbs b/views/user_search.hbs
new file mode 100644
index 0000000..fd08e84
--- /dev/null
+++ b/views/user_search.hbs
@@ -0,0 +1,19 @@
+<main id = 'solutions-main'>
+<div class = 'search container' id = 'solutions-div'>
+ <h4 class='search-head'>Search results for "{{query}}"</h4>
+ {{# if users }}
+ {{# each users}}
+ <a href="/public_profile/{{this._id}}">
+ <section class = 'solutions-card'>
+ <h3 class = 'solutions-title'>{{this.user_name}}</h3>
+ <p class = 'solutions-time' >
+ <em>Name: </em>{{this.f_name}} {{this.l_name}} </p>
+ </p>
+ </section>
+ </a>
+ {{/each}}
+ {{ else }}
+ <h3 class="solutions-title"> No results found. Sorry!</h3>
+ {{/if}}
+</div>
+</main>