Procházet zdrojové kódy

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 před 13 roky
rodič
revize
d581141

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

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

binární
apps/beeswax/static/art/icon_beeswax_24.png


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

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

binární
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']
 NICE_NAME = "Help"
 REQUIRES_HADOOP = False
-ICON = "/help/static/art/help.png"
+ICON = "/help/static/art/icon_help_24.png"
 MENU_INDEX = 90

binární
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']
 NICE_NAME = "Job Browser"
 REQUIRES_HADOOP = True
-ICON = "/jobbrowser/static/art/icon_large.png"
+ICON = "/jobbrowser/static/art/icon_jobbrowser_24.png"
 MENU_INDEX = 30

binární
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"
 ]
 
-ICON = "/jobsub/static/art/icon.png"
+ICON = "/jobsub/static/art/icon_jobsub_24.png"
 MENU_INDEX = 40

binární
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"),
 )
 
-ICON = "/oozie/static/art/icon.png"
+ICON = "/oozie/static/art/icon_oozie_24.png"
 MENU_INDEX = 41
 
 IS_URL_NAMESPACED = True

binární
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"),
 )
 
-ICON = "/shell/static/art/shell.png"
+ICON = "/shell/static/art/icon_shell_24.png"
 MENU_INDEX = 50

binární
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" ]
 NICE_NAME = "User Admin"
 REQUIRES_HADOOP = False
-ICON = "/useradmin/static/art/useradmin-logo.png"
+ICON = "/useradmin/static/art/icon_useradmin_24.png"
 MENU_INDEX = 60

binární
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:
               %if app.icon_path:
               <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
             %endfor
             <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: linear-gradient(top, #2c7fb3, #01639c);
     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;
     -moz-border-radius: 4px;
     border-radius: 4px;
@@ -124,7 +124,6 @@
     text-decoration: none;
 }
 
-
 h1 {
     margin-bottom:.7em;
 }
@@ -943,10 +942,8 @@ div.box {
     width: 400px;
     text-align: center;
     z-index: 8000;
-    display: none;
 }
 
 .jHueNotify .close {
     right: -27px;
-    display: none;
 }