web: add placeholder text
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 12 Jun 2010 23:53:18 -0400 |
parents |
a150f425c074
|
children |
17ad8036c6e2
|
branches/tags |
(none) |
files |
review/static/style.css review/static/style.less review/templates/changeset.html |
Changes
--- a/review/static/style.css Sat Jun 12 23:49:19 2010 -0400
+++ b/review/static/style.css Sat Jun 12 23:53:18 2010 -0400
@@ -377,6 +377,10 @@
-moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.02);
-webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.02);
}
+#changeset .content .placeholder {
+ font-style: italic;
+ color: #888888;
+}
#changeset .content .review-level-comments {
background-color: #faf9ef;
border: 1px solid #ccc;
--- a/review/static/style.less Sat Jun 12 23:49:19 2010 -0400
+++ b/review/static/style.less Sat Jun 12 23:53:18 2010 -0400
@@ -317,6 +317,10 @@
.box-shadow(0px, 5px, 5px, rgba(0, 0, 0, 0.02);
}
}
+ .placeholder {
+ font-style: italic;
+ color: @c-light;
+ }
.review-level-comments {
background-color: @c-soft-cream;
--- a/review/templates/changeset.html Sat Jun 12 23:49:19 2010 -0400
+++ b/review/templates/changeset.html Sat Jun 12 23:53:18 2010 -0400
@@ -28,6 +28,8 @@
</div>
{% endfor %}
</div>
+ {% else %}
+ <p class="placeholder">No changeset-level comments yet…</p>
{% endif %}
{% endwith %}
@@ -67,6 +69,8 @@
</div>
{% endfor %}
</div>
+ {% else %}
+ <p class="placeholder">No signoffs yet…</p>
{% endif %}
{% endwith %}