wip javascript
This commit is contained in:
@@ -4,6 +4,22 @@
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#appTitle {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
#theLogonForm {
|
||||
margin-top: 20px;
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
#logonTable td {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
h2 {
|
||||
font-size: 16px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
@@ -83,12 +83,12 @@ function showMainContainer(containerDivName, username) {
|
||||
|
||||
|
||||
function showILLogon(logonDivName) {
|
||||
|
||||
var htmlVar = '<form name = "logonform"><table><tr><td>' + doI18N("login.username") + ':</td><td><input type="text" name="username"></td></tr>';
|
||||
var htmlVar = '<div id=theLogonForm><img style="float:left; border: 0;" alt="" src="resources/mifos.jpg"/><div id=appTitle>' + doI18N("app.name") + '</div>';
|
||||
htmlVar += '<form name = "logonform"><table id=logonTable><tr><td>' + doI18N("login.username") + ':</td><td><input type="text" name="username"></td></tr>';
|
||||
htmlVar += '<tr><td>' + doI18N("login.password") + ': </td><td><input type="password" name="pwd"></td></tr>';
|
||||
htmlVar += '<tr><td><input type="button" value="Logon" name="Submit" ';
|
||||
htmlVar += 'onclick= "setBasicAuthKey(' + "'" + logonDivName + "'" + ', document.logonform.username.value, document.logonform.pwd.value )"></td><td></td></tr></table></form>';
|
||||
htmlVar += '<div id=formerrors></div>';
|
||||
htmlVar += '<div id=formerrors></div></div>';
|
||||
|
||||
$("#" + logonDivName).html(htmlVar);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# jQuery.1ln8 plugin seems to give first line of properties file as error for some reason.
|
||||
app.name=Mifos - Individual Lending:
|
||||
app.name=Individual Lending
|
||||
app.loading=Loading...
|
||||
|
||||
reporting.decimals=Decimals
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
app.name=Mifos - Individual Lending (es):
|
||||
|
||||
app.name=Individual Lending (es)
|
||||
app.loading=Loading...(es)
|
||||
|
||||
reporting.decimals=Decimals (es)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
app.name=Mifos - Individual Lending (fr):
|
||||
|
||||
app.name=Individual Lending (fr)
|
||||
app.loading=Loading...(fr)
|
||||
|
||||
reporting.decimals=Decimals (fr)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
app.name=Mifos - Individual Lending (pt):
|
||||
|
||||
app.name=Individual Lending (pt)
|
||||
app.loading=Loading...(pt)
|
||||
|
||||
reporting.decimals=Decimals (pt)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
app.name=Mifos - Individual Lending (zh):
|
||||
|
||||
app.name=Individual Lending (zh)
|
||||
app.loading=Loading...(zh)
|
||||
|
||||
reporting.decimals=Decimals (zh)
|
||||
|
||||
Reference in New Issue
Block a user