Changeset 7795


Ignore:
Timestamp:
Apr 8, 2020, 2:37:57 PM (22 months ago)
Author:
Nicklas Nordborg
Message:

Fixes #2204: Fix mis-alignment of the "Login again" button

This dialog now uses 2 different groups of buttons. One group with "Close" and "Login again" and one group with only a "Login again" button. Only one of the groups is displayed for a given page so the buttons should always be center-aligned now.

Location:
branches/3.16-stable/www
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.16-stable/www/exception/not_logged_in.jsp

    r7680 r7795  
    6666    margin-left: 0.5em;
    6767  }
     68  .dialogbuttons.popup-only
     69  {
     70    display: none;
     71  }
     72  .popup .dialogbuttons.popup-only
     73  {
     74    display: block;
     75  }
     76  .popup .dialogbuttons.no-popup
     77  {
     78    display: none;
     79  }
    6880  </style>
    6981  </base:head>
     
    8496    </table>
    8597
    86     <base:buttongroup subclass="dialogbuttons">
     98    <base:buttongroup subclass="dialogbuttons popup-only">
    8799      <base:button id="close" title="Close"/>
    88100      <base:button id="gologin" image="login.png" title="Login again&hellip;" />
     101    </base:buttongroup>
     102    <base:buttongroup subclass="dialogbuttons no-popup">
     103      <base:button id="gologin2" image="login.png" title="Login again&hellip;" />
    89104    </base:buttongroup>
    90105       
  • branches/3.16-stable/www/include/scripts/exception.js

    r7604 r7795  
    4343    Buttons.addClickHandler('continuePluginWizard', exception.continuePluginWizard);
    4444    Buttons.addClickHandler('gologin', exception.goLogin);
     45    Buttons.addClickHandler('gologin2', exception.goLogin);
    4546  }
    4647 
Note: See TracChangeset for help on using the changeset viewer.