The Unified and Autonomous Development Platform
Change product information as product help
robin shenb8eaad297826
diff --git a/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.html b/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.htmlindex 865307e1db..13fa22bae1 100644--- a/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.html+++ b/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.html@@ -23,8 +23,8 @@</div></wicket:enclosure></div>- <div class="info pull-right">- <a wicket:id="info" title="Information"><i class="fa fa-info"></i></a>+ <div class="help pull-right">+ <a wicket:id="help" title="Help"><i class="fa fa-question"></i></a></div><wicket:enclosure child="pushDisabled"><div class="push-disabled pull-right">@@ -42,8 +42,8 @@<a wicket:id="logout"><i class="fa fa-fw fa-sign-out"></i> Logout</a></div></wicket:fragment>- <wicket:fragment wicket:id="infoFrag">- <div class="turbodev-info">+ <wicket:fragment wicket:id="helpFrag">+ <div class="turbodev-help"><div>TurboDev <span wicket:id="productVersion"></span></div><ul><li><a href="https://www.turbodev.com">Product Home</a></li>diff --git a/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.java b/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.javaindex 9b85df0981..24de2db80f 100644--- a/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.java+++ b/web/src/main/java/com/turbodev/server/web/page/layout/LayoutPage.java@@ -162,7 +162,7 @@ public abstract class LayoutPage extends BasePage {head.add(new WebMarkupContainer("pushDisabled").setVisible(false));}- head.add(new DropdownLink("info") {+ head.add(new DropdownLink("help") {@Overrideprotected void onInitialize(FloatingPanel dropdown) {@@ -172,7 +172,7 @@ public abstract class LayoutPage extends BasePage {@Overrideprotected Component newContent(String id, FloatingPanel dropdown) {- Fragment fragment = new Fragment(id, "infoFrag", LayoutPage.this);+ Fragment fragment = new Fragment(id, "helpFrag", LayoutPage.this);Plugin product = AppLoader.getProduct();fragment.add(new Label("productVersion", product.getVersion()));fragment.add(new ExternalLink("docLink", TurboDev.getInstance().getDocLink() + "/readme.md"));diff --git a/web/src/main/java/com/turbodev/server/web/page/layout/layout.css b/web/src/main/java/com/turbodev/server/web/page/layout/layout.cssindex 3f11082812..1c981e54c2 100644--- a/web/src/main/java/com/turbodev/server/web/page/layout/layout.css+++ b/web/src/main/java/com/turbodev/server/web/page/layout/layout.css@@ -64,10 +64,10 @@max-width: 400px;}}-#layout>.head>.info {+#layout>.head>.help {padding-top: 7px;}-#layout>.head>.info .fa {+#layout>.head>.help .fa {font-size: 20px;}#layout>.head>.user {@@ -123,8 +123,7 @@top: 48px;}-.turbodev-info>div {+.turbodev-help>div {padding: 8px 16px;font-weight: bold;- font-size: 16px;}