[ 
https://issues.apache.org/jira/browse/VCL-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145347#comment-14145347
 ] 

ASF subversion and git services commented on VCL-776:
-----------------------------------------------------

Commit 1627142 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1627142 ]

VCL-776 - rework resource code to have a base class for all resources and 
inheriting classes for each resource type

added code to handle widths of resource tables better

computer.php:
- added fieldWidth
- modified extraResourceFilters: set autoComplete to false for reloadimageid 
select object; having it on caused problems when typing in the box to filter 
the results

managementnode.php: added fieldWidth

resource.php:
- modified viewResources: added extra check for user agent including 'trident' 
to catch IE11 so that grid widths are specified in px instead of em; removed 
unused values from $w array; make a call to $this->fieldWidth to get the width 
for grid cells after name and owner
- added fieldWidth

utils.php: modified getComputers: return image.prettyname for nextimg instead 
of image.name

computer.js:
- modified buldExtraFilters: added formatter function for comboboxes so that 
bool fields can show the right values to select from; there is still a problem 
in that once selected, the 0 or 1 gets displayed in the box instead of 
false/true; updated how width of comboboxes is set to handle widths specified 
in px differently from those specified in em
- added cbformatter

> rework resource code to have a base class for all resources and inheriting 
> classes for each resource type
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: VCL-776
>                 URL: https://issues.apache.org/jira/browse/VCL-776
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.4
>
>
> Rework the code for resources so that there is a base class that provides 
> common functionality for all resources and then write classes that inherit 
> from that to provide resource specific functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to