Changeset 673


Ignore:
Timestamp:
Jul 21, 2014, 9:17:56 PM (10 years ago)
Author:
chronos
Message:
  • Upraveno: Přehlednější barevné zobrazování online/offline stavu dostupnost.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/FormClasses.php

    r661 r673  
    209209    'States' => array('Nízká', 'Střední', 'Vysoká'),
    210210  ),
     211  'TOnlineState' => array(
     212    'Type' => 'Enumeration',
     213    'States' => array('<span style="color:red;">Nedostupný</span>', '<span style="color:green;">Dostupný</span>'),
     214  ),
    211215  'TNetworkConfigurationState' => array(
    212216    'Type' => 'Enumeration',
  • trunk/Application/Version.php

    r671 r673  
    11<?php
    22
    3 $Revision = 671; // Subversion revision
     3$Revision = 673; // Subversion revision
    44$DatabaseRevision = 671; // SQL structure revision
    55$ReleaseTime = strtotime('2014-07-19');
  • trunk/Modules/NetworkConfigRouterOS/NetworkConfigRouterOS.php

    r660 r673  
    3535        'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => '', 'ReadOnly' => true),
    3636        'Interface' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní', 'Default' => '', 'ReadOnly' => true),
    37         'State' => array('Type' => 'Boolean', 'Caption' => 'Stav', 'Default' => '', 'ReadOnly' => true),
     37        'State' => array('Type' => 'TOnlineState', 'Caption' => 'Stav', 'Default' => '', 'ReadOnly' => true),
    3838        'Duration' => array('Type' => 'TimeDiff', 'Caption' => 'Trvání', 'Default' => '', 'ReadOnly' => true,
    3939          'SQL' => 'TIMESTAMPDIFF(SECOND, `Time`, '.
Note: See TracChangeset for help on using the changeset viewer.