From 9133ea640dc469e29503fe4eecc2c6c24b1354af Mon Sep 17 00:00:00 2001 From: aryamanarora Date: Tue, 23 Mar 2021 13:19:08 -0400 Subject: [PATCH] fix front page --- .../jambu/templates/dataset/detail_html.mako | 7 ++- jambu/jambu/templates/jambu.mako | 2 +- .../templates/parameter/detail_html.mako | 2 +- jambu/templates/dataset/detail_html.mako | 58 ------------------- jambu/templates/jambu.mako | 12 ---- jambu/templates/parameter/detail_html.mako | 36 ------------ jambu/templates/parameter/index_html.mako | 9 --- jambu/templates/value/detail_html.mako | 48 --------------- jambu/templates/value/index_html.mako | 9 --- 9 files changed, 8 insertions(+), 175 deletions(-) delete mode 100644 jambu/templates/dataset/detail_html.mako delete mode 100644 jambu/templates/jambu.mako delete mode 100644 jambu/templates/parameter/detail_html.mako delete mode 100644 jambu/templates/parameter/index_html.mako delete mode 100644 jambu/templates/value/detail_html.mako delete mode 100644 jambu/templates/value/index_html.mako diff --git a/jambu/jambu/templates/dataset/detail_html.mako b/jambu/jambu/templates/dataset/detail_html.mako index cd17ced3..cda36929 100644 --- a/jambu/jambu/templates/dataset/detail_html.mako +++ b/jambu/jambu/templates/dataset/detail_html.mako @@ -7,7 +7,10 @@ Arora, Aryaman. 2021. Jambu. Washington: Georgetown University.

Compilers

- Aryaman Arora +

