Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1928

Přidáno uživatelem Ondřej Fibich před více než 11 roky(ů)

Upravy:
- closes #533: Zvetsit select box podsiti pri pridavani zarizeni

Zobrazit rozdíly:

freenetis/branches/1.1/application/views/js/devices_add.php
html_buffer.push('<td><label class="device_add_label"><?php echo __('Name') ?>: </label>');
html_buffer.push('<b class="iface_name">');
html_buffer.push(item['name']);
html_buffer.push('</b><br />');
html_buffer.push('</b> ');
html_buffer.push('<a href="#" title="<?php echo __('Add details to interface') ?>" class="device_add_detail_button add_detail_to_iface">');
html_buffer.push('<?php echo html::image(array('src' => 'media/images/icons/settings.gif')) ?>');
html_buffer.push('</a><br />');
if (data['has_mac'])
{
......
}
html_buffer.push(iface_hid);
html_buffer.push('<a href="#" title="<?php echo __('Add details to interface') ?>" class="device_add_detail_button add_detail_to_iface">');
html_buffer.push('<?php echo html::image(array('src' => 'media/images/icons/settings.gif')) ?>');
html_buffer.push('</a>');
html_buffer.push('</td>');
if (data['has_ip'])
......
}
<?php endif; ?>
html_buffer.push('style="width:11em" class="ip_address ip_address_check" />');
html_buffer.push('style="width:14em" class="ip_address ip_address_check" />');
html_buffer.push(ip_hiddden);
html_buffer.push('<a href="#" class="device_add_detail_button add_detail_to_ip" title="<?php echo __('Add details to IP address') ?>">');
html_buffer.push('<?php echo html::image(array('src' => 'media/images/icons/settings.gif')) ?>');
......
}
<?php endif; ?>
html_buffer.push('style="width: 14em">');
html_buffer.push('style="min-width: 14em; max-width: 22em; width: auto">');
html_buffer.push(subnets_options);
html_buffer.push('</select>');
html_buffer.push('</td>');

Také k dispozici: Unified diff