diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:47 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:47 +0000 |
| commit | 75534f2165af6b51d456da94ac7b5a7e2be21319 (patch) | |
| tree | bb688297323ba0e00b08c27faeb044eaf16f646f | |
| parent | c27a1b924a8e07079e7dc8c61923a765df46c9e9 (diff) | |
added user search page
| -rw-r--r-- | views/user_search.hbs | 19 |
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> |
