PHP Classes

File: system/dependencies/tracy/tracy/src/Tracy/Bar/panels/errors.tab.phtml

Recommend this page to a friend!
  Classes of Dimitri Sitchet   dFramework   system/dependencies/tracy/tracy/src/Tracy/Bar/panels/errors.tab.phtml   Download  
File: system/dependencies/tracy/tracy/src/Tracy/Bar/panels/errors.tab.phtml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: dFramework
Framework to build PHP applications
Author: By
Last change:
Date: 4 years ago
Size: 1,019 bytes
 

Contents

Class file image Download
<?php /** * Debug Bar: tab "error" template. * * This file is part of the Tracy (https://tracy.nette.org) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare(strict_types=1); namespace Tracy; if (empty($data)) { return; } ?> <style class="tracy-debug"> #tracy-debug .tracy-ErrorTab { display: block; background: #D51616; color: white; font-weight: bold; margin: -1px -.4em; padding: 1px .4em; } </style> <span class="tracy-ErrorTab"> <svg viewBox="0 0 2048 2048"><path fill="#fff" d="M1152 1503v-190q0-14-9.5-23.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 23.5v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11h-220q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17h-1536q-34 0-63.5-17t-46.5-46q-37-63-2-126l768-1408q17-31 47-49t65-18 65 18 47 49z"/> </svg><span class="tracy-label"><?= $sum = array_sum($data), $sum > 1 ? ' errors' : ' error' ?></span> </span>