Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AdminBundle] New login styling #2888

Merged
merged 6 commits into from
Jul 25, 2021
Merged

[AdminBundle] New login styling #2888

merged 6 commits into from
Jul 25, 2021

Conversation

dbeerten
Copy link
Contributor

@dbeerten dbeerten commented Jun 10, 2021

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets

Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @, your PR needs some changes

  • Your answer if this PR is a bugfix seems to be incorrect.
  • Your answer if this PR is a new feature seems to be incorrect.
  • Your answer if this PR is BC breaking seems to be incorrect.
  • Your answer if this PR is has deprecations seems to be incorrect.
  • your PR title should look like [SomeBundle] Fixed some code

@dbeerten dbeerten changed the title WIP new login styling [AdminBundle] New login styling Jun 10, 2021
@dbeerten dbeerten marked this pull request as ready for review June 11, 2021 12:09
}
</style> #}

{# {% include "@KunstmaanAdmin/Default/_css_extra.html.twig" %}#}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to uncomment or remove this line? (and uncomment line 35?)

@@ -0,0 +1,196 @@
{# TODO: html template, teksten in translations #}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove todo comment

@@ -1,6 +1,9 @@
{% extends '@KunstmaanAdmin/authentication/layout.html.twig' %}

{% block login_content %}
<h2 class="app-login__form-title">
Log in to {{ websitetitle | trans }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to move this to a translation key

{% block login_footer %}
<footer class="app-login__footer">
<p class="app-login__footer__text">
<img src="/bundles/kunstmaanadmin/default-theme/img/kunstmaan/logo-cms-color.svg" class="app-login__footer__logo">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the asset function around the image path?

</header>

<figure class="app-login__image-holder">
{% set login_image_url = '/bundles/kunstmaanadmin/default-theme/img/kunstmaan/default-login-bg.jpg' %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the asset function around the image path?

Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @, your PR needs some changes

  • This PR seems to need a milestone of a minor release.

@ProfessorKuma ProfessorKuma added this to the 5.9.0 milestone Jun 13, 2021
Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @, your PR passed all our requirements.

Thank you for contributing!

@acrobat acrobat merged commit f2b4ba3 into Kunstmaan:master Jul 25, 2021
acrobat added a commit that referenced this pull request Jul 27, 2021
* master:
  [AdminBundle] Finish version checker deprecations
  [TranslatorBundle] Remove forced import from admin interface
  [TranslatorBundle] Remove incorrect deprecation, class will be renamed
  [AdminBundle] New login styling (#2888)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants