NIHVIVO-193 Markup and style tweaks for personHasPositionHistory

This commit is contained in:
nac26 2010-03-29 13:46:59 +00:00
parent 0de717ad46
commit 1b4b52954d
3 changed files with 41 additions and 32 deletions

View file

@ -1,13 +1,21 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ /* $This file is distributed under the terms of the license in /doc/license.txt$ */
#content form { #content form div {
width: 50%; clear: left;
} }
#orgNotListed { #content form #existing {
float: right; float: left;
margin-right: 20em; clear: none;
/* width: 300px;*/
display: inline-block;
}
#content form #notListed {
float: left;
clear: none;
width: 200px; width: 200px;
margin-left: 4em;
padding: 10px 0px 10px 16px; padding: 10px 0px 10px 16px;
border: 1px solid #9c9c9c; border: 1px solid #9c9c9c;

View file

@ -241,28 +241,28 @@
<h2>${title}</h2> <h2>${title}</h2>
<form action="<c:url value="/edit/processRdfForm2.jsp"/>" > <form action="<c:url value="/edit/processRdfForm2.jsp"/>"
<div id="orgNotListed"> <div id="existing">
<v:input type="select" label="Organization" id="organizationUri" />
</div>
<div id="notListed">
If your organization is not listed, please <a href="#">add a new organization</a>. If your organization is not listed, please <a href="#">add a new organization</a>.
</div> </div>
<div id="existingOrg"> <div id="newOrg">
<v:input type="select" label="Organization" id="organizationUri" />
</div> </div>
<div id="newOrg"> <div id="position">
<v:input type="text" label="Position Title" id="title" size="30" />
</div> <v:input type="select" label="Position Type" id="type" />
<div id="position">
<v:input type="text" label="Position Title" id="title" size="30" />
<v:input type="select" label="Position Type" id="type" />
<v:input type="text" label="Start Year" id="startYear" size="4"/> <v:input type="text" label="Start Year" id="startYear" size="4"/>
<v:input type="text" label="End Year" id="endYear" size="4"/> <v:input type="text" label="End Year" id="endYear" size="4"/>
</div> </div>
<p class="submit"><v:input type="submit" id="submit" value="<%=submitLabel%>" cancel="${param.subjectUri}"/></p> <p class="submit"><v:input type="submit" id="submit" value="<%=submitLabel%>" cancel="${param.subjectUri}"/></p>
</form> </form>
<jsp:include page="${postForm}"/> <jsp:include page="${postForm}"/>

View file

@ -20,17 +20,17 @@ form textarea {
} }
form a:link.cancel, form a:visited.cancel { form a:link.cancel, form a:visited.cancel {
color: #f00; color: #f70;
border-color: #f00; border-color: #f70;
}
form select option{
padding-right: 5px;
} }
form a:hover.cancel { form a:hover.cancel {
color: #fff; color: #fff;
background: #f00; background: #f70;
}
form select option{
padding-right: 5px;
} }
form dl { form dl {
@ -55,5 +55,6 @@ form dl dt, form dl dd {
} }
p.submit { p.submit {
clear: left;
margin-top: 1em; margin-top: 1em;
} }