summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-20 01:40:01 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-20 01:40:01 +0300
commit705c2d8bc320d95088935ecf9d2b1c5d0bc29fce (patch)
tree73a581af504c407f05bd44f3b8cd92df280711aa
parent18f37a99e34f5200fb4b6ae0370ba544b083c7ae (diff)
Dates error and button
-rw-r--r--client/colors.less7
-rw-r--r--client/templates/dates.html3
2 files changed, 9 insertions, 1 deletions
diff --git a/client/colors.less b/client/colors.less
index 43fc701..6bb2a50 100644
--- a/client/colors.less
+++ b/client/colors.less
@@ -98,6 +98,13 @@ body {
}
}
}
+ div.error {
+ color: #2636F9;
+ width: 400px;
+ text-align: center;
+ margin: 0 auto;
+ margin-top: 30px;
+ }
}
}
}
diff --git a/client/templates/dates.html b/client/templates/dates.html
index 0a07abc..8b9a257 100644
--- a/client/templates/dates.html
+++ b/client/templates/dates.html
@@ -15,7 +15,8 @@
{{/each}}
</div>
</div>
- <button type="submit" class="dates btn btn-default">Start</button>
+ <div class="error" style="display: none;">Apparently you don't have enough photos to create a statistic from, please choose another month and try again</div>
+ <button type="submit" class="dates" style="display: none;">Start</button>
</form>
</div>
</div>