You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ni...@apache.org on 2021/06/04 12:40:26 UTC
[atlas] 02/02: ATLAS-4294:Atlas UI : Format long description of
Glossary term and category UI, fixed
This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
commit f9d447d6ec0c6ac7a240b8965bac69fb4bf9c50d
Author: prasad pawar <pr...@freestoneinfotech.com>
AuthorDate: Fri May 21 13:56:52 2021 +0530
ATLAS-4294:Atlas UI : Format long description of Glossary term and category UI, fixed
Signed-off-by: nixonrodrigues <ni...@apache.org>
---
dashboardv2/public/css/scss/common.scss | 6 ++++++
.../public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html | 4 ++--
dashboardv3/public/css/scss/common.scss | 6 ++++++
.../public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html | 4 ++--
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dashboardv2/public/css/scss/common.scss b/dashboardv2/public/css/scss/common.scss
index e93eef1..5bf8b61 100644
--- a/dashboardv2/public/css/scss/common.scss
+++ b/dashboardv2/public/css/scss/common.scss
@@ -338,4 +338,10 @@ pre {
cursor: pointer;
}
}
+}
+
+.long-description {
+ width: 85%;
+ cursor: default !important;
+ background-color: transparent !important;
}
\ No newline at end of file
diff --git a/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html b/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
index 61a134c..4600df7 100644
--- a/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
+++ b/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
@@ -29,8 +29,8 @@
</div>
<div class="form-group clearfix">
<span class="pull-left text-muted">Long Description: </span>
- <div class="pull-left">
- <p data-id="longDescription"></p>
+ <div>
+ <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea>
</div>
</div>
{{#if isTermView}}
diff --git a/dashboardv3/public/css/scss/common.scss b/dashboardv3/public/css/scss/common.scss
index c620838..9310e20 100644
--- a/dashboardv3/public/css/scss/common.scss
+++ b/dashboardv3/public/css/scss/common.scss
@@ -337,4 +337,10 @@ pre {
cursor: pointer;
}
}
+}
+
+.long-description {
+ width: 85%;
+ cursor: default !important;
+ background-color: transparent !important;
}
\ No newline at end of file
diff --git a/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html b/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
index 89ec57a..b69dac5 100644
--- a/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
+++ b/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html
@@ -32,8 +32,8 @@
</div>
<div class="form-group col-sm-12">
<span class="pull-left text-muted">Long Description: </span>
- <div class="pull-left">
- <p data-id="longDescription"></p>
+ <div>
+ <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea>
</div>
</div>
{{#if isTermView}}