From 19a9f4ff3957b9c5a313fd1329f125fffe3431e7 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Thu, 13 Mar 2014 00:46:12 -0400 Subject: [PATCH] File upload now pretty --- karmaworld/apps/notes/models.py | 2 +- karmaworld/assets/css/global.css | 8 ++++++++ karmaworld/assets/css/home.css | 9 --------- karmaworld/assets/css/note_course_pages.css | 13 ++----------- karmaworld/templates/courses/course_list.html | 2 +- karmaworld/templates/partial/filepicker.html | 13 +++++++------ .../socialaccount/snippets/provider_list.html | 4 ++-- 7 files changed, 21 insertions(+), 30 deletions(-) diff --git a/karmaworld/apps/notes/models.py b/karmaworld/apps/notes/models.py index 1e1fff9..c5d9973 100644 --- a/karmaworld/apps/notes/models.py +++ b/karmaworld/apps/notes/models.py @@ -109,7 +109,7 @@ class Document(models.Model): 'data-fp-multiple': 'true', 'data-fp-folders': 'true', 'data-fp-button-class': - 'add-note-btn', + 'inline-button add-note-btn', 'data-fp-button-text': 'Add Notes', 'data-fp-extensions': '.pdf,.doc,.docx,.txt,.html,.rtf,.odt,.png,.jpg,.jpeg,.ppt,.pptx', diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 4093148..ee79996 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -51,3 +51,11 @@ label.inline-label display: inline; } +button.inline-button { + background: grey; + color: white; + border: none; + padding: 5px; + border-radius: 0.3em; + display: inline; +} \ No newline at end of file diff --git a/karmaworld/assets/css/home.css b/karmaworld/assets/css/home.css index 42a7550..7a36eb2 100644 --- a/karmaworld/assets/css/home.css +++ b/karmaworld/assets/css/home.css @@ -8,15 +8,6 @@ text-align: center; } -button.add-course { - background: grey; - color: white; - border: none; - padding: 5px; - border-radius: 0.3em; - display: inline; -} - input.search-courses { width: 15em; display: inline; diff --git a/karmaworld/assets/css/note_course_pages.css b/karmaworld/assets/css/note_course_pages.css index 635508a..dfd11c5 100644 --- a/karmaworld/assets/css/note_course_pages.css +++ b/karmaworld/assets/css/note_course_pages.css @@ -27,15 +27,6 @@ span.course-header-school cursor: pointer; } -.add-note-btn { - background: grey; - color: white; - border: none; - padding: 5px; - border-radius: 0.3em; - display: inline; -} - input.search-notes { width: 15em; display: inline; @@ -61,9 +52,9 @@ select.note-sort { padding: 10px 0 0 0; } -ul.socialaccount_providers li +ul.socialaccount_providers li, +ul#uploaded_files li { display: inline; } - diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index ea32c20..c0b24cc 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -42,7 +42,7 @@