Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
1bfd767d
Commit
1bfd767d
authored
Feb 03, 2012
by
Kostas Papadimitriou
Browse files
Improved invitations sent styles
- display YES/NO labels/styles in `consumed` column
parent
e5726427
Changes
3
Hide whitespace changes
Inline
Side-by-side
astakos/im/static/im/grnetstyles/css/styles.css
View file @
1bfd767d
...
...
@@ -748,3 +748,9 @@ div.form-stacked {
.service-desc
{
margin-top
:
4em
;
}
table
td
.consumed
{
color
:
#9d261d
;
}
table
tr
.consumed
td
.consumed
{
color
:
#46a546
;
}
astakos/im/static/im/grnetstyles/css/styles.less
View file @
1bfd767d
...
...
@@ -332,3 +332,15 @@ div.form-stacked {
margin-top: 4em;
}
table {
td.consumed {
color: @red;
}
tr.consumed {
td.consumed {
color: @green;
}
}
}
astakos/im/templates/invitations.html
View file @
1bfd767d
...
...
@@ -17,10 +17,10 @@
</thead>
<tbody>
{% for inv in sent %}
<tr>
<tr
class=
"{% if inv.is_consumed %}consumed{% endif %}"
>
<td>
{{ inv.email }}
</td>
<td>
{{ inv.realname }}
</td>
<td
>
{{ inv.is_consumed }
}
</td>
<td
class=
"consumed"
>
{% if inv.is_consumed %}Yes{% else %}No{% endif %
}
</td>
</tr>
{% endfor %}
</tbody>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment