Source: login.js

(
/**
* Contains the functionalities related to the login page.
*
* @module login
* @author Joonas Konki
* @author Anu Koskela
* @author Mikko Kuhno
* @author Henrik Paananen
* @author Atte Räty
* @license BSD 3-clause, see LICENSE for more details.
* @copyright 2015 Kepler project authors
*/
function(){

/**
* This is executed after the HTML page has been loaded.
* This is a common procedure of all of the client-side modules to
* initialise the page content.
* @memberof module:login
*/
function doc_ready() {
    var loginBtn = $("#login"); //.attr('href', '/login_oauth');
    loginBtn.text(kepler.translate('button.login'));
    //loginBtn.text("Kirjaudu sisään");
    $("#buttonDiv").empty();
    $("#buttonDiv").append(loginBtn);
}

$(document).ready(doc_ready);
}());