Ad Widget

Collapse

Vertical text in overview header

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StevenBrs
    Junior Member
    • Sep 2015
    • 11

    #1

    Vertical text in overview header

    Hi there,

    Since a couple of days I noticed the headers in overview screen are a little messed up. The titles are displayed horizontal instead of vertical.
    This is solved in the next rc, but I was wondering if anybody could tell me what the necessary changes are in the current version 2.4.7, so I can "patch" our system...

    I already tried grepping on writing-mode, tried adjusting the default.css :
    "table.tableinfo tr.vertical_header td.vertical_rotation {"
    But to no avail :/

    Thanks in advance.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please try to replace CTableInfo.php file with the following file of rc version.
    frontends/php/include/classes/html/CTableInfo.php

    Bug info: ZBX-10170 : Column names in Overview are not vertical

    Comment

    • StevenBrs
      Junior Member
      • Sep 2015
      • 11

      #3
      Couldn't find ZBX-10170 in dev branch, but this file also solves the issue:
      svn://svn.zabbix.com/branches/2.4/frontends/php/include/classes/html/CTableInfo.php

      Thanks for the reply !

      Comment

      • PCMN
        Junior Member
        • Feb 2016
        • 1

        #4
        Any chance you can post the code of this, I cannot access it for some reason.

        Comment

        • StevenBrs
          Junior Member
          • Sep 2015
          • 11

          #5
          Code:
          4c4
          < ** Copyright (C) 2001-2015 Zabbix SIA : CTableInfo.php.old
          ---
          > ** Copyright (C) 2001-2016 Zabbix SIA : CTableInfo.php.new
          52,54c52,55
          <                                       if (IE8) {
          <                                               jQuery(".vertical_rotation_inner", table).css({
          <                                                       filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"
          ---
          >                                       if (IE8 || IE10 || IE11) {
          >                                               jQuery(".vertical_rotation_inner").css({
          >                                                       filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)",
          >                                                       "writing-mode": "tb-rl"
          58c59
          <                                               jQuery(".vertical_rotation_inner", table).css({
          ---
          >                                               jQuery(".vertical_rotation_inner").css({
          62,67d62
          < 
          <                                       if (!IE9) {
          <                                               jQuery(".vertical_rotation_inner", table).css({
          <                                                       "writing-mode": "vertical-lr"
          <                                               });
          <                                       }
          Attached Files

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            Version under development can also be downloaded.

            However, it is for developer.
            I think that is good only for those who were available when you want to check in before the official release.

            Nightly Builds:
            http://www.zabbix.com/developers.php

            Comment

            Working...