Skip to content

Commit

Permalink
update bookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed May 17, 2019
1 parent a35a02b commit 161d852
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 51 deletions.
4 changes: 2 additions & 2 deletions views/bookmark.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<div class="w3-content">
<br>
<table class="w3-table w3-card-4" style="cursor: pointer">
<tr class="random-color">
<tr class="">
<th>Tag</th>
<th>Description</th>
</tr>
<% if (bookmarks.length){ %>
<% bookmarks.forEach((bookmark)=>{ %>
<tr onclick="window.open('<%= bookmark.link %>')" class="random-color">
<tr onclick="window.open('<%= bookmark.link %>')" class="">
<td><%= bookmark.tag %></td>
<td><%= bookmark.name %></td>
</tr>
Expand Down
97 changes: 48 additions & 49 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,59 +40,58 @@
<div class="w3-card w3-margin w3-margin-top">
<div class="w3-container w3-white">
<h4><b>Song</b></h4>
<p>Nothing special</p>
<!-- <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=4010239&auto=1&height=66"></iframe>-->
</div>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/songwonderful" data-size="large" data-show-count="true" aria-label="Follow @songwonderful on GitHub">Follow @songwonderful</a> </div>
</div>
<hr>

<!-- Recommendation here -->
<div class="w3-card w3-margin">
<div class="w3-container w3-padding">
<h4>Recommendation</h4>
</div>
<ul class="w3-ul w3-hoverable w3-white custom-link">
<li class="w3-padding-16">
<a href="">
<div>
<span class="w3-large">Title</span><br>
<span>Short description</span>
</div>
</a>
</li>
<li class="w3-padding-16">
<a href="">
<div>
<span class="w3-large">Title</span><br>
<span>Short description</span>
</div>
</a>
</li>
<li class="w3-padding-16">
<a href="">
<div>
<span class="w3-large">Title</span><br>
<span>Short description</span>
</div>
</a>
</li>
</ul>
</div>
<hr>
<!-- &lt;!&ndash; Recommendation here &ndash;&gt;-->
<!-- <div class="w3-card w3-margin">-->
<!-- <div class="w3-container w3-padding">-->
<!-- <h4>Recommendation</h4>-->
<!-- </div>-->
<!-- <ul class="w3-ul w3-hoverable w3-white custom-link">-->
<!-- <li class="w3-padding-16">-->
<!-- <a href="">-->
<!-- <div>-->
<!-- <span class="w3-large">Title</span><br>-->
<!-- <span>Short description</span>-->
<!-- </div>-->
<!-- </a>-->
<!-- </li>-->
<!-- <li class="w3-padding-16">-->
<!-- <a href="">-->
<!-- <div>-->
<!-- <span class="w3-large">Title</span><br>-->
<!-- <span>Short description</span>-->
<!-- </div>-->
<!-- </a>-->
<!-- </li>-->
<!-- <li class="w3-padding-16">-->
<!-- <a href="">-->
<!-- <div>-->
<!-- <span class="w3-large">Title</span><br>-->
<!-- <span>Short description</span>-->
<!-- </div>-->
<!-- </a>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<!-- <hr>-->

<!-- Tags here -->
<div class="w3-card w3-margin">
<div class="w3-container w3-padding">
<h4>Tags</h4>
</div>
<div class="w3-container w3-white">
<p>
<span class="w3-tag w3-light-grey w3-small w3-margin-bottom">C++</span>
<span class="w3-tag w3-light-grey w3-small w3-margin-bottom">Python</span>
<span class="w3-tag w3-light-grey w3-small w3-margin-bottom">Web</span>
</p>
</div>
</div>
<!-- &lt;!&ndash; Tags here &ndash;&gt;-->
<!-- <div class="w3-card w3-margin">-->
<!-- <div class="w3-container w3-padding">-->
<!-- <h4>Tags</h4>-->
<!-- </div>-->
<!-- <div class="w3-container w3-white">-->
<!-- <p>-->
<!-- <span class="w3-tag w3-light-grey w3-small w3-margin-bottom">C++</span>-->
<!-- <span class="w3-tag w3-light-grey w3-small w3-margin-bottom">Python</span>-->
<!-- <span class="w3-tag w3-light-grey w3-small w3-margin-bottom">Web</span>-->
<!-- </p>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
</div>
Expand Down

0 comments on commit 161d852

Please sign in to comment.