From 344e15452a64ef9dc43a66a7e0085aef0eb7c175 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 28 Mar 2013 18:25:13 +0100 Subject: Replace id usage in App widget by class https://fedorahosted.org/freeipa/ticket/3236 --- install/ui/src/freeipa/widgets/App.js | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'install/ui/src/freeipa/widgets') diff --git a/install/ui/src/freeipa/widgets/App.js b/install/ui/src/freeipa/widgets/App.js index 662d0ee0b..abec9754e 100644 --- a/install/ui/src/freeipa/widgets/App.js +++ b/install/ui/src/freeipa/widgets/App.js @@ -99,7 +99,8 @@ define(['dojo/_base/declare', this.domNode = construct.create('div', { - id: this.app_id + id: this.app_id, + 'class': 'app-container' }); if (this.container_node) { @@ -113,27 +114,27 @@ define(['dojo/_base/declare', construct.place(this.menu_node, this.domNode); this.content_node = construct.create('div', { - id: 'content' + 'class': 'content' }, this.domNode); }, _render_background: function() { var inner_html = ''+ - '
'+ - '
'+ - '
'+ - '
'+ - '
'; + '
'+ + '
'+ + '
'+ + '
'+ + '
'; this.background_node = construct.create('div', { - id: 'background', + 'class': 'background', innerHTML: inner_html }, this.domNode); }, _render_header: function() { this.header_node = construct.create('div', { - id: 'header' + 'class': 'header' }, this.domNode); // logo @@ -147,13 +148,13 @@ define(['dojo/_base/declare', construct.place(''+ ''+ ''+ - '