diff --git a/INSTALL.md b/INSTALL.md
index 522fee3a..71abe6af 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -17,11 +17,11 @@ You need at least PHP >= 5.4, [Composer](https://getcomposer.org/) and the follo
1. [Get a copy!](#get-a-copy)
2. [Deploy to Heroku](#deploy-to-heroku)
3. [Configuring a database!](#configuring-a-database)
- 1. [Running database migrations](#running-database-migrations)
- 2. [Seeding](#seeding)
+ 1. [Running database migrations](#running-database-migrations)
+ 2. [Seeding](#seeding)
4. [Running Cachet](#running-cachet)
- 1. [Apache setup](#apache)
- 2. [nginx setup](#nginx)
+ 1. [Apache setup](#apache)
+ 2. [nginx setup](#nginx)
5. [Environment detection](#environment-detection)
# Get a copy!
@@ -70,11 +70,11 @@ For example, if working locally with MySQL, your `.env.local.php` file would be:
'mysql',
- 'DB_HOST' => 'localhost',
- 'DB_DATABASE' => 'cachet',
- 'DB_USERNAME' => 'root',
- 'DB_PASSWORD' => 'secret',
+ 'DB_DRIVER' => 'mysql',
+ 'DB_HOST' => 'localhost',
+ 'DB_DATABASE' => 'cachet',
+ 'DB_USERNAME' => 'root',
+ 'DB_PASSWORD' => 'secret',
];
?>
@@ -84,7 +84,7 @@ return [
### Running database migrations
-Once we've decided on our database, we now need to run the migrations to create the tables. In our command line we need to run the migrations, from within the root directory:
+Once we've decided on our database, we now need to run the migrations to create the tables. In our command line we need to run the migrations, from within the root directory:
```bash
$ php artisan migrate
@@ -110,16 +110,16 @@ We simply add the following Virtual Host to our `httpd-vhosts.conf` file:
```
- ServerName cachet.dev # Or whatever you want to use
- ServerAlias cachet.dev # Make this the same as ServerName
- DocumentRoot "/var/www/Cachet/public"
-
- Require all granted # Used by Apache 2.4
- Options Indexes FollowSymLinks
- AllowOverride All
- Order allow,deny
- Allow from all
-
+ ServerName cachet.dev # Or whatever you want to use
+ ServerAlias cachet.dev # Make this the same as ServerName
+ DocumentRoot "/var/www/Cachet/public"
+
+ Require all granted # Used by Apache 2.4
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order allow,deny
+ Allow from all
+
```
diff --git a/app/assets/sass/main.scss b/app/assets/sass/main.scss
index bb2d96ae..4de06efa 100644
--- a/app/assets/sass/main.scss
+++ b/app/assets/sass/main.scss
@@ -3,7 +3,7 @@
@import "modules/bootstrap";
html, body {
- height: 100%;
+ height: 100%;
}
@import "helpers";
diff --git a/app/assets/sass/modules/_forms.scss b/app/assets/sass/modules/_forms.scss
index 1c19079c..edce6404 100644
--- a/app/assets/sass/modules/_forms.scss
+++ b/app/assets/sass/modules/_forms.scss
@@ -3,21 +3,21 @@ label {
}
.form-control {
- display: block;
- width: 100%;
- height: 34px;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 1.42857143;
- color: #555;
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- @include box-shadow(none !important);
- @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
+ display: block;
+ width: 100%;
+ height: 34px;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+ background-color: #fff;
+ background-image: none;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ @include box-shadow(none !important);
+ @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
- &:focus {
- border-color: #66afe9;
- }
+ &:focus {
+ border-color: #66afe9;
+ }
}
diff --git a/app/assets/sass/modules/_tabs.scss b/app/assets/sass/modules/_tabs.scss
index 9f987f1b..e46b19c6 100644
--- a/app/assets/sass/modules/_tabs.scss
+++ b/app/assets/sass/modules/_tabs.scss
@@ -1,27 +1,27 @@
div[role=tabpanel] {
- ul.nav-tabs {
- border-bottom: 1px solid #d5d8d7;
- li {
- a {
- font-weight: 400;
- display: inline-block;
- padding: 10px 25px;
- border-radius: 0;
- font-size: 0.9em;
- letter-spacing: 0.01em;
- }
- }
- }
+ ul.nav-tabs {
+ border-bottom: 1px solid #d5d8d7;
+ li {
+ a {
+ font-weight: 400;
+ display: inline-block;
+ padding: 10px 25px;
+ border-radius: 0;
+ font-size: 0.9em;
+ letter-spacing: 0.01em;
+ }
+ }
+ }
- .tab-content {
- border: {
- left: 1px solid #d5d8d7;
- bottom: 1px solid #d5d8d7;
- right: 1px solid #d5d8d7;
- }
- background-color: white;
- .tab-pane {
- padding: 10px;
- }
- }
+ .tab-content {
+ border: {
+ left: 1px solid #d5d8d7;
+ bottom: 1px solid #d5d8d7;
+ right: 1px solid #d5d8d7;
+ }
+ background-color: white;
+ .tab-pane {
+ padding: 10px;
+ }
+ }
}
diff --git a/app/assets/sass/partials/_base.scss b/app/assets/sass/partials/_base.scss
index 40ed6c12..8bcb190c 100644
--- a/app/assets/sass/partials/_base.scss
+++ b/app/assets/sass/partials/_base.scss
@@ -1,12 +1,12 @@
body.dashboard {
- font-family: $base-font-family;
- font-weight: $base-font-weight;
- font-size: $base-font-size;
- letter-spacing: $base-letter-spacing;
- display: table;
- width: 100%;
- height: 100%;
- table-layout: fixed;
+ font-family: $base-font-family;
+ font-weight: $base-font-weight;
+ font-size: $base-font-size;
+ letter-spacing: $base-letter-spacing;
+ display: table;
+ width: 100%;
+ height: 100%;
+ table-layout: fixed;
-webkit-font-smoothing: antialiased;
line-height: $base-line-height;
}
diff --git a/app/assets/sass/partials/_content.scss b/app/assets/sass/partials/_content.scss
index bfccc5ec..55f078b0 100644
--- a/app/assets/sass/partials/_content.scss
+++ b/app/assets/sass/partials/_content.scss
@@ -1,49 +1,49 @@
body.dashboard {
- .content {
- position: relative;
- display: table-cell;
- vertical-align: top;
- width: 100%;
- .row {
- margin: 10px 0;
- }
- .header {
+ .content {
+ position: relative;
+ display: table-cell;
+ vertical-align: top;
+ width: 100%;
+ .row {
+ margin: 10px 0;
+ }
+ .header {
position: absolute;
top: 0;
left: 0;
color: #333;
background-color: #fff;
- padding: 22px 14px;
- width: 100%;
- height: 70px;
- font-size: 1.2em;
+ padding: 22px 14px;
+ width: 100%;
+ height: 70px;
+ font-size: 1.2em;
border-bottom: 1px solid #eee;
z-index: 99;
&.fixed {
position: fixed;
padding-left: 250px;
}
- i {
- // padding-right: 10px;
- }
- input, button, .btn {
- position: relative;
- top: -4px;
- }
- input {
- width: 20%;
- }
+ i {
+ // padding-right: 10px;
+ }
+ input, button, .btn {
+ position: relative;
+ top: -4px;
+ }
+ input {
+ width: 20%;
+ }
- + .row {
- margin-top: 23px;
- }
+ + .row {
+ margin-top: 23px;
+ }
h3 {
color: #444;
margin-top: 0;
text-transform: uppercase;
}
- }
+ }
.content-wrapper {
margin-top: 80px;
}
@@ -60,5 +60,5 @@ body.dashboard {
padding: 8px 0;
}
}
- }
+ }
}
diff --git a/app/assets/sass/partials/_navbar.scss b/app/assets/sass/partials/_navbar.scss
index 6e5eed1a..828b6b6e 100644
--- a/app/assets/sass/partials/_navbar.scss
+++ b/app/assets/sass/partials/_navbar.scss
@@ -1,48 +1,48 @@
body.dashboard {
- .navbar {
- z-index: 999;
- border-radius: 0px;
- border: none;
- border-bottom: $header-border-color;
- background: $header-background-color;
- margin: 0;
- a, a:active, a:visited {
- color: $base-link-color;
- &:hover {
- color: $base-link-hover-color;
- }
- }
- .navbar-toggle {
- margin-top: 15px;
- background: transparent;
- border-color: transparent;
- &.collapsed span {
- background-color: $base-link-color;
- }
- }
- .navbar-collapse {
- background: $header-background-color;
- }
- a.navbar-brand {
- padding: 34px 21px;
- line-height: 0em;
- font-size: 1.1em;
- letter-spacing: 0.04em;
- font-weight: 600;
- text-transform: uppercase;
- @media #{$screen-sm-max} {
- span {
- padding-right: 10px;
- &:before {
- font-family: FontAwesome;
- content: "\f060";
- }
- }
- }
- }
- .nav li a {
- height: 68px;
- line-height: 35px;
- }
- }
+ .navbar {
+ z-index: 999;
+ border-radius: 0px;
+ border: none;
+ border-bottom: $header-border-color;
+ background: $header-background-color;
+ margin: 0;
+ a, a:active, a:visited {
+ color: $base-link-color;
+ &:hover {
+ color: $base-link-hover-color;
+ }
+ }
+ .navbar-toggle {
+ margin-top: 15px;
+ background: transparent;
+ border-color: transparent;
+ &.collapsed span {
+ background-color: $base-link-color;
+ }
+ }
+ .navbar-collapse {
+ background: $header-background-color;
+ }
+ a.navbar-brand {
+ padding: 34px 21px;
+ line-height: 0em;
+ font-size: 1.1em;
+ letter-spacing: 0.04em;
+ font-weight: 600;
+ text-transform: uppercase;
+ @media #{$screen-sm-max} {
+ span {
+ padding-right: 10px;
+ &:before {
+ font-family: FontAwesome;
+ content: "\f060";
+ }
+ }
+ }
+ }
+ .nav li a {
+ height: 68px;
+ line-height: 35px;
+ }
+ }
}
diff --git a/app/assets/sass/partials/_wrapper.scss b/app/assets/sass/partials/_wrapper.scss
index 87e6dcd9..a9f90331 100644
--- a/app/assets/sass/partials/_wrapper.scss
+++ b/app/assets/sass/partials/_wrapper.scss
@@ -1,8 +1,8 @@
body.dashboard {
- .wrapper {
- width: 100%;
- display: table;
- height: 100%;
- table-layout: fixed;
- }
+ .wrapper {
+ width: 100%;
+ display: table;
+ height: 100%;
+ table-layout: fixed;
+ }
}
diff --git a/app/views/dashboard/components/index.blade.php b/app/views/dashboard/components/index.blade.php
index 37840871..dbcc53f5 100644
--- a/app/views/dashboard/components/index.blade.php
+++ b/app/views/dashboard/components/index.blade.php
@@ -1,15 +1,15 @@
@extends('layout.dashboard')
@section('content')
-