From 2a41e90bc1059dd442e5849e383a61e75d5ed884 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Tue, 10 Dec 2013 17:40:13 +0800 Subject: [PATCH] Ray's fixes for the file manager --- app/assets/stylesheets/lib/filemanager.css | 14 + app/views/admin/assets/index.html.erb | 715 +++++++++++---------- 2 files changed, 380 insertions(+), 349 deletions(-) create mode 100644 app/assets/stylesheets/lib/filemanager.css diff --git a/app/assets/stylesheets/lib/filemanager.css b/app/assets/stylesheets/lib/filemanager.css new file mode 100644 index 00000000..036924c6 --- /dev/null +++ b/app/assets/stylesheets/lib/filemanager.css @@ -0,0 +1,14 @@ +body > section { + padding: 20px; +} +#panel_l { + width: 80%; +} +#panel_r { + width: 18%; + padding-left: 2%; +} +.nav-pills { + margin-bottom: 0; + padding: 20px 20px 0; +} \ No newline at end of file diff --git a/app/views/admin/assets/index.html.erb b/app/views/admin/assets/index.html.erb index a2956fbe..59ea57e2 100644 --- a/app/views/admin/assets/index.html.erb +++ b/app/views/admin/assets/index.html.erb @@ -1,310 +1,327 @@ - -
- Tag Management -
- preview is here -
-
- - - - - - - - - - - - - <%= render :partial => 'asset', :collection => @assets %> - -
NameSizeDescriptionTagsAction
-
-
- - -
- <%= paginate @assets, :params => {:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil, :sort_options => params[:sort_options]}, :remote => true %> -
-
-
-
-
- - -
-