Commit Graph

59 Commits

Author SHA1 Message Date
Chris
c5d2dd7536 Upgrading Font Awesome vendor files from 3.2.1 to 4.2.0
* updating vendor files
* updating class syntax (to new FA-based classes) for all UI elements
* correcting broken tests
2015-01-06 15:24:12 -05:00
Andy Armstrong
541d20ef83 Allow creation of components on container page
This commit implements STUD-1490, allowing creation of components
on the container page. It also enables the delete and duplicate
buttons now that new content can be created that would benefit.

Note that it also creates shared functionality for adding components,
and refactors the unit page to use it too.
2014-05-21 15:40:31 -04:00
Andy Armstrong
f3a23f3973 Only show drag handles in draft mode 2014-05-02 16:20:12 -04:00
Andy Armstrong
a3b2809601 Fix duplicate save and cancel buttons in Studio
STUD-1531

Also add support for refreshing the modal on custom save
2014-04-15 14:04:55 -04:00
Frances Botsford
ee42902ee6 removed edit-dialog and uploads css, changed component edit icon to pencil, small css fixes 2014-04-09 10:32:11 -04:00
Will Daly
5f09953125 Hide save/cancel buttons for native XBlocks in Studio
Add Studio client-side runtime notifications for saving/cancelling XBlock edits.
2014-02-26 16:17:02 -05:00
Calen Pennington
1eec47a604 Fix STUD-1316
This bug affected unpublishing content (and would trigger an error
message in studio). The fix was to uncouple the rendering of the studio_view
of an xblock with the student_view, so that content that wasn't in
draft mode already wouldn't be modified by early rendering of the
studio_view.

[STUD-1316]
2014-02-19 14:58:41 -05:00
David Baumgold
7cab3869c4 Fall back on category is display_name is empty or unset 2014-02-03 12:10:55 -05:00
David Baumgold
a78dad77ff Pass component display name to Mako template
STUD-1241
2014-02-03 11:40:47 -05:00
David Baumgold
aa105d7a58 translate component tooltips 2014-01-31 14:17:22 -05:00
David Baumgold
597474955b tabs to spaces 2014-01-31 14:15:44 -05:00
marco
623de12d4b adjusted unit_spec.js to reflect new HTML structure, and corrected screenreader label for delete button 2014-01-23 12:07:09 -05:00
marco
187955ae55 visual styling changes to components and static pages in order to use updated icon button styling for duplicate and delete actions 2014-01-23 09:04:40 -05:00
cahrens
b5726a6889 Front-end work for duplicating components on the unit page.
STUD-1186
2014-01-22 10:43:51 -05:00
Ned Batchelder
fd13908b90 Fix single-quoted translated strings to be double-quoted. 2014-01-10 14:40:34 -05:00
cahrens
61cfb91218 Cleanup to drag and drop implementation.
Also includes RequireJS changes.

Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
David Baumgold
d97921e6e2 Convert Studio JS to use require.js 2013-10-04 13:43:50 -04:00
cahrens
3f23b82a05 Back out USER_ID help text. 2013-09-24 10:20:58 -04:00
Nick Parlante
357156b58a Mention in studio UI that %%USER_ID%% works 2013-09-19 14:28:10 -07:00
Brian Talbot
99458e7223 Studio: revises visual layout/presentation of multi-value metadata fields 2013-08-06 13:23:33 -04:00
cahrens
625c6b518c Cleanup, change how we load templates. 2013-05-28 14:07:35 -04:00
cahrens
599a215ad0 Move includes to right place. 2013-05-27 19:36:02 -04:00
cahrens
b16e17a250 Some i18n work and other minor cleanup. 2013-05-17 14:57:25 -04:00
cahrens
06d315484f Set "editing" name. 2013-05-15 11:52:38 -04:00
cahrens
faf31d9728 Get toggling between Editor and Settings working. 2013-05-15 11:34:49 -04:00
marco
81e95f27db basic tab switching added 2013-05-14 22:31:11 -04:00
marco
8d8c8d83df updated unit styling, added polyfill js library, updated javascript handling for modes swap 2013-05-14 12:38:52 -04:00
marco
0aaaf84f62 added number metadata template, cleaned up editor theme ui bordering and settings styles 2013-05-14 08:22:36 -04:00
marco
2360a111c8 attempt to trigger js event for mode button press, not breaking yet but nonfunctional 2013-05-12 12:08:04 -04:00
marco
cad8ae1b9b merged in new data requirements for html 2013-05-09 14:19:31 -04:00
cahrens
cf491b1184 Remove component.html changes. 2013-05-09 11:46:47 -04:00
marco
3ebd5de744 added rest of settings list 2013-05-09 10:54:10 -04:00
marco
3284247905 restyling of the input fields, partway through adding in examples of all settings 2013-05-09 09:35:31 -04:00
marco
977d0d76c2 cleaning up styles to use list-input, field, group, label, input, tip, etc standards. also opted to try out initial pass at hierarchy splitting of css classes on items that repeat (li, for example) 2013-05-07 16:40:21 -04:00
marco
d28c0b5f91 cleaned up styling, synced up partially to existing standards for forms, fonts, colors, etc; currently open select box issue on chrome 2013-05-07 08:59:28 -04:00
marco
38abc0167d label on top of input field move 2013-05-06 07:37:14 -07:00
marco
6b4ab20d02 styled modes header, added inactive and active mode visibility as well as is-set mode styling. no js behavior in yet. adds overscoll fix for webkit 2013-05-05 14:09:59 -07:00
marco
ad0909dfbd style input boxes 2013-05-04 23:19:49 -07:00
marco
d1595892fd starting settings 2013-05-04 12:23:40 -07:00
marco
018a3d8a38 branch now runs, but none of the styles are there yet. pushing this mostly to view component.html 2013-05-03 09:20:43 -07:00
marco
b9da0ffb0a reverting all variables in attempt to properly load unit pages 2013-05-03 09:02:32 -07:00
marco
110a51b74e removing variable names to get it to run again 2013-05-03 08:40:35 -07:00
marco
036991dce8 moved bad variable name 2013-05-03 08:10:37 -07:00
marco
c842a5fc7c plugged in more pseudo code for various css class states necessary as well as examples for dropdown case and extra logic required there 2013-05-03 00:33:58 -07:00
marco
fbaed2e28b added shell of css and html organization 2013-05-03 00:00:10 -07:00
marco
d55527b693 changes with aria 2013-05-01 17:22:09 -04:00
marco
30240ff01a non revision 2013-04-29 19:53:16 -04:00
marco
94390e4314 aria tabs v1 2013-04-29 14:20:37 -04:00
marco
45a665c7c7 added mode bar up top 2013-04-29 10:18:56 -04:00
Brian Talbot
e8ba078d4e studio HTML editor - codemirror/tinymce toggle work - wip 2013-01-16 14:54:28 -05:00