Commit Graph

50 Commits

Author SHA1 Message Date
Robert Tice
bb58eeabb0 Working on books styling and features. Adding read only and overrideable sections to editor and templates. 2018-04-11 10:09:01 -04:00
Robert Tice
8c931b1147 Removing bootstrap in favor of simpler Pure framework for the menubar. 2018-02-23 16:45:44 -05:00
Robert Tice
fec9ab91fc Moving structure of reader renderer to enable single page or multiple page documents. The toc gets computed on the fly by parsing the html for headers and links are added for document scroll hotlinking. 2018-02-22 14:47:36 -05:00
Robert Tice
a14abff8a9 Adding ability to click on links in the side bar and scroll to the correct page. Pages will be loaded on the way. 2018-01-19 10:31:48 -05:00
Robert Tice
b500ceab09 Replaced custom pagination with django pagination and added jquery waypoints to auto load pages as the user scrolls. Have to add the ability to render and jump to sections of the page. 2018-01-18 17:14:31 -05:00
Robert Tice
0d6b78f1c7 Adding makemigration output to add table for books model. 2017-12-01 14:58:47 -05:00
Robert Tice
62fb95df6e Removing static book_list.yaml and creating workflow like we have for yannicks code examples. README and design notes have been updated with info. An example book is sitting in resources/books. 2017-11-27 17:44:27 -05:00
Robert Tice
874b417886 Adding ability to parse restructured text in the same way as markdown. 2017-11-22 16:06:49 -05:00
Robert Tice
3d482364e1 Making book list into a table for readability. Also adding Book title to side bar with a back to book list link. 2017-11-22 14:53:59 -05:00
Robert Tice
9da8093b0c Changing all relative paths to absolute paths to fix trailing slash problem. Also updating book base to use the new name for the css file. 2017-11-22 14:26:52 -05:00
Robert Tice
96266ffc48 Returning Run button flag back to false for now. 2017-11-22 09:04:04 -05:00
Robert Tice
4a9ee53d82 Am now able to add the div editors tag directly in the markdown and have it be rendered on the webpage. 2017-11-21 17:57:23 -05:00
Robert Tice
dc449d11ed Removing raw markdown from python files for error handling and added error handling pages. 2017-11-21 17:20:22 -05:00
Robert Tice
1ce5b8d703 Adding logic to handle get request with part and chapters out of range of the book. 2017-11-21 17:07:01 -05:00
Robert Tice
eefcedfc4e Added markdown filter to parse content pages written in markdown instead of html. 2017-11-21 16:56:51 -05:00
Robert Tice
d83f82ea92 Adding support for books subspace. There is now a book list in the resources directory which is used to populate the book list. Each book has a directory and a list of pages. 2017-11-21 16:21:59 -05:00
Nicolas Setton
173e6d1f1c Fix style issue
Cancel bootstrap right margin fiddling, needed for embedding.
2017-10-17 16:43:21 -04:00
Nicolas Setton
0d9cc70e41 Allow embedding the code_embed page
... naturally.
2017-10-17 16:13:42 -04:00
Nicolas Setton
b293481f12 Remove margins on embeddable editor 2017-10-17 15:45:56 -04:00
Nicolas Setton
4e3057a6de Add an URL that provides an embeddable editor 2017-10-17 15:36:09 -04:00
Nicolas Setton
c9ca24e99d Use Django directly to set the Allow-Access-Control-Origin
Since the cors plugin seems to only set it when an origin
header is passed to the request, which Chrome does not do.
2017-10-10 15:53:04 -04:00
Nicolas Setton
5c5a21811f Allow anyone to make requests to this server
This is done by using django-cors-headers and telling
it to set Access-Control-Allow-Origin.
2017-10-10 14:07:00 -04:00
Nicolas Setton
85bb873d17 Add the possibility to run programs
This is deactivated for now.:
2017-10-10 12:01:19 -04:00
Nicolas Setton
f79211ee14 Allow other hosts to connect to the server
This allows a machine to serve contents for other servers.
2017-10-10 11:54:03 -04:00
Nicolas Setton
291b6052be Support several server instances
To do this, we can no longer rely on in-memory sharing of data: instead,
use the filesystem to store the output and status of the running
processes.
2017-09-11 15:47:46 -04:00