generated from api-platform/api-platform
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #12 from ConductionNL/dev-wilco
Working claims and contracts pages and a lot of translations and updates for general page
- Loading branch information
Showing
11 changed files
with
769 additions
and
10 deletions.
There are no files selected for viewing
Binary file not shown.
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,56 @@ | ||
{% extends 'dashboard/dashboard.html.twig' %} | ||
|
||
{% block pageContent %} | ||
<div class="container-md"> | ||
<div class="row"> | ||
<div class="col-12 col-md-3"> | ||
|
||
{% set activeItem = 'claims' %} | ||
{% include 'dashboard/sidenavbar.html.twig' %} | ||
|
||
</div> | ||
|
||
<div class="col-12 col-md-9"> | ||
|
||
<!-- Card --> | ||
<div class="card card-bleed shadow-light-lg mb-6"> | ||
<div class="card-header"> | ||
|
||
<!-- Heading --> | ||
<h4 class="mb-0"> | ||
{{ 'claims'|trans|capitalize }} | ||
</h4> | ||
|
||
</div> | ||
<div class="card-body" style="padding-top: 0px"> | ||
|
||
{% if claims is defined and claims is not empty %} | ||
<table class="table table-hover"> | ||
<thead> | ||
<tr> | ||
<th scope="col">{{ 'property'|trans|capitalize }}</th> | ||
<th scope="col">{{ 'value'|trans|capitalize }}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for claim in claims %} | ||
<tr> | ||
<td>{{ claim.property }}</td> | ||
<td>{% for dataItem in claim.data %}{{ dataItem }}<br>{% endfor %}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% else %} | ||
<aside class="hint"> | ||
<h4 class="hint__title">{{ 'no claims available'|trans|capitalize }}</h4> | ||
</aside> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> <!-- / .row --> | ||
</div> <!-- / .container --> | ||
{% endblock %} |
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,57 @@ | ||
{% extends 'dashboard/dashboard.html.twig' %} | ||
|
||
{% block pageContent %} | ||
<div class="container-md"> | ||
<div class="row"> | ||
<div class="col-12 col-md-3"> | ||
|
||
{% set activeItem = 'contracts' %} | ||
{% include 'dashboard/sidenavbar.html.twig' %} | ||
|
||
</div> | ||
|
||
<div class="col-12 col-md-9"> | ||
|
||
<!-- Card --> | ||
<div class="card card-bleed shadow-light-lg mb-6"> | ||
<div class="card-header"> | ||
|
||
<!-- Heading --> | ||
<h4 class="mb-0"> | ||
{{ 'contracts'|trans|capitalize }} | ||
</h4> | ||
|
||
</div> | ||
<div class="card-body" style="padding-top: 0px"> | ||
{% if contracts is defined and contracts is not empty %} | ||
<table class="table table-hover"> | ||
<thead> | ||
<tr> | ||
<th scope="col">{{ 'application'|trans|capitalize }}</th> | ||
<th scope="col">{{ 'goal'|trans|capitalize }}</th> | ||
<th scope="col">{{ 'scope'|trans|capitalize }}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for contract in contracts %} | ||
<tr> | ||
<td>{{ contract.application }}</td> | ||
<td>{{ contract.goal }}</td> | ||
<td>{% for scopeItem in contract.scope %}{{ scopeItem }}<br>{% endfor %}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% else %} | ||
<aside class="hint"> | ||
<h4 class="hint__title">no contracts available (niet vertaald)</h4> | ||
</aside> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> <!-- / .row --> | ||
</div> <!-- / .container --> | ||
{% endblock %} |
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,41 @@ | ||
{% extends 'base.html.twig' %} | ||
|
||
{% block content %} | ||
<!-- HEADER | ||
================================================== --> | ||
<header class="bg-dark pt-9 pb-11 d-none d-md-block"> | ||
<div class="container-md"> | ||
<div class="row align-items-center"> | ||
<div class="col"> | ||
|
||
<!-- Heading --> | ||
<h1 class="font-weight-bold text-white mb-2"> | ||
{{ 'account settings'|trans|capitalize }} | ||
</h1> | ||
|
||
<!-- Text --> | ||
<p class="font-size-lg text-white-75 mb-0"> | ||
{{ 'settings for'|trans|capitalize }} Wilco Louwerse | ||
</p> | ||
|
||
</div> | ||
<div class="col-auto"> | ||
|
||
<!-- Button --> | ||
<button class="btn btn-sm btn-gray-300-20"> | ||
{{ 'logout'|trans|capitalize }} | ||
</button> | ||
|
||
</div> | ||
</div> <!-- / .row --> | ||
</div> <!-- / .container --> | ||
</header> | ||
|
||
<!-- MAIN | ||
================================================== --> | ||
<main class="pb-8 pb-md-11 mt-md-n6"> | ||
{% block pageContent %} | ||
|
||
{% endblock %} | ||
</main> | ||
{% endblock %} |
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,104 @@ | ||
{% extends 'dashboard/dashboard.html.twig' %} | ||
|
||
{% block pageContent %} | ||
<div class="container-md"> | ||
<div class="row"> | ||
<div class="col-12 col-md-3"> | ||
|
||
{% set activeItem = 'general' %} | ||
{% include 'dashboard/sidenavbar.html.twig' %} | ||
|
||
</div> | ||
|
||
<div class="col-12 col-md-9"> | ||
|
||
<!-- Card --> | ||
<div class="card card-bleed shadow-light-lg mb-6"> | ||
<div class="card-header"> | ||
|
||
<!-- Heading --> | ||
<h4 class="mb-0"> | ||
{{ 'basic information'|trans|capitalize }} | ||
</h4> | ||
|
||
</div> | ||
<div class="card-body"> | ||
|
||
<!-- Form --> | ||
<form> | ||
<div class="row"> | ||
<div class="col-12 col-md-6"> | ||
|
||
<!-- Name --> | ||
<div class="form-group"> | ||
<label for="name">{{ 'name'|trans|capitalize }}</label> | ||
<input class="form-control" id="name" type="text" placeholder="{{ 'full name'|trans|capitalize }}"> | ||
</div> | ||
|
||
</div> | ||
<div class="col-12 col-md-6"> | ||
|
||
<!-- Email --> | ||
<div class="form-group"> | ||
<label for="email">{{ 'email'|trans|capitalize }}</label> | ||
<input class="form-control" id="email" type="email" placeholder="{{ '[email protected]'|trans|capitalize }}"> | ||
</div> | ||
|
||
</div> | ||
<div class="col-12 col-md-auto"> | ||
|
||
<!-- Button --> | ||
<button class="btn btn-block btn-primary" type="submit"> | ||
{{ 'save changes'|trans|capitalize }} | ||
</button> | ||
|
||
</div> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- Card --> | ||
<div class="card card-bleed shadow-light-lg mb-6"> | ||
<div class="card-header"> | ||
|
||
<!-- Heading --> | ||
<h4 class="mb-0"> | ||
{{ 'become a developer'|trans|capitalize }} | ||
</h4> | ||
|
||
</div> | ||
|
||
<div class="card-body"> | ||
|
||
<!-- Form --> | ||
<form> | ||
<div class="row"> | ||
<div class="col-12 col-md-12"> | ||
|
||
<!-- Name --> | ||
<div class="form-group"> | ||
<label for="name">input1</label> | ||
<input class="form-control" id="name" type="text" placeholder="Some input"> | ||
</div> | ||
|
||
</div> | ||
<div class="col-12 col-md-auto"> | ||
|
||
<!-- Button --> | ||
<button class="btn btn-block btn-primary" type="submit"> | ||
{{ 'submit'|trans|capitalize }} | ||
</button> | ||
|
||
</div> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> <!-- / .row --> | ||
</div> <!-- / .container --> | ||
{% endblock %} |
Oops, something went wrong.