mkws-moved-to-github.git
11 years agoopen 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

11 years agoresponsive design: after each termlist update check the window size and adjust the...
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.

11 years agoconfigurable responsive web design
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 */

11 years agocheck resize every 50ms, more smoother
Wolfram Schneider [Tue, 2 Jul 2013 12:47:26 +0000 (12:47 +0000)]
check resize every 50ms, more smoother

11 years agoFor the sake of Firefox, explicitly clear all floats in the
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.

11 years agoUpdate the What Next? section
Mike Taylor [Mon, 1 Jul 2013 23:14:36 +0000 (00:14 +0100)]
Update the What Next? section

11 years agoprev/next elements' IDs named to mkwsPrev/mkwsNext
Mike Taylor [Mon, 1 Jul 2013 22:45:49 +0000 (23:45 +0100)]
prev/next elements' IDs named to mkwsPrev/mkwsNext

11 years agojQuery plugin's footer now has id=mkwsFooter.
Mike Taylor [Mon, 1 Jul 2013 22:43:37 +0000 (23:43 +0100)]
jQuery plugin's footer now has id=mkwsFooter.

11 years agoRename '#sort' and '#perpage' to '#mkwsSort' and '3mkwsPerpage'
Mike Taylor [Mon, 1 Jul 2013 22:40:54 +0000 (23:40 +0100)]
Rename '#sort' and '#perpage' to '#mkwsSort' and '3mkwsPerpage'

11 years agoRename '#select' to '#mkwsSelect'
Mike Taylor [Mon, 1 Jul 2013 22:26:33 +0000 (23:26 +0100)]
Rename '#select' to '#mkwsSelect'

11 years agoRename '#ranking' to '#mkwsRanking'
Mike Taylor [Mon, 1 Jul 2013 22:23:59 +0000 (23:23 +0100)]
Rename '#ranking' to '#mkwsRanking'

11 years agoRename 'button' to 'mkwsButton'
Mike Taylor [Mon, 1 Jul 2013 22:09:14 +0000 (23:09 +0100)]
Rename 'button' to 'mkwsButton'

11 years agoRemove unused ID searchForm
Mike Taylor [Mon, 1 Jul 2013 22:07:39 +0000 (23:07 +0100)]
Remove unused ID searchForm

11 years agoRename all the rec_* IDs as mkwsRec_*
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?

11 years agoRename all the recdiv_* IDs as mkwsRecdiv_*
Mike Taylor [Mon, 1 Jul 2013 21:49:48 +0000 (22:49 +0100)]
Rename all the recdiv_* IDs as mkwsRecdiv_*

11 years agoRename all the det_* IDs as mkwsDet_*
Mike Taylor [Mon, 1 Jul 2013 21:46:22 +0000 (22:46 +0100)]
Rename all the det_* IDs as mkwsDet_*

11 years agoAdd styling for bytarget table.
Mike Taylor [Mon, 1 Jul 2013 21:37:04 +0000 (22:37 +0100)]
Add styling for bytarget table.

11 years agoRename bytarget div to "#mkwsBytarget"
Mike Taylor [Mon, 1 Jul 2013 21:27:58 +0000 (22:27 +0100)]
Rename bytarget div to "#mkwsBytarget"

11 years agoRename navi div to "#mkwsNavi"
Mike Taylor [Mon, 1 Jul 2013 21:14:41 +0000 (22:14 +0100)]
Rename navi div to "#mkwsNavi"

11 years agoRename results div to "#mkwsResults"
Mike Taylor [Mon, 1 Jul 2013 21:08:23 +0000 (22:08 +0100)]
Rename results div to "#mkwsResults"

11 years agoRename pager div to "#mkwsPager"
Mike Taylor [Mon, 1 Jul 2013 21:06:39 +0000 (22:06 +0100)]
Rename pager div to "#mkwsPager"

11 years agoRenamed two magic <div>s:
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.

11 years agoRenamed two magic <div>s:
Mike Taylor [Mon, 1 Jul 2013 16:47:01 +0000 (17:47 +0100)]
Renamed two magic <div>s:
#mkwsTermlist -> #mkwsShiftedTermlists
#termlist -> #mkwsTermlists

