-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html pages for cookie consent move ga.js to html dir and add a comment about setting it up new gulp task and npm script for minifying cookie js & opening to the admin setting
- Loading branch information
Showing
5 changed files
with
84 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>The online catalog uses functional cookies: these are essential to make the site work.</p> |
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<h3>What are cookies?</h3> | ||
<p>Cookies are small text files placed on your browser by websites. They help make websites work, or work more efficiently. They also "remember" some of your preferences, so you don't have to set a preference again every time you switch to a different page on the same website.</p> | ||
<p>If cookies are a concern for you, you may like to regularly clear your cookies on your browser or use a private browser mode. Check your browser settings for these options.</p> | ||
<h3>Essential cookies</h3> | ||
<p>Here is the list of essential cookies used on the Koha online catalog.</p> | ||
<p>Some of these depend on settings chosen by the library team; therefore all the cookies listed may not apply to this site.</p> | ||
<table id="cookiesinfot" class="table table-bordered table-striped"> | ||
<thead> | ||
<tr> | ||
<th>Storage</th> | ||
<th>Name</th> | ||
<th>Value</th> | ||
<th>Expiration</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Cookie</td> | ||
<td>CGISESSID</td> | ||
<td>Session ID</td> | ||
<td>Until logout or end of session</td> | ||
<td>Session cookie</td> | ||
</tr> | ||
<tr> | ||
<td>Cookie</td> | ||
<td>KohaOpacLanguage</td> | ||
<td>Language code</td> | ||
<td>3 years</td> | ||
<td>Stores the language the user selected, so the online catalog will appear in that same language the next time it is visited.</td> | ||
</tr> | ||
<tr> | ||
<td>Cookie</td> | ||
<td> | ||
<p>form_serialized</p> | ||
<p>form_serialized_limits</p> | ||
</td> | ||
<td>Search terms and limits</td> | ||
<td>End of session or when the advanced search page is accessed again.</td> | ||
<td>jQuery cookie. Stores search terms and limits of the last advanced search. Set when an advanced search is submitted.</td> | ||
</tr> | ||
<tr> | ||
<td>Cookie</td> | ||
<td>search_path_code</td> | ||
<td>ads (fewer) or exs (more)</td> | ||
<td>End of session or when the advanced search page is accessed again.</td> | ||
<td>jQuery cookie. Related to serialized_form* cookies. Stores if the advanced search form was used with 'More options' or 'Fewer options'.</td> | ||
</tr> | ||
<tr> | ||
<td>Cookie</td> | ||
<td>num_paragraph</td> | ||
<td>Count of search options added</td> | ||
<td>End of session or when the advanced search page is accessed again.</td> | ||
<td>jQuery cookie. Used to store the number of created options when user selects 'More options' in advanced search to increase search boxes.</td> | ||
</tr> | ||
<tr> | ||
<td>Cookie</td> | ||
<td>bib_list</td> | ||
<td>List of record IDs (biblionumbers) separated by /</td> | ||
<td>End of session or until the cart is emptied.</td> | ||
<td>Stores cart contents in the online catalog. Set when records are added to the cart for the first time.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h3>Non-essential cookies</h3> | ||
<p>The library team may create additional cookies. These are optional and will require your agreement before they are used.</p> | ||
<p>If any non-essential cookies are created, they will appear below.</p> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
"acss": "gulp admin-css && cat dist/IntranetUserCSS.css | pbcopy && open 'https://library-staff.cca.edu/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=IntranetUserCSS'", | ||
"cjs": "gulp catalog-js && cat dist/OPACUserJS.js | pbcopy && open 'https://library-staff.cca.edu/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS'", | ||
"ccss": "gulp catalog-css && cat dist/OPACUserCSS.css | pbcopy && open 'https://library-staff.cca.edu/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS'", | ||
"cookiejs": "gulp cookie-js && cat dist/CookieConsentedJS.js | pbcopy && open 'https://library-staff.cca.edu/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CookieConsentedJS'", | ||
"test": "gulp lint; stylelint --cache --fix **/*.scss 2>/dev/null; " | ||
}, | ||
"author": "phette23 <[email protected]> (http://phette.net)", | ||
|