From 4042c772c8043ac96a22db439a736fec9ea2aafa Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Fri, 13 Sep 2013 17:09:35 -0400 Subject: All the references re-wired. --- docs/quick_tutorial/rest_ajax_layout.rst | 50 -------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 docs/quick_tutorial/rest_ajax_layout.rst (limited to 'docs/quick_tutorial/rest_ajax_layout.rst') diff --git a/docs/quick_tutorial/rest_ajax_layout.rst b/docs/quick_tutorial/rest_ajax_layout.rst deleted file mode 100644 index 921921b15..000000000 --- a/docs/quick_tutorial/rest_ajax_layout.rst +++ /dev/null @@ -1,50 +0,0 @@ -========================= -28: REST with Ajax Layout -========================= - -Produce a grid-like UI to prepare for async REST operations. - -Steps -===== - -#. We are going to use the previous step as our starting point: - - .. code-block:: bash - - (env27)$ cd ..; cp -r rest_bootstrap rest_ajax_layout; cd rest_ajax_layout - (env27)$ python setup.py develop - -#. Get a new menu item for ``Folders`` in - ``rest_ajax_layout/tutorial/templates/layout.jinja2``: - - .. literalinclude:: rest_ajax_layout/tutorial/templates/layout.jinja2 - :language: html - :linenos: - -#. In ``rest_ajax_layout/tutorial/views.py``, add a JSON view and remove - unused previous views: - - .. literalinclude:: rest_ajax_layout/tutorial/views.py - :linenos: - -#. Create a template at - ``rest_ajax_layout/tutorial/templates/folder.jinja2``: - - .. literalinclude:: rest_ajax_layout/tutorial/templates/folder.jinja2 - :language: html - :linenos: - -#. Do some cleanup: - - .. code-block:: bash - - (env27)$ rm tutorial/templates/*.pt - -#. Run your Pyramid application with: - - .. code-block:: bash - - (env27)$ pserve development.ini --reload - -#. Open ``http://localhost:6543/`` in your browser. - -- cgit v1.2.3