diff options
Diffstat (limited to 'applications')
10 files changed, 120 insertions, 120 deletions
diff --git a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js index 52ce13c766..618facd6e6 100644 --- a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js +++ b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js @@ -73,16 +73,16 @@ var cbiACLSelect = form.Value.extend({ var readMatches = globListToRegExp(section_id, 'read'), writeMatches = globListToRegExp(section_id, 'write'); - var table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr' }, [ - E('div', { 'class': 'th' }, [ _('ACL group') ]), - E('div', { 'class': 'th' }, [ _('Description') ]), - E('div', { 'class': 'th' }, [ _('Access level') ]) + var table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr' }, [ + E('th', { 'class': 'th' }, [ _('ACL group') ]), + E('th', { 'class': 'th' }, [ _('Description') ]), + E('th', { 'class': 'th' }, [ _('Access level') ]) ]), - E('div', { 'class': 'tr' }, [ - E('div', { 'class': 'td' }, [ '' ]), - E('div', { 'class': 'td' }, [ '' ]), - E('div', { 'class': 'td' }, [ + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td' }, [ '' ]), + E('td', { 'class': 'td' }, [ '' ]), + E('td', { 'class': 'td' }, [ _('Set all: ', 'Set all permissions in the table below to one of the given values'), E('a', { 'href': '#', 'click': function() { table.querySelectorAll('select').forEach(function(select) { select.value = select.options[0].value }); @@ -102,10 +102,10 @@ var cbiACLSelect = form.Value.extend({ isReadable = (readMatches[0].test(aclGroupName) && !readMatches[1].test(aclGroupName)) || null, isWritable = (writeMatches[0].test(aclGroupName) && !writeMatches[1].test(aclGroupName)) || null; - table.appendChild(E('div', { 'class': 'tr' }, [ - E('div', { 'class': 'td' }, [ aclGroupName ]), - E('div', { 'class': 'td' }, [ aclList[aclGroupName].description || '-' ]), - E('div', { 'class': 'td' }, [ + table.appendChild(E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td' }, [ aclGroupName ]), + E('td', { 'class': 'td' }, [ aclList[aclGroupName].description || '-' ]), + E('td', { 'class': 'td' }, [ E('select', { 'data-acl-group': aclGroupName }, [ isRequired ? E([]) : E('option', { 'value': '' }, [ _('denied', 'No permissions granted') ]), E('option', { 'value': 'read', 'selected': isReadable }, [ _('readonly', 'Only read permissions granted') ]), diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js index 0feee2ae70..b85abd0238 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/dnsreport.js @@ -201,14 +201,14 @@ return view.extend({ content = JSON.parse(dnsreport); var rows_top = []; - var tbl_top = E('div', { 'class': 'table', 'id': 'top_10' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th right' }, _('Count')), - E('div', { 'class': 'th' }, _('Name / IP Address')), - E('div', { 'class': 'th right' }, _('Count')), - E('div', { 'class': 'th' }, _('Domain')), - E('div', { 'class': 'th right' }, _('Count')), - E('div', { 'class': 'th' }, _('Blocked Domain')) + var tbl_top = E('table', { 'class': 'table', 'id': 'top_10' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th right' }, _('Count')), + E('th', { 'class': 'th' }, _('Name / IP Address')), + E('th', { 'class': 'th right' }, _('Count')), + E('th', { 'class': 'th' }, _('Domain')), + E('th', { 'class': 'th right' }, _('Count')), + E('th', { 'class': 'th' }, _('Blocked Domain')) ]) ]); @@ -248,14 +248,14 @@ return view.extend({ cbi_update_table(tbl_top, rows_top); var rows_requests = []; - var tbl_requests = E('div', { 'class': 'table', 'id': 'requests' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Date')), - E('div', { 'class': 'th' }, _('Time')), - E('div', { 'class': 'th' }, _('Client')), - E('div', { 'class': 'th' }, _('Domain')), - E('div', { 'class': 'th' }, _('Answer')), - E('div', { 'class': 'th' }, _('Action')) + var tbl_requests = E('table', { 'class': 'table', 'id': 'requests' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Date')), + E('th', { 'class': 'th' }, _('Time')), + E('th', { 'class': 'th' }, _('Client')), + E('th', { 'class': 'th' }, _('Domain')), + E('th', { 'class': 'th' }, _('Answer')), + E('th', { 'class': 'th' }, _('Action')) ]) ]); diff --git a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js index 762d65f669..e2c12e6a46 100644 --- a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js +++ b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js @@ -198,12 +198,12 @@ return view.extend({ body.appendChild(E('h3', device_info.device_name + _(' Partitions'))); if (device_info.device_name) { - var partitions_table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, [ _('Partition') ]), - E('div', { 'class': 'th' }, [ _('Status') ]), - E('div', { 'class': 'th' }, [ _('Firmware') ]), - E('div', { 'class': 'th' }, [ _('Reboot') ]) + var partitions_table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, [ _('Partition') ]), + E('th', { 'class': 'th' }, [ _('Status') ]), + E('th', { 'class': 'th' }, [ _('Firmware') ]), + E('th', { 'class': 'th' }, [ _('Reboot') ]) ]) ]); diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js index 13e8fba217..d3b35d8691 100644 --- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js +++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js @@ -22,13 +22,13 @@ return baseclass.extend({ render: function(data) { var services = data[0]; - var table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Configuration')), - E('div', { 'class': 'th' }, _('Next Update')), - E('div', { 'class': 'th' }, _('Lookup Hostname')), - E('div', { 'class': 'th' }, _('Registered IP')), - E('div', { 'class': 'th' }, _('Network')) + var table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Configuration')), + E('th', { 'class': 'th' }, _('Next Update')), + E('th', { 'class': 'th' }, _('Lookup Hostname')), + E('th', { 'class': 'th' }, _('Registered IP')), + E('th', { 'class': 'th' }, _('Network')) ]) ]); diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js index 1b654d7bca..6d57c12c5c 100644 --- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js @@ -609,14 +609,14 @@ return view.extend({ ]) ]) ]), - E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, label || col), - E('div', { 'class': 'th' }, _('Conn.')), - E('div', { 'class': 'th' }, _('Down. (Bytes)')), - E('div', { 'class': 'th' }, _('Down. (Pkts.)')), - E('div', { 'class': 'th' }, _('Up. (Bytes)')), - E('div', { 'class': 'th' }, _('Up. (Pkts.)')), + E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, label || col), + E('th', { 'class': 'th' }, _('Conn.')), + E('th', { 'class': 'th' }, _('Down. (Bytes)')), + E('th', { 'class': 'th' }, _('Down. (Pkts.)')), + E('th', { 'class': 'th' }, _('Up. (Bytes)')), + E('th', { 'class': 'th' }, _('Up. (Pkts.)')), ]) ]) ]); @@ -841,18 +841,18 @@ return view.extend({ ]) ]), - E('div', { 'class': 'table', 'id': 'host-data' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th left hostname' }, [ _('Host') ]), - E('div', { 'class': 'th right' }, [ _('MAC') ]), - E('div', { 'class': 'th right' }, [ _('Connections') ]), - E('div', { 'class': 'th right' }, [ _('Download (Bytes)') ]), - E('div', { 'class': 'th right' }, [ _('Download (Packets)') ]), - E('div', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), - E('div', { 'class': 'th right' }, [ _('Upload (Packets)') ]), + E('table', { 'class': 'table', 'id': 'host-data' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th left hostname' }, [ _('Host') ]), + E('th', { 'class': 'th right' }, [ _('MAC') ]), + E('th', { 'class': 'th right' }, [ _('Connections') ]), + E('th', { 'class': 'th right' }, [ _('Download (Bytes)') ]), + E('th', { 'class': 'th right' }, [ _('Download (Packets)') ]), + E('th', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), + E('th', { 'class': 'th right' }, [ _('Upload (Packets)') ]), ]), - E('div', { 'class': 'tr placeholder' }, [ - E('div', { 'class': 'td' }, [ + E('tr', { 'class': 'tr placeholder' }, [ + E('td', { 'class': 'td' }, [ E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) ]) ]) @@ -881,17 +881,17 @@ return view.extend({ ]) ]), - E('div', { 'class': 'table', 'id': 'layer7-data' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th left' }, [ _('Application') ]), - E('div', { 'class': 'th right' }, [ _('Connections') ]), - E('div', { 'class': 'th right' }, [ _('Download (Bytes)') ]), - E('div', { 'class': 'th right' }, [ _('Download (Packets)') ]), - E('div', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), - E('div', { 'class': 'th right' }, [ _('Upload (Packets)') ]), + E('table', { 'class': 'table', 'id': 'layer7-data' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th left' }, [ _('Application') ]), + E('th', { 'class': 'th right' }, [ _('Connections') ]), + E('th', { 'class': 'th right' }, [ _('Download (Bytes)') ]), + E('th', { 'class': 'th right' }, [ _('Download (Packets)') ]), + E('th', { 'class': 'th right' }, [ _('Upload (Bytes)') ]), + E('th', { 'class': 'th right' }, [ _('Upload (Packets)') ]), ]), - E('div', { 'class': 'tr placeholder' }, [ - E('div', { 'class': 'td' }, [ + E('tr', { 'class': 'tr placeholder' }, [ + E('td', { 'class': 'td' }, [ E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) ]) ]) @@ -920,18 +920,18 @@ return view.extend({ ]) ]), - E('div', { 'class': 'table', 'id': 'ipv6-data' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th left' }, [ _('Host') ]), - E('div', { 'class': 'th right' }, [ _('MAC') ]), - E('div', { 'class': 'th double right hide-xs' }, [ _('Family') ]), - E('div', { 'class': 'th double right' }, [ _('Download (Bytes)') ]), - E('div', { 'class': 'th double right' }, [ _('Download (Packets)') ]), - E('div', { 'class': 'th double right' }, [ _('Upload (Bytes)') ]), - E('div', { 'class': 'th double right' }, [ _('Upload (Packets)') ]), + E('table', { 'class': 'table', 'id': 'ipv6-data' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th left' }, [ _('Host') ]), + E('th', { 'class': 'th right' }, [ _('MAC') ]), + E('th', { 'class': 'th double right hide-xs' }, [ _('Family') ]), + E('th', { 'class': 'th double right' }, [ _('Download (Bytes)') ]), + E('th', { 'class': 'th double right' }, [ _('Download (Packets)') ]), + E('th', { 'class': 'th double right' }, [ _('Upload (Bytes)') ]), + E('th', { 'class': 'th double right' }, [ _('Upload (Packets)') ]), ]), - E('div', { 'class': 'tr placeholder' }, [ - E('div', { 'class': 'td' }, [ + E('tr', { 'class': 'tr placeholder' }, [ + E('td', { 'class': 'td' }, [ E('em', { 'class': 'spinning' }, [ _('Collecting data...') ]) ]) ]) diff --git a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js index a5abfc168c..be1bd944e6 100644 --- a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js +++ b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js @@ -1064,13 +1064,13 @@ return view.extend({ ]) ]), - E('div', { 'id': 'packages', 'class': 'table' }, [ - E('div', { 'class': 'tr cbi-section-table-titles' }, [ - E('div', { 'class': 'th col-2 left' }, [ _('Package name') ]), - E('div', { 'class': 'th col-2 left version' }, [ _('Version') ]), - E('div', { 'class': 'th col-1 center size'}, [ _('Size (.ipk)') ]), - E('div', { 'class': 'th col-10 left' }, [ _('Description') ]), - E('div', { 'class': 'th right cbi-section-actions' }, [ '\u00a0' ]) + E('table', { 'id': 'packages', 'class': 'table' }, [ + E('tr', { 'class': 'tr cbi-section-table-titles' }, [ + E('th', { 'class': 'th col-2 left' }, [ _('Package name') ]), + E('th', { 'class': 'th col-2 left version' }, [ _('Version') ]), + E('th', { 'class': 'th col-1 center size'}, [ _('Size (.ipk)') ]), + E('th', { 'class': 'th col-10 left' }, [ _('Description') ]), + E('th', { 'class': 'th right cbi-section-actions' }, [ '\u00a0' ]) ]) ]) ]); diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js index 72d37dc1fb..2e149ad9b5 100644 --- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js +++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/stations.js @@ -227,7 +227,7 @@ return view.extend({ 'click': ui.createHandlerFn(this, handleRemove, section_id) }, _('Del')) ]; - return E('div', { 'class': 'td middle cbi-section-actions' }, E('div', btns)); + return E('td', { 'class': 'td middle cbi-section-actions' }, E('div', btns)); }; o = s.taboption('travelmate', form.Flag, '_enabled', _('Enabled')); @@ -566,14 +566,14 @@ return view.extend({ modal 'scan' dialog */ s.handleScan = function(radio) { - var table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th col-1 middle left' }, _('Strength')), - E('div', { 'class': 'th col-1 middle left hide-xs' }, _('Channel')), - E('div', { 'class': 'th col-2 middle left' }, _('SSID')), - E('div', { 'class': 'th col-2 middle left' }, _('BSSID')), - E('div', { 'class': 'th col-3 middle left' }, _('Encryption')), - E('div', { 'class': 'th cbi-section-actions right' }, '\xa0') + var table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th col-1 middle left' }, _('Strength')), + E('th', { 'class': 'th col-1 middle left hide-xs' }, _('Channel')), + E('th', { 'class': 'th col-2 middle left' }, _('SSID')), + E('th', { 'class': 'th col-2 middle left' }, _('BSSID')), + E('th', { 'class': 'th col-3 middle left' }, _('Encryption')), + E('th', { 'class': 'th cbi-section-actions right' }, '\xa0') ]) ]); cbi_update_table(table, [], E('em', { class: 'spinning' }, _('Starting wireless scan on \'' + radio + '\'...'))); diff --git a/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js b/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js index 608929c700..b5446ecb6c 100644 --- a/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js +++ b/applications/luci-app-upnp/htdocs/luci-static/resources/view/status/include/80_upnp.js @@ -38,15 +38,15 @@ return baseclass.extend({ render: function(data) { - var table = E('div', { 'class': 'table', 'id': 'upnp_status_table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Protocol')), - E('div', { 'class': 'th' }, _('External Port')), - E('div', { 'class': 'th' }, _('Client Address')), - E('div', { 'class': 'th' }, _('Host')), - E('div', { 'class': 'th' }, _('Client Port')), - E('div', { 'class': 'th' }, _('Description')), - E('div', { 'class': 'th cbi-section-actions' }, '') + var table = E('table', { 'class': 'table', 'id': 'upnp_status_table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Protocol')), + E('th', { 'class': 'th' }, _('External Port')), + E('th', { 'class': 'th' }, _('Client Address')), + E('th', { 'class': 'th' }, _('Host')), + E('th', { 'class': 'th' }, _('Client Port')), + E('th', { 'class': 'th' }, _('Description')), + E('th', { 'class': 'th cbi-section-actions' }, '') ]) ]); diff --git a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js index 5780bcc469..e0a326d4fc 100644 --- a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js +++ b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js @@ -78,15 +78,15 @@ return view.extend({ s = m.section(form.GridSection, '_active_rules'); s.render = L.bind(function(view, section_id) { - var table = E('div', { 'class': 'table cbi-section-table', 'id': 'upnp_status_table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Protocol')), - E('div', { 'class': 'th' }, _('External Port')), - E('div', { 'class': 'th' }, _('Client Address')), - E('div', { 'class': 'th' }, _('Host')), - E('div', { 'class': 'th' }, _('Client Port')), - E('div', { 'class': 'th' }, _('Description')), - E('div', { 'class': 'th cbi-section-actions' }, '') + var table = E('table', { 'class': 'table cbi-section-table', 'id': 'upnp_status_table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Protocol')), + E('th', { 'class': 'th' }, _('External Port')), + E('th', { 'class': 'th' }, _('Client Address')), + E('th', { 'class': 'th' }, _('Host')), + E('th', { 'class': 'th' }, _('Client Port')), + E('th', { 'class': 'th' }, _('Description')), + E('th', { 'class': 'th cbi-section-actions' }, '') ]) ]); diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js index 46781442a3..10cd85641c 100644 --- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js +++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js @@ -76,10 +76,10 @@ return view.extend({ }; o.render = L.bind(function(view, section_id) { - var table = E('div', { 'class': 'table' }, [ - E('div', { 'class': 'tr table-titles' }, [ - E('div', { 'class': 'th' }, _('Interface')), - E('div', { 'class': 'th right' }, _('Delete')) + var table = E('table', { 'class': 'table' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th' }, _('Interface')), + E('th', { 'class': 'th right' }, _('Delete')) ]) ]); |