From d521c850dea9c173f8a3a888e9df22c082f3d391 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Fri, 16 Nov 2012 13:02:27 -0500 Subject: [PATCH] started adding asset widget --- cms/static/js/html-editor.js | 3 +- .../widgets/asset-library-widget.html | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 cms/templates/widgets/asset-library-widget.html diff --git a/cms/static/js/html-editor.js b/cms/static/js/html-editor.js index a8edfad051..20f2949e62 100644 --- a/cms/static/js/html-editor.js +++ b/cms/static/js/html-editor.js @@ -58,4 +58,5 @@ function convertHTMLToVisual() { function updatePreview() { $htmlPreview.html($visualEditor.html()); -} \ No newline at end of file +} + diff --git a/cms/templates/widgets/asset-library-widget.html b/cms/templates/widgets/asset-library-widget.html new file mode 100644 index 0000000000..40b77435e8 --- /dev/null +++ b/cms/templates/widgets/asset-library-widget.html @@ -0,0 +1,42 @@ +
+ + + + + + + + + + + + + + + + + +
NameDate AddedEmbed
+
+ +
+
+ asset name +
+
+ date + + +
+ +
\ No newline at end of file