Skip to content

Commit

Permalink
Merge pull request #3636 from open-formulieren/chore/cleanup-css
Browse files Browse the repository at this point in the history
Clean up (dead) CSS
  • Loading branch information
sergei-maertens authored Nov 30, 2023
2 parents c5120fc + 6ebfdb6 commit 7a23e8e
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 276 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{% load i18n %}

{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">
{% trans "You successfully logged out." %}
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
{% load i18n static %}

{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">
{% blocktranslate with name=user.get_employee_name trimmed %}
Logged in as employee {{ name }}
{% endblocktranslate %}
</h1>
</header>

<div class="card__body">
<div class="openforms-card__body">
<p class="body">
{% blocktranslate trimmed %}
When filling out a form for a client or company please enter additional information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
{% load i18n %}

{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">
{% trans "Retrieve submission for co-signing" %}
</h1>
</header>

<div class="card__body">
<div class="openforms-card__body">
{% block card_body %}
<p class="body">
<form method="post" action=".">{% csrf_token %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{% load i18n %}

{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">
{% if error.detail.code == 'form-inactive' %}
{% trans "Sorry - this form is no longer available" %}
Expand All @@ -13,7 +13,7 @@ <h1 class="title">
</h1>
</header>

<div class="card__body">
<div class="openforms-card__body">
{% if error.detail.code == 'form-inactive' %}
{% blocktrans trimmed %}
Unfortunately, this form is no longer in use. We apologise for any
Expand Down
6 changes: 3 additions & 3 deletions src/openforms/templates/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
{% load i18n %}

{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">
{% trans "Sorry, you don't have access to this page (403)" %}
</h1>
</header>

<div class="card__body">
<div class="openforms-card__body">
{% block card_body %}
<p class="body">
{% blocktrans trimmed %}
Expand Down
2 changes: 0 additions & 2 deletions src/openforms/ui/static/ui/scss/components/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@

// Custom
@import 'a11y-toolbar';
@import 'card';
@import 'fa-icon';
@import 'list';
@import 'nav';
@import 'skiplink';
@import 'toolbar';
@import 'typography';
Expand Down
17 changes: 0 additions & 17 deletions src/openforms/ui/static/ui/scss/components/card/_card.scss

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion src/openforms/ui/static/ui/scss/components/nav/_index.scss

This file was deleted.

233 changes: 0 additions & 233 deletions src/openforms/ui/static/ui/scss/components/nav/_nav.scss

This file was deleted.

6 changes: 3 additions & 3 deletions src/openforms/ui/templates/ui/views/abstract/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

{% block inner-content %}
{% block card %}
<div class="card">
<header class="card__header">
<div class="openforms-card">
<header class="openforms-card__header">
<h1 class="title">{{ object }}</h1>
</header>

<div class="card__body">
<div class="openforms-card__body">
{% block card_body %}
<p class="body">
{{ object }}
Expand Down

0 comments on commit 7a23e8e

Please sign in to comment.