BUG 000 Improvements in the layout of the dashlets

This commit is contained in:
Julio Cesar Laura
2011-12-14 16:56:31 -04:00
committed by Erik Amaru Ortiz
parent 595135b174
commit b0d8b797e3
3 changed files with 63 additions and 56 deletions

View File

@@ -36,6 +36,8 @@ class dashletProcessMakerCommunity implements DashletInterface {
#container{
margin: 0 auto;
}
.clearf{
@@ -49,19 +51,20 @@ class dashletProcessMakerCommunity implements DashletInterface {
.icon{
float:left;
margin-left: 0.5em;
margin-left: 5%;
width: 2.5em;
width: 13%;
}
.description{
float: right;
margin-right: 0.5em;
margin-right: 1%;
width: 26em;
width: 79.5%;
font-size: 0.8em;
font-size: 64%;
text-align : justify;
}
.icon img{
@@ -85,11 +88,11 @@ class dashletProcessMakerCommunity implements DashletInterface {
<body>
<div id=\"container\">
<div class=\"icon\"><img src=\"/images/dashlets/community_forum.png\" /></div>
<div class=\"icon\"><img src=\"/images/dashlets/community_forum.png\"/></div>
<div class=\"description\">
<strong>FORUM - </strong><a href=\"http://forum.processmaker.com/\" target=\"_blank\" title=\"http://forum.processmaker.com\">http://forum.processmaker.com</a>
<br />
Discuss ProcessMaker issues, interact with the PMOS community, and get support from fellow developers and community members in the ProcessMaker Forum.
Discuss Processker issues, interact with the PMOS community, and get support from fellow developers and community members in the ProcessMaker Forum.
</div>
<div class=\"clearf\"></div>

View File

@@ -53,19 +53,20 @@ class dashletProcessMakerEnterprise implements DashletInterface {
.icon{
float:left;
margin-left: 0.5em;
margin-left: 4.5%;
width: 2.5em;
width: 12%;
}
.description{
float: right;
margin-right: 0.5em;
margin-right: 1%;
width: 26em;
width: 80.5%;
font-size: 0.8em;
font-size: 64%;
text-align : justify;
}
.icon img{
@@ -168,9 +169,9 @@ class dashletProcessMakerEnterprise implements DashletInterface {
<a href=\"http://processmaker.com/digitally-sign-web-forms-elock\" target=\"_blank\"><img src=\"/images/dashlets/enterprise_elock.png\" /></a>
</div>
<div class=\"description\">
<a href=\"http://processmaker.com/digitally-sign-web-forms-elock\" target=\"_blank\">Elock PKI Certified Digital Signature mobiSigner Connector Plug-in</a>
<br />
Plug-in which creates an integration with an Elock Digital Signature server and creates a digital signature field which can be added to web forms or can be used to digitally sign PDFs. This creates true PKI certified digital signatures with SHA encryption.
<a href=\"http://processmaker.com/digitally-sign-web-forms-elock\" target=\"_blank\"><div align= left>Elock PKI Certified Digital Signature mobiSigner Connector Plug-in</div></a>
<div align= justify>Plug-in which creates an integration with an Elock Digital Signature server and creates a digital signature field which can be added to web forms or can be used to digitally sign PDFs. This creates true PKI certified digital signatures with SHA encryption.</div>
<br />
<a href=\"http://processmaker.com/digitally-sign-web-forms-elock\" target=\"_blank\">Read More&gt;&gt;</a>
</div>

View File

@@ -24,6 +24,9 @@ Ext.onReady(function(){
handler : function(a) {
var vp = Ext.getCmp('viewportDashboard');
var pd = Ext.getCmp('portalDashboard');
while (pd.items.items[0].items.items[1]) {
pd.items.items[2].add(pd.items.items[0].items.items[1]);
}
pd.items.items[0].columnWidth = 0.33;
pd.items.items[1].columnWidth = 0.33;
pd.items.items[2].columnWidth = 0.33;