-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from houkanshan/dev
Adjust plus icon
- Loading branch information
Showing
10 changed files
with
363 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<section id="all-books"><h1 ng-show="user.is_self">所有书</h1><h1 ng-show="!user.is_self">{{ user.name }}的书架</h1><ul class="books"><li ng-repeat="book in books" class="book"><div remote-image="book.images.large" class="cover"><a link="/{{ user.uid }}/book/{{ book.id }}" class="book-link"></a><span class="notes-count">{{ book.notes_count }}篇笔记</span><a ng-show="user.is_self" link="/{{ user.uid }}/book/{{ book.id }}/new" class="add-note">+</a></div><span class="title">{{ book.title }}</span><span class="author">{{ book.author[0] }}</span></li><li ng-show="user.is_self" ng-click="searchBook()" class="book empty"><div class="cover"></div></li></ul><p ng-show="tipVisible">还没有写过笔记</p></section><script type="text/ng-template" id="modalSearchBook.html"><div ng-controller="SearchBookCtrl" class="modal-search"><div class="modal-header"><h3>给一本书写笔记</h3></div><div class="modal-body"><input id="new-book-name" type="text" placeholder="输入书名,回车查找" input-enter="searchBook(query)" ng-model="query"/><input id="new-book-id" type="hidden" value="{{ selectedBook.id }}"/><ul class="search-results"><li ng-repeat="book in books" ng-click="selectBook($index, book)" ng-class="{'active': $index == selectedIndex}" class="result"><img remote-image="book.images.large"/><div class="result-info"><h4>{{ book.title }}</h4><p>{{ book.summary | characters: 120 }}</p></div></li></ul><div ng-show="has_searched" class="tip">搜索不到? 直接输入想读的书对应的豆瓣Subject ID (下例红色部分)</div><div ng-show="has_searched" class="tip"> http://book.douban.com/subject/<span>25746578</span>/</div></div><div class="modal-footer"><div class="selected-bookname">{{ selectedBook.title }}</div><div class="buttons-group"><button ng-click="ok(selectedBook.id)" class="button-primary">开始写</button><button ng-click="cancel()" class="button-default">取消</button></div></div></div></script> | ||
<section id="all-books"><h1 ng-show="user.is_self">所有书</h1><h1 ng-show="!user.is_self">{{ user.name }}的书架</h1><ul class="books"><li ng-repeat="book in books" class="book"><div remote-image="book.images.large" class="cover"><a link="/{{ user.uid }}/book/{{ book.id }}" class="book-link"></a><span class="notes-count">{{ book.notes_count }}篇笔记</span><a ng-show="user.is_self" link="/{{ user.uid }}/book/{{ book.id }}/new" class="add-note"><i class="icon-plus"></i></a></div><span class="title">{{ book.title }}</span><span class="author">{{ book.author[0] }}</span></li><li ng-show="user.is_self" ng-click="searchBook()" class="book empty"><div class="cover"></div></li></ul><p ng-show="tipVisible">还没有写过笔记</p></section><script type="text/ng-template" id="modalSearchBook.html"><div ng-controller="SearchBookCtrl" class="modal-search"><div class="modal-header"><h3>给一本书写笔记</h3></div><div class="modal-body"><input id="new-book-name" type="text" placeholder="输入书名,回车查找" input-enter="searchBook(query)" ng-model="query"/><input id="new-book-id" type="hidden" value="{{ selectedBook.id }}"/><ul class="search-results"><li ng-repeat="book in books" ng-click="selectBook($index, book)" ng-class="{'active': $index == selectedIndex}" class="result"><img remote-image="book.images.large"/><div class="result-info"><h4>{{ book.title }}</h4><p>{{ book.summary | characters: 120 }}</p></div></li></ul><div ng-show="has_searched" class="tip">搜索不到? 直接输入想读的书对应的豆瓣Subject ID (下例红色部分)</div><div ng-show="has_searched" class="tip"> http://book.douban.com/subject/<span>25746578</span>/</div></div><div class="modal-footer"><div class="selected-bookname">{{ selectedBook.title }}</div><div class="buttons-group"><button ng-click="ok(selectedBook.id)" class="button-primary">开始写</button><button ng-click="cancel()" class="button-default">取消</button></div></div></div></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters