Skip to content

Commit

Permalink
finishing up profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Kahn committed Aug 11, 2012
1 parent 72bc644 commit 2b6f1bb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 4 additions & 4 deletions application.properties
@@ -1,16 +1,16 @@
#Grails Metadata file
#Sat Jul 07 18:17:08 CDT 2012
#Sat Aug 11 12:05:15 EDT 2012
app.context=/quoddy
app.grails.version=1.3.7.BUILD-SNAPSHOT
app.grails.version=1.3.7
app.name=quoddy2
app.servlet.version=2.5
app.version=0.1
plugins.code-coverage=1.2
plugins.hibernate=1.3.7.BUILD-SNAPSHOT
plugins.hibernate=1.3.7
plugins.jaxrs=0.5-m1
plugins.jms=1.2
plugins.jquery=1.4.4.1
plugins.navigation=1.1.1
plugins.quartz=1.0-RC1
plugins.tomcat=1.3.7.BUILD-SNAPSHOT
plugins.tomcat=1.3.7
plugins.webflow=1.3.7
10 changes: 5 additions & 5 deletions grails-app/views/user/editProfile.gsp
Expand Up @@ -403,12 +403,12 @@
</fieldset>
</g:else>
</div>
<a href="#" onclick="return addEmploymentBlock();" class="btn btn-primary contactBtn">add another</a>
<a href="#" onclick="return addEmploymentBlock();" class="btn btn-primary employmentBtn">add another</a>
</div>


<div>
<label for="educationHistory" id="educationHistoryLabel">Educational History:</label>
<label for="educationHistory" id="educationHistoryLabel">Education History:</label>
<div id="educationHistory">

<input type="hidden" id="educationHistoryCount" name="educationHistoryCount" value="${profileToEdit?.educationHistoryCount}" />
Expand Down Expand Up @@ -467,12 +467,12 @@
</fieldset>
</g:else>
</div>
<a href="#" onclick="return addEducationHistoryBlock();" class="btn btn-primary">add another</a>
<a href="#" onclick="return addEducationHistoryBlock();" class="btn btn-primary" id="educationBtn">add another</a>
</div>


<div class="saveFooter">
<g:submitButton name="saveProfile" class="btn btn-large btn-primary" value="Save"/>
<div class="saveFooter well">
<g:submitButton name="saveProfile" class="btn btn-large btn-primary" value="Save Profile"/>
</div>

</g:form>
Expand Down
8 changes: 7 additions & 1 deletion web-app/css/main.css
Expand Up @@ -216,6 +216,7 @@ form.login label {
padding: 16px;
position: relative;
top: -68px;
float:right;
}

input[type="text"] {height:24px;}
Expand Down Expand Up @@ -253,6 +254,7 @@ form#profileForm h2 {float:left;}
margin: 0 6px 0 0;
width: 126px;}

#employmentHistory div {margin-top:1em;}
#employmentHistory span {margin:6px; display:block; float:left;}
#educationHistory span {margin:6px; display:block; float:left;}
#employmentHistory fieldset div:nth-child(1), #employmentHistory fieldset div:nth-child(2),
Expand All @@ -269,6 +271,10 @@ form#profileForm h2 {float:left;}
#employmentHistory fieldset div:nth-child(5) > *,
{float:left; width:25%;}

#educationBtn, #employmentBtn {
clear: both;
margin-top: 3em;
}

.contactBtn {font-size: 12px !important;
height: 18px !important;
Expand All @@ -288,4 +294,4 @@ label#employmentHistoryLabel {
padding-top:24px;
}

.saveFooter {clear:both; padding: 24px;}
.saveFooter {clear:both; margin-top: 3em; text-align: center;}

0 comments on commit 2b6f1bb

Please sign in to comment.