소스 검색

HUE-358. Rename all instances of "CCS" to "Hue"

* CCS > Hue or, in some cases jframe
Aaron Newton 15 년 전
부모
커밋
04ce105231
100개의 변경된 파일491개의 추가작업 그리고 509개의 파일을 삭제
  1. 2 2
      apps/about/src/about/windmilltests.py
  2. 4 4
      apps/about/static/bootstrap.js
  3. 4 4
      apps/beeswax/src/beeswax/templates/beeswax_components.mako
  4. 9 9
      apps/beeswax/src/beeswax/templates/choose_delimiter.mako
  5. 4 4
      apps/beeswax/src/beeswax/templates/choose_file.mako
  6. 2 2
      apps/beeswax/src/beeswax/templates/configuration.mako
  7. 2 2
      apps/beeswax/src/beeswax/templates/confirm.html
  8. 25 25
      apps/beeswax/src/beeswax/templates/create_table_manually.mako
  9. 6 6
      apps/beeswax/src/beeswax/templates/define_columns.mako
  10. 12 12
      apps/beeswax/src/beeswax/templates/describe_table.mako
  11. 23 23
      apps/beeswax/src/beeswax/templates/execute.mako
  12. 2 2
      apps/beeswax/src/beeswax/templates/explain.mako
  13. 3 3
      apps/beeswax/src/beeswax/templates/header_footer.mako
  14. 1 1
      apps/beeswax/src/beeswax/templates/index.mako
  15. 4 4
      apps/beeswax/src/beeswax/templates/list_designs.mako
  16. 4 4
      apps/beeswax/src/beeswax/templates/list_history.mako
  17. 1 1
      apps/beeswax/src/beeswax/templates/load_table.mako
  18. 6 6
      apps/beeswax/src/beeswax/templates/my_queries.mako
  19. 1 1
      apps/beeswax/src/beeswax/templates/parameterization.mako
  20. 5 5
      apps/beeswax/src/beeswax/templates/show_tables.mako
  21. 2 2
      apps/beeswax/src/beeswax/templates/util.mako
  22. 11 11
      apps/beeswax/src/beeswax/templates/watch_results.mako
  23. 8 8
      apps/beeswax/src/beeswax/templates/watch_wait.mako
  24. 4 4
      apps/beeswax/static/bootstrap.js
  25. 33 33
      apps/beeswax/static/css/beeswax.css
  26. 25 25
      apps/beeswax/static/js/Source/Beeswax/Hue.Beeswax.js
  27. 1 1
      apps/beeswax/static/js/package.yml
  28. 8 8
      apps/filebrowser/src/filebrowser/static/bootstrap.js
  29. 20 20
      apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileBrowser.js
  30. 6 6
      apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileEditor.js
  31. 5 5
      apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileViewer.js
  32. 1 1
      apps/filebrowser/src/filebrowser/static/js/package.yml
  33. 3 3
      apps/filebrowser/src/filebrowser/templates/chmod.mako
  34. 5 5
      apps/filebrowser/src/filebrowser/templates/chown.mako
  35. 6 6
      apps/filebrowser/src/filebrowser/templates/display.mako
  36. 3 3
      apps/filebrowser/src/filebrowser/templates/edit.mako
  37. 4 4
      apps/filebrowser/src/filebrowser/templates/editor_components.mako
  38. 2 2
      apps/filebrowser/src/filebrowser/templates/fb_components.mako
  39. 1 1
      apps/filebrowser/src/filebrowser/templates/listdir.mako
  40. 1 1
      apps/filebrowser/src/filebrowser/templates/listdir_components.mako
  41. 3 3
      apps/filebrowser/src/filebrowser/templates/mkdir.mako
  42. 3 3
      apps/filebrowser/src/filebrowser/templates/move.mako
  43. 3 3
      apps/filebrowser/src/filebrowser/templates/rename.mako
  44. 1 1
      apps/filebrowser/src/filebrowser/templates/saveas.mako
  45. 3 3
      apps/filebrowser/src/filebrowser/templates/upload.mako
  46. 2 2
      apps/help/src/help/static/bootstrap.js
  47. 12 12
      apps/help/src/help/static/css/dv.css
  48. 4 4
      apps/help/src/help/static/js/Source/Help/Help.js
  49. 1 1
      apps/help/src/help/static/js/libs.json
  50. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/OOCSS.Bar.Paginator.html
  51. 4 4
      apps/jframegallery/src/jframegallery/templates/gallery/Refresh.with.params.mako
  52. 1 12
      apps/jframegallery/src/jframegallery/templates/gallery/art-button.html
  53. 0 7
      apps/jframegallery/src/jframegallery/templates/gallery/art-inputs.html
  54. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/check.all.or.none.html
  55. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/chooser.linker.html
  56. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/context-menu.html
  57. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/double.click-delegator.html
  58. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/filter.input.html
  59. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/fit.text.(table).html
  60. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.check.selected.html
  61. 4 4
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.configurable.columns.mako
  62. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.html
  63. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.keyboard.kids.html
  64. 5 5
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.multi-select.menu.html
  65. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.resizable.columns.html
  66. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.treeview.ajax.mako
  67. 16 16
      apps/jframegallery/src/jframegallery/templates/gallery/html-table.treeview.html
  68. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/partial_refresh.mako
  69. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/post-load.prompt.popup.html
  70. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/resizables.html
  71. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/select_with_other.mako
  72. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/show.and.hide.history.html
  73. 11 11
      apps/jframegallery/src/jframegallery/templates/gallery/sortables.html
  74. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/splitview.(vertical).html
  75. 4 4
      apps/jframegallery/src/jframegallery/templates/gallery/stand-alone.nav.buttons.html
  76. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/submit.form.on.change.html
  77. 3 3
      apps/jframegallery/src/jframegallery/templates/gallery/submit.link.html
  78. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/tabs-toolbar.html
  79. 4 4
      apps/jframegallery/src/jframegallery/templates/gallery/tabs.html
  80. 1 1
      apps/jframegallery/src/jframegallery/templates/gallery/tabs.yml
  81. 2 2
      apps/jframegallery/src/jframegallery/templates/gallery/tips.html
  82. 1 1
      apps/jframegallery/src/jframegallery/templates/source.mako
  83. 29 29
      apps/jframegallery/src/jframegallery/windmilltests.py
  84. 4 4
      apps/jframegallery/static/bootstrap.js
  85. 5 5
      apps/jframegallery/static/js/Source/JFrameGallery/Hue.JFrameGallery.js
  86. 1 1
      apps/jframegallery/static/js/package.yml
  87. 2 2
      apps/jobbrowser/src/jobbrowser/templates/attempt.mako
  88. 6 6
      apps/jobbrowser/src/jobbrowser/templates/job.mako
  89. 5 5
      apps/jobbrowser/src/jobbrowser/templates/jobs.mako
  90. 1 1
      apps/jobbrowser/src/jobbrowser/templates/jobs_dock_info.mako
  91. 2 2
      apps/jobbrowser/src/jobbrowser/templates/task.mako
  92. 5 5
      apps/jobbrowser/src/jobbrowser/templates/tasks.mako
  93. 1 1
      apps/jobbrowser/src/jobbrowser/templates/tasktrackers.mako
  94. 1 1
      apps/jobbrowser/src/jobbrowser/windmilltests.py
  95. 7 7
      apps/jobbrowser/static/bootstrap.js
  96. 22 22
      apps/jobbrowser/static/js/Source/JobBrowser/Hue.JobBrowser.Poller.js
  97. 5 5
      apps/jobbrowser/static/js/Source/JobBrowser/Hue.JobBrowser.js
  98. 1 1
      apps/jobbrowser/static/js/libs.json
  99. 1 1
      apps/jobbrowser/static/js/package.yml
  100. 1 1
      apps/jobsub/src/jobsub/templates/confirm.html

+ 2 - 2
apps/about/src/about/windmilltests.py