11 years agoChange name
Mike Taylor [Mon, 1 Jul 2013 16:45:21 +0000 (17:45 +0100)]
Change name

11 years agoWhitespace and ordering changes to make more similar to index-full.html
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

11 years agoRemove trailing whitespace.
Mike Taylor [Mon, 1 Jul 2013 16:43:25 +0000 (17:43 +0100)]
Remove trailing whitespace.

11 years agoTweak style.
Mike Taylor [Mon, 1 Jul 2013 16:12:49 +0000 (17:12 +0100)]
Tweak style.

11 years agoRename variable.
Mike Taylor [Mon, 1 Jul 2013 16:12:35 +0000 (17:12 +0100)]
Rename variable.

11 years agoReport error is unknown facet is configured.
Mike Taylor [Mon, 1 Jul 2013 16:06:33 +0000 (17:06 +0100)]
Report error is unknown facet is configured.

11 years agoCSS id typo
Wolfram Schneider [Mon, 1 Jul 2013 14:51:52 +0000 (14:51 +0000)]
CSS id typo

11 years agoindent
Wolfram Schneider [Mon, 1 Jul 2013 14:42:40 +0000 (14:42 +0000)]
indent

11 years agoMerge branch 'wosch'
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

11 years agodeveloper version
Wolfram Schneider [Mon, 1 Jul 2013 13:48:34 +0000 (13:48 +0000)]
developer version

11 years agorefactor responsive web design
Wolfram Schneider [Mon, 1 Jul 2013 13:29:53 +0000 (13:29 +0000)]
refactor responsive web design

11 years agothe config parameter "termlist_menu" is gone
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

11 years agoon first page, hide the termlist and start displaying it after results are back
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

11 years agoconfigurable facets
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 */

11 years agoconfigurable facets
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 */

11 years agoAdd charset
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

11 years agoCode-formatting.
Mike Taylor [Sun, 30 Jun 2013 08:17:25 +0000 (09:17 +0100)]
Code-formatting.

11 years agoReplace target-facet generation with another add_single_facet() invocation.
Mike Taylor [Sun, 30 Jun 2013 08:14:54 +0000 (09:14 +0100)]
Replace target-facet generation with another add_single_facet() invocation.

11 years agoFactor out duplicate author/subject facet-generation code into new
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.

11 years agoMore whitespace for consistency.
Mike Taylor [Sun, 30 Jun 2013 07:51:27 +0000 (08:51 +0100)]
More whitespace for consistency.

11 years agoWhitespace only: towards consistency in my_onterm()
Mike Taylor [Sun, 30 Jun 2013 07:48:01 +0000 (08:48 +0100)]
Whitespace only: towards consistency in my_onterm()

11 years agoiPad/iPhone reports a width of 980 pixels
Wolfram Schneider [Sat, 29 Jun 2013 19:08:14 +0000 (19:08 +0000)]
iPad/iPhone reports a width of 980 pixels

11 years agonew config option to enable/disable responsive design
Wolfram Schneider [Fri, 28 Jun 2013 14:39:15 +0000 (14:39 +0000)]
new config option to enable/disable responsive design

11 years agosame CSS rules for mkwsTermlist as for mkwsRecords
Wolfram Schneider [Fri, 28 Jun 2013 14:29:43 +0000 (14:29 +0000)]
same CSS rules for mkwsTermlist as for mkwsRecords

11 years agocopy termlist on small screens to the end of the page
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)

11 years agobugfixes
Wolfram Schneider [Fri, 28 Jun 2013 14:16:51 +0000 (14:16 +0000)]
bugfixes

11 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

11 years agoa mobile page with responsive design
Wolfram Schneider [Fri, 28 Jun 2013 14:10:53 +0000 (14:10 +0000)]
a mobile page with responsive design

11 years agocopy of index-full.html
Wolfram Schneider [Fri, 28 Jun 2013 13:40:11 +0000 (13:40 +0000)]
copy of index-full.html

11 years agoAdd link to MKAdmin.
Mike Taylor [Fri, 28 Jun 2013 12:16:12 +0000 (14:16 +0200)]
Add link to MKAdmin.

11 years agoTypo
Mike Taylor [Fri, 28 Jun 2013 11:38:59 +0000 (13:38 +0200)]
Typo

11 years agoAdd link to Zthes.
Mike Taylor [Fri, 28 Jun 2013 11:38:24 +0000 (13:38 +0200)]
Add link to Zthes.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
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

11 years agodedent
Wolfram Schneider [Fri, 28 Jun 2013 11:07:47 +0000 (11:07 +0000)]
dedent

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkws
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

11 years agore-order to get sp auth running
Wolfram Schneider [Fri, 28 Jun 2013 11:02:33 +0000 (11:02 +0000)]
re-order to get sp auth running

11 years agoUntabify
Mike Taylor [Fri, 28 Jun 2013 11:01:59 +0000 (13:01 +0200)]
Untabify

11 years agoignore "ui-state-error" class on close()
Wolfram Schneider [Fri, 28 Jun 2013 10:55:48 +0000 (10:55 +0000)]
ignore "ui-state-error" class on close()

11 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
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

11 years agorunning popup
Wolfram Schneider [Fri, 28 Jun 2013 10:53:50 +0000 (10:53 +0000)]
running popup

11 years agoTidier.
Mike Taylor [Fri, 28 Jun 2013 10:53:12 +0000 (12:53 +0200)]
Tidier.

11 years agocopy of index-local.html
Wolfram Schneider [Fri, 28 Jun 2013 10:47:16 +0000 (10:47 +0000)]
copy of index-local.html

11 years agoAdd html head, styles.
Mike Taylor [Fri, 28 Jun 2013 10:36:19 +0000 (12:36 +0200)]
Add html head, styles.

11 years agoUpdated index.
Mike Taylor [Fri, 28 Jun 2013 09:55:08 +0000 (11:55 +0200)]
Updated index.

11 years agoUpdated documentation of HTML structure.
Mike Taylor [Fri, 28 Jun 2013 09:16:39 +0000 (11:16 +0200)]
Updated documentation of HTML structure.

11 years agoStyles for language-selection
Mike Taylor [Fri, 28 Jun 2013 09:15:58 +0000 (11:15 +0200)]
Styles for language-selection

11 years agoMore HTML structure.
Mike Taylor [Fri, 28 Jun 2013 09:15:48 +0000 (11:15 +0200)]
More HTML structure.

11 years agoStyles for record-detail HTML.
Mike Taylor [Fri, 28 Jun 2013 09:08:04 +0000 (11:08 +0200)]
Styles for record-detail HTML.

11 years agoChange record-detail HTML to use structure.
Mike Taylor [Fri, 28 Jun 2013 09:07:48 +0000 (11:07 +0200)]
Change record-detail HTML to use structure.

11 years agoSimplify renderDetails(), eliminating repetition of HTML boilerplate.
Mike Taylor [Fri, 28 Jun 2013 09:00:46 +0000 (11:00 +0200)]
Simplify renderDetails(), eliminating repetition of HTML boilerplate.

11 years agoTweak colours and font sizes.
Mike Taylor [Fri, 28 Jun 2013 08:32:21 +0000 (10:32 +0200)]
Tweak colours and font sizes.

11 years agoFix script links.
Mike Taylor [Thu, 27 Jun 2013 17:42:39 +0000 (19:42 +0200)]
Fix script links.

11 years agoLots more styling for MKWS elements.
Mike Taylor [Thu, 27 Jun 2013 15:22:47 +0000 (17:22 +0200)]
Lots more styling for MKWS elements.

11 years agoInsert missing space.
Mike Taylor [Thu, 27 Jun 2013 15:21:37 +0000 (17:21 +0200)]
Insert missing space.

11 years agoDescribe (enough of) the records structure.
Mike Taylor [Thu, 27 Jun 2013 14:54:40 +0000 (16:54 +0200)]
Describe (enough of) the records structure.

11 years agoNew file html-structure.txt
Mike Taylor [Thu, 27 Jun 2013 14:41:49 +0000 (16:41 +0200)]
New file html-structure.txt

11 years agoNew file, index-local.html
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.

11 years agoLose some <hr>s
Mike Taylor [Thu, 27 Jun 2013 14:37:02 +0000 (16:37 +0200)]
Lose some <hr>s

