features, cleanup and bug fixes #26

Merged
ben merged 30 commits from ben/Jobboerse:main into main 2022-06-09 17:36:55 +02:00
2 changed files with 40 additions and 35 deletions
Showing only changes of commit b32469611d - Show all commits

allow highlighting a specific job offer

Bennet Bleßmann 2022-06-09 15:45:47 +02:00 committed by Bennet Bleßmann
Signed by: ben
GPG key ID: 3BE1A1A3CBC3CF99

View file

@ -228,6 +228,10 @@ body main {
background: pink; background: pink;
} }
.joboffer-index-entry:target {
background: LemonChiffon;
}
.column, .submission-preview { .column, .submission-preview {
flex-direction:column flex-direction:column
} }

View file

@ -1,4 +1,4 @@
<section class="joboffer-index-entry {{#if user}}{{job_offer.status.review_status}}{{/if}}"> <section id="joboffer-{{job_offer.id}}" class="joboffer-index-entry {{#if user}}{{job_offer.status.review_status}}{{/if}}">
{{! {{!
the job offers should be filtered in the rust code, the job offers should be filtered in the rust code,
so that either there is a user or the offers are limited to published ones so that either there is a user or the offers are limited to published ones
@ -61,7 +61,7 @@
{{/if}} {{/if}}
</div> </div>
<div>
{{#if user }} {{#if user }}
{{# unless job_offer.is_preview }} {{# unless job_offer.is_preview }}
<hr /> <hr />
@ -104,4 +104,5 @@
<a href="{{job_offer.actions.edit_url}}">Bearbeiten</a> <a href="{{job_offer.actions.edit_url}}">Bearbeiten</a>
{{/if}} {{/if}}
</div>
</section> </section>