• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Add text to Valence portal login screen?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add text to Valence portal login screen?


  • #2
    Yes, this would be a function of the Hook.js, under /resources/desktop. Specifically, you would want to listen for the "componentrender" event of the "login" component.

    Code:
    componentrender      : function (cmp) {
        if (cmp.xtype === 'login'){
            cmp.add({
                xtype   : 'component',
                width   : '100%',
                cls     : 'extra-login-text',
                html    : 'Use your IBM i (AS/400) username and password'
            });
        }
    }
    Then in the Hook.css file (under the same folder) you would want to add your css class....

    Code:
    .extra-login-text{
        background-color:#FAFAFA;
        padding:6px;
        text-align:center;
        color:#999;
        border-top:1px solid #DDD;
    }

    Comment

    Working...
    X