From 45a665c7c757f59fe5cbc2d0b7f58d54cbfdc53b Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 29 Apr 2013 10:18:56 -0400 Subject: [PATCH] added mode bar up top --- cms/static/sass/views/_unit.scss | 13 +++++++++++++ cms/templates/component.html | 8 ++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index 06849f851c..317247e886 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -423,6 +423,19 @@ body.course.unit { padding: 20px; border-radius: 2px 2px 0 0; + .component-edit-modes { + @include box-sizing(border-box); + list-style: none; + position: absolute; + width: 100%; + padding: 15px; + top: 0; + right: 0; + border-bottom: 1px solid $lightBluishGrey2; + background: $lightGrey; + + } + .metadata_edit { margin-bottom: 20px; font-size: 13px; diff --git a/cms/templates/component.html b/cms/templates/component.html index dad407ff7b..46a0880f35 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -1,11 +1,15 @@
+ + Editor + Settings +
${editor}