Browse Source

fix bug with pristine

master
wes 7 years ago
parent
commit
0c9bda8a7a
  1. 1
      .gitignore
  2. 8
      src/scripts/aboutview.tag
  3. 4
      src/scripts/app.tag
  4. 2
      src/scripts/search.tag
  5. 11
      src/styles/search.scss

1
.gitignore

@ -3,3 +3,4 @@
.vim-session
*~
*venv*
tags

8
src/scripts/aboutview.tag

@ -1,8 +1,12 @@
<aboutview>
<div class="animated fadeIn">
<h3 style="margin-top: 5px;">About TextBook Commons</h3>
<h3 style="margin-top: 5px;">Why was this created?</h3>
<p class="description">
I created this as an experiment in making it easier for students to find public domain copies of books for their courses. The problem that I kept having was that many courses (especially in the humanities) assign books which either have readily available public domain copies, or high quality alternatives (especially in math or computer science) that don't require paying exhorbitant amounts of money. Textbook Commons was created as an attempt at a solution to this problem. It will allow you to search for your course, then it will search for copies of the books for that course on Internet Archive and the OpenLibrary. This works surprisingly well for a number of courses. If it can't find anything on Internet Archive, then it will almost always find it on OpenLibrary if it is a published book, which will then lead you to much cheaper sources than your university's book store. This is by no means a perfect solution to the problem, but I think it makes a good base to build on for future efforts, and it is freely licensed and open source code available for anyone to hack on.
I created this as an experiment to make it easier for students to find public domain copies of textbooks. The problem that I kept having was that many courses assign material which is either in the public domain, or which have high quality alternatives (especially in math or computer science) that are open access.
</p>
<h3 style="margin-top: 5px;">So what's the solution?</h3>
<p class="description">
Textbook Commons was created as an attempt at a solution to this problem. It will allow you to search for your course, then it will search for copies of the books for that course on Internet Archive and the OpenLibrary. This works surprisingly well for a number of courses. If it can't find anything on Internet Archive, then it will almost always find it on OpenLibrary if it is a published book, which will then lead you to much cheaper sources than your university's book store. This is by no means a perfect solution to the problem, but I think it makes a good base to build on for future efforts, and it is freely licensed and open source code available for anyone to hack on.
</p>
<a
class="btn source"

4
src/scripts/app.tag

@ -8,13 +8,13 @@
</li>
</ul>
<searchview
if={this.searchActive}
show={this.searchActive}
ref="searchview"
opts={this.opts}
>
</searchview>
<aboutview
if={this.aboutActive}
show={this.aboutActive}
ref="aboutview"
>
</aboutview>

2
src/scripts/search.tag

@ -36,7 +36,7 @@
</div>
</form>
<div if={ options.booksLoading } class="search-load">
<div show={ options.booksLoading } class="search-load">
</div>
<script>

11
src/styles/search.scss

@ -6,11 +6,14 @@ $blue: #1c75bc;
}
.description {
margin: auto;
margin-top: 15px !important;
margin-left: auto;
margin-right: auto;
width: 70%;
text-align: justify;
color: black;
line-height: 1.5em;
font-family: 'Open Sans',sans-serif;
font-size: 1.4em;
line-height: 1.6em;
color: #3A4145;
}
.source {

Loading…
Cancel
Save