dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19831
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8813: UI fix for custom person form
------------------------------------------------------------
revno: 8813
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-11-01 09:49:12 +0300
message:
UI fix for custom person form
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewDataEntryForm.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2012-10-29 20:17:23 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css 2012-11-01 06:49:12 +0000
@@ -33,8 +33,8 @@
#flagArea
{
position: absolute;
- top: 15px;
- left: 20px;
+ top: 22px;
+ left: 52px;
border: 1px solid #d5d5d5;
border-radius: 2px;
width: 105px;
@@ -44,8 +44,8 @@
#titleArea
{
position: absolute;
- top: 17px;
- left: 145px;
+ top: 24px;
+ left: 177px;
font-size: 19px;
}
@@ -53,8 +53,8 @@
{
width: 250px;
position: absolute;
- top: 46px;
- left: 145px;
+ top: 53px;
+ left: 177px;
font-size: 17px;
color: #bfd9f2;
}
@@ -73,18 +73,11 @@
#accountArea
{
position: absolute;
- right: 10px;
+ right: 17px;
padding: 18px 30px 18px 0;
font-size: 17px;
}
-#accountIntro
-{
- position: relative;
- top: 1px;
- padding-right: 15px
-}
-
#loginField
{
position: relative;
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2012-10-29 20:17:23 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2012-11-01 06:49:12 +0000
@@ -33,7 +33,7 @@
</div>
#if ( $keyConfig.selfRegistrationAllowed() )
<div id="accountArea">
- <span id="accountIntro">Do you want access?</span> <a class="greenButtonLink" href="account.action">Create an account</a>
+ <a class="greenButtonLink" href="account.action">Create an account</a>
</div>
#end
<div id="loginField">
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewDataEntryForm.vm 2012-07-10 11:18:29 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/viewDataEntryForm.vm 2012-11-01 06:49:12 +0000
@@ -89,7 +89,7 @@
<tr>
<td>
<label>$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label>
- <input type="text" id="name" value="$!dataEntryForm.name" name="name" class="{validate:{required:true,rangelength:[4,150],alphanumericwithbasicpuncspaces:true,firstletteralphabet:false}}" style="width:20em">
+ <input type="text" id="name" value="$!dataEntryForm.name" name="name" class="{validate:{required:true,rangelength:[4,150],alphanumericwithbasicpuncspaces:true,firstletteralphabet:false}}" style="margin-left:15px;width:30em;">
</td>
</tr>
</table>
@@ -109,11 +109,11 @@
<table width="100%">
<tr>
- <td align="right">
- <input type="submit" name="save" value="$i18n.getString( 'save' )" style="width:100px"/>
- <input type="button" name="cancel" value="$i18n.getString( 'cancel' )" style="width:100px" onclick="window.location='programStage.action?id=$!programStage.program.id'">
+ <td>
+ <input type="submit" name="save" value="$i18n.getString( 'save' )" style="width:120px"/>
+ <input type="button" name="cancel" value="$i18n.getString( 'cancel' )" style="width:120px" onclick="window.location='programStage.action?id=$!programStage.program.id'">
#if( $!dataEntryForm )
- <input type="button" name="delete" value="$i18n.getString( 'delete' )" style="width:100px" onclick="deleteDataEntryForm( $programStage.dataEntryForm.id, $programStage.id )" />
+ <input type="button" name="delete" value="$i18n.getString( 'delete' )" style="width:120px" onclick="deleteDataEntryForm( $programStage.dataEntryForm.id, $programStage.id )" />
#end
</td>
</tr>
@@ -130,12 +130,12 @@
</tr>
<tr>
<td>
- <input type="text" style="min-width:290px" onkeyup="filterDataElements( this.value, '#dataElementSelection', '#dataElementIds')"/>
+ <input type="text" style="width:100%" onkeyup="filterDataElements( this.value, '#dataElementSelection', '#dataElementIds')"/>
</td>
</tr>
<tr>
<td>
- <select id="dataElementIds" name="dataElementIds" style="min-width:300px" multiple="multiple" size="10" ondblclick="insertDataElement( '#dataElementSelection', '$programStage.id')">
+ <select id="dataElementIds" name="dataElementIds" style="width:100%; height:210px;" multiple="multiple" size="10" ondblclick="insertDataElement( '#dataElementSelection', '$programStage.id')">
#foreach( $de in $dataElements)
#set($deJSON = '{' + '"id"' + ":" + $de.id + "," + '"name"' + ':"' + "$de.name" + '",' + '"shortName"' + ':"' + "$de.shortName" + '",' + '"type"' + ':"' + "$de.getDetailedTextType()" + '"}' );
<option value='$deJSON'>$encoder.htmlEncode( $de.name )</option>
@@ -151,7 +151,7 @@
</tr>
<tr>
<td>
- <input type="button" value="Insert" id="insert" name="insert" onclick="insertDataElement( '#dataElementSelection', '$programStage.id')"/>
+ <input type="button" value="Insert" id="insert" name="insert" onclick="insertDataElement( '#dataElementSelection', '$programStage.id')" style="width:100px">
</td>
</tr>
<tr>