diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 12:35:37 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-27 12:35:37 +0000 |
| commit | 1b325bbc5a5db4ff664709e8b08d12cac524c19c (patch) | |
| tree | 50def67d1148b8bbf0c8caaf3a6d262d20685770 | |
| parent | 4854a31eb0e2378360b51230911e5b9e3027e978 (diff) | |
Removed unnecessary comments from layout files
| -rw-r--r-- | views/index.hbs | 2 | ||||
| -rw-r--r-- | views/partials/header.hbs | 5 | ||||
| -rw-r--r-- | views/partials/login.hbs | 28 | ||||
| -rw-r--r-- | views/partials/registration.hbs | 49 | ||||
| -rw-r--r-- | views/user_profile_alt.hbs | 72 | ||||
| -rw-r--r-- | views/user_solutions.hbs | 5 |
6 files changed, 1 insertions, 160 deletions
diff --git a/views/index.hbs b/views/index.hbs index 8025281..b77d5d6 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -74,7 +74,7 @@ </span> </div> </div> - <!-- Site Desciprtion --> + <!-- Site Description --> <h5 class="home-intro"> Solutions.repo is a community driven service that provides visitors with solutions to past UofT Exams. diff --git a/views/partials/header.hbs b/views/partials/header.hbs index 08dc92f..83f06cf 100644 --- a/views/partials/header.hbs +++ b/views/partials/header.hbs @@ -24,10 +24,6 @@ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> - <!--<li><a href="user_solutions.html">Solutions Page</a></li> - <li><a href="user_profile_alt.html">Profile Page</a></li> - <li><a href="questions.html">Questions Page</a></li> - <li><a href="exams.html">Exams Pages</a></li>--> <li class="dropdown"> <a href="#" @@ -82,7 +78,6 @@ </li> - <!--<li id="header"><header><a href="#"><img src="assets/images/logo.png"></a></header></li> –>--> </ul> </div> <!-- /.navbar-collapse --> diff --git a/views/partials/login.hbs b/views/partials/login.hbs deleted file mode 100644 index 05df72e..0000000 --- a/views/partials/login.hbs +++ /dev/null @@ -1,28 +0,0 @@ -<!-- POP UP WINDOW FOR LOGIN --> -<article class="modal fade login-window"> - <div class="modal-dialog"> - <div class="modal-content"> - - <section class="modal-header"> - <button type="button" class="close" data-dismiss="modal">×</button> - <h4 class="modal-title">Log In</h4> - </section> - - <section class="modal-body"> - <form role="form" action="" method="post"> - <div class="form-group"> - <input type="text" class="form-control" placeholder="Username"> - </div> - <div class="form-group"> - <input type="password" class="form-control" placeholder="Password"> - </div> - </form> - </section> - - <div class="modal-footer"> - <button class="btn">Submit</button> - </div> - - </div> - </div> -</article>
\ No newline at end of file diff --git a/views/partials/registration.hbs b/views/partials/registration.hbs deleted file mode 100644 index 36e02ac..0000000 --- a/views/partials/registration.hbs +++ /dev/null @@ -1,49 +0,0 @@ -<!-- POP UP WINDOW FOR REGISTRATION --> -<article class="modal fade registration-window"> - <div class="modal-dialog"> - <div class="modal-content"> - - <section class="modal-header"> - <button type="button" class="close" data-dismiss="modal">×</button> - <h4 class="modal-title">Sign Up</h4> - </section> - - <section class="modal-body"> - <form role="form"> - <div class="form-group"> - <input type="text" class="form-control" placeholder="First Name"> - </div> - - <div class="form-group"> - <input type="text" class="form-control" placeholder="Last Name"> - </div> - - <div class="form-group"> - <input type="email" class="form-control" placeholder="Email"> - </div> - - <div class="form-group"> - <input type="email" class="form-control" placeholder="New Username"> - </div> - <div class="form-group"> - <input type="password" class="form-control" placeholder="New Password"> - </div> - - <div class="form-group"> - <input type="text" class="form-control" placeholder="University (optional)"> - </div> - - <div class="form-group"> - <input type="text" class="form-control" placeholder="Department (optional)"> - </div> - - </form> - </section> - - <div class="modal-footer"> - <button class="btn">Submit</button> - </div> - - </div> - </div> -</article>
\ No newline at end of file diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs index a193062..d6985b9 100644 --- a/views/user_profile_alt.hbs +++ b/views/user_profile_alt.hbs @@ -20,8 +20,6 @@ <ul class="nav navbar-nav " > <li><a href="#" class="prf-page">General</a></li> <li><a href="#" class="prf-page">Following</a></li> - <!-- Not implemented --> - <!--<li><a href="#" class="prf-page">Friends</a></li> --> <li><a href="#" class="prf-page">Send Message</a></li> <li><a href="#" class="prf-page">Inbox</a></li> <li><a href="#" class="prf-page">Comments</a></li> @@ -38,11 +36,6 @@ <div class="panel-body"> <!--- User-Profile Pages --> <div class="row" id="profile-general"> - <!-- User Image Not implemented --> - <!--<div class="col-md-3 col-lg-3 " align="center"> - <img alt="User Pic" src="../assets/images/avatar.png" - class="img-circle img-responsive"> - </div> --> <!-- User Details --> {{# if messages.success }} <section class="alert alert-success"> @@ -126,48 +119,6 @@ {{/if}} </div> - <!-- Friends not implemented --> - <!-- - <div class="row" id="profile-friends"> - <h3>Friends</h3> - <div class="col-xs-offset-1 col-sm-offset-3 col-xs-10 col-sm-6"> - <table class="table-condensed"> - <tbody> - <tr> - <th> - <img class="img-circle img-responsive" - src="../assets/images/misc/user2.jpeg" alt="avatar"> - </th> - <th> - <h4>He-Man</h4> - <p>20 comments</p> - </th> - </tr> - <tr> - <th> - <img class="img-circle img-responsive" - src="../assets/images/misc/user5.jpeg" alt="avatar"> - </th> - <th> - <h4>Jay Leno</h4> - <p>5 comments</p> - </th> - </tr> - <tr> - <th> - <img class="img-circle img-responsive" - src="../assets/images/misc/user6.jpeg" alt="avatar"> - </th> - <th> - <h4>Lisa Simpson</h4> - <p>658 comments</p> - </th> - </tr> - </tbody> - </table> - </div> - </div> - --> <div class="row" id="profile-send-message"> <h3>Send Message</h3> @@ -209,29 +160,6 @@ {{/each}} </div> - <!--<table class="table"> - <thead> - <tr> - <th>Date</th> - <th>Subject</th> - <th>Sender</th> - </tr> - </thead> - <tbody> - - {{# each inbox }} - <tr> - <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> - {{ this.date }}</a></td> - <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> - {{ this.subject }}</a></td> - <td><a href="#" data-toggle="modal" data-target=".{{ this.class }}"> - {{ this.sender }}</a></td> - </tr> - {{/each}} - </tbody> - </table> --> - {{# each inbox}} <article class="modal fade {{this.class}}"> <div class="modal-dialog"> diff --git a/views/user_solutions.hbs b/views/user_solutions.hbs index 7123533..9d30d47 100644 --- a/views/user_solutions.hbs +++ b/views/user_solutions.hbs @@ -37,8 +37,6 @@ <section id="sol-" class="col-md-10 col-md-offset-1 rounded"> <div class="post-info"> <div class=""> - <!-- Avatar code here - <img class="img-responsive img-circle user-image" src="/assets/images/misc/user1.jpeg">--> <p class="username">{{this.author}}</p> </div> @@ -79,9 +77,6 @@ <ul class="list-group"> {{#each this.comments}} <li class="list-group-item"> - <!-- Avatar code here for comments --> - <!-- <img src="/assets/images/misc/user3.jpeg" - class="img-responsive img-circle comment-user-img"> --> <p class="comment-username"> <a href="/user_profile"> {{this.by}} |
