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$ */
#content form {
width: 50%;
#content form div {
clear: left;
}
#orgNotListed {
float: right;
margin-right: 20em;
#content form #existing {
float: left;
clear: none;
/* width: 300px;*/
display: inline-block;
}
#content form #notListed {
float: left;
clear: none;
width: 200px;
margin-left: 4em;
padding: 10px 0px 10px 16px;
border: 1px solid #9c9c9c;

View file

@ -241,28 +241,28 @@
<h2>${title}</h2>
<form action="<c:url value="/edit/processRdfForm2.jsp"/>" >
<div id="orgNotListed">
<form action="<c:url value="/edit/processRdfForm2.jsp"/>"
<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>.
</div>
<div id="existingOrg">
<v:input type="select" label="Organization" id="organizationUri" />
</div>
<div id="newOrg">
</div>
<div id="position">
<v:input type="text" label="Position Title" id="title" size="30" />
<v:input type="select" label="Position Type" id="type" />
</div>
<div id="newOrg">
</div>
<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="End Year" id="endYear" size="4"/>
</div>
<p class="submit"><v:input type="submit" id="submit" value="<%=submitLabel%>" cancel="${param.subjectUri}"/></p>
<v:input type="text" label="Start Year" id="startYear" size="4"/>
<v:input type="text" label="End Year" id="endYear" size="4"/>
</div>
<p class="submit"><v:input type="submit" id="submit" value="<%=submitLabel%>" cancel="${param.subjectUri}"/></p>
</form>
<jsp:include page="${postForm}"/>

View file

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