@@ -21,5 +21,5 @@ def test_launch_about_app():
     launches the about app
   """
   client = logged_in_client()
-  client.click(jquery='("img.ccs-swoosh")[0]')
-  client.waits.forElement(classname='CCS-ABOUT', timeout='2000')
+  client.click(jquery='("img.hue-swoosh")[0]')
+  client.waits.forElement(classname='Hue-ABOUT', timeout='2000')

+ 4 - 4
apps/about/static/bootstrap.js

@@ -13,12 +13,12 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	About : {
 		name: 'About Hue',
-		require: ['ccs-shared/CCS.JBrowser'],
+		require: ['hue-shared/Hue.JBrowser'],
 		launch: function(path, options){
-			return new CCS.JBrowser('/about/', $merge({
+			return new Hue.JBrowser('/about/', $merge({
 				displayHistory: false,
 				width: 350
 			}, options));
@@ -27,5 +27,5 @@ CCS.Desktop.register({
 });
 
 window.addEvent('domready', function(){
-	$$('img.ccs-swoosh')[0].addEvent('click', CCS.Desktop.launch.bind(CCS.Desktop, 'About') );
+	$$('img.hue-swoosh')[0].addEvent('click', Hue.Desktop.launch.bind(Hue.Desktop, 'About') );
 });

+ 4 - 4
apps/beeswax/src/beeswax/templates/beeswax_components.mako

@@ -60,14 +60,14 @@
   if klass:
     classes.append(klass)
   if hidden: 
-    classes.append("ccs-hidden")
+    classes.append("jframe-hidden")
   cls = ' '.join(classes)
 
   title_classes = []
   if title_klass:
     title_classes.append(title_klass)
   if notitle or hidden:
-    title_classes.append("ccs-hidden")
+    title_classes.append("jframe-hidden")
   titlecls = ' '.join(title_classes)
 %>
   % if field.is_hidden:
@@ -89,11 +89,11 @@
         % endif
       % endif
       % if help:
-        <p class="ccs-inline" data-filters="HelpTip" ${make_attr_str(help_attrs) | n}>${help}</p>
+        <p class="jframe-inline" data-filters="HelpTip" ${make_attr_str(help_attrs) | n}>${help}</p>
       % endif
     </dd>
     % if len(field.errors):
-      <dd class="beeswax_error ccs-error">
+      <dd class="beeswax_error jframe-error">
          ${unicode(field.errors) | n}
        </dd>
     % endif

+ 9 - 9
apps/beeswax/src/beeswax/templates/choose_delimiter.mako

@@ -27,9 +27,9 @@ ${wrappers.head('Choose a Delimiter')}
 </div>
 <div class="view" id="choose-delimiter">
     <div class="bw-choose-delimiter">
-        <div class="ccs-bc-section">
+        <div class="hue-bc-section">
           <form action ="${action}" method="POST">
-            <div class="ccs-hidden">
+            <div class="jframe-hidden">
               ${util.render_form(file_form)}
               ${comps.field(delim_form['file_type'])}
             </div>
@@ -44,20 +44,20 @@ ${wrappers.head('Choose a Delimiter')}
                       <label>
                         Yes
                         ## TODO(marcus)  The YES button does nothing
-                        <input type="submit" name="submit_delim" value="Select this Delimiter" class="ccs-hidden"/>
+                        <input type="submit" name="submit_delim" value="Select this Delimiter" class="jframe-hidden"/>
                       </label>
                       <label>
                         No
                         ## TODO(marcus)  The NO + preview jump out of jframe
-                        <input type="button" name="No" class="ccs-hidden"/>
+                        <input type="button" name="No" class="jframe-hidden"/>
                       </label>
                     </div>
                   % endif
-                  <div class="bw-select_delim" class="ccs-hidden">
+                  <div class="bw-select_delim" class="jframe-hidden">
                     ${comps.field(delim_form["delimiter"], render_default=True, help=r'Enter the column delimiter.  Must be a single character.  Use syntax like "\001" or "\t" for special characters.', dd_attrs=dict(data_filters='SelectWithOther'))}
 
-                    <input class="ccs-hidden" type="submit" value="Preview" name="submit_preview"/>
-                    <input class="ccs-hidden" type="submit" value="Select this Delimiter" name="submit_delim"/>
+                    <input class="jframe-hidden" type="submit" value="Preview" name="submit_preview"/>
+                    <input class="jframe-hidden" type="submit" value="Select this Delimiter" name="submit_delim"/>
                   </div>
                   <div class="delimiter_preview_holder">
                     <table class="delimiter_preview">
@@ -81,10 +81,10 @@ ${wrappers.head('Choose a Delimiter')}
                   </div>
                 </dt>
               </dl>
-              <a class="ccs-submit_form ccs-visible ccs-multipart-next" data-extra-data="{'submit_delim': 'Step 3: Define Your Columns'}">
+              <a class="jframe-submit_form jframe-visible hue-multipart-next" data-extra-data="{'submit_delim': 'Step 3: Define Your Columns'}">
               Step 3: Define Your Columns&raquo;
               </a>
-              <input type="submit" name="submit_delim" value="Step 3: Define Your Columns" class="ccs-hidden"/>
+              <input type="submit" name="submit_delim" value="Step 3: Define Your Columns" class="jframe-hidden"/>
             </dd>
           </div>
         </form>

+ 4 - 4
apps/beeswax/src/beeswax/templates/choose_file.mako

@@ -25,7 +25,7 @@ ${wrappers.head('Choose a File')}
 </div>
 <div class="view" id="choose-file">
     <div class="bw-choose-file">
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
           <a name="step1"></a>
             <form action="${action}" method="POST">
               <dt>Step 1: Name Your Table and Choose A File</dt>
@@ -55,7 +55,7 @@ ${wrappers.head('Choose a File')}
                     alt="/user/user_name/data_dir",
                   ),
                   help="The HDFS path to the file that you would like to base this new table definition on.  It can be compressed (gzip) or not.")}
-                <a class="ccs-choose_file" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height' : 16, 'top' : 3, 'left' : 6 }" data-chooseFor="path">Choose File</a>
+                <a class="hue-choose_file" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height' : 16, 'top' : 3, 'left' : 6 }" data-chooseFor="path">Choose File</a>
                 <div class="bw-import_data">
                   ${comps.field(file_form["do_import"],
                     render_default=True,
@@ -63,10 +63,10 @@ ${wrappers.head('Choose a File')}
                   )}
                 </div>
                 ## TODO(marcus): Button style?
-                <a class="ccs-multipart-next ccs-submit_form ccs-visible" style="display:none" data-extra-data="{'submit_file' : 'Step 2: Choose Your Delimiter'}">
+                <a class="hue-multipart-next jframe-submit_form jframe-visible" style="display:none" data-extra-data="{'submit_file' : 'Step 2: Choose Your Delimiter'}">
                   Step 2: Choose Your Delimiter&raquo;
                 </a>
-                  <input type="submit" name="submit_file" value="Step 2: Choose Your Delimiter" class="ccs-hidden ccs-submit_form ccs-multipart-next ccs-visible"/>
+                  <input type="submit" name="submit_file" value="Step 2: Choose Your Delimiter" class="jframe-hidden jframe-submit_form hue-multipart-next jframe-visible"/>
               </dl>
             </form>
           </dd>

+ 2 - 2
apps/beeswax/src/beeswax/templates/configuration.mako

@@ -16,10 +16,10 @@
 <%namespace name="wrappers" file="header_footer.mako" />
 <%namespace name="util" file="util.mako" />
 ${wrappers.head('Hive Configuration Variables', section='hive configuration')}
-<h1 class="ccs-hidden">Hive Configuration Variables</h1>
+<h1 class="jframe-hidden">Hive Configuration Variables</h1>
 <div class="toolbar">
   <div class="bw-input-filter">
-    <input type="text" class="ccs-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
+    <input type="text" class="jframe-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
       title="Filter by Name"
       data-filter-elements="tbody tr" value=""/>
   </div>

+ 2 - 2
apps/beeswax/src/beeswax/templates/confirm.html

@@ -18,10 +18,10 @@ limitations under the License.
 {% block title %}{{ title }}{% endblock %}
 {% block content %}
 <div class="prompt_popup">
-	<h1 class="ccs-hidden">Are you sure?</h1>
+	<h1 class="jframe-hidden">Are you sure?</h1>
 	<form action="{{ url }}" method="POST">
 		{{title}}
-		<input type="submit" value="Yes" class="ccs-hidden">
+		<input type="submit" value="Yes" class="jframe-hidden">
 	</form>
 </div>
 {% endblock %}

+ 25 - 25
apps/beeswax/src/beeswax/templates/create_table_manually.mako

@@ -17,7 +17,7 @@
 <%namespace name="wrappers" file="header_footer.mako" />
 ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
 <div class="toolbar">
-  <ul class="clearfix" data-filters="Breadcrumb, BreadcrumbForm" data-bc-sections=".ccs-bc-section" data-bc-form="form">
+  <ul class="clearfix" data-filters="Breadcrumb, BreadcrumbForm" data-bc-sections=".hue-bc-section" data-bc-form="form">
     <li><a href="#step1">Name</a></li>
     <li><a href="#step2">Record Format</a></li>
     <li><a href="#step3">Serialization</a></li>
@@ -30,7 +30,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
   <form action="#" method="POST" class="jframe_padded" data-filters="FormValidator">
     <dl class="bw-table-setup">
 
-  <div class="ccs-bc-section">
+  <div class="hue-bc-section">
         <a name="step1"></a>
         <dt>Step 1: Create Your Table</dt>
         <dd>
@@ -53,11 +53,11 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               ),
               help="Use a table comment to describe your table.  For example, you might mention the data's provenance, and any caveats users of this table should expect.")}
           </dl>
-          <a href="#step2" class="ccs-multipart-next">Step 2: Choose Your Record Format &raquo;</a>
+          <a href="#step2" class="hue-multipart-next">Step 2: Choose Your Record Format &raquo;</a>
         </dd>
       </div>
 
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
         <a name="step2"></a>
         <dt>Step 2: Choose Your Record Format</dt>
         <dd>
@@ -80,7 +80,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                   % endif
                 >
               </label>
-              <div class="ccs-errors"></div>
+              <div class="jframe-errors"></div>
             </dt>
             <dd>Data files use delimiters, like commas (CSV) or tabs.</dd>
             <dt class="bw-format-SerDe relays" data-filters="DataGroupToggle" data-group-toggle="{'group': '.bw-config-data li', 'show':'.bw-serde-options'}">
@@ -95,17 +95,17 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
             </dt>
             <dd>Enter a specialized serialization implementation.</dd>
           </dl>
-          <a href="#step3" class="ccs-multipart-next">Step 3: Configure Record Serialization &raquo;</a>
+          <a href="#step3" class="hue-multipart-next">Step 3: Configure Record Serialization &raquo;</a>
         </dd>
       </div>
 
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
         <a name="step3"></a>
         <dt>Step 3: Configure Record Serialization</dt>
         <dd>
           <ul class="bw-config-data">
             <li class="bw-delim-options">
-              <p class="ccs-hidden">If your records are delimited, please configure these fields:</p>
+              <p class="jframe-hidden">If your records are delimited, please configure these fields:</p>
               Hive only supports single-character delimiters.
               <dl>
                 ${comps.field(table_form["field_terminator"], render_default=True, help=r'Enter the column delimiter.  Must be a single character.  Use syntax like "\001" or "\t" for special characters.', dd_attrs=dict(data_filters="SelectWithOther"))}
@@ -114,7 +114,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               </dl>
             </li>
             <li class="bw-serde-options">
-              <p class="ccs-hidden">If you're using SerDe data, please configure these fields:</p>
+              <p class="jframe-hidden">If you're using SerDe data, please configure these fields:</p>
               <dl>
                 ${comps.field(table_form["serde_name"],
                   help="Enter the Java Classname of your SerDe. <em>e.g.</em>, org.apache.hadoop.hive.contrib.serde2.RegexSerDe",
@@ -138,11 +138,11 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               </dl>
             </li>
           </ul>
-          <a href="#step4" class="ccs-multipart-next">Step 4: Choose a File Format &raquo;</a>
+          <a href="#step4" class="hue-multipart-next">Step 4: Choose a File Format &raquo;</a>
         </dd>
       </div>
 
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
         <a name="step4"></a>
         <dt>Step 4: Choose a File Format</dt>
         <dd>
@@ -157,7 +157,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               klass="bw-file_formats",
               notitle=True
             )}
-            <div class="ccs-hidden bw-io_formats">
+            <div class="jframe-hidden bw-io_formats">
               ${comps.field(table_form["input_format_class"],
                 help="Java Class to read data",
                 attrs=dict(
@@ -174,11 +174,11 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               )}
             </div>
           </dl>
-          <a href="#step5" class="ccs-multipart-next">Step 5: Choose Where To Save Your Table &raquo;</a>
+          <a href="#step5" class="hue-multipart-next">Step 5: Choose Where To Save Your Table &raquo;</a>
         </dd>
       </div>
 
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
         <a name="step5"></a>
         <dt>Step 5: Choose Where Your Table's Data is Stored</dt>
         <dd class="bw-file_location">
@@ -189,7 +189,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                 help="Store your table in the default location (controlled by Hive, and typically <code>/user/hive/warehouse/table_name</code>)."
               )}
             </div>
-            <div class="bw-external_loc ccs-hidden">
+            <div class="bw-external_loc jframe-hidden">
               ${comps.field(table_form["external_location"],
                 help="Enter the path (on HDFS) to your table's data location",
                 attrs=dict(
@@ -197,14 +197,14 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                   data_filters="OverText",
                   alt='/user/user_name/data_dir'
                 )
-              )}<a class="ccs-choose_file" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height': 16, 'top': 3, 'left': 6 }" data-chooseFor="table-external_location">Choose File</a>
+              )}<a class="hue-choose_file" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height': 16, 'top': 3, 'left': 6 }" data-chooseFor="table-external_location">Choose File</a>
             </div>
           </dl>
-          <a href="#step6" class="ccs-multipart-next">Final Step: Configure Table Columns &raquo;</a>
+          <a href="#step6" class="hue-multipart-next">Final Step: Configure Table Columns &raquo;</a>
         </dd>
       </div>
 
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
         <a name="step6"></a>
         <dt>Final Step: Configure Table Columns</dt>
         <dd>
@@ -213,7 +213,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
               <div class="bw-column">
                 <dt class="bw-column_header bw-inactive">
                   <input name="${form["column_name"].html_name | n}" value="${form["column_name"].data or ''}" class="required bw-column_name" alt="Column Name" data-filters="OverText"/>
-                  <p class="ccs-inline" data-filters="HelpTip" data-help-direction="1">
+                  <p class="jframe-inline" data-filters="HelpTip" data-help-direction="1">
                     Column name must be single words that start
                     with a letter or a digit.
                   </p>
@@ -223,7 +223,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                 </dt>
                 <dd class="bw-column">
                   <dl>
-                    <div class="bw-col_type ccs-inline">
+                    <div class="bw-col_type jframe-inline">
                       ${comps.field(form["column_type"],
                         render_default=True,
                         help="Type for this column.  Certain advanced types (namely, structs) are not exposed in this interface.",
@@ -233,7 +233,7 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                       )}
                     </div>
                     % if is_partition_form == False: 
-                      <div class="bw-array_type ccs-inline">
+                      <div class="bw-array_type jframe-inline">
                         ${comps.field(
                             form["array_type"],
                             render_default=True,
@@ -241,10 +241,10 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
                           )}
                       </div>
                       <div class="bw-map_data">
-                        <div class="bw-map_key_type ccs-inline">
+                        <div class="bw-map_key_type jframe-inline">
                           ${comps.field(form["map_key_type"], render_default=True, help="Type of the map keys.")}
                         </div>
-                        <div class="bw-map_value_type ccs-inline">
+                        <div class="bw-map_value_type jframe-inline">
                           ${comps.field(form["map_value_type"], render_default=True, help="Type of the map values.")}
                         </div>
                       </div>
@@ -296,10 +296,10 @@ ${wrappers.head('Create a Table', toolbar=has_tables, section='new table')}
 </dl>
 
   <div style="display:none">
-    <div class="beeswax_column_form_template ccs-hidden" style="display: none">
+    <div class="beeswax_column_form_template jframe-hidden" style="display: none">
       ${render_column(columns_form.empty_form())}
     </div>
-    <div class="beeswax_partition_form_template ccs-hidden" style="display: none">
+    <div class="beeswax_partition_form_template jframe-hidden" style="display: none">
       ${render_column(partitions_form.empty_form(), true)}
     </div>
   </div>

+ 6 - 6
apps/beeswax/src/beeswax/templates/define_columns.mako

@@ -28,12 +28,12 @@ ${wrappers.head('Define Columns')}
 <div class="view" id="define-columns">
   <div class="bw-define-columns">
     <form action="${action}" method="POST">
-      <div class="ccs-hidden">
+      <div class="jframe-hidden">
         ${util.render_form(file_form)}
         ${util.render_form(delim_form)}
         ${str(column_formset.management_form) | n}
       </div>
-      <div class="ccs-bc-section">
+      <div class="hue-bc-section">
       <dt> Step 3: Define Your Columns </dt>
       <%
         n_rows = len(fields_list)
@@ -45,7 +45,7 @@ ${wrappers.head('Define Columns')}
           <br/>
           <dt> </dt>
           <dd>
-            <table class="row_headers ccs-visible" style="display:none">
+            <table class="row_headers jframe-visible" style="display:none">
               % for i in range(n_rows):
                 <tr><td> Row ${i + 1} </td></tr>
               % endfor
@@ -57,7 +57,7 @@ ${wrappers.head('Define Columns')}
               <table class="data_table">
                 % for i, row in enumerate(fields_list[:n_rows]):
                   <tr>
-                    <td class="ccs-hidden"> Row ${i + 1} </td>
+                    <td class="jframe-hidden"> Row ${i + 1} </td>
                     % for val in row:
                       <td>${val}</td>
                     % endfor
@@ -83,10 +83,10 @@ ${wrappers.head('Define Columns')}
             </div>
           </dd>
           </dl>
-          <a class="ccs-submit_form ccs-visible ccs-multipart-next" data-extra-data="{'submit_create': 'Finish Creating Table'}" style="display:none">
+          <a class="jframe-submit_form jframe-visible hue-multipart-next" data-extra-data="{'submit_create': 'Finish Creating Table'}" style="display:none">
           Finish Creating Table
           </a>
-          <input type="submit" name="submit_create" value="Finish Creating Table" class="ccs-hidden"/>
+          <input type="submit" name="submit_create" value="Finish Creating Table" class="jframe-hidden"/>
           <br/><br/><br/>
         </dd>
       </div>

+ 12 - 12
apps/beeswax/src/beeswax/templates/describe_table.mako

@@ -46,14 +46,14 @@ ${wrappers.head("Beeswax Table Metadata: " + table.tableName, section='tables')}
       <div class="jframe_padded">
         <dl>
           % if table.parameters.get("comment", False):
-            <dt class="ccs-dt_cap">Description</dt>
-            <dd class="ccs-dd_bottom">${ table.parameters.get("comment") }</dd>
+            <dt class="hue-dt_cap">Description</dt>
+            <dd class="hue-dd_bottom">${ table.parameters.get("comment") }</dd>
           % endif
-          <dt class="ccs-dt_cap">Actions</dt>
-          <dd class="ccs-dd_bottom bw-actions">
+          <dt class="hue-dt_cap">Actions</dt>
+          <dd class="hue-dd_bottom bw-actions">
             <ul>
-              <li class="ccs-clear" data-filters="CollapsingElements"><a class="bw-load_data collapser">Import Data</a>
-                  <div class="collapsible ccs-hidden">
+              <li class="jframe-clear" data-filters="CollapsingElements"><a class="bw-load_data collapser">Import Data</a>
+                  <div class="collapsible jframe-hidden">
                     <form action="${ url("beeswax.views.load_table", table=table_name) }">
                       <dl>
                         <div class="bw-dataNote">
@@ -67,7 +67,7 @@ ${wrappers.head("Beeswax Table Metadata: " + table.tableName, section='tables')}
                           data_filters="OverText",
                           alt='/user/data'))}
                         <div class="clearfix" data-filters="ArtButtonBar">
-                          <a class="ccs-choose_file" data-filters="ArtButton" 
+                          <a class="hue-choose_file" data-filters="ArtButton" 
                             data-icon-styles="{'width': 16, 'height': 16, 'top': 1, 'left': 4 }" data-chooseFor="path">Choose File</a>
                           <input type="submit" class="bw-loadSubmit" data-filters="ArtButton" value="Submit"/>
                         </div>
@@ -82,14 +82,14 @@ ${wrappers.head("Beeswax Table Metadata: " + table.tableName, section='tables')}
                     </form>
                   </div>
               </li>
-              <li class="ccs-clear"><a href="${ url("beeswax.views.read_table", table=table_name) }" class="bw-browse_data">Browse Data</a></li>
-              <li class="ccs-clear"><a href="${ url("beeswax.views.drop_table", table=table_name) }" class="bw-drop_table">Drop Table</a></li>
-              <li class="ccs-clear"><a href="${hdfs_link}" target="FileBrowser" class="tip bw-location_link" data-filters="PointyTip" data-tip-direction="11" rel="${ table.sd.location }">View File Location</a></li>
+              <li class="jframe-clear"><a href="${ url("beeswax.views.read_table", table=table_name) }" class="bw-browse_data">Browse Data</a></li>
+              <li class="jframe-clear"><a href="${ url("beeswax.views.drop_table", table=table_name) }" class="bw-drop_table">Drop Table</a></li>
+              <li class="jframe-clear"><a href="${hdfs_link}" target="FileBrowser" class="tip bw-location_link" data-filters="PointyTip" data-tip-direction="11" rel="${ table.sd.location }">View File Location</a></li>
             </ul>
           </dd>
         </dl>
       </div>
-    </div>dd
+    </div>
     <div class="right_col">
       <div data-filters="Tabs">
         <ul class="toolbar tabs">
@@ -101,7 +101,7 @@ ${wrappers.head("Beeswax Table Metadata: " + table.tableName, section='tables')}
             <li><span>Partition Columns</span></li>
           % endif
         </ul>
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           % if top_rows is not None:
             <li class="bw-table_sample">
               <table data-filters="HtmlTable" cellpadding="0" cellspacing="0">

+ 23 - 23
apps/beeswax/src/beeswax/templates/execute.mako

@@ -23,12 +23,12 @@
 
 <%def name="query()">
   <dl class="bw-query">
-    <dt class="bw-query_header clearfix ccs-help_links_small">
+    <dt class="bw-query_header clearfix hue-help_links_small">
       % if design and not design.is_auto and design.name:
         <label>
           ${design.name}
           % if design.desc:
-            <p class="ccs-inline" data-filters="InfoTip" data-help-direction="6">${design.desc}</p>
+            <p class="jframe-inline" data-filters="InfoTip" data-help-direction="6">${design.desc}</p>
           % endif
         </label>
       % else:
@@ -76,8 +76,8 @@ ${wrappers.head('Hive Query', section='query')}
 % if error_message:
 <div class="alert_popup jframe_renders">
   <dl class="bw-query_error">
-    <dt class="ccs-dt_cap">Your Query Has the Following Error(s):</dt>
-    <dd class="ccs-dd_bottom ccs-error">
+    <dt class="hue-dt_cap">Your Query Has the Following Error(s):</dt>
+    <dd class="hue-dd_bottom jframe-error">
       <div class="validation-advice">
         ${error_message}
       </div>
@@ -103,8 +103,8 @@ ${wrappers.head('Hive Query', section='query')}
       <div class="left_col" style="width: ${width}px;">
         <a name="settings"></a>
         <dl class="jframe_padded bw-query_settings">
-          <dt class="ccs-dt_cap">Hive Settings</dt>
-          <dd class="ccs-dd_bottom">
+          <dt class="hue-dt_cap">Hive Settings</dt>
+          <dd class="hue-dd_bottom">
             <dl>
               % for i, f in enumerate(form.settings.forms):
                 % if i > 0:
@@ -129,12 +129,12 @@ ${wrappers.head('Hive Query', section='query')}
               % endfor
               <div class="bw-query_settings_add">
                 <button id="id_settings-add" value="True" name="settings-add" type="submit">+</button>
-                <div class="ccs-hidden">${str(form.settings.management_form) | n }</div>
+                <div class="jframe-hidden">${str(form.settings.management_form) | n }</div>
               </div>
             </dl>
           </dd>
-          <dt class="ccs-dt_cap">File Resources</dt>
-          <dd class="ccs-dd_bottom">
+          <dt class="hue-dt_cap">File Resources</dt>
+          <dd class="hue-dd_bottom">
             <dl>
               % for i, f in enumerate(form.file_resources.forms):
                 % if i > 0:
@@ -153,19 +153,19 @@ ${wrappers.head('Hive Query', section='query')}
                   alt="/user/foo/udf.jar",
                   data_filters="OverText",
                 ))}
-                <div class="ccs-button_subbar_below clearfix">
-                  <a class="ccs-choose_file" data-filters="ArtButton" data-chooseFor="${f['path'].html_name | n}" data-icon-styles="{'width':16, 'height':16, 'top':2}">Choose a File</a>
+                <div class="jframe-button_subbar_below clearfix">
+                  <a class="hue-choose_file" data-filters="ArtButton" data-chooseFor="${f['path'].html_name | n}" data-icon-styles="{'width':16, 'height':16, 'top':2}">Choose a File</a>
                 </div>
                 ${comps.field(f['_exists'], hidden=True)}
               % endfor
               <div class="bw-query_settings_add">
                 <button id="id_file_resources-add" value="True" name="file_resources-add" type="submit">+</button>
-                <div class="ccs-hidden">${str(form.file_resources.management_form) | n }</div>
+                <div class="jframe-hidden">${str(form.file_resources.management_form) | n }</div>
               </div>
             </dl>
           </dd>
-          <dt class="ccs-dt_cap">User-defined Functions</dt>
-          <dd class="ccs-dd_bottom">
+          <dt class="hue-dt_cap">User-defined Functions</dt>
+          <dd class="hue-dd_bottom">
             <dl>
               % for i, f in enumerate(form.functions.forms):
                 % if i > 0:
@@ -191,13 +191,13 @@ ${wrappers.head('Hive Query', section='query')}
               % endfor
               <div class="bw-query_settings_add">
                 <button id="id_functions-add" value="True" name="functions-add" type="submit">+</button>
-                <div class="ccs-hidden">${str(form.functions.management_form) | n }</div>
+                <div class="jframe-hidden">${str(form.functions.management_form) | n }</div>
               </div>
             </dl>
           </dd>
-          <dt class="ccs-dt_cap">Parameterization</dt>
-          <dd class="ccs-dd_bottom">
-            <dl class="ccs-bw_parameters">
+          <dt class="hue-dt_cap">Parameterization</dt>
+          <dd class="hue-dd_bottom">
+            <dl class="hue-bw_parameters">
               ${comps.field(form.query["is_parameterized"],
                   notitle = True,
                   tag = "checkbox",
@@ -209,9 +209,9 @@ ${wrappers.head('Hive Query', section='query')}
               )}
             </dl>
           </dd>
-          <dt class="ccs-dt_cap">Email Notification</dt>
-          <dd class="ccs-dd_bottom">
-            <dl class="ccs-bw_parameters">
+          <dt class="hue-dt_cap">Email Notification</dt>
+          <dd class="hue-dd_bottom">
+            <dl class="hue-bw_parameters">
           ${comps.field(form.query["email_notify"],
                         notitle = True,
                         tag = "checkbox",
@@ -232,7 +232,7 @@ ${wrappers.head('Hive Query', section='query')}
 
         % if error_messages or log:
           <div data-filters="Tabs">
-            <ul class="toolbar bw-results_tabs ccs-right clearfix tabs" data-filters="Tabs">
+            <ul class="toolbar bw-results_tabs jframe-right clearfix tabs" data-filters="Tabs">
               <li><span>Query</span></li>
               % if error_message or log:
               <li><span>
@@ -242,7 +242,7 @@ ${wrappers.head('Hive Query', section='query')}
               </span></li>
               % endif
             </ul>
-            <ul class="tab_sections ccs-clear">
+            <ul class="tab_sections jframe-clear">
               <li>
                 ${query()}
               </li>

+ 2 - 2
apps/beeswax/src/beeswax/templates/explain.mako

@@ -24,12 +24,12 @@ ${wrappers.head('Query Explanation', section='saved queries')}
     </div>
     <div class="right_col jframe_padded">
       <div data-filters="Tabs">
-        <ul class="toolbar bw-results_tabs tabs ccs-right clearfix">
+        <ul class="toolbar bw-results_tabs tabs jframe-right clearfix">
           <li><span>Explanation</span></li>
           <li><span>Query</span></li>
         </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
             <pre>${explanation}</pre>
           </li>

+ 3 - 3
apps/beeswax/src/beeswax/templates/header_footer.mako

@@ -30,7 +30,7 @@ def is_selected(section, matcher):
   <head>
     <title>${title}</title>
   </head>
-  <body class="ccs-shared">
+  <body class="hue-shared">
   <div class="toolbar">
     <a href="${ url('beeswax.views.index') }"><img src="/beeswax/static/art/beeswax-logo.png" width="55" height="55" alt="Beeswax" class="beeswax_logo"></a>
     % if toolbar:
@@ -55,11 +55,11 @@ def is_selected(section, matcher):
         class="bw-nav_icon bw-config_nav ${is_selected(section, 'hive configuration')}" data-filters="ArtButton"
         data-icon-styles="{'width': 16, 'height': 16, 'top': 4, 'left': 5}">Settings</a>
       </li>
-      <li><a class="ccs-refresh large" data-filters="ArtButton">Refresh</a></li>
+      <li><a class="jframe-refresh large" data-filters="ArtButton">Refresh</a></li>
     </ul>
     % endif
   </div>
-  <hr class="ccs-hidden"/>
+  <hr class="jframe-hidden"/>
 </%def>
 
 <%def name="foot()">

+ 1 - 1
apps/beeswax/src/beeswax/templates/index.mako

@@ -24,7 +24,7 @@ ${wrappers.head(toolbar=True)}
 </div>
 
 <!-- Web 1.0 index for debugging -->
-<div class="ccs-hidden">
+<div class="jframe-hidden">
   <ul>
     <li><a href="${ url('beeswax.views.install_examples') }">Install examples</a></li>
     <br/>

+ 4 - 4
apps/beeswax/src/beeswax/templates/list_designs.mako

@@ -22,7 +22,7 @@ ${wrappers.head("Beeswax: Queries", section='saved queries')}
 
 <div id="list_designs" class="view">
   ${comps.pagination(page)}
-  <h2 class="ccs-hidden">Saved Queries:</h2>
+  <h2 class="jframe-hidden">Saved Queries:</h2>
   <table data-filters="HtmlTable" class="selectable" cellpadding="0" cellspacing="0">
     <thead>
       <tr>
@@ -40,7 +40,7 @@ ${wrappers.head("Beeswax: Queries", section='saved queries')}
       <%
         may_edit = user == design.owner
       %>
-      <tr data-dblclick-delegate="{'dblclick_loads':'.bw-query_edit, .bw-query_clone'}" class="ccs-no_select ccs-help_links_small"
+      <tr data-dblclick-delegate="{'dblclick_loads':'.bw-query_edit, .bw-query_clone'}" class="jframe-no_select hue-help_links_small"
       data-filters="ContextMenu"
       data-context-menu-actions="[{'events':['contextmenu','click:relay(a.bw-options)'],'menu':'ul.context-menu'}]">
         <td>
@@ -55,7 +55,7 @@ ${wrappers.head("Beeswax: Queries", section='saved queries')}
           % endif
           
           
-          <ul class="ccs-hidden context-menu">
+          <ul class="jframe-hidden context-menu">
             % if may_edit:
               % if design.type == models.SavedQuery.REPORT:
                 <li><a href="${ url('beeswax.views.edit_report', design_id=design.id) }" class="bw-query_edit frame_tip" title="Edit this report.">Edit</a></li>
@@ -70,7 +70,7 @@ ${wrappers.head("Beeswax: Queries", section='saved queries')}
         </td>
         <td>
           % if design.desc:
-           <p class="ccs-inline" data-filters="InfoTip">${design.desc}</p>
+           <p class="jframe-inline" data-filters="InfoTip">${design.desc}</p>
           % endif
         </td>
         <td>${design.owner.username}</td>

+ 4 - 4
apps/beeswax/src/beeswax/templates/list_history.mako

@@ -44,7 +44,7 @@ ${wrappers.head("Beeswax: Query History", section='history')}
 
 <div class="toolbar">
   <div class="bw-input-filter">
-    <input type="text" class="ccs-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
+    <input type="text" class="jframe-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
       title="Filter by Name"
       data-filter-elements="tbody tr" value=""/>
   </div>
@@ -83,7 +83,7 @@ ${wrappers.head("Beeswax: Query History", section='history')}
     % endif
   </div>
 
-  <h3 class="ccs-hidden">Query History:</h3>
+  <h3 class="jframe-hidden">Query History:</h3>
   <table data-filters="HtmlTable" class="selectable" cellpadding="0" cellspacing="0">
     <thead>
       <tr>
@@ -106,11 +106,11 @@ ${wrappers.head("Beeswax: Query History", section='history')}
         if design:
           qcontext = views.make_query_context('design', design.id)
       %>
-      <tr data-dblclick-delegate="{'dblclick_loads':'.bw-view_result'}" class="ccs-no_select ccs-help_links_small">
+      <tr data-dblclick-delegate="{'dblclick_loads':'.bw-view_result'}" class="jframe-no_select hue-help_links_small">
         <td>${query.submission_date.strftime("%x %X")}</td>
         <td>${show_saved_query(design, query)}</td>
         <td>
-          <p class="ccs-inline" data-filters="InfoTip">
+          <p class="jframe-inline" data-filters="InfoTip">
             % if len(query.query) > 100:
               <code>${collapse_whitespace(query.query[:100])}...</code>
             % else:

+ 1 - 1
apps/beeswax/src/beeswax/templates/load_table.mako

@@ -21,7 +21,7 @@ ${wrappers.head("Beeswax: Load Data into " + table)}
     <form action="${action}" method="POST">
       <dl>
         ${util.render_field(form["path"])}
-        <a class="ccs-chooseFile" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height': 16, 'top': 6, 'left': 6 }" data-chooseFor="path">Open File Chooser </a>
+        <a class="hue-chooseFile" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height': 16, 'top': 6, 'left': 6 }" data-chooseFor="path">Open File Chooser </a>
         ## Path (on HDFS) of files to load.
         ${util.render_field(form["overwrite"])}
         ## Any existing data will be erased!

+ 6 - 6
apps/beeswax/src/beeswax/templates/my_queries.mako

@@ -31,7 +31,7 @@ ${wrappers.head("Beeswax: My Queries", section='my queries')}
       <li><span>Recent Run Queries</span></li>
     </ul>
 
-    <ul class="tab_sections ccs-clear">
+    <ul class="tab_sections jframe-clear">
       <li>
         <table data-filters="HtmlTable" class="selectable" cellpadding="0" cellspacing="0">
           <thead>
@@ -46,7 +46,7 @@ ${wrappers.head("Beeswax: My Queries", section='my queries')}
             from beeswax import models
           %>
           % for design in q_page.object_list:
-            <tr data-dblclick-delegate="{'dblclick_loads':'.bw-query_edit, .bw-query_clone'}" class="ccs-no_select ccs-help_links_small"
+            <tr data-dblclick-delegate="{'dblclick_loads':'.bw-query_edit, .bw-query_clone'}" class="jframe-no_select hue-help_links_small"
             data-filters="ContextMenu"
             data-context-menu-actions="[{'events':['contextmenu','click:relay(a.bw-options)'],'menu':'ul.context-menu'}]">
               <td>
@@ -56,7 +56,7 @@ ${wrappers.head("Beeswax: My Queries", section='my queries')}
                   <a href="${ url('beeswax.views.execute_query', design_id=design.id) }">${design.name}</a>
                 % endif
 
-                <ul class="ccs-hidden context-menu">
+                <ul class="jframe-hidden context-menu">
                   % if design.type == models.SavedQuery.REPORT:
                     <li><a href="${ url('beeswax.views.edit_report', design_id=design.id) }" class="bw-query_edit frame_tip" title="Edit this report.">Edit</a></li>
                   % else:
@@ -69,7 +69,7 @@ ${wrappers.head("Beeswax: My Queries", section='my queries')}
               </td>
               <td>
                 % if design.desc:
-                 <p class="ccs-inline" data-filters="InfoTip">${design.desc}</p>
+                 <p class="jframe-inline" data-filters="InfoTip">${design.desc}</p>
                 % endif
               </td>
               <td>
@@ -116,12 +116,12 @@ ${wrappers.head("Beeswax: My Queries", section='my queries')}
               design = query.design
               qcontext = views.make_query_context('design', design.id)
             %>
-            <tr data-dblclick-delegate="{'dblclick_loads':'.bw-view_result'}" class="ccs-no_select ccs-help_links_small">
+            <tr data-dblclick-delegate="{'dblclick_loads':'.bw-view_result'}" class="jframe-no_select hue-help_links_small">
               <td>${query.submission_date.strftime("%x %X")}</td>
               ## TODO (bc): Only showing HQL (not REPORT)
               <td><a href="${ url('beeswax.views.execute_query', design_id=design.id) }" class="bw-view_query">${design.name}</a></td>
               <td>
-                <p class="ccs-inline" data-filters="InfoTip">
+                <p class="jframe-inline" data-filters="InfoTip">
                   % if len(query.query) > 100:
                     <code>${collapse_whitespace(query.query[:100])}...</code>
                   % else:

+ 1 - 1
apps/beeswax/src/beeswax/templates/parameterization.mako

@@ -30,7 +30,7 @@ else:
   ${comps.field(field)}
 % endfor
 </dl>
-<input class="ccs-hidden" type="submit">
+<input class="jframe-hidden" type="submit">
 </form>
 </div>
 ${wrappers.foot()}

+ 5 - 5
apps/beeswax/src/beeswax/templates/show_tables.mako

@@ -25,10 +25,10 @@ ${wrappers.head("Beeswax: Table List", section='tables')}
   </div>
 
 <div id="show_tables" class="view">
-  <h2 class="ccs-hidden">Tables</h2>
+  <h2 class="jframe-hidden">Tables</h2>
   <div class="toolbar">
     <div class="bw-input-filter">
-      <input type="text" class="ccs-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
+      <input type="text" class="jframe-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
         title="Filter by Name"
         data-filter-elements="td.bw-tables_table" data-filter-parents="tr" value=""/>
     </div>
@@ -42,10 +42,10 @@ ${wrappers.head("Beeswax: Table List", section='tables')}
     </thead>
     <tbody>
       % for table in tables:
-        <tr data-dblclick-delegate="{'dblclick_loads':'.bw-tables_table a'}" class="ccs-no_select">
-          <td class="bw-tables_table ccs-no_select">
+        <tr data-dblclick-delegate="{'dblclick_loads':'.bw-tables_table a'}" class="jframe-no_select">
+          <td class="bw-tables_table jframe-no_select">
             <a href="${ url("beeswax.views.describe_table", table=table) }">${ table }</a>
-            <!-- <p class="ccs-inline" data-filters="HelpTip">TODO</p> -->
+            <!-- <p class="jframe-inline" data-filters="HelpTip">TODO</p> -->
           </td>
           <td class="bw-tables_browse"><a href="${ url("beeswax.views.read_table", table=table) }">Browse Data</a></td>
         </tr>

+ 2 - 2
apps/beeswax/src/beeswax/templates/util.mako

@@ -14,7 +14,7 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 <%def name="render_error(err)">
-  <div class="ccs-error">
+  <div class="jframe-error">
     ${unicode(err) | n}
   </div>
 </%def>
@@ -26,7 +26,7 @@
     <dt>${field.label_tag() | n}</dt>
     <dd>${unicode(field) | n}</dd>
     % if len(field.errors):
-      <dd class="ccs-error">
+      <dd class="jframe-error">
         ${render_error(field.errors)}
       </dd>
     % endif

+ 11 - 11
apps/beeswax/src/beeswax/templates/watch_results.mako

@@ -25,13 +25,13 @@ ${wrappers.head("Beeswax: Query Results", section='query')}
         <dl class="jframe_padded">
           % if download_urls:
             ## Download results
-            <dt class="ccs-dt_cap">Actions</dt>
-            <dd class="ccs-dd_bottom bw-actions">
+            <dt class="hue-dt_cap">Actions</dt>
+            <dd class="hue-dd_bottom bw-actions">
               <ul>
                 <li><a target="_blank" href="${download_urls["csv"]}" class="bw-download_csv">Download as CSV</a>
                 <li><a target="_blank" href="${download_urls["xls"]}" class="bw-download_xls">Download as XLS</a>
                 <li data-filters="CollapsingElements"><a class="bw-save collapser jframe_ignore" href="${url('beeswax.views.save_results', query.id)}">Save</a>
-                  <div class="collapsible ccs-hidden bw-save_query_results" style="display:none" data-filters="Accordion"> 
+                  <div class="collapsible jframe-hidden bw-save_query_results" style="display:none" data-filters="Accordion"> 
                     <form action="${url('beeswax.views.save_results', query.id) }" method="POST">
                       ## Writing the save_target fields myself so I can match them to their respective text input fields.
                       <div> 
@@ -51,7 +51,7 @@ ${wrappers.head("Beeswax: Query Results", section='query')}
                         data_filters="OverText",
                         alt="/user/dir"
                         ))}
-                        <a data-filters="ArtButton" class="ccs-choose_file" data-icon-styles="{'width': 16, 'height': 16, 'top': 1, 'left': 4 }" data-chooseFor="target_dir">Choose File</a>
+                        <a data-filters="ArtButton" class="hue-choose_file" data-icon-styles="{'width': 16, 'height': 16, 'top': 1, 'left': 4 }" data-chooseFor="target_dir">Choose File</a>
                       </div>
                       <input type="submit" value="Save" name="save" data-filters="ArtButton"> 
                     </form>
@@ -64,11 +64,11 @@ ${wrappers.head("Beeswax: Query Results", section='query')}
             n_jobs = hadoop_jobs and len(hadoop_jobs) or 0
             mr_jobs = (n_jobs == 1) and "MR Job" or "MR Jobs"
           %>
-          <dt class="ccs-dt_cap">${mr_jobs}</dt>
-          <dd class="ccs-dd_bottom bw-actions">
+          <dt class="hue-dt_cap">${mr_jobs}</dt>
+          <dd class="hue-dd_bottom bw-actions">
             <ul>
               % if n_jobs > 0:
-                <h3 class="ccs-hidden">This query launched ${n_jobs} ${mr_jobs}:</h3>
+                <h3 class="jframe-hidden">This query launched ${n_jobs} ${mr_jobs}:</h3>
                 <ul class="beeswax_hadoop_job_links">
                   % for jobid in hadoop_jobs:
                   <li><a href="${url("jobbrowser.views.single_job", jobid=jobid)}" target="JobBrowser" class="bw-hadoop_job">${jobid.replace("job_", "")}</a></li>
@@ -83,7 +83,7 @@ ${wrappers.head("Beeswax: Query Results", section='query')}
     </div>
     <div class="right_col">
       <div data-filters="Tabs">
-          <ul class="toolbar bw-results_tabs tabs ccs-right clearfix">
+          <ul class="toolbar bw-results_tabs tabs jframe-right clearfix">
             <li><span>
                 % if error:
                   Error
@@ -95,11 +95,11 @@ ${wrappers.head("Beeswax: Query Results", section='query')}
             <li><span>Log</span></li>
           </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
             % if error:
-              <div class="ccs-error jframe_padded">
-                <h3 class="ccs-hidden">Error!</h3> 
+              <div class="jframe-error jframe_padded">
+                <h3 class="jframe-hidden">Error!</h3> 
                 <pre>${error_message}</pre>
               </div>
             % else:

+ 8 - 8
apps/beeswax/src/beeswax/templates/watch_wait.mako

@@ -25,8 +25,8 @@ ${wrappers.head("Beeswax: Waiting for query...", section='query')}
       ${util.render_query_context(query_context)}
       <dl class="jframe_padded">
         % if download_urls:
-        <dt class="ccs-dt_cap">Downloads</dt>
-        <dd class="ccs-dd_bottom bw-actions">
+        <dt class="hue-dt_cap">Downloads</dt>
+        <dd class="hue-dd_bottom bw-actions">
           <ul>
             <li><a target="_blank" href="${download_urls["csv"]}" class="bw-download_csv">Download as CSV</a>
             <li><a target="_blank" href="${download_urls["xls"]}" class="bw-download_xls">Download as XLS</a>
@@ -37,11 +37,11 @@ ${wrappers.head("Beeswax: Waiting for query...", section='query')}
         n_jobs = hadoop_jobs and len(hadoop_jobs) or 0
         mr_jobs = (n_jobs == 1) and "MR Job" or "MR Jobs"
       %>
-      <dt class="ccs-dt_cap">${mr_jobs}</dt>
-        <dd class="ccs-dd_bottom bw-actions">
+      <dt class="hue-dt_cap">${mr_jobs}</dt>
+        <dd class="hue-dd_bottom bw-actions">
           <ul data-single-partial-id="num_jobs">
             % if n_jobs > 0:
-              <h3 class="ccs-hidden">This query launched ${n_jobs} ${mr_jobs}:</h3>
+              <h3 class="jframe-hidden">This query launched ${n_jobs} ${mr_jobs}:</h3>
               <ul class="beeswax_hadoop_job_links">
                 % for jobid in hadoop_jobs:
                 <li><a href="${url("jobbrowser.views.single_job", jobid=jobid)}" target="JobBrowser" class="bw-hadoop_job">${jobid.replace("job_", "")}</a></li>
@@ -56,14 +56,14 @@ ${wrappers.head("Beeswax: Waiting for query...", section='query')}
     </div>
     <div class="right_col jframe_padded">
       <div data-filters="Tabs">
-        <ul class="toolbar bw-results_tabs tabs ccs-right clearfix">
+        <ul class="toolbar bw-results_tabs tabs jframe-right clearfix">
           <li><span>Log</span></li>
           <li><span>Query</span></li>
         </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
-            <h3 class="ccs-hidden">Server Log</h3>
+            <h3 class="jframe-hidden">Server Log</h3>
             <pre data-single-partial-id="log">${log}</pre>
           </li>
           <li>

+ 4 - 4
apps/beeswax/static/bootstrap.js

@@ -13,16 +13,16 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	Beeswax: {
 		name: 'Beeswax for Hive',
-		require: ['beeswax/CCS.Beeswax'],
+		require: ['beeswax/Hue.Beeswax'],
 		launch: function(path, options) {
-			return new CCS.Beeswax(path, options);
+			return new Hue.Beeswax(path, options);
 		},
 		css: '/beeswax/static/css/beeswax.css',
 		menu: {
-			id: 'ccs-beeswax-menu',
+			id: 'hue-beeswax-menu',
 			img: {
 				src: '/beeswax/static/art/beeswax-logo.png'
 			}

+ 33 - 33
apps/beeswax/static/css/beeswax.css

@@ -1,5 +1,5 @@
-/* potential ccs styles */
-div.beeswax dt.ccs-dt_cap {
+/* potential hue styles */
+div.beeswax dt.hue-dt_cap {
 	text-shadow: 1px 1px #666;
 	background: #999;
 	padding: 4px 8px;
@@ -12,7 +12,7 @@ div.beeswax dt.ccs-dt_cap {
 	margin: 8px 0px 0px;
 }
 
-div.beeswax dd.ccs-dd_bottom {
+div.beeswax dd.hue-dd_bottom {
 	border: 1px solid #999;
 	border-radius: 0px 0px 2px 2px;
 	-moz-border-radius: 0px 0px 2px 2px;
@@ -62,7 +62,7 @@ div.beeswax a.bw-history_nav {
 div.beeswax a.bw-config_nav {
 	background: url(/static/art/icons/cog.png) no-repeat;
 }
-div.beeswax a.ccs-refresh.large {
+div.beeswax a.jframe-refresh.large {
 	height: 25px;
 }
 div.beeswax .bw-nav li {
@@ -137,7 +137,7 @@ div.beeswax ul[data-filters*=Breadcrumb] li {
 div.beeswax ul[data-filters*=Breadcrumb] li.tabSelected {
 	background: url(../art/breadcrumb.png) right -23px;
 }
-div.beeswax ul[data-filters*=Breadcrumb] li.ccs-bc-error {
+div.beeswax ul[data-filters*=Breadcrumb] li.hue-bc-error {
 	background: url(../art/breadcrumb.png) right 23px;
 }
 div.beeswax ul[data-filters*=Breadcrumb] li:first-child {
@@ -157,39 +157,39 @@ div.beeswax ul[data-filters*=Breadcrumb] li a:hover {
 }
 
 /* breadcrumb form*/
-div.beeswax div.ccs-bc-section dt {
+div.beeswax div.hue-bc-section dt {
 	font-size: 18px;
 	font-weight: bold;
 }
-div.beeswax div.ccs-bc-section {
+div.beeswax div.hue-bc-section {
 	background: url(../art/icon_huge.png) no-repeat;
 	min-height: 165px;
 	padding-left: 170px;
 	padding-top: 10px;
 	margin-bottom:40px;
 }
-div.beeswax div.ccs-bc-section dl dt {
+div.beeswax div.hue-bc-section dl dt {
 	font-size: 16px;
 	margin-top: 4px;
 }
-div.beeswax div.ccs-bc-section input {
+div.beeswax div.hue-bc-section input {
 	font-size: 16px;
 	width: 250px;
 }
-div.beeswax div.ccs-bc-section label.overTxtLabel {
+div.beeswax div.hue-bc-section label.overTxtLabel {
 	font-size: 12px;
 	margin-top: 6px;
 }
-div.beeswax .ccs-select-with-other input {
+div.beeswax .hue-select-with-other input {
 	display: none;
 }
-div.beeswax .ccs-select-with-other select {
+div.beeswax .hue-select-with-other select {
 	font-size: 16px;
 	width: 250px;
 }
 
 /* multi-part form */
-div.beeswax a.ccs-multipart-next, div.beeswax .bw-add_column button, div.beeswax input.bw-create_table_submit {
+div.beeswax a.hue-multipart-next, div.beeswax .bw-add_column button, div.beeswax input.bw-create_table_submit {
 	font-size: 16px;
 	font-weight: bold;
 	color: #457396;
@@ -204,7 +204,7 @@ div.beeswax a.ccs-multipart-next, div.beeswax .bw-add_column button, div.beeswax
 	right: 15px;
 	margin-top: 8px;
 }
-a.ccs-multipart-next:hover, div.beeswax .bw-add_column button:hover, div.beeswax input.bw-create_table_submit:hover {
+a.hue-multipart-next:hover, div.beeswax .bw-add_column button:hover, div.beeswax input.bw-create_table_submit:hover {
 	text-decoration: none;
 	color: #003f6f;
 	text-shadow: 1px 1px #d0e6f7;
@@ -212,7 +212,7 @@ a.ccs-multipart-next:hover, div.beeswax .bw-add_column button:hover, div.beeswax
 	background: #75bcf1;
 }
 /* create table form */
-div.beeswax dl.bw-table-setup .ccs-help_link, div.beeswax div.bw-choose-file .ccs-help_link {
+div.beeswax dl.bw-table-setup .hue-help_link, div.beeswax div.bw-choose-file .hue-help_link {
 	position: relative;
 	top: -4px;
 	padding-left: 1px;
@@ -259,7 +259,7 @@ div.beeswax ul.bw-config-data dl dt {
 div.beeswax .bw-delim-options input {
 	margin: 5px 0;
 }
-div.beeswax .bw-file_formats input, div.beeswax .ccs-bc-section input[type=checkbox] {
+div.beeswax .bw-file_formats input, div.beeswax .hue-bc-section input[type=checkbox] {
 	position: absolute;
 	top: -10000px;
 }
@@ -331,7 +331,7 @@ div.beeswax table.delimiter_preview tbody td {
 div.beeswax .bw-select_delim dt {
 	padding: 5px 0px;
 }
-div.beeswax .bw-select_delim a.ccs-help_link {
+div.beeswax .bw-select_delim a.hue-help_link {
 	margin-bottom: 4px;
 }
 div.beeswax .bw-default_location label, div.beeswax .bw-import_data label, div.beeswax .bw-confirm_delim label, div.beeswax .bw-show_hive label {
@@ -349,13 +349,13 @@ div.beeswax .bw-import_data a {
 div.beeswax .bw-show_hive a {
 	margin-top: 8px;
 }
-div.beeswax .bw-file_formats label.ccs-bw-selected, div.beeswax .bw-format dt.ccs-bw-selected label, div.beeswax .bw-default_location .ccs-bw-selected, div.beeswax .bw-partition_key label.ccs-bw-selected,	div.beeswax .bw-show_hive label.ccs-bw-selected, div.beeswax .bw-import_data label.ccs-bw-selected {
+div.beeswax .bw-file_formats label.hue-bw-selected, div.beeswax .bw-format dt.hue-bw-selected label, div.beeswax .bw-default_location .hue-bw-selected, div.beeswax .bw-partition_key label.hue-bw-selected,	div.beeswax .bw-show_hive label.hue-bw-selected, div.beeswax .bw-import_data label.hue-bw-selected {
 	color: #003f6f;
 	text-shadow: 1px 1px #d0e6f7;
 	border: 1px solid #003f6f;
 	background: #75bcf1 url(../art/checkback.png) 6px 8px no-repeat;
 }
-div.beeswax .bw-partition_key label.ccs-bw-selected {
+div.beeswax .bw-partition_key label.hue-bw-selected {
 	background: #75bcf1 url(../art/checkback.png) 6px 3px no-repeat;;
 }
 div.beeswax .bw-file_formats dt {
@@ -492,14 +492,14 @@ div.beeswax .bw-columns .bw-column_header label.overTxtLabel {
 	color: #457396;
 	margin-top: 0;
 }
-div.beeswax .bw-columns .bw-inactive a.ccs-help_link {
+div.beeswax .bw-columns .bw-inactive a.hue-help_link {
 	display: none;
 }
 /* body */
-div.beeswax div.ccs-bc-section .bw-column dt, div.beeswax div.ccs-bc-section .bw-column input, div.beeswax div.ccs-bc-section .bw-column label {
+div.beeswax div.hue-bc-section .bw-column dt, div.beeswax div.hue-bc-section .bw-column input, div.beeswax div.hue-bc-section .bw-column label {
 	font-size: 12px;
 }
-div.beeswax div.ccs-bc-section .bw-column .ccs-help_link {
+div.beeswax div.hue-bc-section .bw-column .hue-help_link {
 	top: -2px;
 }
 div.beeswax .bw-array_type {
@@ -553,7 +553,7 @@ div.beeswax .bw-partition_key label {
 	width:150px;
 	margin: 8px 0 !important;
 }
-div.beeswax .bw-partition_key a.ccs-help_link {
+div.beeswax .bw-partition_key a.hue-help_link {
 	left: 190px;
 	margin-top: 4px;
 	position: absolute;
@@ -626,7 +626,7 @@ div.beeswax td.bw-tables_browse {
 	padding-left: 30px !important;
 	width: 100px;
 }
-div.beeswax .ccs-help_links_small a.ccs-help_link {
+div.beeswax .hue-help_links_small a.hue-help_link {
 /*	float: right;
 	font-size: 9px;
 	width: 10px;
@@ -679,7 +679,7 @@ div.beeswax .bw-actions ul li a:hover {
 	background-color: #75bcf1;
 }
 
-div.beeswax a.ccs-choose_file {
+div.beeswax a.hue-choose_file {
 	margin-top: 5px;
 	padding: 6px 10px 6px 25px;
 	height: 20px;
@@ -787,7 +787,7 @@ div.beeswax .bw-actions ul li a.bw-download_csv {
 div.beeswax .bw-actions ul li a.bw-download_xls {
 	background: #9acef5 url(/static/art/led-icons/doc_excel_table.png) no-repeat 4px 50%;
 }
-div.beeswax .ccs-window-toolbar .tabs {
+div.beeswax .jframe-window-toolbar .tabs {
 	right: 7px;
 	position: absolute;
 	top: 69px;
@@ -821,7 +821,7 @@ div.beeswax .watch_results .bw-save_query_results a[data-filters*=ArtButton] {
 div.beeswax .watch_results .bw-save_query_results div[data-filters*=ArtButton] {
 	margin-top: 5px;
 }
-div.beeswax .watch_results .bw-save_query_results a.ccs-choose_file {
+div.beeswax .watch_results .bw-save_query_results a.hue-choose_file {
 	background: url(/static/art/icons/folder.png);
 }
 div.beeswax .bw-save {
@@ -861,7 +861,7 @@ div.beeswax .bw-query div.validation-advice {
 	-moz-border-radius: 8px;
 	-webkit-border-radius: 8px;
 }
-div.beeswax .bw-query .ccs-error {
+div.beeswax .bw-query .jframe-error {
 	background-color: lightYellow !important;
 }
 div.beeswax .bw-error_tab_msg {
@@ -899,7 +899,7 @@ div.beeswax .bw-query_header label {
 	float: left;
 	font-size: 14px;
 }
-div.beeswax .bw-query_header a.ccs-help_link {
+div.beeswax .bw-query_header a.hue-help_link {
 	margin-left: 4px;
 }
 div.beeswax .bw-query_header {
@@ -936,7 +936,7 @@ div.beeswax .bw-query_settings input, div.beeswax .bw-query_settings select {
 	width: 90%;
 	width: -moz-available;
 }
-div.beeswax .bw-query_settings a.ccs-choose_file {
+div.beeswax .bw-query_settings a.hue-choose_file {
 	position: relative;
 	top: -1px;
 }
@@ -998,10 +998,10 @@ div.beeswax .bw-query_settings .bw-query_settings_add button {
 	right: -1px;
 }
 
-div.beeswax .ccs-bw_parameters {
+div.beeswax .hue-bw_parameters {
 	margin-top: 0px !important;
 }
-div.beeswax .ccs-bw_parameters input {
+div.beeswax .hue-bw_parameters input {
 	width: auto;
 	margin-right: 10px;
 }
@@ -1125,7 +1125,7 @@ div.beeswax .bw-options {
 /*
 	my queries
 */
-div.beeswax .ccs-window-toolbar ul.bw-my_queries_tabs {
+div.beeswax .jframe-window-toolbar ul.bw-my_queries_tabs {
 	left: 77px;
 }
 div.beeswax .bw-view_more {

+ 25 - 25
apps/beeswax/static/js/Source/Beeswax/CCS.Beeswax.js → apps/beeswax/static/js/Source/Beeswax/Hue.Beeswax.js

@@ -16,9 +16,9 @@
 /*
 ---
 description: Beeswax (the Hive UI)
-provides: [CCS.Beeswax]
-requires: [ccs-shared/CCS.JBrowser, clientcide/TabSwapper, More/Form.Validator.Inline, ccs-shared/DynamicTextarea, ccs-shared/CCS.JFrame.Chooser]
-script: CCS.Beeswax.js
+provides: [Hue.Beeswax]
+requires: [JFrame/JFrame.Browser, clientcide/TabSwapper, More/Form.Validator.Inline, hue-shared/DynamicTextarea, hue-shared/Hue.JFrame.Chooser]
+script: Hue.Beeswax.js
 
 ...
 */
@@ -32,9 +32,9 @@ ART.Sheet.define('splitview.bw-editor', {
 
 (function(){
 
-	CCS.Beeswax = new Class({
+	Hue.Beeswax = new Class({
 
-		Extends: CCS.JBrowser,
+		Extends: Hue.JBrowser,
 
 		options: {
 			displayHistory: false,
@@ -58,7 +58,7 @@ ART.Sheet.define('splitview.bw-editor', {
 						hTable = table.retrieve('HtmlTable');
 						var selected = hTable.selectedRows[0];
 						if (!selected) return;
-						CCS.JFrame.doubleClickHandler(this.jframe, e, selected);
+						Hue.JFrame.doubleClickHandler(this.jframe, e, selected);
 					}.bind(this),
 					description: 'Open the selected item.'
 				}
@@ -75,7 +75,7 @@ ART.Sheet.define('splitview.bw-editor', {
 				'BreadcrumbForm': function(element, methods) {
 				/*
 					The element is a UL with LI items for each breadcrumb; looks like this:
-					<ul data-filters="Breadcrumb, BreadcrumbForm" class="clearfix" data-bc-sections=".ccs-bc-section" data-bc-form="form">
+					<ul data-filters="Breadcrumb, BreadcrumbForm" class="clearfix" data-bc-sections=".hue-bc-section" data-bc-form="form">
 						<li><a href="#step1">One</a></li>
 						<li><a href="#step2">Two</a></li>
 						<li><a href="#step3">Ect</a></li>
@@ -98,7 +98,7 @@ ART.Sheet.define('splitview.bw-editor', {
 							if (!validate) {
 								//reset the error state
 								form.get('validator').reset();
-								if (this.now != undefined) items[this.now].removeClass('ccs-bc-error');
+								if (this.now != undefined) items[this.now].removeClass('hue-bc-error');
 							}
 							if (!validate || getValidator(form).validate()) {
 								//show the section if we're valid
@@ -116,8 +116,8 @@ ART.Sheet.define('splitview.bw-editor', {
 						elementValidate: function(valid, field){
 							var section = field.getParent(element.get('data', 'bc-sections'));
 							var nav = items[sections.indexOf(section)];
-							if (valid) nav.removeClass('ccs-bc-error');
-							else nav.addClass('ccs-bc-error');
+							if (valid) nav.removeClass('hue-bc-error');
+							else nav.addClass('hue-bc-error');
 						}
 					});
 
@@ -127,11 +127,11 @@ ART.Sheet.define('splitview.bw-editor', {
 						sections: sections,
 						smooth: true
 					});
-					//find any sections with an element with the class .ccs-multipart-next and make that
+					//find any sections with an element with the class .hue-multipart-next and make that
 					//next button change tabs; note that this is the only way the user can progress forward (for now)
 					//todo: add some keyboard love; enter, tab, arrows, etc.
 					sections.each(function(section, i) {
-						section.getElements('.ccs-multipart-next').addEvent('click', function(e){
+						section.getElements('.hue-multipart-next').addEvent('click', function(e){
 							e.stop();
 							if (getValidator(form).validate()) tabs.show(i+1);
 						});
@@ -149,8 +149,8 @@ ART.Sheet.define('splitview.bw-editor', {
 			});
 			this.jframe.addFilters({
 				visible: function(container){
-					if(!container.get('html').contains('ccs-visible')) return;
-					container.getElements('.ccs-visible').setStyle("display", "");
+					if(!container.get('html').contains('jframe-visible')) return;
+					container.getElements('.jframe-visible').setStyle("display", "");
 				}
 			});
 			this.addEvents({
@@ -187,15 +187,15 @@ ART.Sheet.define('splitview.bw-editor', {
 			var impInput = importData.getElement('input');
 			var checkImportData = function(e){
 				if (impInput.get('checked')) {
-					impLabel.removeClass('ccs-bw-selected');
+					impLabel.removeClass('hue-bw-selected');
 					impInput.setProperty('checked', 'false');
 				} else {
-					impLabel.addClass('ccs-bw-selected');
+					impLabel.addClass('hue-bw-selected');
 					impInput.setProperty('checked');
 				}
 			};
 			impLabel.addEvent('click', checkImportData);
-			if(impInput.get('checked')) impLabel.addClass('ccs-bw-selected');
+			if(impInput.get('checked')) impLabel.addClass('hue-bw-selected');
 		},
 		
 		setupDefineColumns: function(){
@@ -204,10 +204,10 @@ ART.Sheet.define('splitview.bw-editor', {
 			var hiveInput = showHive.getElement('input');
 			var checkShowHive = function(e){
 				if (hiveInput.get('checked')) {
-					hiveLabel.addClass('ccs-bw-selected');
+					hiveLabel.addClass('hue-bw-selected');
 					hiveInput.setProperty('checked', 'false');
 				} else {
-					hiveLabel.removeClass('ccs-bw-selected');
+					hiveLabel.removeClass('hue-bw-selected');
 					hiveInput.setProperty('checked');
 				}
 			};
@@ -249,8 +249,8 @@ ART.Sheet.define('splitview.bw-editor', {
 			//to add a css class for styling purposes based on their checked state
 			var checkFormSectionInput = function(input, validate) {
 				if (input.get('checked')) {
-					formatSection.getElements('dt').removeClass('ccs-bw-selected');
-					input.getParent('dt').addClass('ccs-bw-selected');
+					formatSection.getElements('dt').removeClass('hue-bw-selected');
+					input.getParent('dt').addClass('hue-bw-selected');
 					if (validate) $(this).getElement('form').validate();
 				}
 			}.bind(this);
@@ -284,8 +284,8 @@ ART.Sheet.define('splitview.bw-editor', {
 			fileSection.getElements('input').each(function(input) {
 				//whent he user chooses one, add some selected state for styling
 				input.addEvent('click', function(){
-					labels.removeClass('ccs-bw-selected');
-					input.getParent('label').addClass('ccs-bw-selected');
+					labels.removeClass('hue-bw-selected');
+					input.getParent('label').addClass('hue-bw-selected');
 					//if the user chooses InputFormat, show the details for that input
 					//and configure them to be validated
 					if (input.get('value') == 'InputFormat') {
@@ -315,14 +315,14 @@ ART.Sheet.define('splitview.bw-editor', {
 			//private method to toggle style state, validation, and the file location input
 			var checkFileLoc = function(e){
 				if (input.get('checked')) {
-					defLabel.addClass('ccs-bw-selected');
+					defLabel.addClass('hue-bw-selected');
 					getOT(fileLocInput).disable();
 					fileLocInput.addClass('ignoreValidation');
 					fileLoc.dissolve();
 					//only validate if this was a user-initiated event
 					if (e) getValidator(input.getParent('form')).validate();
 				} else {
-					defLabel.removeClass('ccs-bw-selected');
+					defLabel.removeClass('hue-bw-selected');
 					fileLoc.removeClass('ignoreValidation').reveal().get('reveal').chain(function(){
 						getOT(fileLocInput).enable();
 					});

+ 1 - 1
apps/beeswax/static/js/package.yml

@@ -2,4 +2,4 @@ copyright: Apache License v2.0
 version: 0.9
 description: Beeswax, a Hive UI
 name: beeswax
-sources: [Source/Beeswax/CCS.Beeswax.js]
+sources: [Source/Beeswax/Hue.Beeswax.js]

+ 8 - 8
apps/filebrowser/src/filebrowser/static/bootstrap.js

@@ -13,16 +13,16 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	FileBrowser: {
 		name: 'File Browser',
 		css: '/filebrowser/static/css/fb.css',
-		require: ['filebrowser/CCS.FileBrowser'],
+		require: ['filebrowser/Hue.FileBrowser'],
 		launch: function(path, options){
-			return new CCS.FileBrowser(path || 'filebrowser/view/?default_to_home=1', options);
+			return new Hue.FileBrowser(path || 'filebrowser/view/?default_to_home=1', options);
 		},
 		menu: {
-			id: 'ccs-filebrowser-menu',
+			id: 'hue-filebrowser-menu',
 			img: {
 				src: '/filebrowser/static/art/icon.png'
 			}
@@ -33,9 +33,9 @@ CCS.Desktop.register({
 		name: 'File Viewer',
 		css: '/filebrowser/static/css/fb.css',
 		launch: function(path, options){
-			return new CCS.FileViewer(path, options);
+			return new Hue.FileViewer(path, options);
 		},
-		require: ['CCS.FileViewer'],
+		require: ['Hue.FileViewer'],
 		help: '/help/filebrowser/'
 		
 	},
@@ -43,9 +43,9 @@ CCS.Desktop.register({
 		name: 'File Editor',
 		css: '/filebrowser/static/css/fb.css',
 		launch: function(path, options){
-			return new CCS.FileEditor(path, options);
+			return new Hue.FileEditor(path, options);
 		},
-		require: ['CCS.FileEditor'],
+		require: ['Hue.FileEditor'],
 		help: '/help/filebrowser/'
 	}
 });

+ 20 - 20
apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/CCS.FileBrowser.js → apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileBrowser.js

@@ -16,9 +16,9 @@
 /*
 ---
 description: File Browser
-provides: [CCS.FileBrowser, CCS.FileChooser, CCS.FileSaver]
-requires: [ccs-shared/CCS.JBrowser, fancyupload/FancyUpload3.Attach, More/URI, More/Fx.Reveal, Widgets/Element.Data]
-script: CCS.FileBrowser.js
+provides: [Hue.FileBrowser, Hue.FileChooser, Hue.FileSaver, CCS.FileBrowser, CCS.FileChooser, CCS.FileSaver]
+requires: [hue-shared/Hue.JBrowser, fancyupload/FancyUpload3.Attach, More/URI, More/Fx.Reveal, Widgets/Element.Data]
+script: Hue.FileBrowser.js
 
 ...
 */
@@ -128,7 +128,7 @@ ART.Sheet.define('window.filechooser.browser', {
 				'a.fb-move': function(e, link) {
 					e.stop();
 					var toMove = link.get('href').toURI().get('data', true).src_path.split('/').getLast();
-					CCS.saveFile(this, toMove, this.getDirPath(), "Move " + toMove, function(data){
+					Hue.saveFile(this, toMove, this.getDirPath(), "Move " + toMove, function(data){
 						var uri = link.get('href').toURI();
 						var params = uri.get('data', true);
 						this.jframe.load({
@@ -160,7 +160,7 @@ ART.Sheet.define('window.filechooser.browser', {
 						hTable = table.retrieve('HtmlTable');
 						var selected = hTable.selectedRows[0];
 						if (!selected) return;
-						CCS.JFrame.doubleClickHandler(this.jframe, e, selected);
+						Hue.JFrame.doubleClickHandler(this.jframe, e, selected);
 					}.bind(this),
 					description: 'Open the selected item.'
 				},
@@ -183,7 +183,7 @@ ART.Sheet.define('window.filechooser.browser', {
 
 		makeUploader: function(dest){
 			if (Browser.Plugins.Flash.build) {
-				this.uploader = new CCS.FileBrowser.Uploader(dest, this.jframe, {
+				this.uploader = new Hue.FileBrowser.Uploader(dest, this.jframe, {
 					//the DOM element where we're going to display our results
 					list: $(this).getElement('.fb-upload-list'),
 					listContainer: $(this).getElement('.fb-uploader'),
@@ -248,9 +248,9 @@ ART.Sheet.define('window.filechooser.browser', {
 		* options - see options defined w/ notes above in the filebrowser object
 	*/
 	
-	CCS.FileBrowser = new Class(
+	Hue.FileBrowser = new Class(
 		$merge({
-			Extends: CCS.JBrowser
+			Extends: Hue.JBrowser
 		}, filebrowser, {
 			//configures history for file browser
 			setupHistory: function(){
@@ -272,7 +272,7 @@ ART.Sheet.define('window.filechooser.browser', {
 	
 	/*
 		the file chooser class; not really meant to be used as a standalone
-		see CCS.chooseFile below
+		see Hue.chooseFile below
 		The exception is when an application requires the file chooser to launch;
 		then there isn't a JBrowser instance already, so use the constructor
 		
@@ -286,7 +286,7 @@ ART.Sheet.define('window.filechooser.browser', {
 	
 	var FileChooser = new Class(
 		$merge({
-			Extends: CCS.JBrowser.Confirm
+			Extends: Hue.JBrowser.Confirm
 		}, filebrowser, {
 			options: {
 				autosize: false,
@@ -314,7 +314,7 @@ ART.Sheet.define('window.filechooser.browser', {
 	);
 
 	
-	CCS.FileChooser = new Class({
+	Hue.FileChooser = new Class({
 		Extends: FileChooser,
 		options: {
 			windowTitler: function() {
@@ -333,7 +333,7 @@ ART.Sheet.define('window.filechooser.browser', {
 						if (selectInfo == null) return;
 						var selectData = selectInfo.data;
 						var selected = selectInfo.elem;
-						if (selectData.type == 'dir') CCS.JFrame.doubleClickHandler(this.jframe, e, selected);
+						if (selectData.type == 'dir') Hue.JFrame.doubleClickHandler(this.jframe, e, selected);
 						else if (selectData.type == 'file') this.getOk().fireEvent('press');
 					}.bind(this)
 				},
@@ -350,7 +350,7 @@ ART.Sheet.define('window.filechooser.browser', {
 
 	});
 
-	CCS.FileSaver = new Class({		 
+	Hue.FileSaver = new Class({		 
 		Extends: FileChooser,
 		options: {
 			windowTitler: function() {
@@ -406,7 +406,7 @@ ART.Sheet.define('window.filechooser.browser', {
 						var selected = hTable.selectedRows[0];
 						if (!selected) return;
 						var selectData = selected.get('data', 'filedata', true);
-						if (selectData.type == 'dir') CCS.JFrame.doubleClickHandler(this.jframe, e, selected);
+						if (selectData.type == 'dir') Hue.JFrame.doubleClickHandler(this.jframe, e, selected);
 						//Leaving this code here for when overwrite does work.
 						/*else if (selectData.type == 'file') {
 							locationInput.set('value', selectData.path.split('/').getLast());
@@ -431,18 +431,18 @@ ART.Sheet.define('window.filechooser.browser', {
 	* fsPath - the root path from the file system; defaults to '/'
 	* cap - the caption of the window; defaults to "Choose a File"
 	* fn - the callback to execute when the user choose a file
-	* options - options passed to CCS.FileChooser
+	* options - options passed to Hue.FileChooser
 		* plus:
 		* filter: (string) either 'file', 'dir', or 'any' to limit choices the user can make
 	*/
-	CCS.chooseFile = function(jbrowser, fsPath, cap, fn, opt){
+	Hue.chooseFile = function(jbrowser, fsPath, cap, fn, opt){
 		return jbrowser.alert(cap, '', fn || $empty, opt, function(caption, content, callback, options) {
 			$extend(options || {}, {
 				caption: caption || "Choose a File",
 				className: 'art filechooser filebrowser browser alert',
 				resizable: true
 			});
-			var chooser = new CCS.FileChooser("/filebrowser/view" + fsPath, options);
+			var chooser = new Hue.FileChooser("/filebrowser/view" + fsPath, options);
 			//set caption when jframe is done loading
 			chooser.jframe.addEvent('loadComplete', function() {
 				this.setCaption(chooser.getDirPath() + " :: " + caption);
@@ -489,7 +489,7 @@ ART.Sheet.define('window.filechooser.browser', {
 						return chooser;
 		});
 	};
-	CCS.saveFile = function(jbrowser, toMove, fsPath, cap, fn, opt){
+	Hue.saveFile = function(jbrowser, toMove, fsPath, cap, fn, opt){
 		return jbrowser.alert(cap, '', fn || $empty, opt, function(caption, content, callback, options) {
 				$extend(options || {}, {
 					caption: caption || "Choose a File",
@@ -497,7 +497,7 @@ ART.Sheet.define('window.filechooser.browser', {
 					resizable: true,
 					fileToMove: toMove
 				});
-				var saver = new CCS.FileSaver("/filebrowser/view" + fsPath + "?show_upload=false", options);
+				var saver = new Hue.FileSaver("/filebrowser/view" + fsPath + "?show_upload=false", options);
 				//Set caption on loadComplete
 				saver.jframe.addEvent('loadComplete', function() {
 					this.setCaption(saver.getDirPath() + " :: " + caption);
@@ -566,7 +566,7 @@ FancyUpload3.Attach.File2 = new Class({
 });
 
 
-CCS.FileBrowser.Uploader = new Class({
+Hue.FileBrowser.Uploader = new Class({
 
 	Implements: Options,
 

+ 6 - 6
apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/CCS.FileEditor.js → apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileEditor.js

@@ -2,9 +2,9 @@
 ---
 
 description: File Editor
-provides: [CCS.FileEditor]
-requires: [ccs-shared/CCS.JBrowser, clientcide/PostEditor, /CCS.FileBrowser]
-script: CCS.FileEditor.js
+provides: [Hue.FileEditor]
+requires: [JFrame/JFrame.Browser, clientcide/PostEditor, /Hue.FileBrowser]
+script: Hue.FileEditor.js
 
 ...
 */
@@ -29,9 +29,9 @@ ART.Sheet.define('window.browser.fileeditor', {
 	'min-height': 310
 });
 
-CCS.FileEditor = new Class({
+Hue.FileEditor = new Class({
 
-	Extends: CCS.JBrowser,
+	Extends: Hue.JBrowser,
 
 	options: {
 		className: 'art browser fileeditor logo_header',
@@ -53,7 +53,7 @@ CCS.FileEditor = new Class({
 				var path = this.getDirPath();
 				var file = path.split('/').getLast();
 				var pathNoFile = this.getDirPath().replace('/' + file, '');
-				CCS.saveFile(this, file, pathNoFile, "Save As", function(data) {
+				Hue.saveFile(this, file, pathNoFile, "Save As", function(data) {
 					var form = saveAs.getElement("form");
 					this.jframe.applyFilter('formRequest', saveAs);
 					this.jframe.applyBehavior('FormRequest', form);

+ 5 - 5
apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/CCS.FileViewer.js → apps/filebrowser/src/filebrowser/static/js/Source/FileBrowser/Hue.FileViewer.js

@@ -1,9 +1,9 @@
 /*
 ---
 description: File Viewer
-provides: [CCS.FileViewer]
-requires: [ccs-shared/CCS.JBrowser]
-script: CCS.FileViewer.js
+provides: [Hue.FileViewer]
+requires: [JFrame/JFrame.Browser]
+script: Hue.FileViewer.js
 
 ...
 */
@@ -33,9 +33,9 @@ ART.Sheet.define('window.browser.fileviewer splitview', {
 });
 
 
-CCS.FileViewer = new Class({
+Hue.FileViewer = new Class({
 
-	Extends: CCS.JBrowser,
+	Extends: Hue.JBrowser,
 
 	options: {
 		className: 'art browser fileviewer logo_header',

+ 1 - 1
apps/filebrowser/src/filebrowser/static/js/package.yml

@@ -2,4 +2,4 @@ copyright: Apache License v2.0
 version: 0.9
 description: File Browser
 name: filebrowser
-sources: [Source/FileBrowser/CCS.FileBrowser.js, Source/FileBrowser/CCS.FileViewer.js, Source/FileBrowser/CCS.FileEditor.js]
+sources: [Source/FileBrowser/Hue.FileBrowser.js, Source/FileBrowser/Hue.FileViewer.js, Source/FileBrowser/Hue.FileEditor.js]

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/chmod.mako

@@ -19,7 +19,7 @@ ${comps.header('Change Permissions: ' + path.split('/')[-1])}
 
 <div class="prompt_popup">
 <form action="/filebrowser/chmod?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Change Permissions: ${path}</h4>
+  <h4 class="jframe-hidden">Change Permissions: ${path}</h4>
   <dl>
     ${edit.render_field(form["path"], hidden=True)}
     <table class="fb-chmod">
@@ -53,11 +53,11 @@ ${comps.header('Change Permissions: ' + path.split('/')[-1])}
       </tbody>
     </table>
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 5 - 5
apps/filebrowser/src/filebrowser/templates/chown.mako

@@ -27,7 +27,7 @@ ${comps.header('Change Owner / Group: ' + path.split('/')[-1])}
 <%def name="selection(name, choices, current_value, other_key=None)">
     <% seen = False %>
     % if len(choices) == 0:
-      <select name="${name}" class="ccs-hidden">
+      <select name="${name}" class="jframe-hidden">
     % else:
       <select name="${name}">
     % endif
@@ -50,7 +50,7 @@ ${comps.header('Change Owner / Group: ' + path.split('/')[-1])}
     </select>
     % if is_superuser:
       % if seen or not current_value:
-        <input name="${other_key}" class="ccs-hidden">
+        <input name="${other_key}" class="jframe-hidden">
       % else:
         <input name="${other_key}" value="${current_value}">
       % endif
@@ -59,7 +59,7 @@ ${comps.header('Change Owner / Group: ' + path.split('/')[-1])}
 
 <div class="prompt_popup">
 <form action="/filebrowser/chown?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Change Owner / Group: ${path}</h4>
+  <h4 class="jframe-hidden">Change Owner / Group: ${path}</h4>
   <dl class="fb-side-by-side">
     ${edit.render_field(form["path"], hidden=True)}
 
@@ -80,12 +80,12 @@ ${comps.header('Change Owner / Group: ' + path.split('/')[-1])}
       % endif
     </dd>
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 <p>Note: Only the Hadoop superuser, on this FS "${extra_params['superuser']}", may change the owner of a file.</p>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 6 - 6
apps/filebrowser/src/filebrowser/templates/display.mako

@@ -52,14 +52,14 @@
       % endif
        <a class="fv-download" data-filters="ArtButton" target="_blank" data-icon-styles="{'width': 16, 'height': 16}" href="${url('filebrowser.views.download', path=path_enc)}">Download</a>
        <a class="fv-viewLocation" data-filters="ArtButton" data-icon-styles="{'width': 16, 'height': 16}" href="${url('filebrowser.views.view', path=dirname_enc)}" target="FileBrowser">View File Location</a>
-       <a class="ccs-refresh large" data-filters="ArtButton">Refresh</a>
+       <a class="jframe-refresh large" data-filters="ArtButton">Refresh</a>
     </div>
   </div>
   <div class="fv-navhead">
     % if not view['compression'] or view['compression'] == "none":
       <div class="fv-navStatus">
         <form data-filters="SubmitOnChange" class="fv-changeBytesForm" action="${url('filebrowser.views.view', path=path_enc)}" method="GET">
-          <span class="fv-bold">Viewing Bytes:</span><a class="fv-editBytes ccs-inline" title="Enter Bytes"></a>
+          <span class="fv-bold">Viewing Bytes:</span><a class="fv-editBytes jframe-inline" title="Enter Bytes"></a>
           <input name="begin" value="${view['offset'] + 1}"/>
           -
           <input value="${view['end']}" name="end"/> of
@@ -87,10 +87,10 @@
               last =  "href='%s?offset=%d&length=%d&compression=none' title='%d - %d'" %(base_url, stats['size']-(stats['size'] % view['length']), view['length'], stats['size']-(stats['size'] % view['length']) + 1, stats['size'])
         %>
         ###DEFINE REL
-        <a class="ccs-inline fv-firstBlock" data-filters="PointyTip" ${first}>First Block</a>
-        <a class="ccs-inline fv-prevBlock" data-filters="PointyTip" ${prev}>Previous Block</a>
-        <a class="ccs-inline fv-nextBlock" data-filters="PointyTip" ${next}>Next Block</a>
-        <a class="ccs-inline fv-lastBlock" data-filters="PointyTip" ${last}>Last Block</a>
+        <a class="jframe-inline fv-firstBlock" data-filters="PointyTip" ${first}>First Block</a>
+        <a class="jframe-inline fv-prevBlock" data-filters="PointyTip" ${prev}>Previous Block</a>
+        <a class="jframe-inline fv-nextBlock" data-filters="PointyTip" ${next}>Next Block</a>
+        <a class="jframe-inline fv-lastBlock" data-filters="PointyTip" ${last}>Last Block</a>
       </div>
     % endif
   </div>

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/edit.mako

@@ -43,13 +43,13 @@
 <form class="fe-editForm" method="post" action="${url('filebrowser.views.save_file')}">
     ${edit.render_field(form["path"], hidden=True, notitle=True)}
     ${edit.render_field(form["encoding"], hidden=True, notitle=True)}
-    <h2 class="ccs-hidden">${form["contents"].label_tag() | n}</h2>
+    <h2 class="jframe-hidden">${form["contents"].label_tag() | n}</h2>
     <div class="fe-divResize" data-filters="SizeTo" data-size-to-width="100%" data-size-to-height="100%">${edit.render_field(form["contents"], tag="textarea", notitle=True, attrs=dict(
       data_filters="SizeTo, PostEditor",
       data_size_to_width="-20",
       data_size_to_height="100%")) | n}</div>
-    <input class="ccs-hidden" type="submit" name="save" value="saveAs">
-    <input class="ccs-hidden" type="submit" name="save" value="save">
+    <input class="jframe-hidden" type="submit" name="save" value="saveAs">
+    <input class="jframe-hidden" type="submit" name="save" value="save">
 </form>
 </body>
 </html>

+ 4 - 4
apps/filebrowser/src/filebrowser/templates/editor_components.mako

@@ -60,14 +60,14 @@
   if klass:
     classes.append(klass)
   if hidden: 
-    classes.append("ccs-hidden")
+    classes.append("jframe-hidden")
   cls = ' '.join(classes)
 
   title_classes = []
   if title_klass:
     title_classes.append(title_klass)
   if notitle or hidden:
-    title_classes.append("ccs-hidden")
+    title_classes.append("jframe-hidden")
   titlecls = ' '.join(title_classes)
 %>
   % if field.is_hidden:
@@ -89,11 +89,11 @@
         % endif
       % endif
       % if help:
-        <p class="ccs-inline" data-filters="HelpTip" ${make_attr_str(help_attrs) | n}>${help}</p>
+        <p class="jframe-inline" data-filters="HelpTip" ${make_attr_str(help_attrs) | n}>${help}</p>
       % endif
     </dd>
     % if len(field.errors):
-      <dd class="beeswax_error ccs-error">
+      <dd class="beeswax_error jframe-error">
          ${unicode(field.errors) | n}
        </dd>
     % endif

+ 2 - 2
apps/filebrowser/src/filebrowser/templates/fb_components.mako

@@ -49,12 +49,12 @@ from django.template.defaultfilters import urlencode, escape
 </%def>
 
 <%def name="footer()">
-      <div class="fb-uploader ccs-hidden">
+      <div class="fb-uploader jframe-hidden">
         <a class="fb-cancel-upload">Close</a>
         <ul class="fb-upload-list"></ul>
 
         <div class="fb-noflash">If you are experiencing flash errors due to uploading,
-          you can <a target="ccs_upload" href="${ url('filebrowser.views.upload') }">upload without flash</a>.
+          you can <a target="hue_upload" href="${ url('filebrowser.views.upload') }">upload without flash</a>.
         </div>
       </div>
     </body>

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/listdir.mako

@@ -22,7 +22,7 @@ from django.template.defaultfilters import escape, stringformat, date, time
 ${comps.header(path, current_request_path, cwd_set=cwd_set, show_upload=show_upload)}
 
   <div id="dirlist" class="view">
-    <h1 class="ccs-hidden">${path|escape}</h1>
+    <h1 class="jframe-hidden">${path|escape}</h1>
     ${dir.list_table_browser(files, path_enc, current_request_path, cwd_set)}
   </div>
 ${comps.footer()}

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/listdir_components.mako

@@ -72,7 +72,7 @@ from desktop.lib.django_util import reverse_with_get
   ## Since path is in unicode, Django and Mako handle url encoding and
   ## iri encoding correctly for us.
         <% path = file['path'] %>
-        <tr class="ccs-no_select fb-item-row ${cls}"
+        <tr class="jframe-no_select fb-item-row ${cls}"
          data-filters="ContextMenu"
          data-context-menu-actions="[{'events':['contextmenu','click:relay(.fb-item-options)'],'menu':'ul.context-menu'}]"
          data-dblclick-delegate= "{'dblclick_loads':'a.fb-item'}" data-filedata="{'path':'${path}','type':'${file['type']|u}'}">

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/mkdir.mako

@@ -20,16 +20,16 @@ ${comps.header('Create Directory')}
 
 <div class="prompt_popup">
 <form action="/filebrowser/mkdir?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Create Directory}</h4>
+  <h4 class="jframe-hidden">Create Directory}</h4>
   <dl>
     ${edit.render_field(form["path"], hidden=True)}
     ${edit.render_field(form["name"])}
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/move.mako

@@ -20,16 +20,16 @@ ${comps.header('Move: ' + src_path.split('/')[-1])}
 
 <div class="prompt_popup">
 <form action="/filebrowser/move?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Move: ${src_path}</h4>
+  <h4 class="jframe-hidden">Move: ${src_path}</h4>
   <dl>
     ${edit.render_field(form["src_path"], hidden=True)}
     ${edit.render_field(form["dest_path"], notitle=True)}
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/rename.mako

@@ -20,16 +20,16 @@ ${comps.header('Rename: ' + src_path.split('/')[-1])}
 
 <div class="prompt_popup">
 <form action="/filebrowser/rename?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Renaming: ${src_path}</h4>
+  <h4 class="jframe-hidden">Renaming: ${src_path}</h4>
   <dl>
     ${edit.render_field(form["src_path"], hidden=True)}
     ${edit.render_field(form["dest_path"], notitle=True)}
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/saveas.mako

@@ -32,7 +32,7 @@
           ${edit.render_field(form["path"], notitle=True)}
           <div>${edit.render_field(form["contents"], hidden=True)}</div>
           <div>${edit.render_field(form["encoding"], hidden=True)}</div>
-          <input type="submit" class="ccs-hidden" name="save" value="save"/>
+          <input type="submit" class="jframe-hidden" name="save" value="save"/>
       </form>
     </div>
   </body>

+ 3 - 3
apps/filebrowser/src/filebrowser/templates/upload.mako

@@ -19,16 +19,16 @@ ${comps.header('Upload Files')}
 
 <div class="prompt_popup">
 <form action="/filebrowser/upload?next=${next|u}" method="POST" enctype="multipart/form-data">
-  <h4 class="ccs-hidden">Upload Files</h4>
+  <h4 class="jframe-hidden">Upload Files</h4>
   <dl>
     ${edit.render_field(form["dest"], hidden=True)}
     ${edit.render_field(form["file"], render_default=True, notitle=True)}
   </dl>
-  <input class="ccs-hidden" type="submit" value="Submit" />
+  <input class="jframe-hidden" type="submit" value="Submit" />
 </form>
 </div>
 
-<div class="ccs-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
+<div class="jframe-hidden">Go back to where you were: <a href="${next|u}">${next}</a>.</div>
 
 
 ${comps.footer()}

+ 2 - 2
apps/help/src/help/static/bootstrap.js

@@ -13,7 +13,7 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	Help: {
 		name: 'Help',
 		require: ['help/Help'],
@@ -22,7 +22,7 @@ CCS.Desktop.register({
 			return new Help(path, options);
 		},
 		menu: {
-			id: 'ccs-filebrowser-menu',
+			id: 'hue-filebrowser-menu',
 			img: {
 				src: '/help/static/art/help.png'
 			}

+ 12 - 12
apps/help/src/help/static/css/dv.css

@@ -1,9 +1,9 @@
-div.ccs-help div.jframe_contents .help-logo {
+div.hue-help div.jframe_contents .help-logo {
 	float: right;
 	margin: 0px 20px;
 }
 
-div.ccs-help h1 {
+div.hue-help h1 {
 	background: lightBlue;
 	margin-bottom: 10px;
 	padding: 5px;
@@ -12,28 +12,28 @@ div.ccs-help h1 {
 	-webkit-border-radius: 10px;
 }
 
-div.ccs-help p, {
+div.hue-help p, {
 	margin-left: 5px;
 }
 
-div.ccs-help pre {
+div.hue-help pre {
 	margin-left: 10px;
 }
 
-div.ccs-help .art-splitview-left {
+div.hue-help .art-splitview-left {
 	background: lightBlue !important;
 }
 
-div.ccs-help .art-splitview-right {
+div.hue-help .art-splitview-right {
 	background: white !important;
 }
 
-div.ccs-help .left_col ul {
+div.hue-help .left_col ul {
 	padding-left: 5px;
 	border-left: solid 5px black;
 }
 
-div.ccs-help .left_col li {
+div.hue-help .left_col li {
 	margin: 5px 0px;
 	background-color: white;
 	color: black;
@@ -43,22 +43,22 @@ div.ccs-help .left_col li {
 	border: solid lightBlue 1px;
 }
 
-div.ccs-help .left_col li:hover {
+div.hue-help .left_col li:hover {
 	background-color: lightBlue;
 	border: solid black 1px;
 	color: white;
 }
 
-div.ccs-help .left_col a {
+div.hue-help .left_col a {
 	color: black;
 	display: block;
 }
 
-div.ccs-help .left_col a:hover {
+div.hue-help .left_col a:hover {
 	text-decoration: none;
 }
 
-div.ccs-help .right_col a[name] {
+div.hue-help .right_col a[name] {
   position: relative;
   left: -10px;
 }

+ 4 - 4
apps/help/src/help/static/js/Source/Help/Help.js

@@ -17,16 +17,16 @@
 ---
 description: Help Application
 provides: [Help]
-requires: [ccs-shared/CCS.JBrowser]
+requires: [JFrame/JFrame.Browser]
 script: Help.js
 ...
 */
 var Help = new Class({
 
-	Extends: CCS.JBrowser,
+	Extends: Hue.JBrowser,
 
 	options: {
-		className: 'art browser ccs-help',
+		className: 'art browser hue-help',
 		historyOptions: {
 			editable: false
 		},
@@ -44,6 +44,6 @@ var Help = new Class({
 				return path.replace('/help/', '');
 			}
 		});
-		if (!CCS.Desktop.helpInstance || CCS.Desktop.helpInstance.isDestroyed()) CCS.Desktop.helpInstance = this;
+		if (!Hue.Desktop.helpInstance || Hue.Desktop.helpInstance.isDestroyed()) Hue.Desktop.helpInstance = this;
 	}
 });

+ 1 - 1
apps/help/src/help/static/js/libs.json

@@ -8,7 +8,7 @@
   "clientcide": {
     "scripts": "/static/js/ThirdParty/clientcide/Source"
   },
-  "ccs-shared": {
+  "hue-shared": {
     "scripts": "/static/js/Source"
   },
   "subtletemplates": {

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/OOCSS.Bar.Paginator.html

@@ -29,7 +29,7 @@
 		<a href="" class="Button roundLeft"><i class="Icon iFirst">First</i></a>
 		<a href="" class="Button"><i class="Icon iBack">Back</i></a>
 		<a href="" class="Button"><i class="Icon iRefresh">Refresh</i></a>
-		<form action=""><input class=round size=5 value=page1><input type=submit class=ccs-hidden value=Go /></form>
+		<form action=""><input class=round size=5 value=page1><input type=submit class=jframe-hidden value=Go /></form>
 		<a href="" class="Button"><i class="Icon iNext">Next</i></a>
 		<a href="" class="Button roundRight"><i class="Icon iLast">Last</i></a>
 	</div>
@@ -38,7 +38,7 @@
 		<a href="" class="disabled Button roundLeft"><i class="Icon iFirst">First</i></a>
 		<a href="" class="disabled Button"><i class="Icon iBack">Back</i></a>
 		<a href="" class="disabled Button"><i class="Icon iRefresh">Refresh</i></a>
-		<form action=""><input class=round size=5 value=page1><input type=submit class=ccs-hidden value=Go /></form>
+		<form action=""><input class=round size=5 value=page1><input type=submit class=jframe-hidden value=Go /></form>
 		<a href="" class="disabled Button"><i class="Icon iNext">Next</i></a>
 		<a href="" class="disabled Button roundRight"><i class="Icon iLast">Last</i></a>
 		
@@ -51,7 +51,7 @@
 			<a href="" class="Button roundLeft"><i class="Icon iFirst">First</i></a>
 			<a href="" class=Button><i class="Icon iBack">Back</i></a>
 			<a href="" class=Button><i class="Icon iRefresh">Refresh</i></a>
-			<form action=""><input class=round size=5 value=page1><input type=submit class=ccs-hidden value=Go /></form>
+			<form action=""><input class=round size=5 value=page1><input type=submit class=jframe-hidden value=Go /></form>
 			<a href="" class=Button><i class="Icon iNext">Next</i></a>
 			<a href="" class="Button roundRight"><i class="Icon iLast">Last</i></a>
 			

+ 4 - 4
apps/jframegallery/src/jframegallery/templates/gallery/Refresh.with.params.mako

@@ -23,10 +23,10 @@ limitations under the License.
 	<body>
 		<div class="jframe_padded">
 			<p>clicking the two links below will update the view to have their corresponding get parameters added. This is cumulative, so clicking each one only updates the relevant param (not deleting others)</p>
-			<a class="ccs-refresh_with_params" data-refresh-params="iLike=cookies">I refresh this view with "iLike=cookies"</a><br/>
-			<a class="ccs-refresh_with_params" data-refresh-params="iLike=cake">I refresh this view with "iLike=cake"</a><br/>
-			<a class="ccs-refresh_with_params" data-refresh-params="youLike=cookies">I refresh this view with "youLike=cookies"</a><br/>
-			<a class="ccs-refresh_with_params" data-refresh-params="youLike=cake">I refresh this view with "youLike=cake"</a><br/>
+			<a class="jframe-refresh_with_params" data-refresh-params="iLike=cookies">I refresh this view with "iLike=cookies"</a><br/>
+			<a class="jframe-refresh_with_params" data-refresh-params="iLike=cake">I refresh this view with "iLike=cake"</a><br/>
+			<a class="jframe-refresh_with_params" data-refresh-params="youLike=cookies">I refresh this view with "youLike=cookies"</a><br/>
+			<a class="jframe-refresh_with_params" data-refresh-params="youLike=cake">I refresh this view with "youLike=cake"</a><br/>
 			<hr/>
 			the current values: <br/>
 			iLike: ${ get_var("iLike", "~")}<br/>

+ 1 - 12
apps/jframegallery/src/jframegallery/templates/gallery/art-button.html

@@ -43,18 +43,7 @@ limitations under the License.
 				<a data-filters="ArtButton" href="/jframegallery/" style="background: url(/static/art/info.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button!</a>
 				<a data-filters="ArtButton" href="/jframegallery/" style="background: url(/static/art/error.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button too!</a>
 			</div>
-			
-			<hr style="clear:both"/>
-			<p>
-				The example below uses a deprecated method for creating buttons. You should see console warnings if you enable dbug.
-			</p>
-			<div class="ccs-button_bar" style="clear:both">
-				<a class="ccs-art_button" href="/jframegallery/" style="background: url(/static/art/info.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button!</a>
-				<a class="ccs-art_button" href="/jframegallery/" style="background: url(/static/art/error.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button too!</a>
-				<a class="ccs-art_button" href="/jframegallery/" style="background: url(/static/art/info.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button!</a>
-				<a class="ccs-art_button" href="/jframegallery/" style="background: url(/static/art/error.png) left 50%; padding: 6px 6px 6px 20px; margin: 10px 0px;" data-icon-styles="{'width': 14, 'height': 14}">I'm a button too!</a>
-			</div>
-			
+
 		</div>
 	</body>
 </html>

+ 0 - 7
apps/jframegallery/src/jframegallery/templates/gallery/art-inputs.html

@@ -29,13 +29,6 @@ limitations under the License.
 			<input type="input" title="search..." data-filters="ArtInput, OverText" data-art-input-type="search"/>
 			<input type="input" title="your name here..." data-filters="ArtInput, OverText"/>
 
-			<hr/>
-			<p>
-				The examples below should work exactly the same way but they are using the deprecated methods of having 
-			</p>
-			<input type="input" title="search..." data-filters="OverText, ArtInput" data-art-input-type="search" />
-			<input type="input" title="your name here..." class="ccs-input" data-filters="OverText"/>
-			
 		</div>
 	</body>
 </html>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/check.all.or.none.html

@@ -22,7 +22,7 @@ limitations under the License.
 	</head>
 	<body>
 		<div class="jframe_padded">
-			<p><a class="ccs-checkAll" data-check-group=".chex input">checkAll</a> | <a class="ccs-checkNone" data-check-group=".chex input">checkNone</a></p>
+			<p><a class="jframe-checkAll" data-check-group=".chex input">checkAll</a> | <a class="jframe-checkNone" data-check-group=".chex input">checkNone</a></p>
 			<div class="chex">
 				<input type="checkbox"/>
 				<input type="checkbox"/>

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/chooser.linker.html

@@ -21,11 +21,11 @@ limitations under the License.
 </head>
 <body>
   <p>Choose a File (Can't Choose Directory)
-  <input type="text" name="file"/><a class="ccs-choose_file" data-filters="ArtButton" data-chooseFor="file">Save As</a>
+  <input type="text" name="file"/><a class="hue-choose_file" data-filters="ArtButton" data-chooseFor="file">Save As</a>
   <p>Choose a Directory (Can't Choose Path)
-  <input type="text" name="dir"/><a class="ccs-choose_dir" data-filters="ArtButton" data-chooseFor="dir">Save As</a>
+  <input type="text" name="dir"/><a class="hue-choose_dir" data-filters="ArtButton" data-chooseFor="dir">Save As</a>
   <p>Choose a Path (Can Choose Either Directory or Path)
-  <input type="text" name="path"/><a class="ccs-choose_path" data-filters="ArtButton" data-chooseFor="path">Save As</a>
+  <input type="text" name="path"/><a class="hue-choose_path" data-filters="ArtButton" data-chooseFor="path">Save As</a>
 
 </body>
 </html>

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/context-menu.html

@@ -21,9 +21,9 @@ limitations under the License.
 		<title>Context Menu</title>
 	</head>
 	<body>
-		<div data-filters="ContextMenu" class="ccs-shared" data-context-menu-actions="[{'events':['contextmenu','click:relay(a.show-options)'],'menu':'ul.context-menu'}]" style="width: 200px; height: 100px; padding: 40px; background: #ccc; border: 1px solid #000; margin: 10px auto;">
+		<div data-filters="ContextMenu" class="hue-shared" data-context-menu-actions="[{'events':['contextmenu','click:relay(a.show-options)'],'menu':'ul.context-menu'}]" style="width: 200px; height: 100px; padding: 40px; background: #ccc; border: 1px solid #000; margin: 10px auto;">
 			I show a menu if you right click anywhere in me. Or you can click <a class="show-options">this link</a> to show it.
-			<ul class="context-menu ccs-hidden">
+			<ul class="context-menu jframe-hidden">
 				<li class="cm-one">Item 1</li>
 				<li class="cm-two">Item 2</li>
 				<li class="cm-three">Item 3</li>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/double.click-delegator.html

@@ -37,7 +37,7 @@ limitations under the License.
 			</div>
 
 			<div data-dblclick-delegate="{'dblclick_loads':'.dblme'}" style="width: 200px; height: 100px; padding: 40px; background: #ccc; border: 1px solid #000;  margin: 10px; float: left;">
-				<a class="dblme ccs-nav_back">I'm a link with no href, but I have the ccs class name ccs-nav_back, so I navigate back in the app window's history. Double clicking my container should send you back to the JFrame gallery.</a>
+				<a class="dblme jframe-nav_back">I'm a link with no href, but I have the hue class name jframe-nav_back, so I navigate back in the app window's history. Double clicking my container should send you back to the JFrame gallery.</a>
 			</div>
 		</div>
 

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/filter.input.html

@@ -22,7 +22,7 @@ limitations under the License.
 	</head>
 	<body>
 	<div class="toolbar" style="position: absolute; top: 57px; left: 70px">
-		<input type="text" class="ccs-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
+		<input type="text" class="jframe-hidden" data-filters="OverText, ArtInput, FilterInput" data-art-input-type="search"
 			title="Filter by Name"
 			data-filter-elements="td.city" data-filter-parents="tr" value="New York"/>
 	</div>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/fit.text.(table).html

@@ -21,7 +21,7 @@ limitations under the License.
 		<title>FitText (table)</title>
 	</head>
 	<body>
-	<h1 class="ccs-hidden">FitText (table)</h1>
+	<h1 class="jframe-hidden">FitText (table)</h1>
 	
 	<table data-filters="HtmlTable" class="selectable sortable resizable" data-filters="FitText-Children" cellpadding="0" cellspacing="0" data-fit-text="td">
 		<thead>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/html-table.check.selected.html

@@ -21,7 +21,7 @@ limitations under the License.
 	<title>HtmlTable HtmlTableCheckSelected</title>
 </head>
 <body>
-<div class=ccs-shared>
+<div class=hue-shared>
 
 	<p>Select a row. Notice how its checkbox automatically checks itself.</p>
 	<table data-filters=HtmlTable class="multiselect selectable sortable" cellpadding=0 cellspacing=0>

+ 4 - 4
apps/jframegallery/src/jframegallery/templates/gallery/html-table.configurable.columns.mako

@@ -69,7 +69,7 @@
     <title>Configurable Columns</title>
   </head>
   <body data-filters="CollapsingElements">
-    <form action="${request_path}" method="GET" class="ccs-hidden collapsible ccs-table_config">
+    <form action="${request_path}" method="GET" class="jframe-hidden collapsible hue-table_config">
       <ul>
         % for i, option in enumerate(columns):
           <%
@@ -80,8 +80,8 @@
           <li><label><input type="checkbox" name="show_columns" value="${i}" ${checked}/> ${option}</label></li>
         % endfor
       </ul>
-      <a class="ccs-checkAll" data-filters="ArtButton" data-check-group=".ccs-table_config input">checkAll</a>
-      <a class="ccs-checkNone" data-filters="ArtButton" data-check-group=".ccs-table_config input">checkNone</a>
+      <a class="jframe-checkAll" data-filters="ArtButton" data-check-group=".hue-table_config input">checkAll</a>
+      <a class="jframe-checkNone" data-filters="ArtButton" data-check-group=".hue-table_config input">checkNone</a>
       <input type="submit" value="Apply" data-filters="ArtButton"/>
     </form>
     <table data-filters="HtmlTable">
@@ -90,7 +90,7 @@
           % for i, col in enumerate(active_columns):
             % if i == 0:
               <th>
-                <a class="collapser ccs-table_config_link ccs-left"></a>
+                <a class="collapser hue-table_config_link jframe-left"></a>
                 ${col}
               </th>
             % else:

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/html-table.html

@@ -21,7 +21,7 @@ limitations under the License.
 		<title>HtmlTable</title>
 	</head>
 	<body>
-	<h1 class="ccs-hidden">HtmlTable</h1>
+	<h1 class="jframe-hidden">HtmlTable</h1>
 	
 	<table data-filters="HtmlTable" class="selectable sortable" cellpadding="0" cellspacing="0">
 		<thead>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/html-table.keyboard.kids.html

@@ -5,7 +5,7 @@
 	<title>HtmlTable KeyboardKids -- Define shortcuts for your HtmlTable</title>
 </head>
 <body>
-<div class="ccs-shared">
+<div class="hue-shared">
 
 	<h3>How to use:</h3>
 	<ol>

+ 5 - 5
apps/jframegallery/src/jframegallery/templates/gallery/html-table.multi-select.menu.html

@@ -21,7 +21,7 @@ limitations under the License.
 		<title>HtmlTable Multi-Select Menu</title>
 	</head>
 	<body>
-		<div class="ccs-shared">
+		<div class="hue-shared">
 			
 			<p>
 				Right click a row in the table below to get a menu. Select more than one row (hold shift) and right click and get a different menu.
@@ -31,7 +31,7 @@ limitations under the License.
 		data-context-menu-actions="[{'events':['contextmenu'], 'menu':'ul.table-context-menu'}]">
 		    <thead>
 		      <tr>
-			<th><ul class="table-context-menu context-menu ccs-hidden">
+			<th><ul class="table-context-menu context-menu jframe-hidden">
 				<li class="cm-one">multi-select option 1</li>
 				<li class="cm-two">multi-select option 2</li>
 				<li class="cm-three">multi-select option 3</li>
@@ -55,7 +55,7 @@ limitations under the License.
 			</thead>
 			<tbody>
 				<tr data-filters="ContextMenu" data-context-menu-actions="[{'events':['contextmenu','click:relay(a.show-options)'],'menu':'ul.context-menu'}]">
-					<td><ul class="context-menu ccs-hidden">
+					<td><ul class="context-menu jframe-hidden">
 						<li class="cm-one">Item 1</li>
 						<li class="cm-two">Item 2</li>
 						<li class="cm-three">Item 3</li>
@@ -77,7 +77,7 @@ limitations under the License.
 					</td>
 				</tr>
 				<tr data-filters="ContextMenu" data-context-menu-actions="[{'events':['contextmenu','click:relay(a.show-options)'],'menu':'ul.context-menu'}]">
-					<td><ul class="context-menu ccs-hidden">
+					<td><ul class="context-menu jframe-hidden">
 						<li class="cm-one">Item 1</li>
 						<li class="cm-two">Item 2</li>
 						<li class="cm-three">Item 3</li>
@@ -99,7 +99,7 @@ limitations under the License.
 					</td>
 				</tr>
 				<tr data-filters="ContextMenu" data-context-menu-actions="[{'events':['contextmenu','click:relay(a.show-options)'],'menu':'ul.context-menu'}]">
-					<td><ul class="context-menu ccs-hidden">
+					<td><ul class="context-menu jframe-hidden">
 						<li class="cm-one">Item 1</li>
 						<li class="cm-two">Item 2</li>
 						<li class="cm-three">Item 3</li>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/html-table.resizable.columns.html

@@ -21,7 +21,7 @@ limitations under the License.
 	<title>HtmlTable Resizable Columns</title>
 </head>
 <body>
-<div class=ccs-shared>
+<div class=hue-shared>
 
 	<p>you can resize the columns below by dragging the border between them in the table header.</p>
 	<table data-filters=HtmlTable class="multiselect selectable sortable resizable" data-table-resize="table" cellpadding=0 cellspacing=0>

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/html-table.treeview.ajax.mako

@@ -56,9 +56,9 @@
           data-partial-line-id="pstree-line-${node.pid}">
           <td style="max-width:400px">
             % if path in open_paths:
-              <a href="${remove(path)}" class="ccs-hidden">collapse</a>
+              <a href="${remove(path)}" class="jframe-hidden">collapse</a>
             % elif node.children:
-              <a href="${add(path)}" class="ccs-hidden">expand</a>
+              <a href="${add(path)}" class="jframe-hidden">expand</a>
             % endif
 
             % if node.children:
@@ -66,7 +66,7 @@
                 data-spinner-target=".pstree-${node.pid}"
                 data-livepath-toggle="${urllib.urlencode([('paths', node.path)])}"
                 data-ajax-after=".pstree-${node.pid}" data-ajax-filter="tbody tr">subset</a>
-              <a href="${request_path}?subtree=${node.pid}" class="sub ccs-hidden">browse</a>
+              <a href="${request_path}?subtree=${node.pid}" class="sub jframe-hidden">browse</a>
             % endif
 
             <div style="overflow:hidden; white-space:nowrap;" data-filters="FitText">${node.command}</div></td>

+ 16 - 16
apps/jframegallery/src/jframegallery/templates/gallery/html-table.treeview.html

@@ -21,11 +21,11 @@ limitations under the License.
 		<title>HtmlTable Tree View</title>
 	</head>
 	<body>
-	<h1 class="ccs-hidden">HtmlTable Tree View</h1>
+	<h1 class="jframe-hidden">HtmlTable Tree View</h1>
 	<div class="jframe_padded">
 		
 		<p>The table below will appear to be a tree view table immediately, even before scripts are loaded. It will become interactive once the scripts have loaded. You should be able to click a section's expand arrow to expand it. Keys should work - up and down to navigate, shift + up and down to multiselect, left and right to collapse and expand sections.</p>
-		<table id="tree2" data-filters="HtmlTable" class="selectable treeView multiselect ccs-bordered-table">
+		<table id="tree2" data-filters="HtmlTable" class="selectable treeView multiselect hue-bordered-table">
 			<thead>
 				<tr>
 					<th>Name</th>
@@ -42,17 +42,17 @@ limitations under the License.
 						<td>Jul 10, 2010 1:39pm</td>
 						<td>--</td>
 					</tr>
-						<tr class="ccs-hidden table-depth-1">
+						<tr class="jframe-hidden table-depth-1">
 							<td>Resume.pdf</td>
 							<td>Jul 10, 2010 1:39pm</td>
 							<td>--</td>
 						</tr>
-						<tr class="ccs-hidden table-depth-1">
+						<tr class="jframe-hidden table-depth-1">
 							<td>notes.txt</td>
 							<td>Jul 10, 2010 1:39pm</td>
 							<td>--</td>
 						</tr>
-						<tr class="ccs-hidden table-folder table-depth-1">
+						<tr class="jframe-hidden table-folder table-depth-1">
 							<td>
 								<a class="expand"></a>
 								Receipts
@@ -60,22 +60,22 @@ limitations under the License.
 							<td>Jul 10, 2010 1:39pm</td>
 							<td>--</td>
 						</tr>
-								<tr class="ccs-hidden table-depth-2">
+								<tr class="jframe-hidden table-depth-2">
 									<td>starbucks.txt</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-2">
+								<tr class="jframe-hidden table-depth-2">
 									<td>safeway.txt</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-2">
+								<tr class="jframe-hidden table-depth-2">
 									<td>movies.txt</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-folder table-depth-2">
+								<tr class="jframe-hidden table-folder table-depth-2">
 									<td>
 										<a class="expand"></a>
 										Taxes
@@ -83,42 +83,42 @@ limitations under the License.
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-3">
+								<tr class="jframe-hidden table-depth-3">
 									<td>
 										2008 Taxes.pdf
 									</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-3">
+								<tr class="jframe-hidden table-depth-3">
 									<td>
 										2009 Taxes.pdf
 									</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-3">
+								<tr class="jframe-hidden table-depth-3">
 									<td>
 										2010 Taxes.pdf
 									</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-folder table-depth-2">
+								<tr class="jframe-hidden table-folder table-depth-2">
 									<td>
 										<a class="expand"></a>
 										Pictures</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-3">
+								<tr class="jframe-hidden table-depth-3">
 									<td>
 										Baby.jpg
 									</td>
 									<td>Jul 10, 2010 1:39pm</td>
 									<td>--</td>
 								</tr>
-								<tr class="ccs-hidden table-depth-2">
+								<tr class="jframe-hidden table-depth-2">
 									<td>
 										Bar.txt
 									</td>
@@ -136,7 +136,7 @@ limitations under the License.
 		</table>
 
 		<p>The table below will turn into a treeview on startup. Unlike the table above, none of its rows are hidden on load but only after the HtmlTable filter is applied. Both will appear the same to you, though this one will take longer to build.</p>
-		<table id="tree" data-filters="HtmlTable" class="selectable treeView buildTree ccs-bordered-table buildTree">
+		<table id="tree" data-filters="HtmlTable" class="selectable treeView buildTree hue-bordered-table buildTree">
 			<thead>
 				<tr>
 					<th>Name</th>

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/partial_refresh.mako

@@ -28,7 +28,7 @@ count = int(get_var('count', 0))
   <body>
     <div class="jframe_padded highlight-partial-updates">
       <h2 data-single-partial-id="0">The current time: ${datetime.now().strftime("%Y-%m-%d %H:%M:%S")}</h2>
-      <a class="ccs-fake_refresh">fake refresh</a>
+      <a class="jframe-fake_refresh">fake refresh</a>
       <a data-filters="ArtButton" data-single-partial-id="1">current time: ${datetime.now().strftime("%Y-%m-%d %H:%M:%S")}</a>
       <br/>
       <textarea type="text">you can change this</textarea>
@@ -93,7 +93,7 @@ count = int(get_var('count', 0))
        <tbody data-partial-container-id="partials-tbody-rotate" class="ordered_partial_refresh">
          <%
            rows = 0
-           show = 1000
+           show = 10
             %>
          % while rows < show:
            <%

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/post-load.prompt.popup.html

@@ -35,7 +35,7 @@ limitations under the License.
 				I'm a post-load prompt. Enter a value please.
 				<form action="{{request_path}}" method="post" style="margin: 6px 0px 0px;">
 					<input type="text" name="prompt_value"/>
-					<input type="submit" class="ccs-hidden" name="submit"/>
+					<input type="submit" class="jframe-hidden" name="submit"/>
 				</form>
 		</div>
 		{% endif %}

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/resizables.html

@@ -28,10 +28,10 @@ limitations under the License.
       <div class="textresizer" style="width: 254px; background: #ddd; border-top: 1px solid #eee; border-left: 1px solid #eee; border-right: 1px solid #333; border-bottom: 1px solid #333; height: 4px; cursor: s-resize; margin-bottom: 10px; clear:both;"></div>
     </div>
     <hr style="clear:both"/>
-		<p>The example below uses the default style for a resize handle, which is positioned on the bottom right corner of its container. It has the .ccs-resize_handle class.</p>
-		<div data-filters="Resizable" data-resize-handle=".ccs-resize_handle" style="min-height: 100px; min-width: 100px; border: 1px solid #000; position: relative; width: 100px; height: 100px">
+		<p>The example below uses the default style for a resize handle, which is positioned on the bottom right corner of its container. It has the .jframe-resize_handle class.</p>
+		<div data-filters="Resizable" data-resize-handle=".jframe-resize_handle" style="min-height: 100px; min-width: 100px; border: 1px solid #000; position: relative; width: 100px; height: 100px">
 			<p style="padding: 8px">drag the little icon in the bottom right to resize...</p>
-			<a class="ccs-resize_handle">resize</a>
+			<a class="jframe-resize_handle">resize</a>
 		</div>
 		<br/>
 		<br/>

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/select_with_other.mako

@@ -26,7 +26,7 @@
         <option>B</option>
         <option value="__other__">Other</option>
         </select>
-        <input name="other" class="ccs-hidden"  data-filters="OverText" alt="Enter a custom value">
+        <input name="other" class="jframe-hidden"  data-filters="OverText" alt="Enter a custom value">
       </div>
       <hr/>
       <div data-filters="SelectWithOther" data-other-input=".otherContainer" data-other-options="option[value=null]">
@@ -35,7 +35,7 @@
         <option>B</option>
         <option value="null">Other</option>
         </select>
-        <div class="otherContainer ccs-hidden">
+        <div class="otherContainer jframe-hidden">
           <input name="other" data-filters="OverText" alt="Enter a custom value">
         <div>
       </div>

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/show.and.hide.history.html

@@ -21,9 +21,9 @@ limitations under the License.
 		<title>Show and Hide History</title>
 	</head>
 	<body>
-		<div class="jframe_padded ccs-hide_history">
-			<p>This document hides the history component in the browser by having the CSS class <em>.ccs-hide_history</em>. The history component will be restored when you go back.</p>
-			<p><a data-filters="ArtButton" class="ccs-back ccs-nav_back"></a></p>
+		<div class="jframe_padded jframe-hide_history">
+			<p>This document hides the history component in the browser by having the CSS class <em>.jframe-hide_history</em>. The history component will be restored when you go back.</p>
+			<p><a data-filters="ArtButton" class="jframe-back jframe-nav_back"></a></p>
 		</div>
 	</body>
 </html>

+ 11 - 11
apps/jframegallery/src/jframegallery/templates/gallery/sortables.html

@@ -71,23 +71,23 @@ limitations under the License.
       <div class="order2" style="clear:both"></div>
     </div>
     <hr/>
-    <p>Here's a simple sortable list that has the default sortable styles. Use the .ccs-sort_handle for the elements you want to give this style.</p>
+    <p>Here's a simple sortable list that has the default sortable styles. Use the .jframe-sort_handle for the elements you want to give this style.</p>
     <div id="wrapper" styles="width: 300px; padding: 4px; border: 1px solid #999;">
       <ul id="SortableExample" style="height: 150px; overflow: auto; padding: 0; margin: 0;"
         data-filters="Sortable"
         data-sort-state=".order"
         data-sort-property="value"
         data-sort-property-child="input">
-        <li class="ccs-sort_handle" id="1" style="list-style: none;">First <input type="radio" name="foo" value="1" checked="true"/></li>
-        <li class="ccs-sort_handle" id="2" style="list-style: none;">Second <input type="radio" name="foo" value="2" /></li>
-        <li class="ccs-sort_handle" id="3" style="list-style: none;">Third <input type="radio" name="foo" value="3"/></li>
-        <li class="ccs-sort_handle" id="4" style="list-style: none;">Fourth <input type="radio" name="foo" value="4"/></li>
-        <li class="ccs-sort_handle" id="5" style="list-style: none;">Fifth <input type="radio" name="foo" value="5"/></li>
-        <li class="ccs-sort_handle" id="6" style="list-style: none;">Sixth <input type="radio" name="foo" value="6"/></li>
-        <li class="ccs-sort_handle" id="7" style="list-style: none;">Seventh <input type="radio" name="foo" value="7"/></li>
-        <li class="ccs-sort_handle" id="8" style="list-style: none;">Eigth <input type="radio" name="foo" value="8"/></li>
-        <li class="ccs-sort_handle" id="9" style="list-style: none;">Nineth <input type="radio" name="foo" value="9"/></li>
-        <li class="ccs-sort_handle" id="10" style="list-style: none;">Tenth <input type="radio" name="foo" value="10"/></li>
+        <li class="jframe-sort_handle" id="1" style="list-style: none;">First <input type="radio" name="foo" value="1" checked="true"/></li>
+        <li class="jframe-sort_handle" id="2" style="list-style: none;">Second <input type="radio" name="foo" value="2" /></li>
+        <li class="jframe-sort_handle" id="3" style="list-style: none;">Third <input type="radio" name="foo" value="3"/></li>
+        <li class="jframe-sort_handle" id="4" style="list-style: none;">Fourth <input type="radio" name="foo" value="4"/></li>
+        <li class="jframe-sort_handle" id="5" style="list-style: none;">Fifth <input type="radio" name="foo" value="5"/></li>
+        <li class="jframe-sort_handle" id="6" style="list-style: none;">Sixth <input type="radio" name="foo" value="6"/></li>
+        <li class="jframe-sort_handle" id="7" style="list-style: none;">Seventh <input type="radio" name="foo" value="7"/></li>
+        <li class="jframe-sort_handle" id="8" style="list-style: none;">Eigth <input type="radio" name="foo" value="8"/></li>
+        <li class="jframe-sort_handle" id="9" style="list-style: none;">Nineth <input type="radio" name="foo" value="9"/></li>
+        <li class="jframe-sort_handle" id="10" style="list-style: none;">Tenth <input type="radio" name="foo" value="10"/></li>
       </ul>
       <div class="order" style="clear:both"></div>
     </div>

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/splitview.(vertical).html

@@ -25,7 +25,7 @@ limitations under the License.
 			<div class="top_col jframe_padded">
 				this is the top column<br/>
 				<a data-splitview-resize="{'top':0}">hide the top</a><br/>
-				<a data-splitview-toggle="{'side': 'bottom', 'hideSplitter': true}" class="ccs-inline">Toggle -- <span class="toggle-shown">Hide Bottom</span><span class="toggle-hidden">Show Bottom</span></a>
+				<a data-splitview-toggle="{'side': 'bottom', 'hideSplitter': true}" class="jframe-inline">Toggle -- <span class="toggle-shown">Hide Bottom</span><span class="toggle-hidden">Show Bottom</span></a>
 			</div>
 			<div class="splitter_col" style="background: #88f; padding: 4px">
 				<h4>this is the splitter handle</h4>
@@ -33,7 +33,7 @@ limitations under the License.
 			<div class="bottom_col jframe_padded" style="height:200px">
 				and this is the bottom,<br/>
 				you can resize us by dragging the middle bar around.<br/>
-				<a data-splitview-toggle="{'side': 'top', 'hideSplitter': true}" class="ccs-inline">Toggle -- <span class="toggle-shown">Hide Top</span><span class="toggle-hidden">Show Top</span></a>
+				<a data-splitview-toggle="{'side': 'top', 'hideSplitter': true}" class="jframe-inline">Toggle -- <span class="toggle-shown">Hide Top</span><span class="toggle-hidden">Show Top</span></a>
 			</div>
 		</div>
 	</body>

+ 4 - 4
apps/jframegallery/src/jframegallery/templates/gallery/stand-alone.nav.buttons.html

@@ -21,12 +21,12 @@ limitations under the License.
 		<title>Show and Hide History</title>
 	</head>
 	<body>
-		<div class="jframe_padded ccs-hide_history">
+		<div class="jframe_padded jframe-hide_history">
 			<p>These buttons perform the standard nav actions of back, forward, and refresh. Note that the forward button doesn't do anything (unless you navigate somewhere else from here - say, by clicking the JFrame Gallery icon to go back to the index and then hitting back to come back to this page) as you don't have anything in your forward history. This button is not styled based on that state (i.e. it's not disabled because you cannot go forward). It's use is somewhat limited due to this.</p>
 			<div data-filters="ArtButtonBar">
-				<a data-filters="ArtButton" class="ccs-back ccs-nav_back"></a>
-				<a data-filters="ArtButton" class="ccs-refresh"></a>
-				<a data-filters="ArtButton" class="ccs-next ccs-nav_next"></a>
+				<a data-filters="ArtButton" class="jframe-back jframe-nav_back"></a>
+				<a data-filters="ArtButton" class="jframe-refresh"></a>
+				<a data-filters="ArtButton" class="jframe-next jframe-nav_next"></a>
 			</div>
 		</div>
 	</body>

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/submit.form.on.change.html

@@ -40,7 +40,7 @@ limitations under the License.
 				<option value="option 2">option 2</option>
 				<option value="option 3">option 3</option>
 			</select>
-			<input type="submit" class="ccs-hidden" name="submit"/>
+			<input type="submit" class="jframe-hidden" name="submit"/>
                         <input type="checkbox" name="check1">
                         <input type="checkbox" name="check2">
 		</form>
@@ -54,7 +54,7 @@ limitations under the License.
 				<option value="option 3">option 3</option>
 			</select>
 			<input type="text" name="textinput" value="If you change me, I don't submit the form.">
-			<input type="submit" class="ccs-hidden" name="submit"/>
+			<input type="submit" class="jframe-hidden" name="submit"/>
 		</form>
 		
 		

+ 3 - 3
apps/jframegallery/src/jframegallery/templates/gallery/submit.link.html

@@ -27,13 +27,13 @@ limitations under the License.
 		<form action="{{request_path}}" method="post" style="margin: 6px 0px 0px;">
 			<input type="submit" name="button" value="fetch html (button 1)"/>
 			<input type="submit" name="button" value="fetch html (button 2)"/>
-			<a class="ccs-submit_form" data-extra-data="{'link':'fetch html (link 1)'}">fetch html (link 1)</a>
-			<a class="ccs-submit_form" data-extra-data="{'link':'fetch html (link 2)'}">fetch html (link 2)</a>
+			<a class="jframe-submit_form" data-extra-data="{'link':'fetch html (link 1)'}">fetch html (link 1)</a>
+			<a class="jframe-submit_form" data-extra-data="{'link':'fetch html (link 2)'}">fetch html (link 2)</a>
 		</form>
 
 		<p>
 			Outside of the form:
-			<a data-form="form" class="ccs-submit_form" data-extra-data="{'link':'fetch html (link 3)'}">fetch html (link 3)</a>
+			<a data-form="form" class="jframe-submit_form" data-extra-data="{'link':'fetch html (link 3)'}">fetch html (link 3)</a>
 		</p>
 
 		<div style="position: relative; margin-top: 10px">

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/tabs-toolbar.html

@@ -27,7 +27,7 @@ limitations under the License.
 					<li><span>Tab 1</span></li>
 					<li><span>Tab 2</span></li>
 				</ul>
-				<ul class="tab_sections ccs-clear">
+				<ul class="tab_sections jframe-clear">
 					<li>
 						<p>I'm the section for Tab 1. Note that my UL has both a .tab_sections.</p>
 						<p>My tabs are in the header of the window. I get this effect by just adding the .toolbar class to the UL of the tabs. I have to position the bar myself to get it snug up against the content.</p>

+ 4 - 4
apps/jframegallery/src/jframegallery/templates/gallery/tabs.html

@@ -23,15 +23,15 @@ limitations under the License.
 	<body>
 		<div class="jframe_padded">
 			<div data-filters="Tabs">
-				<ul class="tabs ccs-right clearfix">
+				<ul class="tabs jframe-right clearfix">
 					<li><span>Tab 1</span></li>
 					<li><span>Tab 2</span></li>
 				</ul>
-				<ul class="tab_sections ccs-clear" style="border-top: 1px solid #999; padding: 10px">
+				<ul class="tab_sections jframe-clear" style="border-top: 1px solid #999; padding: 10px">
 					<li>
-						<p>I'm the section for Tab 1. Note that my UL has both a .tab_sections class but also a .ccs-clear; that's because the tabs are aligned to the right, so we need to clear that float.</p>
+						<p>I'm the section for Tab 1. Note that my UL has both a .tab_sections class but also a .jframe-clear; that's because the tabs are aligned to the right, so we need to clear that float.</p>
 						<p>
-							The tabs are right aligned because their UL has the class .ccs-right; to fix the firefox height bug with floating elements, we also give it the class .clearfix (<a href="http://www.positioniseverything.net/easyclearing.html">details on this</a>). Note that if we didn't want the tabs on the right we just wouldn't give it the .ccs-right class, and in that case we wouldn't need the .clearfix or .ccs-clear classes in there either.
+							The tabs are right aligned because their UL has the class .jframe-right; to fix the firefox height bug with floating elements, we also give it the class .clearfix (<a href="http://www.positioniseverything.net/easyclearing.html">details on this</a>). Note that if we didn't want the tabs on the right we just wouldn't give it the .jframe-right class, and in that case we wouldn't need the .clearfix or .jframe-clear classes in there either.
 						</p>
 						<p>Also note that the tab styling doesn't put this fancy border between the tabs and the content or the padding on the sections. Those styles are up to you.</p>
 					</li>

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/gallery/tabs.yml

@@ -15,4 +15,4 @@
 # limitations under the License.
 
 js-references:
-  - "ccs-shared/Behavior.Tabs"
+  - "hue-shared/Behavior.Tabs"

+ 2 - 2
apps/jframegallery/src/jframegallery/templates/gallery/tips.html

@@ -32,11 +32,11 @@ limitations under the License.
 			<ul>
 				<li>
 					I am some text. Nothing special.
-					<p class="ccs-inline" data-filters="HelpTip">I'm some help text that gets turned into a help tip</p>
+					<p class="jframe-inline" data-filters="HelpTip">I'm some help text that gets turned into a help tip</p>
 				</li>
 				<li>
 					I am some text. Nothing special.
-					<p class="ccs-inline" data-filters="InfoTip">I'm some help text that gets turned into an info tip</p>
+					<p class="jframe-inline" data-filters="InfoTip">I'm some help text that gets turned into an info tip</p>
 				</li>
 			</ul>
 			

+ 1 - 1
apps/jframegallery/src/jframegallery/templates/source.mako

@@ -33,7 +33,7 @@
 	      </ul>
 	    </div>
 	    <div class="right_col jframe_padded">
-	      <ul class="ccs-clear">
+	      <ul class="jframe-clear">
 		## Template data
 		<li class="section">
 		  <h3>Source for HTML</h3>

+ 29 - 29
apps/jframegallery/src/jframegallery/windmilltests.py

@@ -24,13 +24,13 @@ def test_dblclick_delegates():
   client = logged_in_client()
   launch_jframe_gallery(client)
   client.click(id='double-click-delegator')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .dblme")[0]')
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .dblme")[0]')
   client.doubleClick(classname='dblme')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .alert")[0]')
-  client.asserts.assertJS(js="$$('.CCS-JFRAMEGALLERY .mask').length")
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .alert")[0]')
-  client.click(jquery="('.CCS-JFRAMEGALLERY .closeWin')[0]")
-  client.asserts.assertJS(js="!$$('.CCS-JFRAMEGALLERY .closeWin').length")
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .alert")[0]')
+  client.asserts.assertJS(js="$$('.Hue-JFRAMEGALLERY .mask').length")
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .alert")[0]')
+  client.click(jquery="('.Hue-JFRAMEGALLERY .closeWin')[0]")
+  client.asserts.assertJS(js="!$$('.Hue-JFRAMEGALLERY .closeWin').length")
   
 
 def test_context_menu():
@@ -40,13 +40,13 @@ def test_context_menu():
   client = logged_in_client()
   launch_jframe_gallery(client)
   client.click(id='context-menu')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .show-options")[0]')
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .show-options")[0]')
   #simulating right click, as windmill doesn't provide a mechanism for doing so
   #and it's regular (left) click event doesn't include page location information.
   client.execJS(js="$$('[data-filters*=ContextMenu]')[0].fireEvent('contextmenu', new Event({type: 'click', page: {x: 20, y: 20}}))")
-  client.asserts.assertJS(js='document.getElement(\'div.CCS-JFRAMEGALLERY .cm-one\').isVisible()')
-  client.click(jquery='(".CCS-JFRAMEGALLERY")[0]')
-  client.asserts.assertJS(js='!document.getElement(\'div.CCS-JFRAMEGALLERY .cm-one\').isVisible()')
+  client.asserts.assertJS(js='document.getElement(\'div.Hue-JFRAMEGALLERY .cm-one\').isVisible()')
+  client.click(jquery='(".Hue-JFRAMEGALLERY")[0]')
+  client.asserts.assertJS(js='!document.getElement(\'div.Hue-JFRAMEGALLERY .cm-one\').isVisible()')
 
 def test_collapser():
   client = logged_in_client()
@@ -77,8 +77,8 @@ def launch_jframe_gallery(client):
   """
     launches the jframe gallery
   """
-  client.click(id='ccs-jframegallery-menu')
-  client.waits.forElement(classname='CCS-JFRAMEGALLERY')
+  client.click(id='hue-jframegallery-menu')
+  client.waits.forElement(classname='Hue-JFRAMEGALLERY')
   return client
 
 def test_login_logout():
@@ -94,8 +94,8 @@ def test_frame_tips():
   client = logged_in_client()
   launch_jframe_gallery(client)
   client.click(id='frame-tips')
-  client.mouseOver(jquery='(".CCS-JFRAMEGALLERY .frame_tip")[1]')
-  client.asserts.assertJS(js='document.getElement(\'div.CCS-JFRAMEGALLERY .footer-text\').get(\'html\') == "link #2"')
+  client.mouseOver(jquery='(".Hue-JFRAMEGALLERY .frame_tip")[1]')
+  client.asserts.assertJS(js='document.getElement(\'div.Hue-JFRAMEGALLERY .footer-text\').get(\'html\') == "link #2"')
 
 
 def test_post_load_alert():
@@ -106,14 +106,14 @@ def test_post_load_alert():
   launch_jframe_gallery(client)
   
   client.click(id='post-load-alert-popup')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .alert")[0]')
-  client.asserts.assertJS(js="$$('.CCS-JFRAMEGALLERY .mask').length")
-  client.click(jquery="('.CCS-JFRAMEGALLERY .mask')[0]")
-  client.asserts.assertJS(js="!$$('.CCS-JFRAMEGALLERY .mask').length")
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .alert")[0]')
+  client.asserts.assertJS(js="$$('.Hue-JFRAMEGALLERY .mask').length")
+  client.click(jquery="('.Hue-JFRAMEGALLERY .mask')[0]")
+  client.asserts.assertJS(js="!$$('.Hue-JFRAMEGALLERY .mask').length")
   client.click(id='post-load-alert-popup')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .alert")[0]')
-  client.click(jquery="('.CCS-JFRAMEGALLERY .closeWin')[0]")
-  client.asserts.assertJS(js="!$$('.CCS-JFRAMEGALLERY .closeWin').length")
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .alert")[0]')
+  client.click(jquery="('.Hue-JFRAMEGALLERY .closeWin')[0]")
+  client.asserts.assertJS(js="!$$('.Hue-JFRAMEGALLERY .closeWin').length")
 
 def test_post_load_prompt():
   """
