Notification on topbar

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
rider
Posts: 497
Joined: 05 Mar 2010, 13:17

18 Oct 2022, 08:16

Hi,

How can I add a notification clock like at "Morpheus template" for Verona?
Can you help here?

Thanks
Primefaces 12.0, WildFly 21

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Oct 2022, 08:39

Can you post a screenshot of the example?

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

25 Oct 2022, 08:47

same as some other templates already:
Image
privat chat ohne anmeldung
Primefaces 12.0, WildFly 21

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

31 Oct 2022, 11:25

Please change topbar.xhtml like;

Code: Select all

<div class="topbar">
        <div class="topbar-main flex align-items-center">   // Added flex classes
            <a href="#" id="menu-button">
                <span class="pi pi-bars"></span>
            </a>
            <h:link outcome="/dashboard">
                <p:graphicImage name="images/logo-main.png" library="verona-layout" styleClass="logo"/>
            </h:link>
            <div class="app-name">
                <h:link outcome="/dashboard" value="VERONA"/>
            </div>

            <a href="#" class="inline-flex align-items-center justify-content-center ml-auto mr-3" style="color: #daecef"> // Added this line
                <i class="pi pi-bell text-4xl" />
            </a>
            
            <a href="#" id="user-display">
                <span class="username">Samanta Owens</span>
                <span class="userrole">Admin</span>
                <p:graphicImage name="images/avatar.png" library="verona-layout" />
            </a>
            
            <ul id="topbar-menu" class="fadeInDown animated">
                ...
            </ul>
        </div>

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

31 Oct 2022, 11:27

Great, I will check that.
Thank you.
Primefaces 12.0, WildFly 21

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

02 Nov 2022, 16:45

You're welcome!

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest