2010-09-16 15:55:57 -05:00
|
|
|
AUTOMAKE_OPTIONS = 1.7
|
|
|
|
|
2010-08-06 09:01:44 -05:00
|
|
|
NULL =
|
|
|
|
|
2010-09-16 15:55:57 -05:00
|
|
|
SUBDIRS = \
|
HBAC Details Page
The UI framework has been extended to include a collection of widgets:
- ipa_widget: base class
- ipa_text_widget: text field
- ipa_radio_widget: radio button
- ipa_textarea_widget: textarea
- ipa_button_widget: button
- ipa_column_widget: column for table
- ipa_table_widget: table
These widgets can be used to create input controls. They can also be
extended to create custom controls.
The framework has also been enhanced to support custom layouts. This
can be used to change the look of the application without changing
the code. Initially this is only available in details section.
Layout consists of a collection of HTML templates. Each template is a
complete and valid HTML file representing a portion of a page. The
template will be loaded and initialized by the code, then filled with
the data from the server. The layouts are located in
install/static/layouts/<name> folder.
By default, if no templates are used, the fields in the details page
are rendered vertically using dd/dt/dd tags. For pages that require
different layout, a custom UI needs to be developed. There are two ways
to do that:
- write a custom widget to generate the UI dynamically
- create an HTML template and write the initialization code
For components that are quite complex or used frequently, it's might
be better to use the first method. For simple pages that are used only
in one location or need to support customization, the second method
might be preferable. Other benefits of templates:
- cleaner code and UI separation
- more flexibility in customization
- new pages can be developed quickly and require less coding
- multiple templates can be used with the same initialization code
- easier to maintain
The HBAC details page has been implemented using both methods. By
default it will use custom widgets to generate the page. To use a
custom layout, add the following parameter to the URL, then reload
the page:
&layout=<name>
Currently the only available layout is 'default' which produces the
same look as the custom widgets.
The HBAC details page is usable, but it still needs additional work.
The access time is not working yet. There is no undo button, hint,
or validation yet.
The table in the association facet has also been changed to use
ipa_association_widget which is derived from ipa_table_widget.
The Makefile has been updated to include the layouts. The unit tests
have been updated as well.
2010-11-02 20:16:55 -05:00
|
|
|
layouts \
|
2010-09-16 14:13:48 -05:00
|
|
|
$(NULL)
|
|
|
|
|
2011-01-19 11:26:14 -06:00
|
|
|
appdir = $(IPA_DATA_DIR)/ui
|
2010-08-06 09:01:44 -05:00
|
|
|
app_DATA = \
|
2010-10-25 18:55:57 -05:00
|
|
|
aci.js \
|
2010-08-23 21:32:23 -05:00
|
|
|
add.js \
|
2010-09-07 09:08:19 -05:00
|
|
|
associate.js \
|
2011-01-17 07:43:43 -06:00
|
|
|
caution.png \
|
2011-01-25 13:44:42 -06:00
|
|
|
centered-bg.png \
|
2011-01-17 07:43:43 -06:00
|
|
|
check.png \
|
2010-08-06 09:01:44 -05:00
|
|
|
ipa_logo_180x50.png \
|
|
|
|
ipa.js \
|
|
|
|
ipa.css \
|
2011-01-05 13:02:24 -06:00
|
|
|
json2.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
jquery.js \
|
2010-09-16 09:24:32 -05:00
|
|
|
jquery-ui.js \
|
|
|
|
jquery.ba-bbq.js \
|
|
|
|
jquery-ui.css \
|
2010-10-15 12:22:01 -05:00
|
|
|
certificate.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
group.js \
|
2011-01-11 07:31:09 -06:00
|
|
|
hbacrule.js \
|
2010-11-19 16:58:55 -06:00
|
|
|
hbacsvc.js \
|
|
|
|
hbacsvcgroup.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
host.js \
|
|
|
|
hostgroup.js \
|
2010-11-19 08:30:56 -06:00
|
|
|
index.html \
|
2010-08-06 09:01:44 -05:00
|
|
|
jquery.cookie.js \
|
|
|
|
navigation.js \
|
|
|
|
netgroup.js \
|
2010-09-08 18:25:14 -05:00
|
|
|
service.js \
|
2010-10-06 16:24:58 -05:00
|
|
|
serverconfig.js \
|
2010-11-18 20:17:14 -06:00
|
|
|
sudorule.js \
|
2010-11-19 16:58:55 -06:00
|
|
|
sudocmd.js \
|
|
|
|
sudocmdgroup.js \
|
2010-10-06 16:24:58 -05:00
|
|
|
policy.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
search.js \
|
2010-11-18 20:17:14 -06:00
|
|
|
rule.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
details.js \
|
2010-09-16 09:28:07 -05:00
|
|
|
entity.js \
|
|
|
|
webui.js \
|
HBAC Details Page
The UI framework has been extended to include a collection of widgets:
- ipa_widget: base class
- ipa_text_widget: text field
- ipa_radio_widget: radio button
- ipa_textarea_widget: textarea
- ipa_button_widget: button
- ipa_column_widget: column for table
- ipa_table_widget: table
These widgets can be used to create input controls. They can also be
extended to create custom controls.
The framework has also been enhanced to support custom layouts. This
can be used to change the look of the application without changing
the code. Initially this is only available in details section.
Layout consists of a collection of HTML templates. Each template is a
complete and valid HTML file representing a portion of a page. The
template will be loaded and initialized by the code, then filled with
the data from the server. The layouts are located in
install/static/layouts/<name> folder.
By default, if no templates are used, the fields in the details page
are rendered vertically using dd/dt/dd tags. For pages that require
different layout, a custom UI needs to be developed. There are two ways
to do that:
- write a custom widget to generate the UI dynamically
- create an HTML template and write the initialization code
For components that are quite complex or used frequently, it's might
be better to use the first method. For simple pages that are used only
in one location or need to support customization, the second method
might be preferable. Other benefits of templates:
- cleaner code and UI separation
- more flexibility in customization
- new pages can be developed quickly and require less coding
- multiple templates can be used with the same initialization code
- easier to maintain
The HBAC details page has been implemented using both methods. By
default it will use custom widgets to generate the page. To use a
custom layout, add the following parameter to the URL, then reload
the page:
&layout=<name>
Currently the only available layout is 'default' which produces the
same look as the custom widgets.
The HBAC details page is usable, but it still needs additional work.
The access time is not working yet. There is no undo button, hint,
or validation yet.
The table in the association facet has also been changed to use
ipa_association_widget which is derived from ipa_table_widget.
The Makefile has been updated to include the layouts. The unit tests
have been updated as well.
2010-11-02 20:16:55 -05:00
|
|
|
widget.js \
|
2010-08-06 09:01:44 -05:00
|
|
|
user.js \
|
|
|
|
ipalogo.png \
|
|
|
|
gray-fade-line.png \
|
|
|
|
Mainnav-background.png \
|
|
|
|
Mainnav-offtab.png \
|
|
|
|
Mainnav-ontab.png \
|
2011-01-05 13:02:24 -06:00
|
|
|
modal-background.png \
|
2011-01-18 16:57:15 -06:00
|
|
|
outer-bg.png \
|
2011-01-05 13:02:24 -06:00
|
|
|
panel-background.png \
|
2010-08-06 09:01:44 -05:00
|
|
|
Subnav-background.png \
|
|
|
|
Subnav-offbutton.png \
|
|
|
|
Subnav-onbutton.png \
|
2010-09-16 15:55:57 -05:00
|
|
|
ui-bg_flat_65_ffffff_40x100.png \
|
|
|
|
ui-bg_glass_40_111111_1x400.png \
|
|
|
|
ui-bg_glass_55_1c1c1c_1x400.png \
|
|
|
|
ui-bg_highlight-hard_100_f9f9f9_1x100.png \
|
|
|
|
ui-bg_highlight-hard_40_aaaaaa_1x100.png \
|
|
|
|
ui-bg_highlight-soft_50_aaaaaa_1x100.png \
|
|
|
|
ui-bg_inset-hard_45_cd0a0a_1x100.png \
|
|
|
|
ui-bg_inset-hard_55_ffeb80_1x100.png \
|
|
|
|
ui-bg_loop_8_333333_21x21.png \
|
|
|
|
ui-icons_222222_256x240.png \
|
|
|
|
ui-icons_4ca300_256x240.png \
|
|
|
|
ui-icons_bbbbbb_256x240.png \
|
|
|
|
ui-icons_ededed_256x240.png \
|
|
|
|
ui-icons_ffcf29_256x240.png \
|
|
|
|
ui-icons_ffffff_256x240.png \
|
2011-01-05 13:02:24 -06:00
|
|
|
FreeWay.otf \
|
|
|
|
FreeWay-Bold.otf \
|
2011-01-10 20:14:51 -06:00
|
|
|
spinner_header.gif \
|
|
|
|
spinner_large.gif \
|
|
|
|
spinner_small.gif \
|
2010-08-06 09:01:44 -05:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(app_DATA) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
*~ \
|
|
|
|
Makefile.in
|
2010-09-16 15:55:57 -05:00
|
|
|
$(NULL)
|