Commit 94d4b473 authored by Florian Fittkau's avatar Florian Fittkau

colors working

parent 939a6966
......@@ -18,5 +18,9 @@ class Color {
this.red = red
this.green = green
this.blue = blue
}
def toHex() {
"#${String.format("%02X", red)}${String.format("%02X", green)}${String.format("%02X", blue)}"
}
}
......@@ -14,7 +14,7 @@ class NoteTagLib {
if (index % attrs["columnlength"].toInteger() == attrs["columnindex"].toInteger()) {
out << """<div class='ui-widget ui-corner-all'>
<div class='hidden'>${item.id}</div>
<div class='ui-widget-header ui-corner-top'>${item}</div>
<div class='ui-widget-header ui-corner-top' style='background: ${item.color.toHex()} !important;'>${item}</div>
<div class='ui-widget-content ui-corner-bottom' >${item.getShortDescription()}</div>
</div> """
}
......
......@@ -19,52 +19,48 @@
</h1>
<div id="backlog">
<div id="columnbacklogone" class="column">
<g:note userStories="${backlogUserStories}" columnindex="0" columnlength="4" />
</div>
<div id="columnbacklogtwo" class="column">
<g:note userStories="${backlogUserStories}" columnindex="1" columnlength="4" />
</div>
<div id="columnbacklogthree" class="column">
<g:note userStories="${backlogUserStories}" columnindex="2" columnlength="4" />
</div>
<div id="columnbacklogfour" class="column">
<g:note userStories="${backlogUserStories}" columnindex="3" columnlength="4" />
</div>
<div id="columnbacklogone" class="column">
<g:note userStories="${backlogUserStories}" columnindex="0" columnlength="4" />
</div>
<div id="columnbacklogtwo" class="column">
<g:note userStories="${backlogUserStories}" columnindex="1" columnlength="4" />
</div>
<div id="columnbacklogthree" class="column">
<g:note userStories="${backlogUserStories}" columnindex="2" columnlength="4" />
</div>
<div id="columnbacklogfour" class="column">
<g:note userStories="${backlogUserStories}" columnindex="3" columnlength="4" />
</div>
</div>
<div id="sprintbacklog">
<div id="columnsprintbacklogone" class="column">
<g:note userStories="${sprintUserStories}" columnindex="0" columnlength="4" />
</div>
<div id="columnsprintbacklogtwo" class="column">
<g:note userStories="${sprintUserStories}" columnindex="1" columnlength="4" />
</div>
<div id="columnsprintbacklogthree" class="column">
<g:note userStories="${sprintUserStories}" columnindex="2" columnlength="4" />
</div>
<div id="columnsprintbacklogfour" class="column">
<g:note userStories="${sprintUserStories}" columnindex="3" columnlength="4" />
</div>
<div id="dialog-addSprint" title="Create new sprint">
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
</fieldset>
</form>
</div>
<div id="columnsprintbacklogone" class="column">
<g:note userStories="${sprintUserStories}" columnindex="0" columnlength="4" />
</div>
<div id="columnsprintbacklogtwo" class="column">
<g:note userStories="${sprintUserStories}" columnindex="1" columnlength="4" />
</div>
<div id="columnsprintbacklogthree" class="column">
<g:note userStories="${sprintUserStories}" columnindex="2" columnlength="4" />
</div>
<div id="columnsprintbacklogfour" class="column">
<g:note userStories="${sprintUserStories}" columnindex="3" columnlength="4" />
</div>
<div id="dialog-addSprint" title="Create new sprint">
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
</fieldset>
</form>
</div>
</div>
<div id="dialog-showUserStory" title="Show User Story">
......
......@@ -185,7 +185,6 @@
font-weight: normal;
font-family: Cambria, Arial, Trebuchet MS;
font-size: 13pt;
background: #90F790;
padding-left: 10px;
border: 1px solid #DDDDDD;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment