From f18b89698c9eb596b5782b08441fe49b84d01e43 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 11 Oct 2013 17:32:40 +0200 Subject: Remove background https://fedorahosted.org/freeipa/ticket/3902 --- install/ui/images/Makefile.am | 5 --- install/ui/images/background-center.png | Bin 2839 -> 0 bytes install/ui/images/background-left.png | Bin 3193 -> 0 bytes install/ui/images/background-right.png | Bin 3211 -> 0 bytes install/ui/images/mainnav-background.png | Bin 34917 -> 0 bytes install/ui/images/top-background.png | Bin 7883 -> 0 bytes install/ui/ipa.css | 51 +------------------------------ install/ui/src/freeipa/widgets/App.js | 17 ----------- 8 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 install/ui/images/background-center.png delete mode 100644 install/ui/images/background-left.png delete mode 100644 install/ui/images/background-right.png delete mode 100644 install/ui/images/mainnav-background.png delete mode 100644 install/ui/images/top-background.png diff --git a/install/ui/images/Makefile.am b/install/ui/images/Makefile.am index ea9b712b..4030123f 100644 --- a/install/ui/images/Makefile.am +++ b/install/ui/images/Makefile.am @@ -5,9 +5,6 @@ app_DATA = \ add-icon.png \ arrow-collapsed.png \ arrow-expanded.png \ - background-center.png \ - background-left.png \ - background-right.png \ caution-icon.png \ centered-background.png \ check-icon.png \ @@ -19,7 +16,6 @@ app_DATA = \ ie-icon.png \ ipa-banner.png \ ipa-logo.png \ - mainnav-background.png \ mainnav-tab-off.png \ mainnav-tab-on.png \ modal-background.png \ @@ -34,7 +30,6 @@ app_DATA = \ spinner-small.gif \ static-background.png \ subnav-background.png \ - top-background.png \ ui-bg_flat_65_ffffff_40x100.png \ ui-bg_flat_8_225314_40x100.png \ ui-bg_glass_40_5e5e5e_1x400.png \ diff --git a/install/ui/images/background-center.png b/install/ui/images/background-center.png deleted file mode 100644 index 92653e8b..00000000 Binary files a/install/ui/images/background-center.png and /dev/null differ diff --git a/install/ui/images/background-left.png b/install/ui/images/background-left.png deleted file mode 100644 index acd33942..00000000 Binary files a/install/ui/images/background-left.png and /dev/null differ diff --git a/install/ui/images/background-right.png b/install/ui/images/background-right.png deleted file mode 100644 index ad7c63e7..00000000 Binary files a/install/ui/images/background-right.png and /dev/null differ diff --git a/install/ui/images/mainnav-background.png b/install/ui/images/mainnav-background.png deleted file mode 100644 index 064ded40..00000000 Binary files a/install/ui/images/mainnav-background.png and /dev/null differ diff --git a/install/ui/images/top-background.png b/install/ui/images/top-background.png deleted file mode 100644 index 14e975d8..00000000 Binary files a/install/ui/images/top-background.png and /dev/null differ diff --git a/install/ui/ipa.css b/install/ui/ipa.css index ec592bea..c1883f64 100644 --- a/install/ui/ipa.css +++ b/install/ui/ipa.css @@ -17,7 +17,6 @@ html { body { overflow: auto; position: relative; - background: url(images/outer-background.png); background-repeat: repeat-x; background-position: left top; background-color: #FFFFFF; @@ -53,55 +52,7 @@ textarea[readonly] { margin: 0 auto 0; } -/* ---- Background ---- */ - -.background-header { - position: absolute; - top: 0; - left: 0; - right: 0; - height: 34px; - background: url(images/top-background.png) #0C3B00; -} - -.background-navigation { - position: absolute; - top: 34px; - left: 0; - right: 0; - height: 72px; - background: url(images/mainnav-background.png); -} - -.background-left { - position: absolute; - top: 106px; - left: 0; - width: 10px; - bottom: 0; - background: url(images/background-left.png); - background-repeat: no-repeat; -} - -.background-center { - position: absolute; - top: 106px; - left: 10px; - right: 10px; - bottom: 0; - background: url(images/background-center.png); - background-repeat: repeat-x; -} - -.background-right { - position: absolute; - top: 106px; - right: 0; - width: 10px; - bottom: 0; - background: url(images/background-right.png); - background-repeat: no-repeat; -} +/** Icons **/ .icon { display: inline-block; diff --git a/install/ui/src/freeipa/widgets/App.js b/install/ui/src/freeipa/widgets/App.js index 569cecef..bdd17efa 100644 --- a/install/ui/src/freeipa/widgets/App.js +++ b/install/ui/src/freeipa/widgets/App.js @@ -55,8 +55,6 @@ define(['dojo/_base/declare', container_node: null, - background_node: null, - header_node: null, password_expires_node: null, @@ -106,7 +104,6 @@ define(['dojo/_base/declare', construct.place(this.domNode, this.container_node); } - this._render_background(); this._render_header(); this.menu_node = this.menu_widget.render(); @@ -117,20 +114,6 @@ define(['dojo/_base/declare', }, this.domNode); }, - _render_background: function() { - var inner_html = ''+ - '
'+ - '
'+ - '
'+ - '
'+ - '
'; - - this.background_node = construct.create('div', { - 'class': 'background', - innerHTML: inner_html - }, this.domNode); - }, - _render_header: function() { this.header_node = construct.create('div', { 'class': 'header' -- cgit