diff --git a/cce_search/search.py b/cce_search/search.py index 4faf72c..d3010d6 100644 --- a/cce_search/search.py +++ b/cce_search/search.py @@ -50,7 +50,7 @@ def index(): #print(results) - return render_template('base.html', title=title) + return render_template('search/index.html', title=title) def proc_results(r): diff --git a/cce_search/static/styles.css b/cce_search/static/styles.css index d49c013..f0cd3a4 100644 --- a/cce_search/static/styles.css +++ b/cce_search/static/styles.css @@ -1,39 +1,36 @@ body, html { - height: 100%; -} -.bg{ - /* background-image: url("background-gray.png"); */ - background: url('books.jpg'); - height:100%; - width:100% - + background: url('books.jpg') no-repeat; + background-size:cover; } -.search { - /* position:relative; */ - width: fit-content; +.content{ margin-left:auto; margin-right:auto; - /*padding: 30px 20px;*/ - /* padding-top:10%; */ background-color:#E4E6E9; - border: solid #969FAA 8px; - border-radius: 46px; + border: solid #969FAA 3px; + border-radius: 35px; text-align: center; + width: 60%; + padding: 20px 30px; } -.search p { + +.content p { line-height: 1.5em; - width: 75%; margin-left:auto; margin-right:auto; + /* width: 75%; */ } -h1{ - margin:0px; +#cprr { + width:75% } +/* h1{ + margin: 0px 0px 10px 0px; +} */ + input { - width: 80%; + width: 75%; height:30px; padding-left: 5px; margin-bottom:10px; @@ -77,8 +74,6 @@ button{ padding-right: 15px } - - /* FOR THE RESULTS PAGE */ .results { @@ -103,25 +98,4 @@ button{ border: solid #969FAA 4px; border-radius: 20px; margin-bottom: 20px; -} - -/* FOR THE ABOUT PAGE */ - -.about { - /* position:relative; */ - width: 65%; - margin-left:auto; - margin-right:auto; - padding: 30px 20px; - /* padding-top:10%; */ - background-color:#E4E6E9; - border: solid #969FAA 8px; - border-radius: 46px; - text-align: center; -} -.about p { -line-height: 1.5em; -width: 95%; -margin-left:auto; -margin-right:auto; } \ No newline at end of file diff --git a/cce_search/templates/about.html b/cce_search/templates/about.html index fc38b0a..f171f52 100644 --- a/cce_search/templates/about.html +++ b/cce_search/templates/about.html @@ -1,52 +1,10 @@ - - +{% extends 'base.html' %} - - - - - - - - - -Copyright Renewals - - - - -
-
-
-

About

-

Many books published between 1923 through 1977 may be in the public domain either because their copyright was not registered, or because their copyrights were not renewed after an initial term. Unfortunately, determining the copyright status of these books requires a review of the copyright records of registration and renewal. Unfortunately, these records were all on paper. Digital scans of these records were made, and are available from the Internet Archive, but searching the scans is not easy.

-

To make this task more manageable, work has gone underway to convert the Catalog of Copyright Entries (CCEs) into well-structured XML data. The CCEs are comprised of about 450,000 pages and are printed compilations of brief registration and renewal records. These records were published by the Copyright Office at regular intervals, ranging in length from semi-weekly to semi-annually. The CCEs are divided by classes of works, such as books, periodicals, music, drama, maps, photographs, etc. Conversion of a set of 10,000 pages of book registration records published between 1923 and 1964 has been completed, and the result is publicly available.

-

This website serves as a user-friendly interface for librarians, archivists, and rights researchers to make use of the XML data.

-
-
- - - \ No newline at end of file +{% block content %} + +

About

+

Many books published between 1923 through 1977 may be in the public domain either because their copyright was not registered, or because their copyrights were not renewed after an initial term. Unfortunately, determining the copyright status of these books requires a review of the copyright records of registration and renewal. Unfortunately, these records were all on paper. Digital scans of these records were made, and are available from the Internet Archive, but searching the scans is not easy.

+

To make this task more manageable, work has gone underway to convert the Catalog of Copyright Entries (CCEs) into well-structured XML data. The CCEs are comprised of about 450,000 pages and are printed compilations of brief registration and renewal records. These records were published by the Copyright Office at regular intervals, ranging in length from semi-weekly to semi-annually. The CCEs are divided by classes of works, such as books, periodicals, music, drama, maps, photographs, etc. Conversion of a set of 10,000 pages of book registration records published between 1923 and 1964 has been completed, and the result is publicly available.

+

This website serves as a user-friendly interface for librarians, archivists, and rights researchers to make use of the XML data.

+ +{% endblock %} \ No newline at end of file diff --git a/cce_search/templates/base.html b/cce_search/templates/base.html index 612b32e..9a23ce3 100644 --- a/cce_search/templates/base.html +++ b/cce_search/templates/base.html @@ -45,21 +45,9 @@ -
-
- +
+
+ {% block content %}{% endblock %}
diff --git a/cce_search/templates/search/index.html b/cce_search/templates/search/index.html index 9c92a19..81de705 100644 --- a/cce_search/templates/search/index.html +++ b/cce_search/templates/search/index.html @@ -1,74 +1,17 @@ {% extends 'base.html' %} -{% block header %} -

{% block title %}Find Copyright Entries{% endblock %}

-{% endblock %} - - {% block content %} -
-
-

Search

-
-
- Search Type -
- - -
-
- - -
-
- - -
-
- - - - - - -
-
- -
-

Search Hints

- -
    -
  • Use “Full Text” for authors, titles, and publishers
  • -
  • Use quotation marks to search phrases (for example "Grapes of Wrath")
  • -
  • Searches are case insensitive
  • -
  • Renewal numbers look like R12345 or RE12345
  • -
  • Registration numbers look like A12345, BB12345, D12345. That is, they start with many letters or combination of letters, but not “R” or “RE”
  • -
-
-
- - {% if results %} -

Results

- - {% include "search/paging.html" %} - - - - {% endif %} - - {% include "search/paging.html" %} +{% block content %} + +

Copyright Search

+

Search for copyright registrations and renewals on books from the Catalog of Copyright Entries.

+

Find a book:

+
+
+
+
+
+
+ +
+ {% endblock %}