aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/static
diff options
context:
space:
mode:
author0livd <github@destras.fr>2017-09-04 15:44:20 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-09-04 15:44:20 +0200
commit7a918c93498c2eb4f85b3b0198c03f3c2edf51fe (patch)
tree885fe498c3f27acb8fc73f5d37765c7e42669762 /ihatemoney/static
parentee1ecbf3e747daa711744a05027a667a302cc7e9 (diff)
downloadihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.zip
ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.gz
ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.bz2
Enhance the dashboard. (#262)
* Update to a more flexible admin authentication * Admin can now access any project * Add delete and edit options in the dashboard * Add a link to the dashboard in the nav bar This is a rework of the changes proposed by @Olivd, so they can apply on top of the latest master without trouble. All credit goes to him for the code.
Diffstat (limited to 'ihatemoney/static')
-rw-r--r--ihatemoney/static/css/main.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css
index 54a0008..73802a4 100644
--- a/ihatemoney/static/css/main.css
+++ b/ihatemoney/static/css/main.css
@@ -169,6 +169,30 @@ footer{
background: url('../images/edit.png') no-repeat right;
}
+project-actions {
+ padding-top: 10px;
+ text-align: center;
+}
+
+.project-actions > .delete, .project-actions > .edit {
+ font-size: 0px;
+ display: block;
+ width: 16px;
+ height: 16px;
+ margin: 2px;
+ margin-left: 5px;
+ float: left;
+}
+
+.project-actions > .delete{
+ background: url('../images/delete.png') no-repeat right;
+}
+
+.project-actions > .edit{
+ background: url('../images/edit.png') no-repeat right;
+}
+
+
.balance .balance-value{
text-align:right;
}