From f4fd3dbd4097ecb426ee158e44d51648ae78baa9 Mon Sep 17 00:00:00 2001 From: Geno Date: Sun, 18 Jan 2015 17:56:28 +0100 Subject: [PATCH] company profil umstellung #89 --- app/View/Elements/barleft.ctp | 2 +- app/View/User/company.ctp | 110 ++++++++++++++-------------------- app/webroot/css/dreamjob.css | 33 +++------- 3 files changed, 55 insertions(+), 90 deletions(-) diff --git a/app/View/Elements/barleft.ctp b/app/View/Elements/barleft.ctp index 57528c1..fe5ed73 100755 --- a/app/View/Elements/barleft.ctp +++ b/app/View/Elements/barleft.ctp @@ -3,7 +3,7 @@ * */ -if($isLoggedin){ +if(!empty($isLoggedin)){ ?> diff --git a/app/View/User/company.ctp b/app/View/User/company.ctp index 5b173dc..a168e2b 100644 --- a/app/View/User/company.ctp +++ b/app/View/User/company.ctp @@ -5,81 +5,61 @@ $avatar = false; if($profil['AppUser']['avatar']) $avatar = true; - ?> -
- -
-
- - +
+ + - -

-
- - - -

- +
+
+ + + + +

+
+
+ +

+
+ + + +

+

-
- - - +
+

-
- -
- -

-
- -
- -

-
- - - -

- -

-
- - - -

-
- -
-

- :
- -

-

- :
- -

-
-
-

-
- -
+
+

+ :
+ +

+

+ :
+ +

+
+
+

+
+
diff --git a/app/webroot/css/dreamjob.css b/app/webroot/css/dreamjob.css index 34ff442..b3d1f53 100755 --- a/app/webroot/css/dreamjob.css +++ b/app/webroot/css/dreamjob.css @@ -251,34 +251,19 @@ body.loading #container{ /* * Extra */ -.box-extra{ - display:table; - margin-bottom: 15px; -} -.box-extra-left{ - display:table-cell; - width:290px; - min-height: 270px; +.company-header .logo{ float:left; } -.box-extra-left > .box{ - width:250px; - height: 250px; - padding: 10px; - vertical-align: middle; - display:table-cell; +.company-header .logo+h1{ + display:inline-block; + margin-left:30px; + margin-top:55px; } -.box-extra-left > .box > img{ - max-height: 250px; - max-width: 250px; +.company-header .imgsubtitle.edit{ + width:150px; + margin-top:0px; } -.box-extra-left+.box{ - display:table-cell; - width: 100%; - min-height: 250px; - vertical-align: top; -} .opening-header h1 > span{ display:table-cell; vertical-align:middle; @@ -298,7 +283,7 @@ body.loading #container{ min-height:120px; min-width:100%; } -.opening-header .logo i{ +.opening-header .logo i,.company-header .logo i{ width:150px; height:150px; vertical-align:middle;