Mike Taylor [Wed, 3 Jul 2013 13:39:27 +0000 (14:39 +0100)]
Remove old debugging condition.
Wolfram Schneider [Wed, 3 Jul 2013 13:35:09 +0000 (13:35 +0000)]
JS nightmare with undefined check
Wolfram Schneider [Wed, 3 Jul 2013 13:04:46 +0000 (13:04 +0000)]
Note: the mkws_config object which must be loaded before the mkws.js and pz2api.js files.
Wolfram Schneider [Wed, 3 Jul 2013 12:54:30 +0000 (12:54 +0000)]
log date an git ID of mkws.js in mkws-complete.js header
Wolfram Schneider [Wed, 3 Jul 2013 12:42:50 +0000 (12:42 +0000)]
jquery.html -> index-jquery.html
Mike Taylor [Wed, 3 Jul 2013 12:41:12 +0000 (13:41 +0100)]
Several different things happening, should have committed separately.
-- Swap #mkwsResults and #mkwsRecords IDs.
-- Allow correct functioning in absence of #kwsSelect.
-- Fix typo in comment
-- Towards allowing application with no #mkwsResults.
-- Towards allowing clever applications to roll their own results area
instead of using our premade one.
Mike Taylor [Wed, 3 Jul 2013 12:36:11 +0000 (13:36 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:56 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:48 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:37 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:28 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:11 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 12:35:03 +0000 (13:35 +0100)]
Swap #mkwsResults and #mkwsRecords IDs.
Mike Taylor [Wed, 3 Jul 2013 11:16:29 +0000 (12:16 +0100)]
Oops, fixed a non-MKWS-specific HTML name (as opposed to id).
Wolfram Schneider [Tue, 2 Jul 2013 13:34:41 +0000 (13:34 +0000)]
open indexdata.com link in new tab
Wolfram Schneider [Tue, 2 Jul 2013 13:32:55 +0000 (13:32 +0000)]
open indexdata.com link in new tab
Wolfram Schneider [Tue, 2 Jul 2013 13:31:51 +0000 (13:31 +0000)]
open indexdata.com link in new tab
Wolfram Schneider [Tue, 2 Jul 2013 13:18:51 +0000 (13:18 +0000)]
responsive design: after each termlist update check the window size and adjust the termlist position.
This should fix the problem that after manual resize, both termlist
left and bottom appeared.
Wolfram Schneider [Tue, 2 Jul 2013 12:54:49 +0000 (12:54 +0000)]
configurable responsive web design
responsive_design_width: 980, /* a page with less pixel width considered as mobile */
Wolfram Schneider [Tue, 2 Jul 2013 12:47:26 +0000 (12:47 +0000)]
check resize every 50ms, more smoother
Mike Taylor [Tue, 2 Jul 2013 11:07:42 +0000 (12:07 +0100)]
For the sake of Firefox, explicitly clear all floats in the
#mkwsRecords division. Fixes bug MKWS-11.
Mike Taylor [Mon, 1 Jul 2013 23:14:36 +0000 (00:14 +0100)]
Update the What Next? section
Mike Taylor [Mon, 1 Jul 2013 22:45:49 +0000 (23:45 +0100)]
prev/next elements' IDs named to mkwsPrev/mkwsNext
Mike Taylor [Mon, 1 Jul 2013 22:43:37 +0000 (23:43 +0100)]
jQuery plugin's footer now has id=mkwsFooter.
Mike Taylor [Mon, 1 Jul 2013 22:40:54 +0000 (23:40 +0100)]
Rename '#sort' and '#perpage' to '#mkwsSort' and '3mkwsPerpage'
Mike Taylor [Mon, 1 Jul 2013 22:26:33 +0000 (23:26 +0100)]
Rename '#select' to '#mkwsSelect'
Mike Taylor [Mon, 1 Jul 2013 22:23:59 +0000 (23:23 +0100)]
Rename '#ranking' to '#mkwsRanking'
Mike Taylor [Mon, 1 Jul 2013 22:09:14 +0000 (23:09 +0100)]
Rename 'button' to 'mkwsButton'
Mike Taylor [Mon, 1 Jul 2013 22:07:39 +0000 (23:07 +0100)]
Remove unused ID searchForm
Mike Taylor [Mon, 1 Jul 2013 22:04:42 +0000 (23:04 +0100)]
Rename all the rec_* IDs as mkwsRec_*
Do we really need ALL these IDs?
Mike Taylor [Mon, 1 Jul 2013 21:49:48 +0000 (22:49 +0100)]
Rename all the recdiv_* IDs as mkwsRecdiv_*
Mike Taylor [Mon, 1 Jul 2013 21:46:22 +0000 (22:46 +0100)]
Rename all the det_* IDs as mkwsDet_*
Mike Taylor [Mon, 1 Jul 2013 21:37:04 +0000 (22:37 +0100)]
Add styling for bytarget table.
Mike Taylor [Mon, 1 Jul 2013 21:27:58 +0000 (22:27 +0100)]
Rename bytarget div to "#mkwsBytarget"
Mike Taylor [Mon, 1 Jul 2013 21:14:41 +0000 (22:14 +0100)]
Rename navi div to "#mkwsNavi"
Mike Taylor [Mon, 1 Jul 2013 21:08:23 +0000 (22:08 +0100)]
Rename results div to "#mkwsResults"
Mike Taylor [Mon, 1 Jul 2013 21:06:39 +0000 (22:06 +0100)]
Rename pager div to "#mkwsPager"
Mike Taylor [Mon, 1 Jul 2013 16:51:05 +0000 (17:51 +0100)]
Renamed two magic <div>s:
#mkwsTermlist -> #mkwsShiftedTermlists
#termlist -> #mkwsTermlists
Clean up some rules to avoid requiring nesting.
Fix a mistake in the a:hover-related selector.
Mike Taylor [Mon, 1 Jul 2013 16:47:01 +0000 (17:47 +0100)]
Renamed two magic <div>s:
#mkwsTermlist -> #mkwsShiftedTermlists
#termlist -> #mkwsTermlists
Mike Taylor [Mon, 1 Jul 2013 16:45:21 +0000 (17:45 +0100)]
Change name
Mike Taylor [Mon, 1 Jul 2013 16:45:02 +0000 (17:45 +0100)]
Whitespace and ordering changes to make more similar to index-full.html
Mike Taylor [Mon, 1 Jul 2013 16:43:25 +0000 (17:43 +0100)]
Remove trailing whitespace.
Mike Taylor [Mon, 1 Jul 2013 16:12:49 +0000 (17:12 +0100)]
Tweak style.
Mike Taylor [Mon, 1 Jul 2013 16:12:35 +0000 (17:12 +0100)]
Rename variable.
Mike Taylor [Mon, 1 Jul 2013 16:06:33 +0000 (17:06 +0100)]
Report error is unknown facet is configured.
Wolfram Schneider [Mon, 1 Jul 2013 14:51:52 +0000 (14:51 +0000)]
CSS id typo
Wolfram Schneider [Mon, 1 Jul 2013 14:42:40 +0000 (14:42 +0000)]
indent
Wolfram Schneider [Mon, 1 Jul 2013 14:26:30 +0000 (14:26 +0000)]
Merge branch 'wosch'
Conflicts:
experiments/spclient/index-mobile.html
experiments/spclient/mkws.js
Wolfram Schneider [Mon, 1 Jul 2013 13:48:34 +0000 (13:48 +0000)]
developer version
Wolfram Schneider [Mon, 1 Jul 2013 13:29:53 +0000 (13:29 +0000)]
refactor responsive web design
Wolfram Schneider [Mon, 1 Jul 2013 13:18:15 +0000 (13:18 +0000)]
the config parameter "termlist_menu" is gone
use "facets" instead, see ./README
Wolfram Schneider [Mon, 1 Jul 2013 13:15:39 +0000 (13:15 +0000)]
on first page, hide the termlist and start displaying it after results are back
Wolfram Schneider [Mon, 1 Jul 2013 12:58:52 +0000 (12:58 +0000)]
configurable facets
facets: ["sources", "subjects", "authors"], /* display facets, in this order, [] for none */
Wolfram Schneider [Mon, 1 Jul 2013 12:58:52 +0000 (12:58 +0000)]
configurable facets
facets: ["sources", "subjects", "authors"], /* display facets, in this order, [] for none */
Wolfram Schneider [Mon, 1 Jul 2013 11:06:44 +0000 (11:06 +0000)]
Add charset
Firefox compalains with:
Timestamp: 2013-07-01 1:06:35 PM
Error: The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
Source File: http://mkws.indexdata.com/
Line: 0
Mike Taylor [Sun, 30 Jun 2013 08:17:25 +0000 (09:17 +0100)]
Code-formatting.
Mike Taylor [Sun, 30 Jun 2013 08:14:54 +0000 (09:14 +0100)]
Replace target-facet generation with another add_single_facet() invocation.
Mike Taylor [Sun, 30 Jun 2013 08:01:31 +0000 (09:01 +0100)]
Factor out duplicate author/subject facet-generation code into new
add_single_facet() function. Target facet is still (for now) done
separately.
Mike Taylor [Sun, 30 Jun 2013 07:51:27 +0000 (08:51 +0100)]
More whitespace for consistency.
Mike Taylor [Sun, 30 Jun 2013 07:48:01 +0000 (08:48 +0100)]
Whitespace only: towards consistency in my_onterm()
Wolfram Schneider [Sat, 29 Jun 2013 19:08:14 +0000 (19:08 +0000)]
iPad/iPhone reports a width of 980 pixels
Wolfram Schneider [Fri, 28 Jun 2013 14:39:15 +0000 (14:39 +0000)]
new config option to enable/disable responsive design
Wolfram Schneider [Fri, 28 Jun 2013 14:29:43 +0000 (14:29 +0000)]
same CSS rules for mkwsTermlist as for mkwsRecords
Wolfram Schneider [Fri, 28 Jun 2013 14:28:12 +0000 (14:28 +0000)]
copy termlist on small screens to the end of the page
resize after documented loaded (first time)
Wolfram Schneider [Fri, 28 Jun 2013 14:16:51 +0000 (14:16 +0000)]
bugfixes
Wolfram Schneider [Fri, 28 Jun 2013 14:11:16 +0000 (14:11 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 28 Jun 2013 14:10:53 +0000 (14:10 +0000)]
a mobile page with responsive design
Wolfram Schneider [Fri, 28 Jun 2013 13:40:11 +0000 (13:40 +0000)]
copy of index-full.html
Mike Taylor [Fri, 28 Jun 2013 12:16:12 +0000 (14:16 +0200)]
Add link to MKAdmin.
Mike Taylor [Fri, 28 Jun 2013 11:38:59 +0000 (13:38 +0200)]
Typo
Mike Taylor [Fri, 28 Jun 2013 11:38:24 +0000 (13:38 +0200)]
Add link to Zthes.
Mike Taylor [Fri, 28 Jun 2013 11:37:11 +0000 (13:37 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Wolfram Schneider [Fri, 28 Jun 2013 11:07:47 +0000 (11:07 +0000)]
dedent
Mike Taylor [Fri, 28 Jun 2013 11:07:24 +0000 (13:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
Wolfram Schneider [Fri, 28 Jun 2013 11:02:33 +0000 (11:02 +0000)]
re-order to get sp auth running
Mike Taylor [Fri, 28 Jun 2013 11:01:59 +0000 (13:01 +0200)]
Untabify
Wolfram Schneider [Fri, 28 Jun 2013 10:55:48 +0000 (10:55 +0000)]
ignore "ui-state-error" class on close()
Wolfram Schneider [Fri, 28 Jun 2013 10:53:55 +0000 (10:53 +0000)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
Wolfram Schneider [Fri, 28 Jun 2013 10:53:50 +0000 (10:53 +0000)]
running popup
Mike Taylor [Fri, 28 Jun 2013 10:53:12 +0000 (12:53 +0200)]
Tidier.
Wolfram Schneider [Fri, 28 Jun 2013 10:47:16 +0000 (10:47 +0000)]
copy of index-local.html
Mike Taylor [Fri, 28 Jun 2013 10:36:19 +0000 (12:36 +0200)]
Add html head, styles.
Mike Taylor [Fri, 28 Jun 2013 09:55:08 +0000 (11:55 +0200)]
Updated index.
Mike Taylor [Fri, 28 Jun 2013 09:16:39 +0000 (11:16 +0200)]
Updated documentation of HTML structure.
Mike Taylor [Fri, 28 Jun 2013 09:15:58 +0000 (11:15 +0200)]
Styles for language-selection
Mike Taylor [Fri, 28 Jun 2013 09:15:48 +0000 (11:15 +0200)]
More HTML structure.
Mike Taylor [Fri, 28 Jun 2013 09:08:04 +0000 (11:08 +0200)]
Styles for record-detail HTML.
Mike Taylor [Fri, 28 Jun 2013 09:07:48 +0000 (11:07 +0200)]
Change record-detail HTML to use structure.
Mike Taylor [Fri, 28 Jun 2013 09:00:46 +0000 (11:00 +0200)]
Simplify renderDetails(), eliminating repetition of HTML boilerplate.
Mike Taylor [Fri, 28 Jun 2013 08:32:21 +0000 (10:32 +0200)]
Tweak colours and font sizes.
Mike Taylor [Thu, 27 Jun 2013 17:42:39 +0000 (19:42 +0200)]
Fix script links.
Mike Taylor [Thu, 27 Jun 2013 15:22:47 +0000 (17:22 +0200)]
Lots more styling for MKWS elements.
Mike Taylor [Thu, 27 Jun 2013 15:21:37 +0000 (17:21 +0200)]
Insert missing space.
Mike Taylor [Thu, 27 Jun 2013 14:54:40 +0000 (16:54 +0200)]
Describe (enough of) the records structure.
Mike Taylor [Thu, 27 Jun 2013 14:41:49 +0000 (16:41 +0200)]
New file html-structure.txt
Mike Taylor [Thu, 27 Jun 2013 14:40:28 +0000 (16:40 +0200)]
New file, index-local.html
This is identical to index.html, except that all static resources
(mkwsStyle.css and mkws.js) are drawn from the local host rather than
the live MKWS. This makes it easy to do purely local development.
Mike Taylor [Thu, 27 Jun 2013 14:37:02 +0000 (16:37 +0200)]
Lose some <hr>s
Mike Taylor [Thu, 27 Jun 2013 14:32:10 +0000 (16:32 +0200)]
class="facet", not "termlist", as that confuses with id="termlist"
Mike Taylor [Thu, 27 Jun 2013 14:30:52 +0000 (16:30 +0200)]
Better structure for termlist HTML.
TERMLISTS heading renamed to Termlist
Mike Taylor [Thu, 27 Jun 2013 14:01:07 +0000 (16:01 +0200)]
my_onstat() generates more structured HTML.