Permalink
Browse files

Fixed scaffolding on remaining pages.

  • Loading branch information...
1 parent 31ecfc8 commit 48087f1e0c41236299adf6e91d4d904e264d24fb @chriscantu committed Feb 10, 2012
@@ -28,19 +28,20 @@
</div>
</div>
<div class="row">
- <div class="sidebar span4">
+ <div class="sidebar span3">
<div class="well" role="navigation">
- <ul>
- <li><a class="home" href="\${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
- <li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
+ <ul class="nav nav-list">
+ <li class="nav-header">Options</li>
+ <li><a class="home" href="\${createLink(uri: '/')}"><i class="icon-list"></i><g:message code="default.list.label" args="[entityName]"/></a></li>
+ <li><g:link class="create" action="create"><i class="icon-file"></i><g:message code="default.new.label" args="[entityName]" /></g:link></li>
</ul>
</div>
</div>
<div class="content">
<div class="row">
- <div id="create-${domainClass.propertyName}" class="span12" role="main">
+ <div id="create-${domainClass.propertyName}" class="span9" role="main">
<g:hasErrors bean="\${${propertyName}}">
- <div class="alert-message block-message error">
+ <div class="alert alert-error alert-block">
<ul class="errors" role="alert">
<g:eachError bean="\${${propertyName}}" var="error">
<li <g:if test="\${error in org.springframework.validation.FieldError}">data-field-id="\${error.field}"</g:if>><g:message error="\${error}"/></li>
@@ -53,7 +54,7 @@
<g:render template="form"/>
<fieldset class="buttons">
- <g:submitButton name="create" class="btn primary" value="\${message(code: 'default.button.create.label', default: 'Create')}" />
+ <g:submitButton name="create" class="btn-primary" value="\${message(code: 'default.button.create.label', default: 'Create')}" />
</fieldset>
</g:form>
</div>
@@ -77,7 +77,7 @@
</tbody>
</table>
<div class="pagination">
- <g:paginate total="\${${propertyName}Total}" />
+ <rs:paginate total="\${${propertyName}Total}" />
</div>
</div>
</div>
@@ -15,16 +15,16 @@
</div>
<div class="span9">
<g:if test="\${flash.message}">
- <div class="alert alert-info" role="status"><strong>\${flash.message}</strong></div>
+ <div class="alert-message info" role="status"><strong>\${flash.message}</strong></div>
</g:if>
<g:if test="\${flash.success}">
- <div class="alert alert-success" role="status"><strong>\${flash.success}</strong></div>
+ <div class="alert-message success" role="status"><strong>\${flash.success}</strong></div>
</g:if>
<g:if test="\${flash.error}">
- <div class="alert alert-error" role="status"><strong>\${flash.error}</strong></div>
+ <div class="alert-message error" role="status"><strong>\${flash.error}</strong></div>
</g:if>
<g:if test="\${flash.warning}">
- <div class="alert alert-warning" role="status"><strong>\${flash.warning}</strong></div>
+ <div class="alert-message warning" role="status"><strong>\${flash.warning}</strong></div>
</g:if>
</div>
</div>
@@ -1,12 +1,3 @@
-span.currentStep {
- float: left;
- padding: 0 14px;
- line-height: 34px;
- border-right: 1px solid;
- border-right-color: #DDD;
- border-right-color: rgba(0, 0, 0, 0.15);
- text-decoration: none;
-}
.row .properties {
height: 35px;
}
@@ -28,18 +19,6 @@ span.currentStep {
margin-left: 27%;
}
-.pagination span.currentStep {
- color: #999;
- cursor: default;
- background-color: whiteSmoke;
- float: left;
- padding: 0 14px;
- line-height: 34px;
- text-decoration: none;
- border: 1px solid #DDD;
- border-left-width: 0;
-}
-
.top-align {
vertical-align: top;
}

0 comments on commit 48087f1

Please sign in to comment.