@@ -123,13 +123,13 @@ def test_post_load_prompt():
   launch_jframe_gallery(client)
   
   client.click(id='post-load-prompt-popup')
-  client.waits.forElement(jquery='(".CCS-JFRAMEGALLERY .confirm")[0]')
+  client.waits.forElement(jquery='(".Hue-JFRAMEGALLERY .confirm")[0]')
   
   client.click(name='prompt_value')
   client.type(text='blah', name='prompt_value')
-  client.click(jquery="('.CCS-JFRAMEGALLERY .closeWin')[1]")
-  client.waits.forElement(jquery="('.CCS-JFRAMEGALLERY .jframe_padded ul li')[0]")
-  client.asserts.assertTextIn(jquery="('.CCS-JFRAMEGALLERY .jframe_padded ul li')[0]", validator='blah')
+  client.click(jquery="('.Hue-JFRAMEGALLERY .closeWin')[1]")
+  client.waits.forElement(jquery="('.Hue-JFRAMEGALLERY .jframe_padded ul li')[0]")
+  client.asserts.assertTextIn(jquery="('.Hue-JFRAMEGALLERY .jframe_padded ul li')[0]", validator='blah')
 
 def test_split_view():
   """
@@ -140,10 +140,10 @@ def test_split_view():
   launch_jframe_gallery(client)
 
   client.click(id='splitview')
-  client.waits.forElement(jquery="('.CCS-JFRAMEGALLERY [data-filters*=SplitView]')[0]")
-  client.asserts.assertJS(js="$$('.CCS-JFRAMEGALLERY .art-splitview-left')[0].getStyle('width') == '200px'")
-  client.dragDropElem(jquery="('.CCS-JFRAMEGALLERY .art-splitview-splitter')[0]", pixels='-100,0')
-  client.asserts.assertJS(js="$$('.CCS-JFRAMEGALLERY .art-splitview-left')[0].getStyle('width') == '101px'")
+  client.waits.forElement(jquery="('.Hue-JFRAMEGALLERY [data-filters*=SplitView]')[0]")
+  client.asserts.assertJS(js="$$('.Hue-JFRAMEGALLERY .art-splitview-left')[0].getStyle('width') == '200px'")
+  client.dragDropElem(jquery="('.Hue-JFRAMEGALLERY .art-splitview-splitter')[0]", pixels='-100,0')
+  client.asserts.assertJS(js="$$('.Hue-JFRAMEGALLERY .art-splitview-left')[0].getStyle('width') == '101px'")
   
   
 def test_flash_messaging():

+ 4 - 4
apps/jframegallery/static/bootstrap.js

@@ -13,16 +13,16 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	JFrameGallery: {
 		name: 'JFrame Gallery',
-		require: ['jframe-gallery/CCS.JFrameGallery'],
+		require: ['jframe-gallery/Hue.JFrameGallery'],
 		css: '/jframegallery/static/css/jframegallery.css',
 		launch: function(path, options){
-			return new CCS.JFrameGallery(path, options);
+			return new Hue.JFrameGallery(path, options);
 		},
 		menu: {
-			id: 'ccs-jframegallery-menu',
+			id: 'hue-jframegallery-menu',
 			img: {
 				src: '/jframegallery/static/art/jframegallery.png'
 			}

+ 5 - 5
apps/jframegallery/static/js/Source/JFrameGallery/CCS.JFrameGallery.js → apps/jframegallery/static/js/Source/JFrameGallery/Hue.JFrameGallery.js

@@ -16,16 +16,16 @@
 /*
 ---
 description: JFrame Gallery window
-provides: [CCS.JFrameGallery]
-requires: [ccs-shared/CCS.JBrowser, ccs-shared/CCS.JFrame.Chooser]
-script: CCS.JFrameGallery.js
+provides: [Hue.JFrameGallery]
+requires: [JFrame/JFrame.Browser, hue-shared/Hue.JFrame.Chooser]
+script: Hue.JFrameGallery.js
 
 ...
 */
 
-CCS.JFrameGallery = new Class({
+Hue.JFrameGallery = new Class({
 
-	Extends: CCS.JBrowser,
+	Extends: Hue.JBrowser,
 
 	options: {
 		className: 'art jframe-gallery browser logo_header',

+ 1 - 1
apps/jframegallery/static/js/package.yml

@@ -2,4 +2,4 @@ copyright: Apache License v2.0
 version: 0.9
 description: JFrame Test Gallery
 name: jframe-gallery
-sources: [Source/JFrameGallery/CCS.JFrameGallery.js]
+sources: [Source/JFrameGallery/Hue.JFrameGallery.js]

+ 2 - 2
apps/jobbrowser/src/jobbrowser/templates/attempt.mako

@@ -36,13 +36,13 @@
       </div>
 
       <div data-filters="Tabs">
-        <ul class="tabs jtv_tabs ccs-right clearfix">
+        <ul class="tabs jtv_tabs jframe-right clearfix">
           <li><span>Metadata</span></li>
           <li><span>Counters</span></li>
           <li><span>Logs</span></li>
         </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
             <table data-filters="HtmlTable" class="jt_meta_table sortable" cellpadding="0" cellspacing="0">
               <thead>

+ 6 - 6
apps/jobbrowser/src/jobbrowser/templates/job.mako

@@ -114,13 +114,13 @@
       </div>
 
       <div data-filters="Tabs">
-        <ul class="tabs jtv_tabs ccs-right clearfix">
+        <ul class="tabs jtv_tabs jframe-right clearfix">
           <li><span>Tasks</span></li>
           <li><span>Metadata</span></li>
           <li><span>Counters</span></li>
         </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
             <div class="jt_mr_display">
               <dl class="jtv_graph">
@@ -136,9 +136,9 @@
               task_table_size = '49%' 
             %>
             %if failed_tasks:
-            <div class="jt_task_list jt_failed_tasks ccs-inline" style="width: ${task_table_size};">
+            <div class="jt_task_list jt_failed_tasks jframe-inline" style="width: ${task_table_size};">
               <h3>
-                <a class="ccs-right" href="${url('jobbrowser.views.tasks', jobid=job.jobId)}?taskstate=failed">view failed tasks &raquo;</a>
+                <a class="jframe-right" href="${url('jobbrowser.views.tasks', jobid=job.jobId)}?taskstate=failed">view failed tasks &raquo;</a>
                 Failed Tasks
               </h3>
               <div class="jt_task_list_container">
@@ -146,9 +146,9 @@
               </div>
             </div>
             %endif
-            <div class="jt_task_list jt_recent_tasks ccs-inline" style="width: ${task_table_size}">
+            <div class="jt_task_list jt_recent_tasks jframe-inline" style="width: ${task_table_size}">
               <h3>
-                <a class="ccs-right" href="${url('jobbrowser.views.tasks', jobid=job.jobId)}">View All Tasks &raquo;</a>
+                <a class="jframe-right" href="${url('jobbrowser.views.tasks', jobid=job.jobId)}">View All Tasks &raquo;</a>
                 Recent Tasks
               </h3>
               <div class="jt_task_list_container">

+ 5 - 5
apps/jobbrowser/src/jobbrowser/templates/jobs.mako

@@ -28,13 +28,13 @@
     % if len(jobs) > 0 or filtered:
       ${comps.header("Job Browser", toolbar=False)}
       <div id="job_browser_list" class="view">
-        <h1 class="ccs-hidden">Jobs</h1>
+        <h1 class="jframe-hidden">Jobs</h1>
         <div class="toolbar">
           <a href="/jobbrowser/jobs/"><img src="/jobbrowser/static/art/icon_large.png" class="jt_icon"/></a>
           <ul class="jt_filters">
             <form class="jt_filter_form" data-filters="SubmitOnChange" method="get" action="/jobbrowser/jobs/">
-              <li class="ccs-inline"><b>Filter Jobs:</b></li>
-              <li class="ccs-inline">
+              <li class="jframe-inline"><b>Filter Jobs:</b></li>
+              <li class="jframe-inline">
                 <select name="state">
                   <option value="all" ${get_state('all', state_filter)}>All States</option>
                   <option value="running" ${get_state('running', state_filter)}>Running</option>
@@ -43,10 +43,10 @@
                   <option value="killed" ${get_state('killed', state_filter)}>Killed</option>
                 </select>
               </li>
-              <li class="ccs-inline">
+              <li class="jframe-inline">
                 <input type="text" class="jt_filter" data-filters="OverText, ArtInput" data-art-input-type="search" name="user" title="User Name Filter" value="${user_filter}"/>
               </li>
-              <li class="ccs-inline">
+              <li class="jframe-inline">
                 <input type="text" class="jt_filter" data-filters="OverText, ArtInput" data-art-input-type="search" name="text" title="Text Filter" value="${text_filter}"/>
               </li>
             </form>

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/jobs_dock_info.mako

@@ -17,7 +17,7 @@
   jobs:
   % for state in ['running', 'failed', 'completed']:
     % if jobs.get(state) > 0:
-      <a href="${url('jobbrowser.views.jobs')}?user=${user.username}&state=${state}" target="JobBrowser" class="ccs-inline ccs-dock-status-${state}">${jobs.get(state)} ${state}</a>
+      <a href="${url('jobbrowser.views.jobs')}?user=${user.username}&state=${state}" target="JobBrowser" class="jframe-inline hue-dock-status-${state}">${jobs.get(state)} ${state}</a>
     % endif
   % endfor
 % endif

+ 2 - 2
apps/jobbrowser/src/jobbrowser/templates/task.mako

@@ -32,13 +32,13 @@
       </div>
 
       <div data-filters="Tabs">
-        <ul class="tabs jtv_tabs ccs-right clearfix">
+        <ul class="tabs jtv_tabs jframe-right clearfix">
           <li><span>Attempts</span></li>
           <li><span>Metadata</span></li>
           <li><span>Counters</span></li>
         </ul>
 
-        <ul class="tab_sections ccs-clear">
+        <ul class="tab_sections jframe-clear">
           <li>
             <table border="0" cellpadding="0" cellspacing="0" data-filters="HtmlTable" class="jt_meta_table sortable selectable">
               <thead>

+ 5 - 5
apps/jobbrowser/src/jobbrowser/templates/tasks.mako

@@ -43,12 +43,12 @@
 
 
   <div id="job_browser_task_list" class="view">
-    <h1 class="ccs-hidden">Tasks for Job ${jobid}</h1>
+    <h1 class="jframe-hidden">Tasks for Job ${jobid}</h1>
     <div class="toolbar">
       <a href="/jobbrowser/jobs/"><img src="/jobbrowser/static/art/icon_large.png" class="jt_icon"/></a>
       <ul class="jt_filters">
         <form class="jtv_filter_form" data-filters="SubmitOnChange" method="get" action="/jobbrowser/jobs/${jobid}/tasks">
-          <li class="ccs-inline">
+          <li class="jframe-inline">
             <select name="taskstate">
               <option value="">All states</option>
               <option value="succeeded" ${selected('succeeded', taskstate)}>succeeded</option>
@@ -58,7 +58,7 @@
               <option value="pending" ${selected('pending', taskstate)}>pending</option>
             </select>
           </li>
-          <li class="ccs-inline">
+          <li class="jframe-inline">
             <select name="tasktype">
               <option value="">All types</option>
               <option value="map" ${selected('map', tasktype)}>maps</option>
@@ -67,7 +67,7 @@
               <option value="job_setup" ${selected('job_setup', tasktype)}>setups</option>
             </select>
           </li>
-          <li class="ccs-inline">
+          <li class="jframe-inline">
             <input type="text" name="tasktext" class="jtv_filter" data-filters="OverText, ArtInput" data-art-input-type="search" title="text filter"
               % if tasktext:
                 value="${tasktext}"
@@ -110,7 +110,7 @@
       </table>
     </div>
     <div class="jtv-pagination">
-      <div class="jtv-pagination_count ccs-inline">
+      <div class="jtv-pagination_count jframe-inline">
         Showing ${page.start_index()} to ${page.end_index()} of ${page.total_count()} tasks
       </div>
       <div class="jtv_offset_controls">

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/tasktrackers.mako

@@ -15,7 +15,7 @@
 ## limitations under the License.
 <%namespace name="comps" file="jobbrowser_components.mako" />
 ${comps.header("Task Trackers :: Job Browser")}
-  <h1 class="ccs-hidden">Task Trackers :: Job Browser</h1>
+  <h1 class="jframe-hidden">Task Trackers :: Job Browser</h1>
   <table border="0" cellpadding="0" cellspacing="0" data-filters="HtmlTable" class="sortable">
     <thead>
       <tr>

+ 1 - 1
apps/jobbrowser/src/jobbrowser/windmilltests.py

@@ -19,6 +19,6 @@ from desktop.lib.windmill_util import logged_in_client
 def test_launch():
   """ Simply opens and closes JobBrowser. """
   client = logged_in_client()
-  client.click(id='ccs-jobbrowser-menu')
+  client.click(id='hue-jobbrowser-menu')
   client.waits.forElement(jquery='(".close")[0]', timeout='300')
   client.click(jquery='(".close")[0]')

+ 7 - 7
apps/jobbrowser/static/bootstrap.js

@@ -13,16 +13,16 @@
 // 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.
-CCS.Desktop.register({
+Hue.Desktop.register({
 	JobBrowser: {
 		name: 'Job Browser',
 		css: '/jobbrowser/static/css/jobbrowser.css',
-		require: ["jobbrowser/CCS.JobBrowser"],
+		require: ["jobbrowser/Hue.JobBrowser"],
 		launch: function(path, options){
-			return new CCS.JobBrowser(path, options);
+			return new Hue.JobBrowser(path, options);
 		},
 		menu: {
-			id: 'ccs-jobbrowser-menu',
+			id: 'hue-jobbrowser-menu',
 			img: {
 				src: '/jobbrowser/static/art/jobbrowser-small.png'
 			}
@@ -31,9 +31,9 @@ CCS.Desktop.register({
 	}
 });
 Depender.require({
-	scripts: ["CCS.JobBrowser.Poller"],
+	scripts: ["Hue.JobBrowser.Poller"],
 	callback: function(){
-		if (Cookie.read('activateJobsPoller') != "false") CCS.User.withUser(CCS.Dock.startJobsPoll);
-		else CCS.Dock.statusContent.set('html', 'poller paused');
+		if (Cookie.read('activateJobsPoller') != "false") Hue.User.withUser(Hue.Dock.startJobsPoll);
+		else Hue.Dock.statusContent.set('html', 'poller paused');
 	}
 });

+ 22 - 22
apps/jobbrowser/static/js/Source/JobBrowser/CCS.JobBrowser.Poller.js → apps/jobbrowser/static/js/Source/JobBrowser/Hue.JobBrowser.Poller.js

@@ -16,58 +16,58 @@
 /*
 ---
 description: Adds polling functionality to the dock for JobBrowser
-provides: [CCS.JobBrowser.Poller]
-requires: [ccs-shared/CCS.Dock, Core/Request.HTML, clientcide/dbug, Core/Element.Event, Core/Cookie]
-script: CCS.JobBrowser.Poller.js
+provides: [Hue.JobBrowser.Poller]
+requires: [hue-shared/Hue.Dock, Core/Request.HTML, clientcide/dbug, Core/Element.Event, Core/Cookie]
+script: Hue.JobBrowser.Poller.js
 
 ...
 */
 
-if (!CCS.Dock) {
-	dbug.warn('could not set up the jobs poller; CCS.Dock is not defined');
+if (!Hue.Dock) {
+	dbug.warn('could not set up the jobs poller; Hue.Dock is not defined');
 } else {
 	//adding a hidden ability to toggle the job poller
 	//the console statements for the ajax requests are distracting
-	$('ccs-dock-status').addEvent('dblclick', function(){
-		CCS.Dock[CCS.Dock.pollingJobs ? 'stopJobsPoll' : 'startJobsPoll']();
-		Cookie.write('activateJobsPoller', CCS.Dock.pollingJobs);
-		if (!CCS.Dock.pollingJobs) CCS.Dock.statusContent.set('html', 'poller paused');
+	$('hue-dock-status').addEvent('dblclick', function(){
+		Hue.Dock[Hue.Dock.pollingJobs ? 'stopJobsPoll' : 'startJobsPoll']();
+		Cookie.write('activateJobsPoller', Hue.Dock.pollingJobs);
+		if (!Hue.Dock.pollingJobs) Hue.Dock.statusContent.set('html', 'poller paused');
 	});
 	//poll for new jobs from the job tracker
 	//when the status notes are clicked, launch a Job Browser instance with that view
-	CCS.Dock.statusContent.addEvents({
+	Hue.Dock.statusContent.addEvents({
 		'click:relay(a)': function(e, a){
 			e.preventDefault();
-			CCS.Desktop.launch(a.get('target'), [a.get('href')]);
+			Hue.Desktop.launch(a.get('target'), [a.get('href')]);
 		}
 	});
 	
 
-	$extend(CCS.Dock, {
+	$extend(Hue.Dock, {
 		/*
 			loads the job data into the dock
 		*/
 		loadJobs: function(){
-			if (CCS.Dock.pollingJobs) {
-				CCS.Dock.statusContent.set('load', {
-					onCcsError: CCS.Dock.stopJobsPoll,
-					onFailure: CCS.Dock.stopJobsPoll,
-					onSuccess: CCS.Dock.loadJobs.delay(5000),
+			if (Hue.Dock.pollingJobs) {
+				Hue.Dock.statusContent.set('load', {
+					onHueError: Hue.Dock.stopJobsPoll,
+					onFailure: Hue.Dock.stopJobsPoll,
+					onSuccess: Hue.Dock.loadJobs.delay(5000),
 					url: '/status_bar/'
 				}).load();
 			}
 		},
 		startJobsPoll: function(){
 			dbug.log('starting job poller');
-			CCS.Dock.pollingJobs = true;
-			CCS.Dock.loadJobs();
+			Hue.Dock.pollingJobs = true;
+			Hue.Dock.loadJobs();
 		},
 		stopJobsPoll: function(){
 			dbug.log('stopping job poller');
-			CCS.Dock.statusContent.set('html', 'poller paused');
-			CCS.Dock.pollingJobs = false;
+			Hue.Dock.statusContent.set('html', 'poller paused');
+			Hue.Dock.pollingJobs = false;
 		}	
 	});
 	//whenever our poller gets an error, just stop polling
-	CCS.Dock.statusContent.get('load').addEvent('ccsError', CCS.Dock.stopJobsPoll);
+	Hue.Dock.statusContent.get('load').addEvent('hueError', Hue.Dock.stopJobsPoll);
 }

+ 5 - 5
apps/jobbrowser/static/js/Source/JobBrowser/CCS.JobBrowser.js → apps/jobbrowser/static/js/Source/JobBrowser/Hue.JobBrowser.js

@@ -16,9 +16,9 @@
 /*
 ---
 description: Job Browser core
-provides: [CCS.JobBrowser]
-requires: [ccs-shared/CCS.JBrowser, ccs-shared/CCS.JFrame.Tabs]
-script: CCS.JobBrowser.js
+provides: [Hue.JobBrowser]
+requires: [JFrame/JFrame.Browser]
+script: Hue.JobBrowser.js
 
 ...
 */
@@ -27,9 +27,9 @@ ART.Sheet.define('window.browser.jobbrowser', {
 	'min-height': 108
 });
 
-CCS.JobBrowser = new Class({
+Hue.JobBrowser = new Class({
 
-	Extends: CCS.JBrowser,
+	Extends: Hue.JBrowser,
 
 	options: {
 		className: 'art browser jobbrowser logo_header',

+ 1 - 1
apps/jobbrowser/static/js/libs.json

@@ -8,7 +8,7 @@
 	"clientcide": {
 		"scripts": "/static/js/ThirdParty/clientcide/Source"
 	},
-	"ccs-shared": {
+	"hue-shared": {
 		"scripts": "/static/js/Source"
 	},
 	"subtletemplates": {

+ 1 - 1
apps/jobbrowser/static/js/package.yml

@@ -2,4 +2,4 @@ copyright: Apache License v2.0
 version: 0.9
 description: Job Browser
 name: jobbrowser
-sources: [Source/JobBrowser/CCS.JobBrowser.js, Source/JobBrowser/CCS.JobBrowser.Poller.js]
+sources: [Source/JobBrowser/Hue.JobBrowser.js, Source/JobBrowser/Hue.JobBrowser.Poller.js]

+ 1 - 1
apps/jobsub/src/jobsub/templates/confirm.html

@@ -22,7 +22,7 @@ limitations under the License.
 	<h1>Are you sure?</h1>
 	<form action="{{ url }}" method="POST">
 		{{title}}
-		<input type="submit" value="Yes" class="ccs-hidden">
+		<input type="submit" value="Yes" class="jframe-hidden">
 	</form>
 </div>
 {% endblock %}

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.