Skip to content
Snippets Groups Projects
Commit afbcdfdf authored by Eniko Tot's avatar Eniko Tot
Browse files

[TASK] Code formatting (turn spaces to tabs)

parent 18abee03
No related branches found
No related tags found
1 merge request!50Bootstrap 5 Support
......@@ -54,7 +54,7 @@ config.recordLinks {
}
[{$plugin.tx_project_theme.config.bootstrapVersion} == 5]
plugin.tx_sgjobs.view.templateRootPaths.10 = EXT:sg_jobs/Resources/Private/Templates/Bootstrap5/
plugin.tx_sgjobs.view.partialRootPaths.10 = EXT:sg_jobs/Resources/Private/Partials/Bootstrap5/
plugin.tx_sgjobs.view.templateRootPaths.10 = EXT:sg_jobs/Resources/Private/Templates/Bootstrap5/
plugin.tx_sgjobs.view.partialRootPaths.10 = EXT:sg_jobs/Resources/Private/Partials/Bootstrap5/
plugin.tx_sgjobs.view.layoutRootPaths.10 = EXT:sg_jobs/Resources/Private/Layouts/Bootstrap5/
[end]
<div class="col-md-6 col-sm-6 col-12">
<div class="card shadow-small border-top h-100">
<div class="card-header text-center">
<h2 class="card-title h4">{job.title}</h2>
</div>
<div class="card-body">
<f:if condition="{job.description}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
</f:if>
<f:if condition="{job.qualification}">
<ul>
<li>
<f:format.raw><f:translate key="frontend.jobStart"/></f:format.raw>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y"/>
</f:else>
</f:if>
</li>
<li>
<f:for each="{job.company}" as="company" iteration="iterator">
{company.city}{f:if(condition: '!{iterator.isLast} || {iterator.isLast} && {job.telecommutePossible} ', then: ', ')}
</f:for>
<f:if condition="{job.telecommutePossible}">
<f:translate key="frontend.remote" />
</f:if>
</li>
</ul>
<div class="card shadow-small border-top h-100">
<div class="card-header text-center">
<h2 class="card-title h4">{job.title}</h2>
</div>
<div class="card-body">
<f:if condition="{job.description}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
</f:if>
</div>
<div class="card-footer bg-default text-center">
<f:link.action id="offer-{job.uid}" pageUid="{settings.applyPage}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{jobId: job.uid}" class="btn btn-link text-decoration-none stretched-link w-100 text-uppercase fw-bold">
<f:format.raw>
<f:translate key="frontend.jobDetailsCta" />
</f:format.raw>
</f:link.action>
</div>
</div>
</div>
<f:if condition="{job.qualification}">
<ul>
<li>
<f:format.raw>
<f:translate key="frontend.jobStart" />
</f:format.raw>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</li>
<li>
<f:for each="{job.company}" as="company" iteration="iterator">
{company.city}{f:if(condition: '!{iterator.isLast} || {iterator.isLast} &&
{job.telecommutePossible} ', then: ', ')}
</f:for>
<f:if condition="{job.telecommutePossible}">
<f:translate key="frontend.remote" />
</f:if>
</li>
</ul>
</f:if>
</div>
<div class="card-footer bg-default text-center">
<f:link.action id="offer-{job.uid}" pageUid="{settings.applyPage}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{jobId: job.uid}"
class="btn btn-link text-decoration-none stretched-link w-100 text-uppercase fw-bold">
<f:format.raw>
<f:translate key="frontend.jobDetailsCta" />
</f:format.raw>
</f:link.action>
</div>
</div>
</div>
\ No newline at end of file
<div class="col-12 col-sm">
<div class="default-content-element">
<div class="card shadow-small border-top">
<div class="card-header text-center">
<h2 class="card-title h4">{job.title}</h2>
</div>
<div class="card-body">
<f:if condition="{job.description}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
</f:if>
<f:if condition="{job.qualification}">
<div class="sgjobs-highlight-area">
<ul>
<li>
<f:format.raw><f:translate key="frontend.jobStart" /></f:format.raw>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</li>
<f:if condition="{job.companies} || {job.telecommutePossible}">
<li>
<f:for each="{job.companies}" as="company" iteration="iterator">
{company.city}{f:if(condition: '!{iterator.isLast} || {iterator.isLast} && {job.telecommutePossible} ', then: ', ')}
</f:for>
<f:if condition="{job.telecommutePossible}">
<f:translate key="frontend.remote" />
</f:if>
</li>
</f:if>
</ul>
</div>
</f:if>
</div>
<div class="card-footer bg-default text-center">
<f:link.action class="sg-jobs-job card shadow-small" id="offer-{job.uid}" pageUid="{applyPageUid}" controller="Joblist" action="applyForm"
pluginName="JobApplication" arguments="{jobId: job.uid}" class="btn btn-link text-decoration-none stretched-link w-100 text-uppercase fw-bold">
<f:format.raw>
<f:translate key="frontend.jobDetailsCta" />
</f:format.raw>
</f:link.action>
</div>
</div>
</div>
</div>
<div class="default-content-element">
<div class="card shadow-small border-top">
<div class="card-header text-center">
<h2 class="card-title h4">{job.title}</h2>
</div>
<div class="card-body">
<f:if condition="{job.description}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{job.description}</f:format.html>
</f:if>
<f:if condition="{job.qualification}">
<div class="sgjobs-highlight-area">
<ul>
<li>
<f:format.raw>
<f:translate key="frontend.jobStart" />
</f:format.raw>
<f:if condition="{job.alternativeStartDate}">
<f:then>
{job.alternativeStartDate}
</f:then>
<f:else>
<f:format.date date="{job.startDate}" format="d.m.Y" />
</f:else>
</f:if>
</li>
<f:if condition="{job.companies} || {job.telecommutePossible}">
<li>
<f:for each="{job.companies}" as="company" iteration="iterator">
{company.city}{f:if(condition: '!{iterator.isLast} || {iterator.isLast} &&
{job.telecommutePossible} ', then: ', ')}
</f:for>
<f:if condition="{job.telecommutePossible}">
<f:translate key="frontend.remote" />
</f:if>
</li>
</f:if>
</ul>
</div>
</f:if>
</div>
<div class="card-footer bg-default text-center">
<f:link.action class="sg-jobs-job card shadow-small" id="offer-{job.uid}" pageUid="{applyPageUid}"
controller="Joblist" action="applyForm" pluginName="JobApplication" arguments="{jobId: job.uid}"
class="btn btn-link text-decoration-none stretched-link w-100 text-uppercase fw-bold">
<f:format.raw>
<f:translate key="frontend.jobDetailsCta" />
</f:format.raw>
</f:link.action>
</div>
</div>
</div>
</div>
\ No newline at end of file
......@@ -3,53 +3,53 @@
<f:layout name="PageBrowser" />
<f:section name="main">
<f:if condition="{numberOfPages} > 1">
<nav aria-label="Jobs pagination">
<ul class="pagination mb-0">
<li class="page-item {f:if(condition: '!{prevPageExist}', then: 'disabled')}">
<f:variable name="prevPage" value="{currentPage - 1}" />
<f:if condition="{prevPage} == 0">
<f:then>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalAttributes="{aria-label: 'Previous'}">
&laquo;
</f:link.action>
</f:then>
<f:else>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: prevPage}}"
additionalAttributes="{aria-label: 'Previous'}">
&laquo;
</f:link.action>
</f:else>
</f:if>
</li>
<f:if condition="{numberOfPages} > 1">
<nav aria-label="Jobs pagination">
<ul class="pagination mb-0">
<li class="page-item {f:if(condition: '!{prevPageExist}', then: 'disabled')}">
<f:variable name="prevPage" value="{currentPage - 1}" />
<f:if condition="{prevPage} == 0">
<f:then>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalAttributes="{aria-label: 'Previous'}">
&laquo;
</f:link.action>
</f:then>
<f:else>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: prevPage}}"
additionalAttributes="{aria-label: 'Previous'}">
&laquo;
</f:link.action>
</f:else>
</f:if>
</li>
<f:if condition="{enableLessPages} && {showLessPages}">
<li class="page-item">
<f:variable name="lessPage" value="{currentPage - 2}"/>
<f:if condition="{enableLessPages} && {showLessPages}">
<li class="page-item">
<f:variable name="lessPage" value="{currentPage - 2}" />
<f:if condition="{lessPage} == 0">
<f:then>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
...
</f:link.action>
</f:then>
<f:else>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: lessPage}}">
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: lessPage}}">
...
</f:link.action>
</f:else>
</f:if>
</li>
</f:if>
</li>
</f:if>
<f:for each="{pageLinks}" as="pageLink">
<f:if condition="{pageLink.isCurrentPage}">
<f:for each="{pageLinks}" as="pageLink">
<f:if condition="{pageLink.isCurrentPage}">
<f:then>
<li class="page-item active">
<a href="#" class="page-link">
......@@ -62,14 +62,14 @@
<f:if condition="{pageLink.page} == 0">
<f:then>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
{pageLink.number}
</f:link.action>
</f:then>
<f:else>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: pageLink.page}}">
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: pageLink.page}}">
{pageLink.number}
</f:link.action>
</f:else>
......@@ -77,29 +77,29 @@
</li>
</f:else>
</f:if>
</f:for>
</f:for>
<f:if condition="{enableMorePages} && {showNextPages}">
<li class="page-item">
<f:variable name="morePage" value="{currentPage + 2}" />
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: morePage}}">
<f:if condition="{enableMorePages} && {showNextPages}">
<li class="page-item">
<f:variable name="morePage" value="{currentPage + 2}" />
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: morePage}}">
...
</f:link.action>
</li>
</f:if>
</li>
</f:if>
<li class="page-item {f:if(condition: '!{nextPageExist}', then: 'disabled')}">
<f:variable name="nextPage" value="{currentPage + 1}"/>
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: nextPage}}"
additionalAttributes="{aria-label: 'Next'}">
&raquo;
</f:link.action>
</li>
</ul>
</nav>
</f:if>
</f:section>
<li class="page-item {f:if(condition: '!{nextPageExist}', then: 'disabled')}">
<f:variable name="nextPage" value="{currentPage + 1}" />
<f:link.action addQueryString="untrusted" class="page-link"
argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
additionalParams="{tx_sgjobs_pagebrowser: {currentPage: nextPage}}"
additionalAttributes="{aria-label: 'Next'}">
&raquo;
</f:link.action>
</li>
</ul>
</nav>
</f:if>
</f:section>
\ No newline at end of file
form.was-validated .dropzone {
border-color: var(--b-form-invalid-border-color);
border-color: var(--b-form-invalid-border-color);
&.dz-started {
border-color: var(--b-form-valid-border-color);
}
&.dz-started {
border-color: var(--b-form-valid-border-color);
}
}
.dropzone {
border-radius: var(--b-border-radius);
border-style: dashed;
border-radius: var(--b-border-radius);
border-style: dashed;
.dz-message {
display: grid;
.dz-message {
display: grid;
&::before {
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='22' viewBox='0 0 384 512'><path d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z'/></svg>");
}
}
}
&::before {
content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' height='36' width='22' viewBox='0 0 384 512'><path d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z'/></svg>");
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment