Commit graph

110 commits

Author SHA1 Message Date
Edward Betts 9eecd4f490 Make Item.from_external() more robust. 2018-12-04 15:24:27 +00:00
Edward Betts 379ee401fe Add url_fragment method for Item. 2018-12-04 15:24:06 +00:00
Edward Betts df1c80fbbf Item.from_external() to support BASE_URL. 2018-12-04 15:17:47 +00:00
Edward Betts 267dcc3a4d Build links: show existing links 2018-11-23 17:42:47 +00:00
Edward Betts 781b8a7c8d Fix redirect after saving new link. 2018-11-23 11:14:58 +00:00
Edward Betts 1317f81679 Read BASE_URL from config. 2018-11-23 11:09:16 +00:00
Edward Betts a802b53329 Link builder: add support for saving links. 2018-11-23 09:42:52 +00:00
Edward Betts baaa9b9c37 Fix highlighting of selection. 2018-11-22 20:47:44 +00:00
Edward Betts d18cadd884 Add missing JS. 2018-11-22 16:41:52 +00:00
Edward Betts c56e520c98 Only show title in col 1 until both docs selected. 2018-11-22 16:40:08 +00:00
Edward Betts fd54af9812 Add base template without footer. 2018-11-22 16:36:21 +00:00
Edward Betts 87c7e99798 New page for adding links. 2018-11-22 16:34:11 +00:00
Edward Betts 31e4bc81c5 Add method to return title without item type. 2018-11-22 16:33:01 +00:00
Edward Betts e7df1758ec Add toggle for references column. 2018-11-22 12:54:50 +00:00
Edward Betts b00631bd3e Add a delete button. 2018-11-22 11:22:31 +00:00
Edward Betts 93438ecbd8 New xanalink page uses vue.js 2018-10-11 21:17:51 +01:00
Edward Betts b6f3075ba4 Avoid crash for malformed xanalink text. 2018-10-11 21:16:28 +01:00
Edward Betts 4948a16fe1 new xanalink template 2018-10-08 16:55:45 +01:00
Edward Betts 12f36e938d Use first line of sourcedoc as title 2018-08-20 13:33:18 +01:00
Edward Betts ea1fa43d5b Remove unused import. 2018-06-05 20:28:17 +01:00
Edward Betts 20a3c0123c WIP: xanadoc editing. 2018-06-05 20:27:59 +01:00
Edward Betts 925e549d9b Update xanadoc URLs. 2018-06-05 20:26:50 +01:00
Edward Betts 1fa03fa633 Show text of xanadoc on view page. 2018-06-05 12:05:56 +01:00
Edward Betts 85ae5e3be5 Pass xanadoc text to view template. 2018-06-05 12:05:35 +01:00
Edward Betts 2eabe72776 Refactor model URL builder. 2018-06-05 12:05:07 +01:00
Edward Betts c5a9940e81 Add xanadoc realize template. 2018-06-05 10:04:41 +01:00
Edward Betts 29971f33bc Show 'Documents referred to' for xanadocs. 2018-06-05 09:54:34 +01:00
Edward Betts 45f244a2d5 Bug fix adding xanadoc span references to database. 2018-06-04 17:40:06 +01:00
Edward Betts 9199ce427c Add xanadoc span references to database. 2018-06-04 17:38:32 +01:00
Edward Betts 3569cc76d5 Hide view tabs and move raw button for sourcedocs. 2018-06-04 17:27:01 +01:00
Edward Betts 51bca111c2 Fix the link between objects and subjects. 2018-06-04 17:18:52 +01:00
Edward Betts f9b510a967 Show objects and subjects on the view page. 2018-06-04 17:18:34 +01:00
Edward Betts 206562a8f9 Remove debugging output. 2018-06-04 15:59:28 +01:00
Edward Betts d386cf7862 Tool for populating table of references. 2018-06-04 15:07:48 +01:00
Edward Betts 236e920dc9 Two columns on view page. 2018-06-04 15:07:15 +01:00
Edward Betts 85510c63d1 Fix typo. 2018-06-04 15:06:51 +01:00
Edward Betts 6a889ca2e7 Add references between items. 2018-06-04 14:29:00 +01:00
Edward Betts 989c36f52d WIP: add table to record links between items 2018-06-04 14:17:13 +01:00
Edward Betts 66ea0d1826 New code for applying edits to an EDL. 2018-06-04 12:18:39 +01:00
Edward Betts 5eb927565d Add 'only' filtering by facet. 2018-06-04 11:53:28 +01:00
Edward Betts 9084dba5c1 Detect bulleted lists and set margin-bottom to 0. 2018-06-04 07:45:44 +01:00
Edward Betts cb3ae7d3a9 More facets, show matching document numbers. 2018-06-04 07:45:18 +01:00
Edward Betts a681d2cef4 Refactor the code for grabbing titles. 2018-06-04 07:44:14 +01:00
Edward Betts c7ef45d126 Fix for URL generation in model classes. 2018-06-04 07:43:40 +01:00
Edward Betts 2f5c4d7e79 More debugging commands. 2018-06-04 07:42:54 +01:00
Edward Betts aa3b42c918 Add link type to facet browser. 2018-05-31 20:28:03 +01:00
Edward Betts bd9dd70877 Adjust navbar colours. 2018-05-31 20:11:32 +01:00
Edward Betts 6d041e328f Add XanaLink.link_type method. 2018-05-31 20:11:12 +01:00
Edward Betts 359af31aa8 Facet browser is working. 2018-05-31 17:00:57 +01:00
Edward Betts a619df8e66 Allow override of top-level container class. 2018-05-31 17:00:08 +01:00