Skip to content

Commit

Permalink
Removed black background, sorted departmensts and machines at create/…
Browse files Browse the repository at this point in the history
…edit gsps
  • Loading branch information
shwetagupta committed Feb 14, 2013
1 parent ee5c362 commit 5719c83
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion grails-app/views/machine/create.gsp
Expand Up @@ -33,7 +33,7 @@
<label for="department"><g:message code="machine.department.label" default="Department" /></label>
</td>
<td valign="top" class="value ${hasErrors(bean: machineInstance, field: 'department', 'errors')}">
<g:select name="department.id" from="${com.drawingboard.Department.list()}" optionKey="id" value="${machineInstance?.department?.id}" />
<g:select name="department.id" from="${com.drawingboard.Department.list().sort{it.name}}" optionKey="id" value="${machineInstance?.department?.id}" />
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/machine/edit.gsp
Expand Up @@ -36,7 +36,7 @@
<label for="department"><g:message code="machine.department.label" default="Department" /></label>
</td>
<td valign="top" class="value ${hasErrors(bean: machineInstance, field: 'department', 'errors')}">
<g:select name="department.id" from="${com.drawingboard.Department.list()}" optionKey="id" value="${machineInstance?.department?.id}" />
<g:select name="department.id" from="${com.drawingboard.Department.list().sort{it.name}}" optionKey="id" value="${machineInstance?.department?.id}" />
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/queue/create.gsp
Expand Up @@ -42,7 +42,7 @@
<label for="machine"><g:message code="queue.machine.label" default="Machine" /></label>
</td>
<td valign="top" class="value ${hasErrors(bean: queueInstance, field: 'machine', 'errors')}">
<g:select name="machine.id" from="${com.drawingboard.Machine.list()}" optionKey="id" value="${queueInstance?.machine?.id}" />
<g:select name="machine.id" from="${com.drawingboard.Machine.list().sort{it.name}}" optionKey="id" value="${queueInstance?.machine?.id}" />
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/queue/edit.gsp
Expand Up @@ -45,7 +45,7 @@
<label for="machine"><g:message code="queue.machine.label" default="Machine" /></label>
</td>
<td valign="top" class="value ${hasErrors(bean: queueInstance, field: 'machine', 'errors')}">
<g:select name="machine.id" from="${com.drawingboard.Machine.list()}" optionKey="id" value="${queueInstance?.machine?.id}" />
<g:select name="machine.id" from="${com.drawingboard.Machine.list().sort{it.name}}" optionKey="id" value="${queueInstance?.machine?.id}" />
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion web-app/css/styles.css
@@ -1,5 +1,5 @@
body {
background: #333;
/*background: #333;*/
margin:0;
padding:0;
font-family: Verdana, Geneva, sans-serif;
Expand Down

0 comments on commit 5719c83

Please sign in to comment.