skpk24 / ofbiz-central-login Goto Github PK
View Code? Open in Web Editor NEWOfbiz application that adds a central login page for all users, and displays Icons of the applications they can access.
License: Other
Ofbiz application that adds a central login page for all users, and displays Icons of the applications they can access.
License: Other
Purpose: Makes a login page where all users can log on (instead of having to visit each specific application URL they have access to). Once logged-in they will see only the apps they can access (as yellow buttons with Icons - See included screenshot) How it works: This application is mounted on the root https://localhost:8443, once logged in the app calls two CSS files that turn the existing Ofbiz applications menu into buttons with Icons. That's it! Simple and quick :) Note: This was made for the default Ofbiz visual theme "Tomahawk" using the EN english language setting or ES Espanol setting. (For other languages, you will have to update the css file). Browsers tested: IE9, Firefox, Chrome. Instructions: 1. Add the included "Welcome" folder to your "Ofbiz/hot-deploy" folder 2. Add the included CSS file and font-awesome folder to the Tommahawk theme's CSS folder at "ofbiz/themes/tomahawk/webapp/tomahwak/css" 3. Replace your theme's appbarOpen.ftl file with the one included at "ofbiz/themes/tomahawk/include" folder (1 line changed, see inline comments) 4. Restart Ofbiz and visit the root Ofbiz URL https://localhost:8443 (This app is mounted to root) 5. Login with any user account, you will only see apps that account has access to (As Yellow buttons with Icons - See included screenshot) 6. DONE !! Enjoy :) How to change icons: Edit the css file. For a list of available icons visit the font awesome website at http://fortawesome.github.io/Font-Awesome/icons/ —————————————————————————————————————————————————————————————————————————————————————————— If you are curious as to what files I added/changed on Ofbiz, please see below: Folders Added: ofbiz/hot-deploy/welcome - I used "./ant create-component" to make the welcome app in the hot-deploy folder. ofbiz/themes/tomahawk/webapp/tomahawk/css/font-awesome - Downloaded from font-awesome website. Files Added: ofbiz/themes/webapp/tomahawk/css/welcomeappstyle.css Files Modified: ofbiz/hot-deploy/welcome/widget/CommonScreens.xml - added stylesheet calls, see comments in line 18/19 ofbiz/hot-deploy/welcome/ofbiz-component.xml - Set root mount point and base-permission to "OFBTOOLS" on lines 37/38 ofbiz/themes/tomahawk/includes/appbarOpen.FTL - added <icon> tag to menu items, see comments in line 69
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.