From 9f515eb9d13b8a621453570bd6ebbd15c972bb5f Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Tue, 4 Oct 2016 11:18:08 +0200 Subject: [PATCH] Signed-off-by: Adrian Hinz --- app/assets/stylesheets/bootstrap-theme.css | 9 ++++++- app/views/customers/index.html.erb | 9 +++---- app/views/welcome/index.html.erb | 31 +++++++++------------- 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/app/assets/stylesheets/bootstrap-theme.css b/app/assets/stylesheets/bootstrap-theme.css index df2d3d9..803bede 100644 --- a/app/assets/stylesheets/bootstrap-theme.css +++ b/app/assets/stylesheets/bootstrap-theme.css @@ -351,6 +351,13 @@ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); } +.panel-def > .panel-heading { + background-image: -webkit-linear-gradient(top, #aaaaaa 0%, #eeeeee 100%); + background-image: linear-gradient(to bottom, #aaaaaa 0%, #eeeeee 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); +} + .panel-primary > .panel-heading { background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%); background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); @@ -394,4 +401,4 @@ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); -} \ No newline at end of file +} diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 9722be9..4f6bba5 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -1,13 +1,12 @@ -
-
-
+
+
Klienci
- <%= link_to raw(' Nowy klient'), new_customer_path %>
+ <%= link_to raw(' Nowy klient'), new_customer_path, class: "text-primary" %>
-
+
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 82edf2f..10539a4 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -1,30 +1,25 @@ -
-
-
-
Welcome
+
+
+ +
Ostatnie faktury
-
- - -
+
+ Pellentesque luctus quam quis consequat vulputate. Sed sit amet diam ipsum.
-
-
-
-
Welcome
+
+
+
Dane firmowe
-
+
-
-
- - -
+
+ Pellentesque luctus quam quis consequat vulputate. Sed sit amet diam ipsum.
+
Nazwa