-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from larriereguichet/feature/helper
Feature/helper
- Loading branch information
Showing
62 changed files
with
56,634 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'jquery'; | ||
import 'popper.js/dist/popper'; | ||
import 'bootstrap/dist/js/bootstrap'; | ||
import 'bootstrap/dist/css/bootstrap.css'; | ||
|
||
import '@fortawesome/fontawesome-free/js/all.js'; | ||
import '@fortawesome/fontawesome-free/css/all.css'; | ||
|
||
import '../scss/admin.scss'; |
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@import "partials/variables"; | ||
@import "partials/main"; | ||
@import "partials/form"; | ||
@import "partials/menu"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
form { | ||
&.admin-form { | ||
border: 1px solid lightgray; | ||
padding: 20px; | ||
} | ||
.control-label { | ||
font-weight: bold; | ||
} | ||
label, | ||
legend { | ||
font-weight: bold; | ||
} | ||
} | ||
|
||
#filters-container { | ||
position: absolute; | ||
width: 80%; | ||
z-index: 9999; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#admin-main-container { | ||
margin-top: 60px; | ||
padding-left: 0; | ||
padding-bottom: 25px; | ||
} | ||
|
||
.form-horizontal .form-group { | ||
margin-left: 0; | ||
margin-right: 0; | ||
} | ||
|
||
table { | ||
th { | ||
a { | ||
text-decoration: none; | ||
display: inline-block; | ||
|
||
i.fa { | ||
display: block; | ||
float: right; | ||
padding-left: 2px; | ||
|
||
&.fa-sort-asc { | ||
margin-top: 6px; | ||
} | ||
&.fa-sort-desc { | ||
margin-top: 2px; | ||
} | ||
} | ||
} | ||
} | ||
div.checkbox { | ||
margin: 0 0 -2px 0; | ||
} | ||
.checkbox label, .radio label { | ||
min-height: 15px; | ||
} | ||
} | ||
// overriding sb-admin brand display | ||
.navbar-brand { | ||
padding-right: 30px; | ||
} | ||
|
||
// fix top and left menu to top | ||
#admin-top-menu { | ||
position: fixed; | ||
width: 100%; | ||
} | ||
#page-wrapper { | ||
padding-top: 68px; | ||
} | ||
|
||
.page-header { | ||
margin-top: 0; | ||
} | ||
|
||
.pagination { | ||
margin: auto; | ||
width: 50%; | ||
} | ||
|
||
.content-container { | ||
padding-top: 25px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.sidebar-sticky { | ||
position: sticky; | ||
top: 48px; | ||
height: calc(100vh - 48px); | ||
padding-top: .5rem; | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
} | ||
|
||
#main-menu-container { | ||
padding-left: 0; | ||
|
||
#side-menu { | ||
li { | ||
width: 100%; | ||
|
||
a { | ||
display: inline-block; | ||
padding: 10px; | ||
width: 100%; | ||
} | ||
} | ||
li:hover { | ||
background-color: lightgrey; | ||
opacity: 0.9; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$fa-font-path: "../fonts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.PHONY: assets assets.production | ||
|
||
assets: | ||
yarn run encore dev | ||
|
||
assets.watch: | ||
yarn run encore dev --watch | ||
|
||
assets.production: | ||
yarn run encore production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.PHONY: tests php-cs-fixer@fix phpstan@analyse phpunit@run security@check | ||
|
||
### PHPUnit ### | ||
tests: phpunit@run php-cs-fixer@fix phpstan@analyse security@check | ||
|
||
phpunit@run: | ||
bin/phpunit | ||
@echo "Results file generated file://$(current_dir)/var/phpunit/coverage/index.html" | ||
|
||
### CodeStyle ### | ||
php-cs-fixer@fix: | ||
php-cs-fixer fix | ||
|
||
php-cs-fixer@install: | ||
@echo "Install binary using composer (globally)" | ||
composer global require friendsofphp/php-cs-fixer | ||
@echo "Exporting composer binary path" | ||
@export PATH="$PATH:$HOME/.composer/vendor/bin" | ||
|
||
phpstan@analyse: | ||
bin/phpstan analyse --level=1 src | ||
bin/phpstan analyse --level=1 tests | ||
################## | ||
|
||
security@check: | ||
bin/security-checker security:check |
Oops, something went wrong.