Link to both the Persona and legacy sign in

[?]
Jul 9, 2013, 12:39 PM
VVRM3EGCPCYA3GQEGZUEMOGEEYTMMUZK46UFU3R46AKZC62ZEMRQC

Dependencies

  • [2] PFB5ZUQW Fix legacy login
  • [3] J5UVLXOK * Start of a basic Catalyst web interface.
  • [4] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [5] 7KF7YZDR Disable account creation for now
  • [6] XJRJ4J7M Add user registration
  • [7] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [8] DV43UILU Don't float the search bar to the right in collapsed mode
  • [9] 36ZTCZ4F Add basic Persona support
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • replacement in src/root/layout.tt at line 139
    [2.1346][2.1346:1380]()
    navigator.id.request();
    [2.1346]
    [2.1380]
    navigator.id.request({ siteName: 'Hydra' });
  • edit in src/root/login.tt at line 10
    [3.9805][3.32:37](),[3.37][3.4301:4401](),[3.9805][3.4301:4401](),[3.4401][3.38:42](),[3.4408][3.4408:4409]()
    <!--
    <p>Don't have an account yet? Please <a href="[%
    c.uri_for('/register') %]">register</a> first.</p>
    -->
  • replacement in src/root/topbar.tt at line 205
    [3.311][3.2504:2573]()
    <li>
    <a href="#" id="persona-signin">Sign in</a>
    </li>
    [3.311]
    [3.414]
    [% WRAPPER makeSubMenu title="Sign in" %]
    <li>
    <a href="#" id="persona-signin">
    <img src="https://developer.mozilla.org/files/3963/persona_sign_in_blue.png" alt="Sign in with Persona" />
    </a>
    </li>
    <li class="divider"></li>
    <li>
    <a href="[% c.uri_for('/login') %]">Sign in with a Hydra user name</a>
    </li>
    [% END %]