Skip to content

Commit 1a80cec

Browse files
committed
Fix some minor error screen layout issues
1 parent 9f8223c commit 1a80cec

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## v0.3.1.19
44

5-
-
5+
- Fixed some minor error screen layout issues
66

77
## v0.3.1.18
88

userfrosting/templates/themes/default/errors/404.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% block content %}
1414
<div class="container text-center">
1515
<h1>Error 404</h1>
16-
<img src="{{site.uri.image}}/fry.png">
16+
<img class="img-fluid m-b-1 m-x-auto" src="{{site.uri.image}}/fry.png">
1717
<br><br>
1818
<p class="lead">Either way, click <a href="{{site.uri.public}}">here</a> to return to the front page.</p>
1919
</div> <!-- /container -->

userfrosting/templates/themes/default/errors/bad-config.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% block content %}
1414
<div class="container text-center">
1515
<h1>Your server doesn't seem to be configured properly.</h1>
16-
<img src="{{site.uri.image}}/eniac.png">
16+
<img class="img-fluid m-b-1 m-x-auto" src="{{site.uri.image}}/eniac.png">
1717
<br><br>
1818
<p class="lead">Specifically, it looks like you are using Apache but don't have the <code>mod_rewrite</code> module enabled. Please see the <a href="http://www.userfrosting.com/troubleshooting/#blank-page">troubleshooting guide</a> to get this sorted out.</p>
1919
</div> <!-- /container -->

userfrosting/templates/themes/default/errors/compromised.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
{% block content %}
1414
<div class="container text-center">
1515
<h1>Your account may have been compromised!</h1>
16-
<img src="{{site.uri.image}}/compromised.jpg">
16+
<img class="img-fluid m-b-1 m-x-auto" src="{{site.uri.image}}/compromised.jpg">
1717
<br><br>
18-
<p class="lead">Someone may have used your login information to acccess this page. For your safety, all sessions were logged out. Please <a href="{{site.uri.public}}/account/login">log in</a> and check your account for suspicious activity. You may also wish to change your password.</p>
18+
<p class="lead">Someone may have used your login information to access this page. For your safety, all sessions were logged out. Please <a href="{{site.uri.public}}/account/login">log in</a> and check your account for suspicious activity. You may also wish to change your password.</p>
1919
</div> <!-- /container -->
2020
{% endblock %}

userfrosting/templates/themes/default/errors/database.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% block content %}
1414
<div class="container text-center">
1515
<h1>We can't seem to connect to the database.</h1>
16-
<img class="img-fluid" src="{{site.uri.image}}/database.png">
16+
<img class="img-fluid m-b-1 m-x-auto" src="{{site.uri.image}}/database.png">
1717
<br><br>
1818
<p class="lead">Have you tried hacking into the mainframe? Seriously though, check your PHP error log to figure out what's up. You probably just need to enter your database credentials in <code>userfrosting/config-userfrosting.php</code>. If you are sure that your credentials are fine, try simply reloading the page.</p>
1919
</div> <!-- /container -->

0 commit comments

Comments
 (0)