Skip to content

Commit

Permalink
Alteração css
Browse files Browse the repository at this point in the history
  • Loading branch information
vcs3 committed Aug 9, 2015
1 parent eef31f7 commit 72549fc
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grails-app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ nav {
.deleteRow {
background: #53777a;
color: #fff;
width: 100px;
width: 80px;
text-decoration: none;
border: 1px solid #5b5b5b;
font-size: 13px;
Expand All @@ -106,7 +106,7 @@ nav {
nav a {
background: #53777a;
color: #fff;
width: 100px;
width: 80px;
text-decoration: none;
border: 1px solid #5b5b5b;
font-size: 13px;
Expand Down
6 changes: 6 additions & 0 deletions grails-app/taglib/tasks/OverdueTagLib.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package tasks

class OverdueTagLib {
static defaultEncodeAs = [taglib:'html']
//static encodeAsForTags = [tagName: [taglib:'html'], otherTagName: [taglib:'none']]
}
2 changes: 1 addition & 1 deletion grails-app/views/task/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</table>

<nav>
<g:link class="create" id="btnAddTask" action="create"><g:message code="Adicionar tarefa" args="[entityName]" /></g:link>
<g:link class="create" id="btnAddTask" action="create"><g:message code=" Nova tarefa" args="[entityName]" /></g:link>
<g:link controller="category" action="index"><g:message code="Categorias" args="[Category]" /></g:link>

</nav>
Expand Down
20 changes: 20 additions & 0 deletions test/unit/tasks/OverdueTagLibSpec.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package tasks

import grails.test.mixin.TestFor
import spock.lang.Specification

/**
* See the API for {@link grails.test.mixin.web.GroovyPageUnitTestMixin} for usage instructions
*/
@TestFor(OverdueTagLib)
class OverdueTagLibSpec extends Specification {

def setup() {
}

def cleanup() {
}

void "test something"() {
}
}

0 comments on commit 72549fc

Please sign in to comment.