From f47a5100a21e4cdd98fa8253cd0ddd45b2a11139 Mon Sep 17 00:00:00 2001 From: hsafaei Date: Sat, 14 Feb 2026 14:28:25 +0330 Subject: [PATCH 1/2] 1 --- app/components/auto-import/TiptapEditor.vue | 17 ++++++++++++++--- .../lazy-load/data-entry/RelationEdit.vue | 4 ++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/app/components/auto-import/TiptapEditor.vue b/app/components/auto-import/TiptapEditor.vue index ab88bcf..c9e8229 100755 --- a/app/components/auto-import/TiptapEditor.vue +++ b/app/components/auto-import/TiptapEditor.vue @@ -249,10 +249,10 @@ function generateDetailsHtml(item) { let html = `
`; html += ``; if (item.tag) { - html += ` ${item.tag} `; + html += ` ${item.tag} `; } - html += `${escapeHtml(item.title) || "بدون عنوان"}`; + html += `${item.title || "بدون عنوان"}`; if (item.link_url) { html += `${item.link_label}`; } @@ -554,6 +554,18 @@ onBeforeUnmount(() => { } } + + summary.tag { + color: blue; + border-radius: var(--radius) var(--radius) 0 0; + + } + + summary.label { + color: chocolate; + font-weight: 700; + } + summary { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.5rem; @@ -564,7 +576,6 @@ onBeforeUnmount(() => { ); color: var(--color-primary-700); border-radius: var(--radius) var(--radius) 0 0; - font-weight: 700; font-size: 1.1rem; color: var(--color-dark-primary-800); // cursor: pointer; diff --git a/app/components/lazy-load/data-entry/RelationEdit.vue b/app/components/lazy-load/data-entry/RelationEdit.vue index a6b398c..4712369 100644 --- a/app/components/lazy-load/data-entry/RelationEdit.vue +++ b/app/components/lazy-load/data-entry/RelationEdit.vue @@ -55,7 +55,7 @@ const setDataEditor = async () => { node = { isOpen: false, id: item.section_mom_id, - title: "قانون مقدم : " + item.qanon_title + " > " + item.full_path, + title: `قانون مقدم : ` + item.qanon_title + " > " + item.full_path, tag: item.state_etebar, content: _source.content1, link_label: "«منبع»", @@ -90,7 +90,7 @@ const setDataEditor = async () => { node = { isOpen: false, id: item.section_mom_id, - title: "قانون موخر : " + item.qanon_title + " > " + item.full_path, + title: `قانون موخر : ` + item.qanon_title + " > " + item.full_path, tag: item.state_etebar, content: _source.content2, link_label: "«منبع»", From c46fe102197522043b04fb5066451f119c991426 Mon Sep 17 00:00:00 2001 From: hsafaei Date: Sat, 14 Feb 2026 15:10:22 +0330 Subject: [PATCH 2/2] login form build !!!! --- app/components/lazy-load/auth/LoginForm.vue | 371 +++++++++++++++++ .../lazy-load/auth/RegisterForm.vue | 394 ++++++++++++++++++ .../lazy-load/data-entry/RelationEdit.vue | 3 +- 3 files changed, 767 insertions(+), 1 deletion(-) create mode 100644 app/components/lazy-load/auth/LoginForm.vue create mode 100644 app/components/lazy-load/auth/RegisterForm.vue diff --git a/app/components/lazy-load/auth/LoginForm.vue b/app/components/lazy-load/auth/LoginForm.vue new file mode 100644 index 0000000..611e92f --- /dev/null +++ b/app/components/lazy-load/auth/LoginForm.vue @@ -0,0 +1,371 @@ + + + + + diff --git a/app/components/lazy-load/auth/RegisterForm.vue b/app/components/lazy-load/auth/RegisterForm.vue new file mode 100644 index 0000000..320a271 --- /dev/null +++ b/app/components/lazy-load/auth/RegisterForm.vue @@ -0,0 +1,394 @@ + + + + + diff --git a/app/components/lazy-load/data-entry/RelationEdit.vue b/app/components/lazy-load/data-entry/RelationEdit.vue index 4712369..081185a 100644 --- a/app/components/lazy-load/data-entry/RelationEdit.vue +++ b/app/components/lazy-load/data-entry/RelationEdit.vue @@ -43,7 +43,8 @@ const setDataEditor = async () => { let base_url = window.location.origin; base_url = base_url.replace("localhost:3007", "localhost:8082"); - base_url = base_url.replace("majles.tavasi.ir", "jedit.tavasi.ir"); + base_url = base_url.replace("jedit.tavasi.ir", "majles.tavasi.ir"); + base_url = base_url.replace("192.168.23.112:3000", "majles.tavasi.ir"); base_url += "/entity/show/view/qasection/{{qanon_id}}?jump_id={{section_id}}";