11 years agoclass="facet", not "termlist", as that confuses with id="termlist"
Mike Taylor [Thu, 27 Jun 2013 14:32:10 +0000 (16:32 +0200)]
class="facet", not "termlist", as that confuses with id="termlist"

11 years agoBetter structure for termlist HTML.
Mike Taylor [Thu, 27 Jun 2013 14:30:52 +0000 (16:30 +0200)]
Better structure for termlist HTML.
TERMLISTS heading renamed to Termlist

11 years agomy_onstat() generates more structured HTML.
Mike Taylor [Thu, 27 Jun 2013 14:01:07 +0000 (16:01 +0200)]
my_onstat() generates more structured HTML.

11 years agoMove text of Status div down into stylesheet.
Mike Taylor [Thu, 27 Jun 2013 14:00:37 +0000 (16:00 +0200)]
Move text of Status div down into stylesheet.

11 years agoReorder.
Mike Taylor [Thu, 27 Jun 2013 13:55:43 +0000 (15:55 +0200)]
Reorder.

11 years agoFloat the #mkwsLang div to the left.
Mike Taylor [Thu, 27 Jun 2013 12:41:09 +0000 (14:41 +0200)]
Float the #mkwsLang div to the left.

11 years agoReorder styles.
Mike Taylor [Thu, 27 Jun 2013 12:38:54 +0000 (14:38 +0200)]
Reorder styles.

11 years agoMake <hr> elements non-display. Bam, instantly cleaner!
Mike Taylor [Thu, 27 Jun 2013 12:38:38 +0000 (14:38 +0200)]
Make <hr> elements non-display. Bam, instantly cleaner!

11 years agoswitchView() supports argument 'none'
Mike Taylor [Thu, 27 Jun 2013 11:58:43 +0000 (13:58 +0200)]
switchView() supports argument 'none'

11 years agoDon't try to toggle blanket if it's not defined.
Mike Taylor [Thu, 27 Jun 2013 11:49:26 +0000 (13:49 +0200)]
Don't try to toggle blanket if it's not defined.

11 years agoAdd code to control display of #mkwsBlanket, if defined.
Mike Taylor [Thu, 27 Jun 2013 11:42:56 +0000 (13:42 +0200)]
Add code to control display of #mkwsBlanket, if defined.

11 years agoSwitch to records view when a search is submitted.
Mike Taylor [Thu, 27 Jun 2013 11:34:28 +0000 (13:34 +0200)]
Switch to records view when a search is submitted.

11 years agoSimplify configuration
Mike Taylor [Thu, 27 Jun 2013 11:13:44 +0000 (13:13 +0200)]
Simplify configuration

11 years agoSimplify, make less verbose.
Mike Taylor [Thu, 27 Jun 2013 11:12:13 +0000 (13:12 +0200)]
Simplify, make less verbose.

11 years agoGet original from input headers, not output.
Mike Taylor [Thu, 27 Jun 2013 11:08:46 +0000 (13:08 +0200)]
Get original from input headers, not output.
Add logging.

11 years agoTweak path
Mike Taylor [Thu, 27 Jun 2013 11:07:35 +0000 (11:07 +0000)]
Tweak path

11 years agoInvoke new mod_perl output-filter SetACAO instead of configuring the
Mike Taylor [Thu, 27 Jun 2013 11:02:13 +0000 (13:02 +0200)]
Invoke new mod_perl output-filter SetACAO instead of configuring the
Access-Control-Allow-Origin header directly in the Apache2
configuration file. This allows us to emit the name of the origin
right back at it, which makes it possible to send credentials.

11 years agoNew file, mod_perl output filter SetACOA.pm
Mike Taylor [Thu, 27 Jun 2013 11:00:56 +0000 (13:00 +0200)]
New file, mod_perl output filter SetACOA.pm

11 years agoStill not working when Access-Control-Allow-Origin is "*",
Mike Taylor [Thu, 27 Jun 2013 08:54:36 +0000 (10:54 +0200)]
Still not working when Access-Control-Allow-Origin is "*",
seems to need explicit "http://somesite.indexdata.com".