Skip to content

Commit

Permalink
Merge pull request #4 from loftuxab/master
Browse files Browse the repository at this point in the history
Contributions from Loftux
  • Loading branch information
douglascrp committed May 13, 2015
2 parents 9fd0a43 + 3f589f3 commit 72037e7
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 9 deletions.
50 changes: 43 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,46 @@
alfresco-share-site-logo-customization
======================================
#Site Logo Customization for Alfresco Share

This addon will allow you to set a different logo for each Alfresco Site
##Introduction

It's based on the project hosted in https://code.google.com/p/alfresco-share-site-logo-customization/
This addon will allow you to set a different logo for each Alfresco Site. (Site Specific Logo)

The differences are:
Project based on Alfresco SDK
Comparible with Alfresco Community 4.2.f
It's based on the project hosted in [https://code.google.com/p/alfresco-share-site-logo-customization/](https://code.google.com/p/alfresco-share-site-logo-customization/)

The primary differences from the original project are:

- Project is now based on Alfresco SDK.
- Compatible with Alfresco Community 4.2.f, Alfresco Community 5.0d, [LXCommunity LX80](https://loftux.se/en/products-and-add-ons/alfresco/alfresco-versions?ref=site-logo).

##Building the Project
- Run `mvn package` from the project root.
- Deploy the AMP files generated in each target folder or use as dependencies in your Alfresco Maven SDK based projects.


##Updates

**2015 May 13**
- Added support for Maven SDK 2.0.1-SNAPSHOT
- Fixed site logo width being set to 48px issue


##Authors

###Original Author
- Alex Yu-Kuang Lu, ixxus ([https://github.com/alu-ixxus](https://github.com/alu-ixxus), [http://www.ixxus.com](http://www.ixxus.com))

###Contributors
- Douglas C. R. Paes ([http://douglascrp.blogspot.se/](http://douglascrp.blogspot.se/))
- Bhagya Silva, Loftux AB ([http://about.me/bhagyas](http://about.me/bhagyas), [http://www.loftux.se/en](http://www.loftux.se/en?ref=site-logo))

##License
- Apache License 2.0


##Support or Contact

If you discover any issues, please report them over at GitHub - or simply fork the project, fix it and then do a pull request.

Commercial support available from sponsors.

##Contributions
Feel free to make suggestions on the issue tracker and pull requests for any improvements you make to the code.
2 changes: 1 addition & 1 deletion customise-site-logo-repo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-parent</artifactId>
<version>1.1.1</version>
<version>2.0.1-SNAPSHOT</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion customise-site-logo-share/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-parent</artifactId>
<version>1.1.1</version>
<version>2.0.1-SNAPSHOT</version>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
<targetPackageRoot>org.alfresco.share.header</targetPackageRoot>
<sourcePackageRoot>site-logo.share-header</sourcePackageRoot>
</customization>
<customization>
<targetPackageRoot>org.alfresco</targetPackageRoot>
<dependencies>
<css>/res/components/site/site-logo.css</css>
</dependencies>
</customization>
</customizations>
</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.alfresco-logo-Logo .alfresco-logo-large {
max-height: 100%;
width:auto;
}

.alfresco-logo-Logo .alfresco-logo-only {
max-height: 100%;
width:auto;
}
.alfresco-logo-Logo .alfresco-logo-only > img {
max-height: 100%;
}

0 comments on commit 72037e7

Please sign in to comment.