Commit ed2456dd authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

ui update + add JAMA_UI_TITLE env

parent 7058e12f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,8 @@ Variables disponibles:
    JAMA_VAR_DIR="var"  # Dossier par défaut pour toutes les données
    MODSHIB_SHOW_LOCAL_LOGIN="1"
    MODSHIB_SHOW_SSO_LOGIN="0"
    JAMA_UI_ANNOTATIONS = False #Fonctionnalité d'annotations pour l'application 'ui'
    JAMA_UI_TITLE = "JAMA UI" # Titre de l'application/du client UI

Concernant le serveur IIIF, pour un fonctionnement avec un serveur Cantaloupe par défaut :

+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ CSRF_TRUSTED_ORIGINS = [JAMA_SITE[:-1]]
JAMA_HLS_ENDPOINT = os.getenv("JAMA_HLS_ENDPOINT") or "http://localhost:8000/hls/"

JAMA_UI_ANNOTATIONS = True if os.getenv("JAMA_UI_ANNOTATIONS") == "1" else False

JAMA_UI_TITLE = os.getenv("JAMA_UI_TITLE") or "JAMA UI"
# Application definition

INSTALLED_APPS = [
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    "preview": "vite preview"
  },
  "dependencies": {
    "@pdn-certic/vue3-jama": "0.8.1",
    "@pdn-certic/vue3-jama": "0.8.2",
    "vue": "^3.5.25"
  },
  "devDependencies": {
+2 −1
Original line number Diff line number Diff line
@@ -6,8 +6,9 @@ import 'vuetify/styles'
const annotableImages = document.getElementById('app')?.dataset.annotations != undefined &&
    document.getElementById('app')?.dataset.annotations?.toLowerCase()!=='false';

const title = document.getElementById('app')?.dataset.title
let jamaOptions: any = {
    title: 'Jama UI',
    title: title,
    assetsPrefix:'/static/ui/assets/'
};

+270 −270

File changed.

Preview size limit exceeded, changes collapsed.

Loading