fixes #159 added support icons for google | stackoverflow

added title to google and stack overflow link

changed name | added license informations | added https call for links | remove float

update License infos

remove slash

	modified:   src/Whoops/Resources/css/whoops.base.css
	modified:   src/Whoops/Resources/views/header.html.php
This commit is contained in:
anolilab
2016-01-14 16:36:25 +01:00
parent b439d1714f
commit 033e359b3a
2 changed files with 62 additions and 16 deletions
File diff suppressed because one or more lines are too long
+13 -8
View File
@@ -12,16 +12,21 @@
<?php endif ?>
</div>
<span id="plain-exception"><?php echo $tpl->escape($plain_exception) ?></span>
<button id="copy-button" class="clipboard" data-clipboard-text="<?php echo $tpl->escape($plain_exception) ?>" title="Copy exception details to clipabord">
COPY
</button>
<p class="exc-message">
<div class="exc-message">
<?php if (!empty($message)): ?>
<?php echo $tpl->escape($message) ?>
<span><?php echo $tpl->escape($message) ?></span>
<?php else: ?>
<span class="exc-message-empty-notice">No message</span>
<?php endif ?>
</p>
<ul class="search-for-help">
<li><a target="_blank" href="https://google.com/search?q=<?php echo urlencode(implode('\\', $name).' '.$message) ?>" title="Search for help on Google."><i class="google"></i></a></li>
<li><a target="_blank" href="https://stackoverflow.com/search?q=<?php echo urlencode(implode('\\', $name).' '.$message) ?>" title="Search for help on Stack Overflow."><i class="stackoverflow"></i></a></li>
</ul>
<span id="plain-exception"><?php echo $tpl->escape($plain_exception) ?></span>
<button id="copy-button" class="clipboard" data-clipboard-text="<?php echo $tpl->escape($plain_exception) ?>" title="Copy exception details to clipabord">
COPY
</button>
</div>
</div>