From: Charles Connell Date: Thu, 13 Mar 2014 04:46:12 +0000 (-0400) Subject: File upload now pretty X-Git-Tag: release-20150131~144^2~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19a9f4ff3957b9c5a313fd1329f125fffe3431e7;p=oweals%2Fkarmaworld.git File upload now pretty --- 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 @@