From 15a70c54c7ad2bbbfb36a9c8b380de1e7238fb6c Mon Sep 17 00:00:00 2001 From: jalaloedien Date: Tue, 3 Jul 2007 06:57:25 +0000 Subject: [PATCH] KTS-2153 "CLONE(SUP-299) -Super sluggish web interface after upgrade to 3.4a" In Progress. Reverted all dashlets and portlets to old css rules. --- templates/kt3/dashboard.smarty | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ templates/kt3/standard_page.smarty | 78 +++++++++++++++++++++++++++++++++++++++++++++++++----------------------------- 2 files changed, 143 insertions(+), 35 deletions(-) diff --git a/templates/kt3/dashboard.smarty b/templates/kt3/dashboard.smarty index 22ac03a..0778507 100644 --- a/templates/kt3/dashboard.smarty +++ b/templates/kt3/dashboard.smarty @@ -1,8 +1,27 @@
{foreach item=oDashlet from=$dashlets_left}
-
- +
+ {if $oDashlet->sClass === "ktBlock"} +
+
+
+
+ {/if} + + {if $oDashlet->sClass === "ktError"} +
+
+
+
+ {/if} + + {if $oDashlet->sClass === "ktInfo"} +
+
+
+
+ {/if}
    @@ -13,7 +32,33 @@
{$oDashlet->render()}
- + {if $oDashlet->sClass === "ktBlock"} +
+
+
+ +
+
+
+ {/if} + {if $oDashlet->sClass === "ktError"} +
+
+
+ +
+
+
+ {/if} + {if $oDashlet->sClass === "ktInfo"} +
+
+
+ +
+
+
+ {/if}
{/foreach} @@ -23,8 +68,25 @@
{foreach item=oDashlet from=$dashlets_right}
-
- +
+ {if $oDashlet->sClass === "ktBlock"} +
+
+
+
+ {/if} + {if $oDashlet->sClass === "ktError"} +
+
+
+
+ {/if} + {if $oDashlet->sClass === "ktInfo"} +
+
+
+
+ {/if}
    @@ -35,7 +97,33 @@ {$oDashlet->render()}
- + {if $oDashlet->sClass === "ktBlock"} +
+
+
+ +
+
+
+ {/if} + {if $oDashlet->sClass === "ktError"} +
+
+
+ +
+
+
+ {/if} + {if $oDashlet->sClass === "ktInfo"} +
+
+
+ +
+
+
+ {/if}
{/foreach} diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty index 197d5cd..db36e51 100644 --- a/templates/kt3/standard_page.smarty +++ b/templates/kt3/standard_page.smarty @@ -1,6 +1,6 @@ - + {$page->title}{if ($page->secondary_title != null)} — {$page->secondary_title}{/if} | {$page->systemName} @@ -152,18 +152,20 @@
- {foreach item=oPortlet from=$page->portlets} - {assign var=portlet_output value=$oPortlet->render() } - {if $portlet_output} -
-

{$oPortlet->getTitle()}

-
- {$portlet_output} -
-
- {/if} - {/foreach} -
+ {foreach item=oPortlet from=$page->portlets} + {assign var=portlet_output value=$oPortlet->render() } + {if $portlet_output} +
+

{$oPortlet->getTitle()}

+
+
+
+ {$portlet_output} +
+
+ {/if} + {/foreach} +
@@ -175,22 +177,40 @@ {/if} - {if (!empty($page->errStack))} -
- {foreach item=sError from=$page->errStack} - {$sError} - {/foreach} -
- {/if} - - {if (!empty($page->infoStack))} -
- {foreach item=sInfo from=$page->infoStack} - {$sInfo} - {/foreach} -
- {/if} - + {if (!empty($page->errStack))} +
+
+
+ {foreach item=sError from=$page->errStack} +

{$sError}

+ {/foreach} +
+
+
+ +
+
+
+
+ {/if} + + {if (!empty($page->infoStack))} +
+
+
+ {foreach item=sInfo from=$page->infoStack} +

{$sInfo}

+ {/foreach} +
+
+
+ +
+
+
+
+ {/if} + {$page->contents}
-- libgit2 0.21.4