Page 1 of 1

Yet Another Alternative Homepage Style

Posted: 2018-09-30 18:57
by jsetzer
You may already know my forum post here: https://forums.appgini.com/phpbb/viewto ... 8549#p8549 in which I have described an alternative "tile-styled" AppGini-homepage


Inspired by the UI of my new backup NAS I've once again modified the default AppGini homepage to something more "desktop like".

This time i've changed this...
default AppGini homepage + background-image

homepage-default-1024x991.jpg
homepage-default-1024x991.jpg (82.41 KiB) Viewed 5009 times


...into that ...
(some labels have been blurred out for privacy reasons)

homepage-desktopstyle-1024x991.jpg
homepage-desktopstyle-1024x991.jpg (71.54 KiB) Viewed 5009 times

  1. Finding the links has been described in the other post: https://forums.appgini.com/phpbb/viewto ... 8549#p8665
  2. First of all, there is a <div class="row">...</div>
  3. Inside that .row there is a column <div class="col-xs-12 col-sm-4 col-md-2">...</div> for every table group
  4. Inside the columns there is a panel-default with the name of the table group as panel-heading
  5. Then there is a panel-body for every (visible) table with image, text and (right-aligned) badge showing the number of records
On :hover there is a semi-transparent background-color and the cursor changes:
homepage-desktopstyle-hover.gif
homepage-desktopstyle-hover.gif (39.29 KiB) Viewed 5009 times


Once again no overwritable files have been touched. Everything you see has been done using JQuery and some CSS.


This is the html code for one item:

Code: Select all

<div class="desktop-tile panel-body text-center" onclick="window.open('tasks_view.php', '_self', '');">
    <span class="pull-right" style="position: absolute; right: 0px; margin-right: 15px;">
        <span class="badge hspacer-lg text-bold">0</span>
    </span>
    <p>
        <img src="resources/table_icons/IMAGEFILENAMEHERE.png">
    </p>
    <!-- todo: put element's style in external css file -->
    <p style="text-shadow: rgb(238, 238, 238) -1px -1px 0px, rgb(238, 238, 238) 1px -1px 0px, rgb(238, 238, 238) -1px 1px 0px, rgb(238, 238, 238) 1px 1px 0px; color: gray;">
        Aufgaben
    </p>
</div>

and the css for the :hover effect looks like this:

Code: Select all

<style>
    .desktop-tile {
        border-radius: 2px;
        cursor: pointer;
    }
    .desktop-tile:hover {
        background-color: rgba(173,216,230,0.3);
    }
</style>
I hope you like it and it gives you an idea of how to start building your own customized AppGini homepage.

Kind Regards,
Jan

Re: Yet Another Alternative Homepage Style

Posted: 2018-10-10 08:24
by ronwill
Thanks for sharing, very helpful.
Ron

Re: Yet Another Alternative Homepage Style

Posted: 2021-03-14 21:01
by federico
Hi Jan
really nice job. Is it still in beta version? Just searched on your website.