Skip to content

Commit deee8dd

Browse files
author
Romain GUINOT
committed
small css class name changes. No new features or bugfixes. Bumped version to 0.51.
1 parent 37c4c2d commit deee8dd

File tree

5 files changed

+18
-23
lines changed

5 files changed

+18
-23
lines changed

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
build.version=0.5
1+
build.version=0.51
22
project.name=audit-dashlet
33
jar.name=${project.name}-${build.version}.jar

config/alfresco/site-webscripts/org/sharextras/components/dashlets/audit-application.get.html.ftl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939

4040

4141
<div class="toolbar yui-toolbar" id="${el}-toolbar">
42-
<div class="links spaced-height" id="${el}-links">
42+
<div class="links audit-application-dashlet-spaced-height" id="${el}-links">
4343
<#-- ie7 float bug : the align-right floated element must be declared before the non-floated (left) one... -->
44-
<span class="custom-align-right">
44+
<span class="audit-application-dashlet-custom-align-right">
4545
<a class="theme-color-1" href="${msg("audit.dashlet.link.help.url")}" id="${el}-help-link" target="_blank">${msg("audit.dashlet.link.help")}</a>
4646
</span>
4747

4848
<#if userHasConfigPermission && userIsAdmin>
4949
<#-- for some reason, ie6 ignores the inherited left padding of the link -- wrap in a specific span if on ie6 -->
50-
<!--[if IE 6]> <span class="spaced-left"> <![endif]-->
50+
<!--[if IE 6]> <span class="audit-application-dashlet-spaced-left"> <![endif]-->
5151
<span>
5252
<a class="theme-color-1" href="#" id="${el}-configure-link">${msg("audit.dashlet.link.configure")}</a>
5353
</span>
@@ -61,9 +61,9 @@
6161
<#assign currentHeight=default_height>
6262
<#if args.height??><#assign currentHeight=args.height></#if>
6363
<div class="body" style="height: ${currentHeight}px;" id="${el}-body">
64-
<div class="message spaced-left" id="${el}-message"></div>
64+
<div class="message audit-application-dashlet-spaced-left" id="${el}-message"></div>
6565

66-
<div class="spaced-left top-padded" id="${el}-searchbox">
66+
<div class="audit-application-dashlet-spaced-left top-padded" id="${el}-searchbox">
6767
<#-- search box to filter audit values from YUI -->
6868
<label id="${el}-searchWithinResultsFilterLabel" for="${el}-searchWithinResultsFilter">${msg("audit.dashlet.searchWithinResults",0)} :</label>
6969
<input type="text" id="${el}-searchWithinResultsFilter">
@@ -72,7 +72,7 @@
7272
<div class="entries custom-scrollable-list" id="${el}-entries"></div>
7373
</div>
7474
<#else>
75-
<div class="body spaced-left" id="${el}-body">
75+
<div class="body audit-application-dashlet-spaced-left" id="${el}-body">
7676
${msg("audit.dashlet.adminPrivilegesRequired")}
7777
</div>
7878
</#if>

config/alfresco/site-webscripts/org/sharextras/modules/dashlets/audit-application-config.get.html.ftl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@
3939
<div class="yui-u first"><span>${msg("audit.dashlet.config.label.show_fields")} :</span></div>
4040
<div class="yui-u">
4141
<input type="checkbox" id="${el}-checkbox-show_id_column" name="checkbox-show_id_column"/>
42-
<span class="spaced-right">${msg("audit.dashlet.field.label.id")}</span>
42+
<span class="audit-application-dashlet-spaced-right">${msg("audit.dashlet.field.label.id")}</span>
4343

4444
<input type="checkbox" id="${el}-checkbox-show_user_column" name="checkbox-show_user_column"/>
45-
<span class="spaced-right">${msg("audit.dashlet.field.label.user")}</span>
45+
<span class="audit-application-dashlet-spaced-right">${msg("audit.dashlet.field.label.user")}</span>
4646

4747
<input type="checkbox" id="${el}-checkbox-show_time_column" name="checkbox-show_time_column"/>
48-
<span class="spaced-right">${msg("audit.dashlet.field.label.time")}</span>
48+
<span class="audit-application-dashlet-spaced-right">${msg("audit.dashlet.field.label.time")}</span>
4949

5050
<input type="checkbox" id="${el}-checkbox-show_values_column" name="checkbox-values_column"/>
51-
<span class="spaced-right">${msg("audit.dashlet.field.label.values")}</span>
51+
<span class="audit-application-dashlet-spaced-right">${msg("audit.dashlet.field.label.values")}</span>
5252
</div>
5353
<br>
5454
<div class="yui-u first"><span>${msg("audit.dashlet.config.label.trim_audit_paths")} :</span></div>
5555
<div class="yui-u">
56-
<span class="spaced-right"><input type="checkbox" id="${el}-checkbox-trim_audit_paths" name="checkbox-trim_audit_paths"/></span>
56+
<span class="audit-application-dashlet-spaced-right"><input type="checkbox" id="${el}-checkbox-trim_audit_paths" name="checkbox-trim_audit_paths"/></span>
5757
</div>
5858
</div>
5959
</div>

source/web/extras/components/dashlets/audit-application.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,33 +52,28 @@
5252
padding-left: 10px;
5353
}
5454

55-
.spaced-left
55+
.audit-application-dashlet-spaced-left
5656
{
5757
padding-left: 10px;
5858
}
5959

60-
.spaced-more-left
61-
{
62-
padding-left: 30px;
63-
}
64-
65-
.spaced-right
60+
.audit-application-dashlet-spaced-right
6661
{
6762
padding-right: 10px;
6863
}
6964

70-
.custom-align-right
65+
.audit-application-dashlet-custom-align-right
7166
{
7267
float: right;
7368
}
7469

75-
.spaced-height
70+
.audit-application-dashlet-spaced-height
7671
{
7772
padding-top: 5px;
7873
padding-bottom: 5px;
7974
}
8075

81-
.ac-app-ie
76+
.audit-application-dashlet-ac-app-ie
8277
{
8378
padding-left: 8px !important;
8479
}

source/web/extras/components/dashlets/audit-application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ if (typeof Extras.dashlet == "undefined" || !Extras.dashlet)
12641264

12651265
// work around IE's inability to align the textbox properly, if an autocomplete div is attached...
12661266
if (YAHOO.env.ua.ie > 0 && YAHOO.env.ua.ie < 8)
1267-
Dom.addClass(Dom.get(this.configDialog.id + "-application-div"),'ac-app-ie');
1267+
Dom.addClass(Dom.get(this.configDialog.id + "-application-div"),'audit-application-dashlet-ac-app-ie');
12681268

12691269

12701270
//Instantiate the other field AutoComplete. not needed for now. kept as a reference

0 commit comments

Comments
 (0)