Skip to content

Commit

Permalink
Add a sad face on the dang page. Just cause.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Aug 8, 2010
1 parent 0d22379 commit cc43c37
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
32 changes: 25 additions & 7 deletions modules/gallery/views/error_admin.html.php
Expand Up @@ -20,8 +20,21 @@
margin: 20px auto;
}

div#framework_error {
#framework_error {
height: 6em;
}

#framework_error .crashlogo {
position: relative;
top: .3em;
font-size: 6.0em;
}

#framework_error .title {
position: relative;
top: -3em;
text-align: center;
margin: 0 auto;
}

div#error_details {
Expand Down Expand Up @@ -137,12 +150,17 @@ function koggle(elem) {
<body>
<? try { $user = identity::active_user(); } catch (Exception $e) { } ?>
<div class="big_box" id="framework_error">
<h1>
<?= t("Dang... Something went wrong!") ?>
</h1>
<h2>
<?= t("We tried really hard, but it's broken.") ?>
</h2>
<div class="crashlogo">
:-(
</div>
<div class="title">
<h1>
<?= t("Dang... Something went wrong!") ?>
</h1>
<h2>
<?= t("We tried really hard, but it's broken.") ?>
</h2>
</div>
</div>
<div class="big_box" id="error_details">
<h2>
Expand Down
38 changes: 28 additions & 10 deletions modules/gallery/views/error_user.html.php
Expand Up @@ -19,24 +19,42 @@
margin: 20px auto;
}

div#framework_error {
#framework_error {
height: 8em;
}

#framework_error .crashlogo {
position: relative;
top: .3em;
font-size: 6em;
}

#framework_error .title {
position: relative;
top: -3em;
text-align: center;
margin: 0 auto;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?= t("Something went wrong!") ?></title>
</head>
<body>
<div class="big_box" id="framework_error">
<h1>
<?= t("Dang... Something went wrong!") ?>
</h1>
<h2>
<?= t("We tried really hard, but it's broken.") ?>
</h2>
<p>
<?= t("Talk to your Gallery administrator for help fixing this!") ?>
</p>
<div class="crashlogo">
:-(
</div>
<div class="title">
<h1>
<?= t("Dang... Something went wrong!") ?>
</h1>
<h2>
<?= t("We tried really hard, but it's broken.") ?>
</h2>
<p>
<?= t("Talk to your Gallery administrator for help fixing this!") ?>
</p>
</div>
</div>
</body>
</html>

0 comments on commit cc43c37

Please sign in to comment.