瀏覽代碼

HUE-811 [core] Notification messages working only on FF

Notifications are now showing on Chrome, Safari and IE
Fixed toolbar look for IE
Create standard sized icons for all the apps
Renamed icons to include the app name
Enrico Berti 13 年之前
父節點
當前提交
d581141bbf

+ 1 - 1
apps/beeswax/src/beeswax/settings.py

@@ -16,5 +16,5 @@
 DJANGO_APPS = [ "beeswax" ]
 DJANGO_APPS = [ "beeswax" ]
 NICE_NAME = "Beeswax (Hive UI)"
 NICE_NAME = "Beeswax (Hive UI)"
 REQUIRES_HADOOP = True
 REQUIRES_HADOOP = True
-ICON = "/beeswax/static/art/beeswax-logo.png"
+ICON = "/beeswax/static/art/icon_beeswax_24.png"
 MENU_INDEX = 10
 MENU_INDEX = 10

二進制
apps/beeswax/static/art/icon_beeswax_24.png


+ 1 - 1
apps/filebrowser/src/filebrowser/settings.py

@@ -18,5 +18,5 @@
 DJANGO_APPS = ['filebrowser']
 DJANGO_APPS = ['filebrowser']
 NICE_NAME = "File Browser"
 NICE_NAME = "File Browser"
 REQUIRES_HADOOP = False
 REQUIRES_HADOOP = False
-ICON = "/filebrowser/static/art/icon.png"
+ICON = "/filebrowser/static/art/icon_filebrowser_24.png"
 MENU_INDEX = 20
 MENU_INDEX = 20

二進制
apps/filebrowser/src/filebrowser/static/art/icon_filebrowser_24.png


+ 1 - 1
apps/help/src/help/settings.py

@@ -16,5 +16,5 @@
 DJANGO_APPS = ['help']
 DJANGO_APPS = ['help']
 NICE_NAME = "Help"
 NICE_NAME = "Help"
 REQUIRES_HADOOP = False
 REQUIRES_HADOOP = False
-ICON = "/help/static/art/help.png"
+ICON = "/help/static/art/icon_help_24.png"
 MENU_INDEX = 90
 MENU_INDEX = 90

二進制
apps/help/src/help/static/art/icon_help_24.png


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

@@ -21,5 +21,5 @@
 DJANGO_APPS = ['jobbrowser']
 DJANGO_APPS = ['jobbrowser']
 NICE_NAME = "Job Browser"
 NICE_NAME = "Job Browser"
 REQUIRES_HADOOP = True
 REQUIRES_HADOOP = True
-ICON = "/jobbrowser/static/art/icon_large.png"
+ICON = "/jobbrowser/static/art/icon_jobbrowser_24.png"
 MENU_INDEX = 30
 MENU_INDEX = 30

二進制
apps/jobbrowser/static/art/icon_jobbrowser_24.png


+ 1 - 1
apps/jobsub/src/jobsub/settings.py

@@ -21,5 +21,5 @@ MIDDLEWARE_CLASSES=[
   "jobsub.middleware.SubmissionErrorRecastMiddleware"
   "jobsub.middleware.SubmissionErrorRecastMiddleware"
 ]
 ]
 
 
-ICON = "/jobsub/static/art/icon.png"
+ICON = "/jobsub/static/art/icon_jobsub_24.png"
 MENU_INDEX = 40
 MENU_INDEX = 40

二進制
apps/jobsub/static/art/icon_jobsub_24.png


+ 1 - 1
apps/oozie/src/oozie/settings.py

@@ -25,7 +25,7 @@ PERMISSION_ACTIONS = (
   ("launch_jobs", "Can submit Oozie jobs"),
   ("launch_jobs", "Can submit Oozie jobs"),
 )
 )
 
 
-ICON = "/oozie/static/art/icon.png"
+ICON = "/oozie/static/art/icon_oozie_24.png"
 MENU_INDEX = 41
 MENU_INDEX = 41
 
 
 IS_URL_NAMESPACED = True
 IS_URL_NAMESPACED = True

二進制
apps/oozie/static/art/icon_oozie_24.png


+ 1 - 1
apps/shell/src/shell/settings.py

@@ -23,5 +23,5 @@ PERMISSION_ACTIONS = (
   ("launch_hbase", "Launch the HBase Shell"),
   ("launch_hbase", "Launch the HBase Shell"),
 )
 )
 
 
-ICON = "/shell/static/art/shell.png"
+ICON = "/shell/static/art/icon_shell_24.png"
 MENU_INDEX = 50
 MENU_INDEX = 50

二進制
apps/shell/src/shell/static/art/icon_shell_24.png


+ 1 - 1
apps/useradmin/src/useradmin/settings.py

@@ -16,5 +16,5 @@
 DJANGO_APPS = [ "useradmin" ]
 DJANGO_APPS = [ "useradmin" ]
 NICE_NAME = "User Admin"
 NICE_NAME = "User Admin"
 REQUIRES_HADOOP = False
 REQUIRES_HADOOP = False
-ICON = "/useradmin/static/art/useradmin-logo.png"
+ICON = "/useradmin/static/art/icon_useradmin_24.png"
 MENU_INDEX = 60
 MENU_INDEX = 60

二進制
apps/useradmin/static/art/icon_useradmin_24.png


+ 2 - 3
desktop/core/src/desktop/templates/common_header.mako

@@ -127,9 +127,8 @@ from django.utils.translation import ugettext as _
             %for app in apps:
             %for app in apps:
               %if app.icon_path:
               %if app.icon_path:
               <li id="${app.display_name}Icon" ${is_selected(section, app.display_name)}>
               <li id="${app.display_name}Icon" ${is_selected(section, app.display_name)}>
-                <a class="nav-tooltip" title="${app.nice_name}"
-                  href="/${app.display_name}"><img width="25" height="25"
-                  src="${app.icon_path}"/></a></li>
+                <a class="nav-tooltip" title="${app.nice_name}" href="/${app.display_name}"><img src="${app.icon_path}" /></a>
+              </li>
               %endif
               %endif
             %endfor
             %endfor
             <li class="divider-vertical"></li>
             <li class="divider-vertical"></li>

+ 1 - 4
desktop/core/static/css/hue2.css

@@ -86,7 +86,7 @@
     background-image: -o-linear-gradient(top, #2c7fb3, #01639c);
     background-image: -o-linear-gradient(top, #2c7fb3, #01639c);
     background-image: linear-gradient(top, #2c7fb3, #01639c);
     background-image: linear-gradient(top, #2c7fb3, #01639c);
     background-repeat: repeat-x;
     background-repeat: repeat-x;
-    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#'2c7fb3, endColorstr='#'01639c, GradientType=0);
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c7fb3', endColorstr='#01639c', GradientType=0);
     -webkit-border-radius: 4px;
     -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
     -moz-border-radius: 4px;
     border-radius: 4px;
     border-radius: 4px;
@@ -124,7 +124,6 @@
     text-decoration: none;
     text-decoration: none;
 }
 }
 
 
-
 h1 {
 h1 {
     margin-bottom:.7em;
     margin-bottom:.7em;
 }
 }
@@ -943,10 +942,8 @@ div.box {
     width: 400px;
     width: 400px;
     text-align: center;
     text-align: center;
     z-index: 8000;
     z-index: 8000;
-    display: none;
 }
 }
 
 
 .jHueNotify .close {
 .jHueNotify .close {
     right: -27px;
     right: -27px;
-    display: none;
 }
 }