Permalink
Browse files

Merge branch 'master' of git://github.com/christianv/3akai-ux into c_…

…merge

* 'master' of git://github.com/christianv/3akai-ux:
  SAKIII-236 - removed widgets that weren't used anymore
  SAKIII-235 - fixed + removed pagemanagment - mypreferences - myinbox
  SAKIII-234 - fixed various thing in order to get rid of the undefined messages.
  • Loading branch information...
2 parents b477ace + 946da9e commit 5bca04a9fbaeb71d7597df46fdc905e937652ca3 oszkarnagy committed Feb 15, 2010
Showing with 272 additions and 99,121 deletions.
  1. +270 −498 dev/_configuration/widgets.js
  2. +0 −35 devwidgets/camtoolscourses/camtoolscourses.html
  3. +0 −59 devwidgets/camtoolscourses/css/camtoolscourses.css
  4. +0 −202 devwidgets/camtoolscourses/javascript/camtoolscourses.js
  5. +0 −280 devwidgets/filemanager/css/filemanager.css
  6. +0 −475 devwidgets/filemanager/css/uploader.css
  7. +0 −356 devwidgets/filemanager/filemanager.html
  8. BIN devwidgets/filemanager/images/add.png
  9. BIN devwidgets/filemanager/images/browse.png
  10. BIN devwidgets/filemanager/images/button_edit.png
  11. BIN devwidgets/filemanager/images/button_remove.png
  12. BIN devwidgets/filemanager/images/error.png
  13. BIN devwidgets/filemanager/images/gradient-file-green.png
  14. BIN devwidgets/filemanager/images/gradient-file-grey.png
  15. BIN devwidgets/filemanager/images/gradient-total-green.png
  16. BIN devwidgets/filemanager/images/gradient-total-grey.png
  17. BIN devwidgets/filemanager/images/gradient-total-yellow.png
  18. BIN devwidgets/filemanager/images/remove.png
  19. BIN devwidgets/filemanager/images/remove_filter.png
  20. BIN devwidgets/filemanager/images/tick.png
  21. BIN devwidgets/filemanager/images/titlebar_close.png
  22. BIN devwidgets/filemanager/images/titlebar_left.png
  23. BIN devwidgets/filemanager/images/titlebar_right.png
  24. +0 −1,116 devwidgets/filemanager/javascript/filemanager.js
  25. +0 −551 devwidgets/filemanager/json/files.json
  26. +0 −478 devwidgets/filemanager/lib/jquery.accordion.js
  27. +0 −1,149 devwidgets/resources/Resources.html
  28. +0 −89 devwidgets/resources/css/Resources.css
  29. +0 −137 devwidgets/resources/css/datePicker.css
  30. BIN devwidgets/resources/images/accessories-text-editor.png
  31. BIN devwidgets/resources/images/ajax-loader.gif
  32. BIN devwidgets/resources/images/cross.png
  33. BIN devwidgets/resources/images/delete.png
  34. BIN devwidgets/resources/images/document-save.png
  35. BIN devwidgets/resources/images/exclamation.png
  36. BIN devwidgets/resources/images/folder-new.png
  37. BIN devwidgets/resources/images/folder-remote.png
  38. BIN devwidgets/resources/images/folder-saved-search.png
  39. BIN devwidgets/resources/images/icons/calendar.png
  40. BIN devwidgets/resources/images/icons/code.png
  41. BIN devwidgets/resources/images/icons/doc.png
  42. BIN devwidgets/resources/images/icons/exe.png
  43. BIN devwidgets/resources/images/icons/film.png
  44. BIN devwidgets/resources/images/icons/flash.png
  45. BIN devwidgets/resources/images/icons/folder.png
  46. BIN devwidgets/resources/images/icons/folderempty.png
  47. BIN devwidgets/resources/images/icons/music.png
  48. BIN devwidgets/resources/images/icons/other.png
  49. BIN devwidgets/resources/images/icons/pdf.png
  50. BIN devwidgets/resources/images/icons/picture.png
  51. BIN devwidgets/resources/images/icons/ppt.png
  52. BIN devwidgets/resources/images/icons/txt.png
  53. BIN devwidgets/resources/images/icons/xls.png
  54. BIN devwidgets/resources/images/icons/zip.png
  55. BIN devwidgets/resources/images/information.png
  56. BIN devwidgets/resources/images/loader.gif
  57. BIN devwidgets/resources/images/reorder.gif
  58. BIN devwidgets/resources/images/reorder.png
  59. BIN devwidgets/resources/images/system-lock-screen.png
  60. BIN devwidgets/resources/images/system-search.png
  61. BIN devwidgets/resources/images/user-trash.png
  62. +0 −3,443 devwidgets/resources/javascript/Resources.js
  63. +0 −467 devwidgets/resources/javascript/dates.js
  64. +0 −1,056 devwidgets/resources/javascript/jquery.datePicker.js
  65. +0 −3,533 devwidgets/resources/lib/jquery.js
  66. +0 −430 devwidgets/resources/lib/jqueryui.js
  67. +0 −304 devwidgets/resources/lib/jqueryuiblock.js
  68. +0 −43 devwidgets/resources/lib/querystring.js
  69. +0 −713 devwidgets/resources/lib/sdata.js
  70. +0 −37 devwidgets/resources/lib/swfupload/Flash9/.FlashDevelop_AS3_cache
  71. +0 −117 devwidgets/resources/lib/swfupload/Flash9/ExternalCall.as
  72. +0 −117 devwidgets/resources/lib/swfupload/Flash9/FileItem.as
  73. +0 −75 devwidgets/resources/lib/swfupload/Flash9/SWFUpload v2.as3proj
  74. +0 −1,029 devwidgets/resources/lib/swfupload/Flash9/SWFUpload.as
  75. +0 −1,029 devwidgets/resources/lib/swfupload/Flash9/SWFUpload.as.bak
  76. +0 −3 devwidgets/resources/lib/swfupload/Flash9/deploy.bat
  77. +0 −23 devwidgets/resources/lib/swfupload/Flash9/obj/SWFUpload-v2Config.old
  78. +0 −23 devwidgets/resources/lib/swfupload/Flash9/obj/SWFUpload-v2Config.xml
  79. BIN devwidgets/resources/lib/swfupload/Flash9/swfupload_f9.swf
  80. +0 −755 devwidgets/resources/lib/swfupload/swfupload.js
  81. +0 −397 devwidgets/resources/lib/trimpath.js
  82. +0 −30 devwidgets/s23/s23tools/css/s23tools.css
  83. +0 −114 devwidgets/s23/s23tools/javascript/s23tools.js
  84. +0 −32 devwidgets/s23/s23tools/s23tools.html
  85. +1 −1 devwidgets/sites/bundles/default.json
  86. +1 −1 devwidgets/sites/bundles/zh_CN.json
  87. +0 −53 devwidgets/tlrp/css/tlrp.author.css
  88. +0 −109 devwidgets/tlrp/css/tlrp.cat.css
  89. +0 −231 devwidgets/tlrp/css/tlrp.css
  90. +0 −107 devwidgets/tlrp/css/tlrp.settings.css
  91. +0 −77 devwidgets/tlrp/css/tlrp.sorter.css
  92. +0 −93 devwidgets/tlrp/css/tlrp.tag.css
  93. +0 −129 devwidgets/tlrp/css/tlrp.year.css
  94. +0 −122 devwidgets/tlrp/css/tlrp2.css
  95. BIN devwidgets/tlrp/images/ajax-loader.gif
  96. BIN devwidgets/tlrp/images/alphabetBar.jpg
  97. BIN devwidgets/tlrp/images/arrow.png
  98. BIN devwidgets/tlrp/images/broader.png
  99. BIN devwidgets/tlrp/images/darkGrey.png
  100. BIN devwidgets/tlrp/images/greyTriangle.png
  101. BIN devwidgets/tlrp/images/greyTriangleBordered.png
  102. BIN devwidgets/tlrp/images/lightGrey.png
  103. BIN devwidgets/tlrp/images/magnifier.png
  104. BIN devwidgets/tlrp/images/magnifierSearchButton.png
  105. BIN devwidgets/tlrp/images/matchesBlue.png
  106. BIN devwidgets/tlrp/images/related.png
  107. BIN devwidgets/tlrp/images/search.png
  108. BIN devwidgets/tlrp/images/searchBtn.png
  109. BIN devwidgets/tlrp/images/tlrp.png
  110. BIN devwidgets/tlrp/images/tlrp_close.gif
  111. BIN devwidgets/tlrp/images/tlrp_close.png
  112. BIN devwidgets/tlrp/images/triangle.png
  113. +0 −13 devwidgets/tlrp/javascript/jquery.mousewheel.min.js
  114. +0 −137 devwidgets/tlrp/javascript/jquery.sort.js
  115. +0 −332 devwidgets/tlrp/javascript/tlrp.author.js
  116. +0 −108 devwidgets/tlrp/javascript/tlrp.breadcrumb.js
  117. +0 −483 devwidgets/tlrp/javascript/tlrp.category.js
  118. +0 −632 devwidgets/tlrp/javascript/tlrp.js
  119. +0 −309 devwidgets/tlrp/javascript/tlrp.sort.js
  120. +0 −316 devwidgets/tlrp/javascript/tlrp.tags.js
  121. +0 −316 devwidgets/tlrp/javascript/tlrp.year.js
  122. +0 −2,088 devwidgets/tlrp/json/bera.js
  123. +0 −57,896 devwidgets/tlrp/json/dspace.js
  124. +0 −11,682 devwidgets/tlrp/json/ncrm.js
  125. +0 −4,021 devwidgets/tlrp/json/tlrp_bera_skos.js
  126. +0 −207 devwidgets/tlrp/lib/jquery.easing.js
  127. +0 −66 devwidgets/tlrp/lib/jquery.slideViewer.js
  128. +0 −397 devwidgets/tlrp/tlrp.html
View
768 dev/_configuration/widgets.js
@@ -15,573 +15,345 @@ var Widgets = {
"Researchers",
"Students"],
layouts : {
- onecolumn :
- {
+ onecolumn : {
name:"One column",
widths:[100],
siteportal: true
},
- dev :
- {
+ dev : {
name:"Dev Layout",
widths:[50,50],
siteportal: true
},
- threecolumn :
- {
+ threecolumn : {
name:"Three equal columns",
widths:[33,33,33],
siteportal: false
},
- fourcolumn :
- {
+ fourcolumn : {
name:"Four equal columns",
widths:[25,25,25,25],
siteportal: false
},
- fivecolumn :
- {
+ fivecolumn : {
name:"Five equal columns",
widths:[20,20,20,20,20],
siteportal: false
}
},
widgets: {
- changepic :
- {
- description:"",
- iframe:0,
- url:"/devwidgets/changepic/changepic.html",
- name:"changepic",
- id:"changepic",
- personalportal:0,
- siteportal:0,
- img:"/dev/img/sites.png"
- },
- googlemaps :
- {
- description:"Google maps\r\n",
- iframe:0,
- url:"/devwidgets/googlemaps/googlemaps.html",
- name:"Googlemaps",
- id:"googlemaps",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/googlemaps/images/googlemaps.png",
- i18n: {
- "default": "/devwidgets/googlemaps/bundles/default.json",
- "en_US": "/devwidgets/googlemaps/bundles/en_US.json",
- "zh_CN": "/devwidgets/googlemaps/bundles/zh_CN.json"
- }
- },
- sites :
- {
- description:"Listing of the sites I'm a member of\r\n",
- iframe:0,
- url:"/devwidgets/sites/sites.html",
- name:"My Courses & Sites",
- id:"sites",
- personalportal:1,
- siteportal:0,
- img:"/dev/img/sites.png"
- },
- myprofile :
- {
- description:"My Personal Profile\r\n",
- iframe:0,
- url:"/devwidgets/myprofile/myprofile.html",
- name:"My Profile",
- id:"myprofile",
- personalportal:1,
- siteportal:0,
- img:"/dev/img/myprofile.png"
- },
- addtocontacts :
- {
- description:"Add a contact\r\n",
- iframe:0,
- url:"/devwidgets/addtocontacts/addtocontacts.html",
- name:"Add a contact",
+ addtocontacts: {
+ description:"Add a contact",
id:"addtocontacts",
- personalportal:0,
- siteportal:0,
- img:"/dev/img/sites.png",
i18n: {
"default": "/devwidgets/addtocontacts/bundles/default.json",
"en_US": "/devwidgets/addtocontacts/bundles/en_US.json",
"zh_CN": "/devwidgets/addtocontacts/bundles/zh_CN.json"
- }
+ },
+ name:"Add a contact",
+ url:"/devwidgets/addtocontacts/addtocontacts.html"
},
- camtoolscourses :
- {
- description:"Your courses & sites for Camtools 2008\r\n",
- iframe:0,
- url:"/devwidgets/camtoolscourses/camtoolscourses.html",
- name:"Camtools 2008 Courses & Projects",
- id:"camtoolscourses",
- personalportal:1,
- siteportal:0,
- img:"/dev/img/sites.png"
- },
- s23courses :
- {
- description:"Your courses & sites for Sakai2\r\n",
- iframe:0,
- url:"/devwidgets/s23/s23courses/s23courses.html",
- name:"Sakai 2 Courses & Projects",
- id:"s23courses",
- personalportal:1,
- siteportal:0,
- img:"/dev/img/sites.png"
+ changepic: {
+ i18n: {
+ "default": "/devwidgets/changepic/bundles/default.json",
+ "zh_CN": "/devwidgets/changepic/bundles/zh_CN.json"
+ },
+ id:"changepic",
+ name:"changepic",
+ url:"/devwidgets/changepic/changepic.html"
},
- sendmessage :
- {
- description:"Send a message\r\n",
- iframe:0,
- url:"/devwidgets/sendmessage/sendmessage.html",
- name:"Send a message",
- id:"sendmessage",
- personalportal:0,
- siteportal:0,
- img:"/dev/img/sites.png"
+ comments: {
+ description:"Comments",
+ ca:true,
+ hasSettings:true,
+ id:"comments",
+ img:"/devwidgets/comments/images/comments.png",
+ name:"Comments",
+ showinsakaigoodies:true,
+ siteportal:true,
+ url:"/devwidgets/comments/comments.html"
},
- discussion :
- {
- description:"Discussion widget\r\n",
- iframe:0,
- url:"/devwidgets/discussion/discussion.html",
- name:"Discussion",
+ createsite: {
+ description:"Create site",
+ name:"Create Site",
+ id:"createsite",
+ i18n: {
+ "default": "/devwidgets/createsite/bundles/default.json",
+ "zh_CN": "/devwidgets/createsite/bundles/zh_CN.json"
+ },
+ url:"/devwidgets/createsite/createsite.html"
+ },
+ discussion: {
+ ca:true,
+ description:"Discussion widget",
id:"discussion",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
img:"/devwidgets/discussion/images/discussion.png",
i18n: {
"default": "/devwidgets/discussion/bundles/default.json",
"en_US": "/devwidgets/discussion/bundles/en_US.json",
"zh_CN": "/devwidgets/discussion/bundles/zh_CN.json"
- }
+ },
+ name:"Discussion",
+ showinsakaigoodies:true,
+ url:"/devwidgets/discussion/discussion.html"
},
- filepicker :
- {
- description:"Pick a file.\r\n",
- iframe:0,
- url:"/devwidgets/pickers/filepicker.html",
+ footer: {
+ description:"Dynamic Footer with Debug Info",
+ i18n: {
+ "default": "/devwidgets/footer/bundles/default.json",
+ "en_US": "/devwidgets/footer/bundles/en_US.json",
+ "zh_CN": "/devwidgets/footer/bundles/zh_CN.json"
+ },
+ id:"footer",
+ name:"Dynamic Footer",
+ url:"/devwidgets/footer/footer.html"
+ },
+ filepicker: {
+ description:"Pick a file.",
name:"File",
id:"filepicker",
- personalportal:0,
- siteportal:0,
+ img:"/devwidgets/discussion/images/discussion.png",
hasSettings: true,
- ca:0,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/discussion/images/discussion.png"
+ showinsakaigoodies:true,
+ url:"/devwidgets/pickers/filepicker.html"
},
- folderpicker :
- {
- description:"Pick a folder.\r\n",
- iframe:0,
- url:"/devwidgets/pickers/folderpicker.html",
- name:"Folder",
+ folderpicker: {
+ description:"Pick a folder.",
+ hasSettings:false,
id:"folderpicker",
- personalportal:0,
- siteportal:0,
- hasSettings:0,
- ca:0,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/discussion/images/discussion.png"
- },
- tagpicker :
- {
- description:"Pick a tag.\r\n",
- iframe:0,
- url:"/devwidgets/pickers/tagpicker.html",
- name:"Tag",
- id:"tagpicker",
- personalportal:0,
- siteportal:0,
- ca:0,
- showinmedia:0,
- showinsakaigoodies:0,
- img:"/devwidgets/discussion/images/discussion.png"
- },
- poll :
- {
- description:"Poll widget\r\n",
- iframe:0,
- url:"/devwidgets/poll/poll.html",
- name:"Poll",
- id:"poll",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/poll/images/poll.png"
- },
- quiz :
- {
- description:"Quiz widget\r\n",
- iframe:0,
- url:"/devwidgets/quiz/quiz.html",
- name:"Quiz",
- id:"quiz",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/quiz/images/quiz.png"
- },
- wookiechat :
- {
- description:"wookiechat\r\n",
- iframe:0,
- url:"/devwidgets/wookiechat/wookiechat.html",
- name:"Chat",
- id:"wookiechat",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:0,
- img:"/devwidgets/wookiechat/images/wookiechat.png"
- },
- wookieforum :
- {
- description:"wookieforum\r\n",
- iframe:0,
- url:"/devwidgets/wookieforum/wookieforum.html",
- name:"Wookie Forum",
- id:"wookieforum",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:0,
- img:"/devwidgets/wookieforum/images/wookieforum.png"
- },
- helloworld :
- {
- description:"Sakai Hackathon Example\r\n",
- iframe:0,
- url:"/devwidgets/helloworld/helloworld.html",
- name:"Hello World",
- id:"helloworld",
- personalportal:0,
- siteportal:0,
- hasSettings: 1,
- img:"/dev/img/myprofile.png"
+ img:"/devwidgets/discussion/images/discussion.png",
+ name:"Folder",
+ showinsakaigoodies:true,
+ url:"/devwidgets/pickers/folderpicker.html"
},
- twitter :
- {
- description:"Twitter Widget\r\n",
- iframe:0,
- url:"/devwidgets/twitter/twitter.html",
- name:"Twitter",
- id:"twitter",
- personalportal:1,
- siteportal:0,
- hasSettings: 1,
- img:"/dev/img/myprofile.png",
+ googlemaps: {
+ ca:true,
+ description:"Google maps",
i18n: {
- "default": "/devwidgets/twitter/bundles/default.json",
- "en_US": "/devwidgets/twitter/bundles/en_US.json",
- "zh_CN": "/devwidgets/twitter/bundles/zh_CN.json"
- }
- },
- helloworldwow :
- {
- description:"GWT Widget Example\r\n",
- iframe:0,
- url:"/devwidgets/helloworldwow/war/Helloworldwow.html",
- name:"Hello World GWT",
- id:"helloworldwow",
- personalportal:0,
- siteportal:0,
- hasSettings: 1,
- img:"/dev/img/myprofile.png",
- gwt: 1
+ "default": "/devwidgets/googlemaps/bundles/default.json",
+ "en_US": "/devwidgets/googlemaps/bundles/en_US.json",
+ "zh_CN": "/devwidgets/googlemaps/bundles/zh_CN.json"
+ },
+ id:"googlemaps",
+ img:"/devwidgets/googlemaps/images/googlemaps.png",
+ name:"Googlemaps",
+ showinsakaigoodies:true,
+ url:"/devwidgets/googlemaps/googlemaps.html"
},
- createsite :
- {
- description:"Create site\r\n",
- iframe:0,
- url:"/devwidgets/createsite/createsite.html",
- name:"Create Site",
- id:"createsite",
- personalportal:0,
- siteportal:0,
- img:"/dev/img/sites.png"
+ helloworld: {
+ description:"Sakai Hackathon Example",
+ hasSettings:true,
+ id:"helloworld",
+ img:"/dev/img/myprofile.png",
+ name:"Hello World",
+ url:"/devwidgets/helloworld/helloworld.html"
},
- sendmessage :
- {
- description:"Send a message\r\n",
- iframe:0,
- url:"/devwidgets/sendmessage/sendmessage.html",
- name:"Send a message",
- id:"sendmessage",
- personalportal:0,
- siteportal:0,
- img:"/dev/img/sites.png"
+ helloworldwow: {
+ description:"GWT Widget Example",
+ gwt:true,
+ hasSettings:true,
+ id:"helloworldwow",
+ img:"/dev/img/myprofile.png",
+ name:"Hello World GWT",
+ url:"/devwidgets/helloworldwow/war/Helloworldwow.html"
},
- myfriends :
- {
- description:"A list of my connections\r\n",
- iframe:0,
- url:"/devwidgets/myfriends/myfriends.html",
- name:"My Contacts",
+ myfriends: {
+ description:"A list of my connections",
+ i18n: {
+ "default": "/devwidgets/myfriends/bundles/default.json",
+ "zh_CN": "/devwidgets/myfriends/bundles/zh_CN.json"
+ },
id:"myfriends",
- personalportal:1,
- siteportal:0,
img:"/dev/img/myprofile.png",
- multipleinstance: false
+ multipleinstance: false,
+ name:"My Contacts",
+ personalportal:true,
+ url:"/devwidgets/myfriends/myfriends.html"
},
- pagemanagement :
- {
- description:"pagemanagement",
- iframe:0,
- url:"/devwidgets/pagemanagement/pagemanagement.html",
- name:"pagemanagement",
- id:"pagemanagement",
- personalportal:0,
- siteportal:0
- },
- mypreferences :
- {
- description:"mypreferences",
- iframe:0,
- url:"/devwidgets/mypreferences/mypreferences.html",
- name:"mypreferences",
- id:"mypreferences",
- personalportal:0,
- siteportal:0
- },
- myinbox :
- {
- description:"myinbox",
- iframe:0,
- url:"/devwidgets/myinbox/myinbox.html",
- name:"myinbox",
- id:"myinbox",
- personalportal:0,
- siteportal:0
- },
- navigationchat :
- {
+ myprofile: {
+ description:"My Personal Profile",
+ name:"My Profile",
+ id:"myprofile",
+ personalportal:true,
+ img:"/dev/img/myprofile.png",
+ i18n: {
+ "default": "/devwidgets/myprofile/bundles/default.json",
+ "en_US": "/devwidgets/myprofile/bundles/en_US.json",
+ "zh_CN": "/devwidgets/myprofile/bundles/zh_CN.json"
+ },
+ url:"/devwidgets/myprofile/myprofile.html"
+ },
+ navigation: {
+ ca:true,
+ description:"Navigation Widgets",
+ hasSettings: false,
+ id:"navigation",
+ img:"/devwidgets/navigation/images/icon.png",
+ name:"Navigation",
+ showinsidebar:true,
+ url:"/devwidgets/navigation/navigation.html"
+ },
+ navigationchat: {
description:"navigationchat",
- iframe:0,
- url:"/devwidgets/navigationchat/navigationchat.html",
- name:"navigationchat",
- id:"navigationchat",
- personalportal:0,
- siteportal:0,
i18n: {
"default": "/devwidgets/navigationchat/bundles/default.json",
"en_US": "/devwidgets/navigationchat/bundles/en_US.json",
"zh_CN": "/devwidgets/navigationchat/bundles/zh_CN.json"
- }
+ },
+ id:"navigationchat",
+ name:"navigationchat",
+ url:"/devwidgets/navigationchat/navigationchat.html"
},
- filemanager :
- {
- description:"filemanager",
- iframe:0,
- url:"/devwidgets/filemanager/filemanager.html",
- name:"filemanager",
- id:"filemanager",
- personalportal:0,
- siteportal:0
- },
- siterecentactivity :
- {
- description:"Site Recent Activity",
- iframe:0,
- url:"/devwidgets/siterecentactivity/siterecentactivity.html",
- name:"Recent Activity",
- id:"siterecentactivity",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinsidebar: 1,
- hasSettings: false,
- img:"/devwidgets/siterecentactivity/images/icon.png"
+ poll: {
+ ca:true,
+ description:"Poll widget",
+ id:"poll",
+ img:"/devwidgets/poll/images/poll.png",
+ name:"Poll",
+ showinsakaigoodies:true,
+ url:"/devwidgets/poll/poll.html"
},
- navigation :
- {
- description:"Navigation Widgets",
- iframe:0,
- url:"/devwidgets/navigation/navigation.html",
- name:"Navigation",
- id:"navigation",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinsidebar: 1,
- hasSettings: false,
- img:"/devwidgets/navigation/images/icon.png"
+ quiz: {
+ ca:true,
+ description:"Quiz widget",
+ id:"quiz",
+ img:"/devwidgets/quiz/images/quiz.png",
+ name:"Quiz",
+ showinsakaigoodies:true,
+ url:"/devwidgets/quiz/quiz.html"
},
- youtubevideo :
- {
- description:"YouTube Video",
- iframe:0,
- url:"/devwidgets/youtubevideo/youtubevideo.html",
- name:"YouTube Video",
- id:"youtubevideo",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:0,
- img:"/devwidgets/youtubevideo/images/video.png"
- },
- tlrp :
- {
- description:"TLRP BERA Widget",
- iframe:0,
- url:"/devwidgets/tlrp/tlrp.html",
- name:"TLRP BERA",
- id:"tlrp",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/tlrp/images/tlrp.png"
- },
- rss :
- {
+ remotecontent: {
+ ca:true,
+ description:"Remote Content",
+ id:"remotecontent",
+ img:"/devwidgets/remotecontent/images/remotecontent.png",
+ name:"Remote Content",
+ showinsakaigoodies:true,
+ url:"/devwidgets/remotecontent/remotecontent.html"
+ },
+ rss: {
+ ca:true,
description:"RSS Feed Reader",
- iframe:0,
- url:"/devwidgets/rss/rss.html",
- name:"RSS Feed",
+ hasSettings:true,
id:"rss",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
img:"/devwidgets/rss/images/rss.png",
- hasSettings: 1
+ name:"RSS Feed",
+ showinsakaigoodies:true,
+ url:"/devwidgets/rss/rss.html"
},
- sitemembers :
- {
+ s23courses: {
+ description:"Your courses & sites for Sakai2",
+ id:"s23courses",
+ name:"Sakai 2 Courses & Projects",
+ personalportal:true,
+ url:"/devwidgets/s23/s23courses/s23courses.html"
+ },
+ sendmessage: {
+ description:"Send a message",
+ i18n: {
+ "default": "/devwidgets/sites/bundles/default.json",
+ "zh_CN": "/devwidgets/sites/bundles/zh_CN.json"
+ },
+ id:"sendmessage",
+ name:"Send a message",
+ url:"/devwidgets/sendmessage/sendmessage.html"
+ },
+ sitemembers: {
+ ca:true,
description:"List of site members",
- iframe:0,
- url:"/devwidgets/sitemembers/sitemembers.html",
- name:"Site members",
+ hasSettings:true,
id:"sitemembers",
- personalportal:0,
- siteportal:1,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
img:"/devwidgets/sitemembers/images/sitemembers.png",
- hasSettings: 1
+ showinsakaigoodies:true,
+ siteportal:true,
+ name:"Site members",
+ url:"/devwidgets/sitemembers/sitemembers.html"
},
- video :
- {
- description:"Video",
- iframe:0,
- url:"/devwidgets/video/video.html",
- name:"Video",
- id:"video",
- personalportal:0,
- hasSettings:1,
- siteportal:0,
- ca:1,
- showinmedia:1,
- showinsakaigoodies:0,
- img:"/devwidgets/video/images/video.png"
- },
- comments :
- {
- description:"Comments",
- iframe:0,
- url:"/devwidgets/comments/comments.html",
- name:"Comments",
- id:"comments",
- personalportal:0,
- siteportal:1,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- hasSettings:1,
- img:"/devwidgets/comments/images/comments.png"
- },
- remotecontent :
- {
- description:"Remote Content",
- iframe:0,
- url:"/devwidgets/remotecontent/remotecontent.html",
- name:"Remote Content",
- id:"remotecontent",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/remotecontent/images/remotecontent.png"
- },
- linktool :
- {
- description:"Link Tool",
- iframe:0,
- url:"/devwidgets/linktool/linktool.html",
- name:"Link Tool",
- id:"linktool",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:0,
- img:"/devwidgets/linktool/images/linktool.png"
- },
- footer :
- {
- description:"Dynamic Footer with Debug Info",
- iframe:0,
- url:"/devwidgets/footer/footer.html",
- name:"Dynamic Footer",
- id:"footer",
- personalportal:0,
- siteportal:0,
- siteportal:0,
+ siterecentactivity: {
+ ca:true,
+ description:"Site Recent Activity",
+ hasSettings: false,
+ id:"siterecentactivity",
+ img:"/devwidgets/siterecentactivity/images/icon.png",
+ name:"Recent Activity",
+ showinsidebar:true,
+ url:"/devwidgets/siterecentactivity/siterecentactivity.html"
+ },
+ sites: {
+ description:"Listing of the sites I'm a member of",
i18n: {
- "default": "/devwidgets/footer/bundles/default.json",
- "en_US": "/devwidgets/footer/bundles/en_US.json",
- "zh_CN": "/devwidgets/footer/bundles/zh_CN.json"
- }
+ "default": "/devwidgets/sites/bundles/default.json",
+ "en_US": "/devwidgets/sites/bundles/en_US.json",
+ "zh_CN": "/devwidgets/sites/bundles/zh_CN.json"
+ },
+ id:"sites",
+ name:"My Courses & Sites",
+ personalportal:true,
+ url:"/devwidgets/sites/sites.html"
},
- tangler :
- {
+ tangler: {
+ ca:true,
description:"Tangler Forum",
- iframe:0,
- url:"/devwidgets/tangler/tangler.html",
- name:"Tangler Forum",
id:"tangler",
- personalportal:0,
- siteportal:0,
- ca:1,
- showinmedia:0,
- showinsakaigoodies:1,
- img:"/devwidgets/tangler/images/tangler.png"
- },
- Resources :
- {
- description:"Resources tool",
- iframe:"0",
- url:"/devwidgets/Resources/Resources.html",
- name:"Resources",
- id:"resources",
- personalportal:0,
- siteportal:0,
- history : {"init":"Resources.initHistory","nav":"Resources.browser.printResources",tag:"Resources.tagging.showTagViewReal"}
+ img:"/devwidgets/tangler/images/tangler.png",
+ name:"Tangler Forum",
+ showinsakaigoodies:true,
+ url:"/devwidgets/tangler/tangler.html"
+ },
+ tagpicker: {
+ description:"Pick a tag.",
+ id:"tagpicker",
+ img:"/devwidgets/discussion/images/discussion.png",
+ name:"Tag",
+ url:"/devwidgets/pickers/tagpicker.html"
+ },
+ twitter: {
+ description:"Twitter Widget",
+ hasSettings:true,
+ i18n: {
+ "default": "/devwidgets/twitter/bundles/default.json",
+ "en_US": "/devwidgets/twitter/bundles/en_US.json",
+ "zh_CN": "/devwidgets/twitter/bundles/zh_CN.json"
+ },
+ id:"twitter",
+ img:"/dev/img/myprofile.png",
+ name:"Twitter",
+ personalportal:true,
+ url:"/devwidgets/twitter/twitter.html"
+ },
+ video: {
+ ca:true,
+ description:"Video",
+ hasSettings:true,
+ id:"video",
+ img:"/devwidgets/video/images/video.png",
+ name:"Video",
+ showinmedia:true,
+ url:"/devwidgets/video/video.html"
+ },
+ wookiechat: {
+ ca:true,
+ description:"wookiechat",
+ name:"Chat",
+ id:"wookiechat",
+ img:"/devwidgets/wookiechat/images/wookiechat.png",
+ url:"/devwidgets/wookiechat/wookiechat.html"
+ },
+ wookieforum: {
+ ca:true,
+ description:"wookieforum",
+ id:"wookieforum",
+ img:"/devwidgets/wookieforum/images/wookieforum.png",
+ name:"Wookie Forum",
+ url:"/devwidgets/wookieforum/wookieforum.html"
+ },
+ youtubevideo: {
+ ca:true,
+ description:"YouTube Video",
+ id:"youtubevideo",
+ img:"/devwidgets/youtubevideo/images/video.png",
+ name:"YouTube Video",
+ url:"/devwidgets/youtubevideo/youtubevideo.html"
}
},
orders:[
@@ -616,4 +388,4 @@ var Widgets = {
layout: "fourcolumn"
}
]
-};
+};
View
35 devwidgets/camtoolscourses/camtoolscourses.html
@@ -1,35 +0,0 @@
-<!-- CSS -->
-<link type="text/css" href="/dev/_css/sakai/sakai.components.jq_pager.css" />
-<link type="text/css" href="/devwidgets/camtoolscourses/css/camtoolscourses.css" />
-
-<div id="camtoolscourses_container" class="fl-widget-content" style="display:none;">
- <h3>My Courses and Projects</h3>
- <div id="camtoolscourses_subcontainer">
- <!-- -->
- </div>
- <div id="contentmedia_paging" class="jq_pager"></div>
-</div>
-
-<div id="camtoolscourses_container_template"><!--
- {if all && all.length > 0}
- <div id="camtoolscourses_list_all">
- <ul>
- {for i in all}
- <li{if i.favourite} class="camtoolscourses_favourite" {/if}><a href="${i.url}" target="_blank">${i.title}</a></li>
- {/for}
- </ul>
- </div>
- {else}
- <p class="camtoolscourses_content">
- You have no courses/projects available in Camtools 2008.
- </p>
- {/if}
---></div>
-
-<!-- FOOTER LINKS -->
-<div class="fl-widget-no-options fl-fix">
- <div class="widget-no-options-inner"><!-- --></div>
-</div>
-
-<!-- JAVASCRIPT -->
-<script type="text/javascript" language="JavaScript" src="/devwidgets/camtoolscourses/javascript/camtoolscourses.js"></script>
View
59 devwidgets/camtoolscourses/css/camtoolscourses.css
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Sakai Foundation (SF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The SF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-/* Paragraphs */
-#camtoolscourses_container p {
- margin: 13px 13px 0;
-}
-
-/* Headers */
-#camtoolscourses_container h3 {
- clear: both;
- color: #666;
- font-size: 1.1em;
- font-weight: normal;
- margin: 7px 13px 13px;
-}
-
-/* List */
-#camtoolscourses_subcontainer ul {
- float: left;
- margin-bottom: .7em;
- width: 100%;
-}
-
-#camtoolscourses_subcontainer ul li {
- background: url('/dev/_images/folder_icon.png') 11px 5px no-repeat;
- border-bottom: 1px solid #ccc;
- list-style: none;
- margin: 0;
- padding: 5px 5px 5px 40px;
-}
-
-#camtoolscourses_subcontainer ul li.camtoolscourses_favourite {
- background: url('/dev/_images/contentmedia_bookmark.png') 12px 5px no-repeat;
-}
-
-#camtoolscourses_subcontainer ul li a {
- color: #006E96;
- display: block;
- font-size: 1em;
- font-weight: bold;
-}
-
-
View
202 devwidgets/camtoolscourses/javascript/camtoolscourses.js
@@ -1,202 +0,0 @@
-/*
- * Licensed to the Sakai Foundation (SF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The SF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-/*global $, sdata, Config */
-
-var sakai = sakai || {};
-
-sakai.camtoolscourses = function(tuid, placement, showSettings){
-
- Config.URL.CAMTOOLS_MCP_URL = "/var/proxy/sakai2/mcp.json";
- Config.URL.CAMTOOLS_MCPFAVOURITE_URL = "/var/proxy/sakai2/mcp_favourite.json";
-
-
- /////////////////////////////
- // Configuration variables //
- /////////////////////////////
-
- var rootel = $("#" + tuid);
-
- // Paging
- var pageCurrent = 0; // The page you are currently on
- var pageSize = 10; // How many items you want to see on 1 page
-
- var globalfeed = false;
- var favouritefeed = false;
-
- var parseglobal = false;
- var parsenormal = [];
- var parsefavourites = [];
-
- // CSS selectors
- var camtoolscoursesId = "#camtoolscourses";
- var $camtoolscoursesContainer = $(camtoolscoursesId + "_container");
- var $camtoolscoursesSubcontainer = $(camtoolscoursesId + "_subcontainer");
- var jqPagerClass = ".jq_pager";
-
- // Templates
- var camtoolscoursesContainerTemplate = "camtoolscourses_container_template";
-
-
- ///////////////////////////
- // General functionality //
- ///////////////////////////
-
- /**
- * Parse the templates with JST
- */
- var parseTemplates = function(){
-
- // Make an array that contains only the elements that will appear on one page
- var pagingArray = {
- all: parseglobal.all.slice(pageCurrent * pageSize, (pageCurrent * pageSize) + pageSize)
- };
-
- // Render the template and pass through the parseglobal object
- $.Template.render(camtoolscoursesContainerTemplate, pagingArray, $camtoolscoursesSubcontainer);
-
- //
- if(parseglobal.all.length >= pageSize){
- // Render paging
- renderPaging();
- }
- };
-
- /**
- * Split the global feed into normal and favourited projects
- */
- var splitGlobalFeed = function(){
- if(favouritefeed && favouritefeed.items && favouritefeed.items.length > 0){
- for(var i = 0, j = globalfeed.items.length; i < j; i++) {
- if($.inArray(globalfeed.items[i].id, favouritefeed.items) !== -1){
- globalfeed.items[i].favourite = true;
- parsefavourites.push(globalfeed.items[i]);
- }else{
- globalfeed.items[i].favourite = false;
- parsenormal.push(globalfeed.items[i]);
- }
- }
- }else{
- if(globalfeed){
- for(var k = 0, l = globalfeed.items.length; k < l; k++) {
- globalfeed.items[k].favourite = false;
- parsenormal.push(globalfeed.items[k]);
- }
- }
- }
-
- // Set the parse global object
- parseglobal = {
- all: $.merge(parsefavourites, parsenormal)
- };
-
- // Parse the template with the new modified feeds
- parseTemplates();
-
- // Show the container for the courses and projects
- $camtoolscoursesContainer.show();
- };
-
-
- ////////////
- // Paging //
- ////////////
-
- /**
- * Will be called when the pager is being clicked.
- * This will initiate a new search query and rerender
- * the current files
- * @param {Object} clickedPage
- */
- var doPaging = function(clickedPage){
- pageCurrent = clickedPage - 1;
- parseTemplates();
- };
-
- /**
- * Render the paging of the courses and projects widget
- */
- var renderPaging = function(){
- // Render paging
- $(jqPagerClass).pager({
- pagenumber: pageCurrent + 1,
- pagecount: Math.ceil(parseglobal.all.length / pageSize),
- buttonClickCallback: doPaging
- });
- };
-
-
- ////////////////////////
- // Init functionality //
- ////////////////////////
-
- /**
- * Get the favourite courses and projects for the current user
- */
- var getFavouriteCoursesAndProjects = function(){
- $.ajax({
- url: Config.URL.CAMTOOLS_MCPFAVOURITE_URL,
- success: function(data){
-
- /** TODO replace with $.evalJSON. The problem is that this doesn'work
- * with the latest Firefox build-in parser. The line beneath is against
- * everything I stand for, but it was to only way to make it work. The
- * output of Camtools 2008 code is simply not valid JSON.
- */
- favouritefeed = eval('(' + data + ')');
- splitGlobalFeed();
- },
- error: function(xhr, textStatus, thrownError) {
- splitGlobalFeed();
- },
- cache: false
- });
- };
-
- /**
- * Get the courses and projects for the user that is logged in.
- * This function sends a request to the proxy server that will then send a request to camtools.
- * Since there is single signon functionality, the user is automatically logged into camtools.
- */
- var getCoursesAndProjects = function(){
- $.ajax({
- url: Config.URL.CAMTOOLS_MCP_URL,
- success: function(data){
- globalfeed = $.evalJSON(data);
- getFavouriteCoursesAndProjects();
- },
- error: function(xhr, textStatus, thrownError) {
- fluid.log("Camtoolscourses: Could not receive the courses and projects from the server.");
- },
- cache: false
- });
- };
-
- /**
- * Execute this function when the widget get launched
- */
- var doInit = function(){
-
- // Get the courses and projects for the current user
- getCoursesAndProjects();
- };
-
- doInit();
-};
-
-sdata.widgets.WidgetLoader.informOnLoad("camtoolscourses");
View
280 devwidgets/filemanager/css/filemanager.css
@@ -1,280 +0,0 @@
-/*
- * Licensed to the Sakai Foundation (SF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The SF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-/* General */
-.filemanager_hidden {
- display: none;
-}
-.filemanager_disabled {
- color: #eee;
-}
-
-/* Drag / Drop */
-.filemanager_drag_tooltip {
- background: #fff;
- border: 1px solid #ccc;
- padding: 1px;
-}
-.filmanager_drop_hover {
- background: #fff68f !important;
-}
-.filmanager_drop_active {
- color: #ccc;
-}
-
-/* Bar */
-#filemanager_bar_top {
- margin: 50px auto 0px;
- width: 1150px;
-}
-
-#filemanager_bar_top_left {
- background: url(/devwidgets/filemanager/images/titlebar_left.png) top left no-repeat;
- height: 40px;
- line-height: 40px;
- color: #fff;
- float: left;
- width: 1140px;
-}
-
-#filemanager_bar_top_right {
- background: url(/devwidgets/filemanager/images/titlebar_right.png) top right no-repeat;
- margin-left:20px;
- margin-right:-10px;
-}
-
-#filemanager_bar_right {
- float: right;
- margin-right: 20px;
-}
-
-#filemanager_main_right {
- margin-left: 270px;
- background-color: #FFF;
-}
-
-/* Actions */
-#filemanager_actions_edit, #filemanager_actions_remove {
- padding-left: 20px;
- margin: 0 10px;
-}
-
-#filemanager_actions_edit {
- background: url(/devwidgets/filemanager/images/button_edit.png) center left no-repeat;
-}
-
-#filemanager_actions_remove {
- background: url(/devwidgets/filemanager/images/button_remove.png) center left no-repeat;
-
-}
-
-/* Close */
-#filemanager_close {
- float: right;
- padding: 18px;
- margin-top: -10px;
-}
-
-#filemanager_close img {
- cursor: pointer;
- cursor: hand;
-}
-
-/* Pop up */
-#filemanager_popup_content_middle {
- background-color: #FFF;
- width: 1144px;
- height: 510px;
- margin: 0px auto 50px;
- border: 3px solid #454a4f;
- clear: both;
-}
-
-#filemanager_popup_content {
- display: none;
- z-index: 1001;
- position: absolute;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
-}
-
-#filemanager_popup_content td {
- border: none;
- padding-left: 20px;
-}
-
-/* Accordion */
-#filemanager_accordion {
- background-color: #fff;
- width: 250px;
- float: left;
- height: 100%;
- border-right: 1px solid #454a4f
-}
-
-#filemanager_accordion .ui-accordion-header {
- background: #ccc;
- border-bottom: 1px solid #aaa;
- display: block;
- font-size: 1em;
- padding: 0.5em;
-}
-
-#filemanager_accordion .ui-accordion-content {
- border-bottom: 1px solid #ccc;
- padding: 0.5em;
-}
-
-.filemanager_accordion_list_top, .filemanager_accordion_list_tag_top {
- margin: 3.5px 0 8.5px 0;
-}
-
-.filemanager_accordion_list_top a, .filemanager_accordion_list a {
- display: block;
- padding: 2px;
-}
-
-#filemanager_accordion a:hover, #filemanager_accordion .filemanager_selecteditem {
- background-color: #ddd;
-}
-
-.filemanager_accordion_list_tag_top {
- text-align: center;
-}
-
-/* Search */
-#filemanager_search .input {
- border:1px solid #ddd;
- color:#666;
- display:block;
- float:left;
- font-size:1.1em;
- font-style:italic;
- height:19px;
- margin:0 5px;
- padding-left:5px;
- padding-top:2px;
- width:219px;
-}
-#filemanager_search .selected {
- color:#000;
- font-style:normal;
-}
-
-/* List */
-.filemanager_list_heading {
- color: #454A4F;
- margin: 5px 0;
-}
-.filemanager_list_heading_main {
- font-size: 1.6em;
- font-weight: bold;
- margin-top: 15px;
-}
-
-/* Files Container */
-#filemanager_files_container {
- margin: 20px 20px 20px 0;
-}
-
-/* File / Fileinfo */
-.filemanager_file {
- float: left;
- width: 125px;
- overflow: hidden;
- text-align: center;
- padding: 15px;
- margin-right: 10px;
- border: 2px solid #fff;
- height: 100px;
- position: relative;
-}
-
-.filemanager_file img {
- width: 50px;
-}
-
-.filemanager_file_selected {
- border: 2px solid #000 !important;
-}
-
-.filemanager_file .filemanager_file_name {
- text-align: center;
- padding-top: 5px;
-}
-
-.filemanager_fileinfo {
- background: #eee;
- display: none;
- padding: 0.5em;
- position: absolute;
- z-index: 1000;
-}
-.filemanager_fileinfo p {
- margin: 0;
-}
-
-/* Files paging */
-#filemanager_paging {
- clear: both;
- position: relative;
- top: -35px;
- height: 0px;
- text-align: center;
-}
-
-/* Dialog */
-.filemanager_dialog_body {
- margin: 6px;
-}
-.filemanager_dialog_body form {
- padding: 4px;
-}
-.filemanager_dialog_body input {
- margin: 5px 0;
-}
-#filemanager_dialog_associations_move_container {
- float: left;
-}
-.filemanager_dialog_associations_move {
- display: block;
- font-size: 1.2em;
- margin-top: 36px;
- padding: 0.5em;
-}
-.filemanager_dialog_associations_move:hover {
- background: #fff;
-}
-.filemanager_dialog_associations_select_container{
- float: left;
- margin: 8px;
-}
-.filemanager_dialog_associations_select_container select {
- width: 200px;
-}
-
-#filemanager_dialog_remove_list {
- background: #fff;
- height:150px;
- margin:8px 0;
- overflow-x:hidden;
- overflow-y:auto;
- padding:5px;
-}
View
475 devwidgets/filemanager/css/uploader.css
@@ -1,475 +0,0 @@
-/*
- * Licensed to the Sakai Foundation (SF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The SF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-.fl-uploader {
- width: 237px;
- position: relative;
- display: block;
- clear: both;
-}
-
-.fl-uploader-manually-degrade, .fl-uploader-manually-enhance {
- display: block;
- width: 237px;
- clear: both;
- float: none;
- text-align: center;
-}
-
-/* Deprecated: fl-ProgEnhanced-* */
-.fl-ProgEnhance-basic div input {
- margin-top: 0.6em;
-}
-.fl-ProgEnhance-enhanced {
- display: none;
-}
-/* New Syntax: fl-progEnhanced-* */
-.fl-progEnhance-basic div input {
- margin-top: 0.6em;
-}
-
-.fl-progEnhance-enhanced {
- display: none;
-}
-
-.fl-uploader td, .fl-uploader th {
- border: none;
-}
-
-.fl-uploader table {
- border-collapse: separate;
- margin: 0;
-}
-
-.fl-uploader form {
- height: auto !important;
-}
-
-.fl-uploader button {
- background-color: #4F99D3;
- border-color: #2A3990;
- border-width: 1px;
- border-style: solid;
- font-weight: bolder;
- font-size: 1.06em;
- color: #FFF;
- height: 32px;
- padding-left: 2em;
- padding-right: 2em;
- margin-right: 1em;
- outline: none;
- cursor: pointer;
-}
-
-.fl-uploader button:focus, .fl-uploader button.focus {
- outline: 2px solid #142B8C;
-}
-
-.fl-uploader button:hover {
- background-color: #115F8F;
-}
-
-.fl-uploader button.fl-uploader-button-default {
- background-color: #74B74A;
- border-color: #006838;
-}
-
-.fl-uploader button.fl-uploader-button-default:hover {
- background-color: #519325;
- border-color: #142B8C;
-}
-
-.fl-uploader button.fl-uploader-button-cancel {
- background-color: #D03E4F;
- border-color: #BF1E2D;
-}
-
-.fl-uploader button.fl-uploader-button-cancel:hover {
- background-color: #9E182B;
- border-color: #142B8C;
-}
-
-.fl-uploader button.fl-uploader-dim {
- background-color: #999;
- border-color: #666666;
-}
-
-.fl-uploader button.fl-uploader-dim:hover {
- background-color: #999;
- border-color: #666666;
-}
-
-.fl-uploader button span.text-description {
- display: none;
-}
-
-.fl-uploader a.fl-uploader-browse {
- background-image: url(../images/add.png);
- background-attachment: scroll;
- background-repeat: no-repeat;
- background-position: 5px center;
- padding: 4px 7px 4px 26px;
- border: none;
- white-space: nowrap;
- color: #427ABE;
- font-weight: normal;
- cursor: pointer;
-}
-
-html>body .fl-uploader a.fl-uploader-browse {
- padding: 3px 6px 3px 25px;
- border: 1px solid transparent;
-}
-
-.fl-uploader a.fl-uploader-browse:hover {
- border: 1px solid #CCC;
- background-color: #FFF;
-}
-
-.fl-uploader a.fl-uploader-browse:focus, .fl-uploader a.fl-uploader-browse.focus {
- outline: 2px solid #142B8C;
- background-color: #FFF;
-}
-
-.fl-uploader .fl-uploader-browse-overlay {
- position: absolute;
- z-index: 1;
-}
-
-/* FILE QUEUE TABLE STYLES */
-
-/* caption */
-
-.fl-uploader-queue-wrapper caption {
- display: none;
-}
-
-/* header rows */
-
-.fl-uploader-queue-header {
- background-color: transparent;
- color: #666;
-}
-
-.fl-uploader-queue-header th {
- text-align: left;
- font-size: 0.94em;
- font-weight: normal;
- padding: 6px;
-}
-
-/* footer rows */
-
-.fl-uploader-queue-footer {
- position: relative;
- background-color: #E6E6E6;
- border: 1px solid #999;
-}
-
-.fl-uploader-queue-footer table {
- width: 100%;
- position:relative;
- z-index:6;
-}
-
-.fl-uploader-queue-footer td {
- padding: 8px 6px;
- vertical-align: middle;
- font-size: 1.07em;
- font-weight: bolder;
- color: #666;
-}
-
-.fl-uploader-footer-buttons {
- text-align: right;
-}
-
-/* tbody */
-
-.fl-scroller {
- display: block;
- position: relative;
- background-color: white;
- overflow: auto;
- overflow-x: hidden;
- overflow-y: auto;
- border-width: 1px 1px 0;
- border-style: solid;
- border-color: #999;
-}
-
-.fl-scroller .fl-scroller-inner {
- position: relative;
- overflow: hidden;
-}
-
-.fl-uploader-queue {
- position: relative;
- font-size: 0.9em;
- color: #333;
- z-index: 6;
-}
-
-/* hidden from IE6 */
-html>body .fl-uploader-queue {
- width: 100%;
-}
-
-/* this style is here for debugging, if everything is working right the list items are focusable but the list not. */
-.fl-uploader-queue:focus {
- border: 1px solid #142B8C;
-}
-
-.fl-uploader-queue tr:focus, .fl-uploader-queue tr.fl-uploader-file-focus {
- background-color: #FFF9DC;
-}
-
-.fl-uploader-queue tr {
- background-color: transparent;
-}
-
-/* second CSS selector is added only for IE6 */
-
-.fl-uploader-queue tr.fl-uploader-file-state-ready:hover, .fl-uploader-queue tr.fl-uploader-file-hover {
- background-color: #FFF9DC;
-}
-
-.fl-uploader-queue tr.fl-uploader-dim {
- color: #666;
-}
-
-.fl-uploader-queue td, .fl-uploader-queue th {
- text-align: left;
- padding: 3px 6px;
- border-bottom: 1px solid #BBCFDC;
-}
-
-.fl-uploader-queue-wrapper .fl-uploader-file-name {
- width: 112px;
- overflow: hidden;
-}
-
-.fl-uploader-queue-wrapper .fl-uploader-file-size {
- text-align: right;
- width: 4em;
- white-space: nowrap;
-}
-
-.fl-uploader-queue .fl-uploader-file-action {
- border: 1px solid transparent;
- height: 20px;
- width: 20px;
- overflow: hidden;
- background-color: transparent;
- background-attachment: scroll;
- background-repeat: no-repeat;
- background-position: 1px 1px;
- outline: 0;
- padding: 0;
- margin: 0;
- outline: none;
-}
-
-.fl-uploader-queue .fl-uploader-file-action:hover {
- border: 1px solid transparent;
- background-color: transparent;
- cursor: auto;
-}
-
-.fl-uploader-queue .fl-uploader-file-actions .fl-uploader-dim {
- border: 1px solid transparent;
- background-color: transparent;
- cursor: auto;
-}
-
-.fl-uploader-queue .fl-uploader-file-action-remove {
- background-image: url(../images/remove.png);
- cursor: pointer !important;
-}
-
-.fl-uploader-queue .fl-uploader-file-action-remove:hover, .fl-uploader-queue tr.fl-uploader-file-state-ready:focus .fl-uploader-file-action-remove, .fl-uploader-queue tr.focus .fl-uploader-file-action-remove {
- border: 1px solid #CCC;
- background-color: #FFF;
-}
-
-.fl-uploader-queue .fl-uploader-file-action-remove:focus, .fl-uploader-queue .fl-uploader-file-action-remove.focus {
- background-color: #4F99D3;
- outline: none;
-}
-
-.fl-uploader-queue .fl-uploader-file-state-uploaded th, .fl-uploader-queue tr.fl-uploader-file-state-uploaded th, .fl-uploader-queue tr.focus th {
- border-left: 4px solid #74B74A;
- color: #5E7A5E;
-}
-
-.fl-uploader-queue .fl-uploader-file-state-uploaded td {
- color: #5E7A5E;
-}
-
-.fl-uploader-queue .fl-uploader-file-state-uploaded .fl-uploader-file-action {
- background-image: url(../images/tick.png);
-}
-
-/* ERRORS
- *
- */
-
-.fl-uploader-queue .fl-uploader-file-state-error th {
- border-left: 4px solid #F5E392;
- background-color: #FCFBE6;
- border-bottom-width: 0;
-}
-
-.fl-uploader-queue .fl-uploader-file-state-error td {
- background-color: #FCFBE6;
- border-bottom-width: 0;
-}
-
-.fl-uploader-queue .fl-uploader-file-error td {
- background-color: #FCFBE6;
- border-left: 4px solid #F5E392;
- background-image: url(../images/error.png);
- background-position: 8px 2px;
- background-repeat: no-repeat;
- padding-bottom: 8px;
- padding-left: 32px;
-}
-
-.fl-uploader-queue-wrapper td.fl-uploader-file-actions, .fl-uploader-queue-wrapper th.fl-uploader-file-actions {
- white-space: nowrap;
- text-align: center;
-}
-
-.fl-uploader-queue td.fileStatus {
- white-space: nowrap;
-}
-
-.fl-uploader-queue-wrapper .fl-uploader-browse-instructions {
- background-color: #F0F9FF;
- color: #666;
- text-align: center;
- border-left: 1px solid #999;
- border-right: 1px solid #999;
- padding: 6px;
-}
-
-.fl-uploader-btns {
- margin-top: 1em;
-}
-
-.fl-uploader-btns .fl-uploader-upload, .fl-uploader-btns .fl-uploader-resume, .fl-uploader-btns .fl-uploader-pause {
- width: 8.4em;
-}
-
-.fl-uploader-btns .fl-uploader-done, .fl-uploader-btns .fl-uploader-cancel {
- width: 7.6em;
-}
-
-.fl-uploader-btns button {
- float: right;
- padding: 0;
-}
-
-button span.fl-uploader-button-text-hidden {
- display: none;
-}
-
-/* element states */
-
-.fl-uploader-disabled, .fl-uploader-dim {
- cursor: auto;
-}
-
-.fl-uploader-disabled {
- background-color: #CCC !important;
- border-color: #999 !important;
-}
-
-.fl-uploader-dim {
- opacity: 0.4;
- filter:alpha(opacity=40);
-}
-
-.fl-uploader-hidden {
- display: none;
-}
-
-.fl-uploader-hidden-templates {
- display: none;
-}
-
-
-/* PROGRESS */
-
-.fl-uploader-file-progress, .fl-uploader-total-progress-okay, .fl-uploader-total-progress-errored {
- position: absolute;
- display: none;
- background-attachment: scroll;
- background-position: bottom left;
- background-repeat: repeat-x;
- overflow: hidden;
- left: 0;
- z-index:4;
-}
-
-.fl-uploader-file-progress {
- background-image: url('../images/gradient-file-green.png');
- background-color: #D1D6DD;
- border-right: 1px solid #9FCE7F;
- width:76%;
-}
-
-.fl-uploader-file-progress .fl-uploader-file-progress-text {
- display: none;
-}
-
-.fl-uploader-total-progress-okay, .fl-uploader-total-progress-errored {
- top: 0;
- height: 100%;
- width:76%;
-}
-
-.fl-uploader-total-progress-okay {
- background-image: url('../images/gradient-total-green.png');
- border-right: 1px solid #9FCE7F;
- background-color: #BDBFC1;
-}
-
-.fl-uploader-total-progress-errored {
- background-image: url('../images/gradient-total-yellow.png');
- border-right: 1px solid #E8C81C;
- background-color: #F6ECA0;
-}
-
-/* Hidden SWF for Flash 9*/
-
-.fl-uploader-flash9-container {
- overflow: hidden;
- width: 1px;
- height: 1px;
-}
-
-/* an alternative way to hide the Uploader because of a bug in Opera,
- * described in FLUID-2789 */
-.hideUploaderForOpera {
- visibility: hidden;
- overflow: hidden;
- height: 0;
- width: 0;
- padding: 0;
-}
View
356 devwidgets/filemanager/filemanager.html
@@ -1,356 +0,0 @@
-<link type="text/css" href="/devwidgets/filemanager/css/filemanager.css"></link>
-<link type="text/css" href="/devwidgets/filemanager/css/uploader.css"></link>
-
-<div style="display:none; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; background-color: #000; opacity: 0.2; z-index: 1000" id="filemanager_overlay"></div>
-
-<div id="filemanager_popup_content" style="display:none;">
-
- <div id="filemanager_bar_top">
- <div id="filemanager_bar_top_left">
- <div id="filemanager_bar_top_right">
- Find, browse and manage files
- <div id="filemanager_close"><img src="/devwidgets/filemanager/images/titlebar_close.png" id="filemanager_close" alt="Close the pop-up"/></div>
- </div>
- </div>
- </div>
-
- <div id="filemanager_popup_content_middle">
- <div id="filemanager_drop_message"></div>
- <div id="filemanager_drop_message_template"><!--
- ${count}
- {if count == 1}
- file has
- {else}
- files have
- {/if}
- been added to
- {if kind == "tag"}
- the "${dropped}" tag.
- {else}
- "${dropped}"
- {/if}
- --></div>
- <!-- Accordion -->
- <div id="filemanager_accordion">
- <a href="javascript:;" title="Search for files">Search</a>
- <div id="filemanager_search">
- <form>
- <input type="text" value="Search for files ..." class="input" id="search_text"/>
- </form>
- </div>
-
- <a href="javascript:;" title="Browse by tag">Browse by tag</a>
- <div id="filemanager_accordion_list_tag">
- <div class="filemanager_accordion_list_tag_top">
- <a href="javascript:;">A</a> <a href="javascript:;">B</a> <a href="javascript:;">C</a> <a href="javascript:;">D</a>
- <a href="javascript:;">E</a> <a href="javascript:;">F</a> <a href="javascript:;">G</a> <a href="javascript:;">H</a> <a href="javascript:;">I</a>
- <a href="javascript:;">J</a> <a href="javascript:;">K</a> <a href="javascript:;">L</a> <a href="javascript:;">M</a> <a href="javascript:;">N</a>
- <a href="javascript:;">O</a> <a href="javascript:;">P</a> <a href="javascript:;">Q</a> <a href="javascript:;">R</a> <a href="javascript:;">S</a>
- <a href="javascript:;">T</a> <a href="javascript:;">U</a> <a href="javascript:;">V</a> <a href="javascript:;">W</a> <a href="javascript:;">X</a>
- <a href="javascript:;">Y</a> <a href="javascript:;">Z</a>
- </div>
-
- <div class="filemanager_accordion_list">
- <a href="javascript:;"><span>Animals</span> (1)</a>
- <a href="javascript:;"><span>Architecture</span> (12)</a>
- <a href="javascript:;"><span>Barcelona</span> (23)</a>
- <a href="javascript:;"><span>Car</span> (7)</a>
- <a href="javascript:;"><span>Flower</span> (11)</a>
- <a href="javascript:;"><span>India</span> (1)</a>
- <a href="javascript:;"><span>Live</span> (9)</a>
- <a href="javascript:;"><span>Music</span> (32)</a>
- <a href="javascript:;"><span>People</span> (2)</a>
- <a href="javascript:;"><span>Spring</span> (1)</a>
- <a href="javascript:;"><span>Sunset</span> (4)</a>
- <a href="javascript:;"><span>Travel</span> (92)</a>
- <a href="javascript:;"><span>Zoo</span> (1)</a>
- </div>
- </div>
-
- <a href="javascript:;" title="Browse by site">Browse by site</a>
- <div id="filemanager_accordion_list_site">
- <div class="filemanager_accordion_list filemanager_accordion_list_top">
- <a href="javascript:;" id="filemanager_accordion_list_site_all">All Files<span class="filemanager_hidden">/</span></a>
- <a href="javascript:;">All My Files<span class="filemanager_hidden">/_user/public/</span></a>
- <a href="javascript:;">All My Sites<span class="filemanager_hidden">/</span></a>
- <a href="javascript:;" id="filemanager_accordion_list_site_bookmarks">My Bookmarked Files<span class="filemanager_hidden">/</span></a>
- </div>
- <div class="filemanager_accordion_list">
- <a href="javascript:;">Biology 101</a>
- <a href="javascript:;">CARET</a>
- <a href="javascript:;">JISC Academic Networking</a>
- <a href="javascript:;">CamTools Best Practices</a>
- <a href="javascript:;">3A1 FM1 Eng: IIA 06_07</a>
- <a href="javascript:;">CARET Social</a>
- <a href="javascript:;">Demo site</a>
- <a href="javascript:;">March 09 seminar</a>
- <a href="javascript:;">MBA NotForProfit SIG</a>
- <a href="javascript:;">Robs Test Site</a>
- <a href="javascript:;">UCS CARET Liaison</a>
- <a href="javascript:;">Using a VLE</a>
- </div>
- </div>
-
- <a href="javascript:;" title="Upload new files">Upload new files</a>
- <div id="uploader-contents">
-
- <!-- This form will be progressively enhanced by the Fluid Uploader component. -->
- <form method="post" action="/sites/tests/_files" enctype="multipart/form-data" class="fl-uploader fl-progEnhance-basic">
- <p>Browse to upload a file.</p>
- <input name="filename" id="filemanager_uploader_basic_name" type="file" />
- <div><input type="submit" value="Upload"/></div>
- <span id="filemanager_uploader_basic_successful"></span>
- </form>
- <span id="filemanager_uploader_basic_successful_template"><!--
- The file: "${filename}" was uploaded succesfully.
- --></span>
- <!-- This is the markup for the Fluid Uploader component itself. -->
- <form class="flc-uploader fl-uploader fl-progEnhance-enhanced"
- method="get"
- enctype="multipart/form-data">
-
- <!-- The file queue -->
- <div class="fl-uploader-queue-wrapper">
-
- <!-- Top of the queue -->
- <div class="fl-uploader-queue-header">
- <table cellspacing="0" cellpadding="0" summary="Headers for the file queue.">
- <caption>File Upload Queue:</caption>
- <tr>
- <th scope="col" class="fl-uploader-file-name">File Name</th>
- <th scope="col" class="fl-uploader-file-size">Size&nbsp;&nbsp;</th>
- <th scope="col" class="fl-uploader-file-actions">&nbsp;</th>
- </tr>
- </table>
- </div>
-
- <!-- Scrollable view -->
- <div class="flc-scroller fl-scroller">
- <div class="fl-scroller-inner">
- <table cellspacing="0" class="flc-uploader-queue fl-uploader-queue" summary="Queue of files to upload.">
- <tbody>
- <!-- Rows will be rendered in here. -->
-
- <!-- Template markup for the file queue rows -->
- <tr class="flc-uploader-file-tmplt flc-uploader-file fl-uploader-hidden-templates">
- <th class="flc-uploader-file-name fl-uploader-file-name" scope="row">File Name Placeholder</th>
- <td class="flc-uploader-file-size fl-uploader-file-size">0 KB</td>
- <td class="fl-uploader-file-actions">
- <button type="button" class="flc-uploader-file-action fl-uploader-file-action" title="Remove File" tabindex="-1">
- <span class="fl-uploader-button-text fl-uploader-hidden">Remove file from queue</span>
- </button>
- </td>
- </tr>
-
- <!-- Template for the file error info rows -->
- <tr class="flc-uploader-file-error-tmplt fl-uploader-file-error fl-uploader-hidden-templates">
- <td colspan="3" class="flc-uploader-file-error"></td>
- </tr>
- </tbody>
- </table>
- <div class="flc-uploader-file-progressor-tmplt fl-uploader-file-progress"><span class="fl-uploader-file-progress-text fl-uploader-hidden">76%</span></div>
- </div>