@@ -45,6 +48,8 @@ A brief overview:
  • Hukam Chand Patyal. 1991. Etymological notes on some Ḍogri words (Indo-Aryan Studies III). Indo-Iranian Journal 34. 123–124. Brill.
  • Hukam Chand Patyal. 1983. Etymological notes on some Maṇḍyāḷī words (Indo-Aryan Studies IV). Indo-Iranian Journal 25. 41–49. Brill.
  • Hukam Chand Patyal. 1984. Etymological notes on some Maṇḍyāḷī words (Indo-Aryan Studies V). Indo-Iranian Journal 27. 121–132. Brill.
  • +
  • Hukam Chand Patyal. 1984. Etymological notes on some Maṇḍyāḷī words (Indo-Aryan Studies V). Indo-Iranian Journal 27. 121–132. Brill.
  • +
  • Strand, Richard F. 1997–2021. Nuristân: Hidden Land of the Hindu-Kush. Partial diff --git a/jambu/jambu/templates/jambu.mako b/jambu/jambu/templates/jambu.mako index fcdb534c..18182ea2 100644 --- a/jambu/jambu/templates/jambu.mako +++ b/jambu/jambu/templates/jambu.mako @@ -9,4 +9,4 @@ ## -${next.body()} +${next.body()} \ No newline at end of file diff --git a/jambu/jambu/templates/parameter/detail_html.mako b/jambu/jambu/templates/parameter/detail_html.mako index 0f884205..e29fa70e 100644 --- a/jambu/jambu/templates/parameter/detail_html.mako +++ b/jambu/jambu/templates/parameter/detail_html.mako @@ -33,4 +33,4 @@ ${request.get_datatable('values', h.models.Value, parameter=ctx).render()} ${(map_ or request.map).render()} % endif - + \ No newline at end of file diff --git a/jambu/templates/dataset/detail_html.mako b/jambu/templates/dataset/detail_html.mako deleted file mode 100644 index cda36929..00000000 --- a/jambu/templates/dataset/detail_html.mako +++ /dev/null @@ -1,58 +0,0 @@ -<%inherit file="../home_comp.mako"/> - -<%def name="sidebar()"> -
    -

    Cite

    -

    - Arora, Aryaman. 2021. Jambu. Washington: Georgetown University. -

    Compilers

    -

    -

      -
    • Aryaman Arora
    • -
    • Adam Farris
    • -
    -

    -
    - - -

    Welcome to Jambu

    - -

    - Jambu [i.e. the Indian blackberry, jāmun, Syzygium cumini] is an online etymological dictionary of Indo-Aryan languages, meant to be a modern continuation of Ralph Lilley Turner's Comparative Dictionary of the Indo-Aryan Languages augmented with new data. -

    - -

    -The app is currently in development mode (it's a bit rough around the edges!) but should be fully functional, and the entire CDIAL is incorprated (albeit with some issues due to transcription errors in its parsing at the University of Chicago). -

    - -

    -All credit for the data in this app goes to the creators, which each lexicon entry references. Some of this data is still in copyright; I do not intend to make money off of this, it's purely for use by linguistics researchers and language hobbyists, so please do not sue me. -

    - -

    -A brief overview: -

    -

    - -

    Works included

    - - -Partial - \ No newline at end of file diff --git a/jambu/templates/jambu.mako b/jambu/templates/jambu.mako deleted file mode 100644 index 18182ea2..00000000 --- a/jambu/templates/jambu.mako +++ /dev/null @@ -1,12 +0,0 @@ -<%inherit file="app.mako"/> - -## -## define app-level blocks: -## -<%block name="header"> - ## - ## - ## - - -${next.body()} \ No newline at end of file diff --git a/jambu/templates/parameter/detail_html.mako b/jambu/templates/parameter/detail_html.mako deleted file mode 100644 index e29fa70e..00000000 --- a/jambu/templates/parameter/detail_html.mako +++ /dev/null @@ -1,36 +0,0 @@ -<%inherit file="../${context.get('request').registry.settings.get('clld.app_template', 'app.mako')}"/> -<%namespace name="util" file="../util.mako"/> -<%! active_menu_item = "parameters" %> -<%block name="title">${_('Parameter')} ${ctx.name} - - -
    - -
    -
    - ${ctx.description | n} -
    -
    - Attested in ${ctx.count} lect(s). -
    -
    -
    - -
    - -
    - -
    -
    -${request.get_datatable('values', h.models.Value, parameter=ctx).render()} -
    -
    -% if map_ or request.map: -${(map_ or request.map).render()} -% endif -
    -
    \ No newline at end of file diff --git a/jambu/templates/parameter/index_html.mako b/jambu/templates/parameter/index_html.mako deleted file mode 100644 index 69aebd17..00000000 --- a/jambu/templates/parameter/index_html.mako +++ /dev/null @@ -1,9 +0,0 @@ -<%inherit file="../${context.get('request').registry.settings.get('clld.app_template', 'app.mako')}"/> -<%namespace name="util" file="../util.mako"/> -<%! active_menu_item = "parameters" %> -<%block name="title">${_('Parameters')} - -

    ${title()}

    -
    - ${ctx.render()} -
    \ No newline at end of file diff --git a/jambu/templates/value/detail_html.mako b/jambu/templates/value/detail_html.mako deleted file mode 100644 index 6fb87419..00000000 --- a/jambu/templates/value/detail_html.mako +++ /dev/null @@ -1,48 +0,0 @@ -<%inherit file="../${context.get('request').registry.settings.get('clld.app_template', 'app.mako')}"/> -<%namespace name="util" file="../util.mako"/> -<%! active_menu_item = "values" %> - -

    ${ctx.name}

    - - - - - - - - - - - - % if ctx.phonemic: - - - - - % endif - % if ctx.native: - - - - - % endif - % if ctx.gloss: - - - - - % endif - % if ctx.description: - - - - - % endif - % if ctx.valueset.references: - - - - - % endif - -
    Language${h.link(request, ctx.valueset.language)}
    Entry${h.link(request, ctx.valueset.parameter)}
    Phonemic${ctx.phonemic}
    Native${ctx.native}
    Gloss${ctx.gloss}
    Comment${ctx.description}
    Sources${h.linked_references(request, ctx.valueset)|n}
    \ No newline at end of file diff --git a/jambu/templates/value/index_html.mako b/jambu/templates/value/index_html.mako deleted file mode 100644 index 2ff79e09..00000000 --- a/jambu/templates/value/index_html.mako +++ /dev/null @@ -1,9 +0,0 @@ -<%inherit file="../${context.get('request').registry.settings.get('clld.app_template', 'app.mako')}"/> -<%namespace name="util" file="../util.mako"/> -<%! active_menu_item = "values" %> - - -

    ${_('Values')}

    -
    - ${ctx.render()} -
    \ No newline at end of file