dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17666
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7114: (patient) CSS for dataentry form in TB.
------------------------------------------------------------
revno: 7114
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-05-31 14:17:15 +0700
message:
(patient) CSS for dataentry form in TB.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/dataEntry.css
--
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-caseentry/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2012-05-31 04:22:45 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2012-05-31 07:17:15 +0000
@@ -725,7 +725,6 @@
class="org.hisp.dhis.caseentry.action.caseentry.ProgramStageCustomDataEntryAction">
<result name="success" type="velocity">/content.vm</result>
<param name="page">/dhis-web-caseentry/programStageDataEntryForm.vm</param>
- <param name="stylesheets">../style/dataEntry.css</param>
</action>
</package>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js 2012-05-31 04:40:52 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/app.js 2012-05-31 07:17:15 +0000
@@ -1000,8 +1000,13 @@
autoScroll: true,
}).show();
- htmlWindow.update(response.responseText);
+ htmlWindow.update("<style>input{width:220px;} select{width:225px;}</style>" + response.responseText);
document.getElementById('programDiv').style.display = 'none';
+ var form = document.getElementById('dataEntryFormDiv');
+ for (var i = 0; i < form.elements.length; i++)
+ {
+ form.elements[i].disabled = true;
+ }
TR.util.mask.hideMask();
}
});
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css 2012-05-31 04:02:09 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/app/css/style.css 2012-05-31 07:17:15 +0000
@@ -716,4 +716,4 @@
.tr-menu-item-desc {
background-image:url('../images/hmenu-desc.gif');
-}
\ No newline at end of file
+}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm 2012-05-30 15:51:44 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageDataEntryForm.vm 2012-05-31 07:17:15 +0000
@@ -75,9 +75,9 @@
</form>
<p></p>
#parse( "dhis-web-commons/loader/loader.vm" )
-<div id='dataEntryFormDiv' name='dataEntryFormDiv'>
+<form id='dataEntryFormDiv' name='dataEntryFormDiv' >
#parse( "dhis-web-caseentry/dataEntryForm.vm" )
-</div>
+</form>
<script type="text/javascript">
var i18n_value_must_integer = '$encoder.jsEscape( $i18n.getString( "value_must_integer" ) , "'")';
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/dataEntry.css'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/dataEntry.css 2012-04-26 20:44:26 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/dataEntry.css 2012-05-31 07:17:15 +0000
@@ -100,7 +100,7 @@
}
.small-button {
- font-size: .8em !important;
+ font-size: .7.5em !important;
}
.ui-autocomplete { height: 100px; overflow-y: scroll; overflow-x: hidden;}
\ No newline at end of file