-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new base-root.htm template (#38)
Co-authored-by: Christopher Byrd <[email protected]>
- Loading branch information
1 parent
1af55ce
commit b12cb37
Showing
23 changed files
with
80 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
from django.apps import AppConfig | ||
from django.conf import settings | ||
|
||
from arches.settings_utils import generate_frontend_configuration | ||
|
||
class Arches_LingoConfig(AppConfig): | ||
|
||
class ArchesLingoConfig(AppConfig): | ||
name = "arches_lingo" | ||
verbose_name = "Arches Lingo" | ||
is_arches_application = True | ||
|
||
def ready(self): | ||
if settings.APP_NAME.lower() == self.name: | ||
generate_frontend_configuration() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
arches_lingo/media/js/views/components/plugins/reference-data-manager.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import LingoApp from '@/arches_lingo/App.vue'; | ||
import createVueApplication from 'arches/arches/app/media/js/utils/create-vue-application'; | ||
|
||
createVueApplication(LingoApp).then(vueApp => { | ||
vueApp.mount('#lingo-mounting-point'); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script setup> | ||
import Foo from "@/arches_lingo/components/FooComponent.vue"; | ||
</script> | ||
|
||
<template> | ||
<Foo /> | ||
</template> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
// import declarations from other projects or Arches core | ||
import("../../node_modules/arches/arches/app/src/declarations.d.ts"); | ||
|
||
// declare untyped modules that have been added to your project in `package.json` | ||
// Module homepage on npmjs.com uses logos "TS" or "DT" to indicate if typed | ||
declare module "arches"; | ||
|
||
// declare filetypes used in `./src/` folder | ||
declare module "*.ts"; | ||
declare module "*.vue"; | ||
import("@/arches/declarations.d.ts"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "base-root.htm" %} | ||
|
||
{% block title %} | ||
|
||
{% endblock title %} | ||
|
||
{% block body %} | ||
<div id="lingo-mounting-point"></div> | ||
{% endblock body %} |
1 change: 0 additions & 1 deletion
1
arches_lingo/templates/views/components/plugins/reference-data-manager.htm
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.