freeipa/install/ui
Petr Vobornik 8cb211a24f Distinguishing of external values in association tables
Problem:
Rule association widget was displaying standard records with external records in one table. User couldn't distinguish the values. When clicking on the external record link it navigated to appropriate page for that entity. But for external value there is no record to show so it displayed error.

Solution:
* For tables with possible external values a 'external' column was added. It displays "True" if the value is external and nothing if not. Displaying nothing is intentional. If user sees some text in external column he imidiately knows that the record is external without even reading the "True" text.
* Rows with external values don't have a link for navigating to record page. This prevents showing the error as no record exists.

Additional changes:
* Association table widget was stripped of get_records method. Loading records isn't its resposibility it's a resposibility of field.
* Column was extended by possible suppressing of link creation. It's done by optional suppress_link argument in setup method.
* To allow setting suppress_link attribute in inherited tables a new overridable method was created - setup_column.

Posible future improvements:
* Table is using dynamic setting of width for columns. Each column has the same width. For flag columns such as 'external' the width of the column is too big. It would be better to be able to set smaller fixed width and the rest of the columns width (without the width set) would be computed (to fit the table).
* When a table has displayed buttons in its last column header the cells in column header have different vertical alignmnent. It should be united.

https://fedorahosted.org/freeipa/ticket/1993
2011-12-15 20:00:02 +00:00
..
images Added facet tabs coloring 2011-12-14 15:44:36 +00:00
test Added HBAC Test input validation. 2011-12-09 15:55:13 +01:00
aci.js Reordered facets in ACI 2011-12-09 22:46:19 +00:00
add.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
association.js Distinguishing of external values in association tables 2011-12-15 20:00:02 +00:00
automount.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
browser.js Added cross browser support of Array.indexOf method 2011-12-02 18:35:59 +00:00
certificate.js Modifying hosts to work with new concept 2011-12-05 16:01:11 +00:00
details.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
develop.js Removed develop.js. 2011-11-14 16:47:10 -05:00
dialog.js Fixed navigation buttons for HBAC Test. 2011-12-07 15:33:06 +00:00
dns.js Fixed problem loading DNS records. 2011-12-09 15:55:21 +01:00
entitle.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
entity.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
extension.js Removed develop.js. 2011-11-14 16:47:10 -05:00
facet.js Added facet tabs coloring 2011-12-14 15:44:36 +00:00
favicon.ico favicon 2011-02-03 15:04:23 -05:00
field.js Removed usage of bitwise assignment operators in logical operations 2011-12-05 16:02:11 +00:00
group.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
hbac.js Search facets show translated boolean values 2011-12-08 02:10:34 +00:00
hbactest.js Fixed unmatched checkbox name. 2011-12-09 22:46:40 +00:00
host.js Search facets show translated boolean values 2011-12-08 02:10:34 +00:00
hostgroup.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
index.html Added HBAC Test page. 2011-12-06 22:08:16 +00:00
ipa.css Added facet tabs coloring 2011-12-14 15:44:36 +00:00
ipa.js Additional better displaying of long names 2011-12-09 22:46:12 +00:00
jquery-ui.css Fixed inconsistent image names. 2011-10-27 14:05:12 +00:00
jquery-ui.js rename static to ui 2011-01-20 14:12:47 +00:00
jquery.ba-bbq.js rename static to ui 2011-01-20 14:12:47 +00:00
jquery.js Upgrade to jquery 1.5.2 https://fedorahosted.org/freeipa/ticket/768 2011-04-23 03:25:45 +00:00
jquery.ordered-map.js Fixed navigation buttons for HBAC Test. 2011-12-07 15:33:06 +00:00
jsl.conf Splitting widget into widget and field 2011-12-05 16:00:27 +00:00
json2.js rename static to ui 2011-01-20 14:12:47 +00:00
Makefile.am Added HBAC Test page. 2011-12-06 22:08:16 +00:00
navigation.js Circular entity dependency 2011-10-18 16:19:06 -02:00
netgroup.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
overpass_bold-web.eot Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.svg Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.ttf Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.woff Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.eot Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.svg Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.ttf Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.woff Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
policy.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
rule.js Distinguishing of external values in association tables 2011-12-15 20:00:02 +00:00
search.js Added HBAC Test page. 2011-12-06 22:08:16 +00:00
serverconfig.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
service.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
sudo.js Fixed displaying of external records in rule association widgets 2011-12-15 19:59:57 +00:00
user.js Association facets are read only in self service 2011-12-12 19:14:46 +00:00
webui.js Added HBAC Test page. 2011-12-06 22:08:16 +00:00
widget.js Distinguishing of external values in association tables 2011-12-15 20:00:02 +00:00