Kaynağa Gözat

added width, height, alt tags for all images used in web profilers (for proper html)

Dustin Whittle 14 yıl önce
ebeveyn
işleme
f3993b45c1

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Resources/views/Profiler/db_bar.php


+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Resources/views/Profiler/db_menu.php

@@ -1,4 +1,4 @@
 <div class="count"><?php echo sprintf('%0.0f', $data->getTime()) ?> ms</div>
 <div class="count"><?php echo $data->getQueryCount() ?></div>
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/db.png') ?>" />
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Database" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/db.png') ?>" />
 Doctrine

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/views/Profiler/mongodb_bar.php


+ 1 - 2
src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/views/Profiler/mongodb_menu.php

@@ -1,3 +1,2 @@
 <div class="count"><?php echo $data->getQueryCount() ?></div>
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/db.png') ?>" />
-Doctrine MongoDB
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Mongo" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/db.png') ?>" />

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/admin.php

@@ -1,6 +1,6 @@
 <div class="import clearfix">
     <h3>
-        <img style="margin: 0 5px 0 0; vertical-align: middle; height: 16px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/import.png') ?>" />
+        <img style="margin: 0 5px 0 0; vertical-align: middle; height: 16px" width="16" height="16" alt="Import" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/import.png') ?>" />
         Admin
     </h3>
 

Dosya farkı çok büyük olduğundan ihmal edildi
+ 3 - 3
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/config_bar.php


+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/events_menu.php

@@ -1,2 +1,2 @@
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/events.png') ?>" />
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Events" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/events.png') ?>" />
 Events

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/exception_menu.php

@@ -1,5 +1,5 @@
 <?php if ($data->hasException()): ?>
     <div class="count"><?php echo $data->hasException() ?></div>
 <?php endif; ?>
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/exception.png') ?>" />
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Exception" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/exception.png') ?>" />
 Exception

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/logger_bar.php


+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/logger_menu.php

@@ -1,3 +1,3 @@
 <div class="count"><?php echo $data->countErrors() ?></div>
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/logger.png') ?>" />
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Logs" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/logger.png') ?>" />
 Logs

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/memory_bar.php


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_bar.php


+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_menu.php

@@ -1,2 +1,2 @@
-<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/request.png') ?>" />
+<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Request" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/request.png') ?>" />
 Request

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/request_panel.php

@@ -36,4 +36,4 @@
 
 <h2>Response Session Attributes</h2>
 
-<?php //echo $view->render('WebProfilerBundle:Profiler:bag', array('bag' => $data->getSessionAttributes())) ?>
+<?php echo $view->render('WebProfilerBundle:Profiler:bag', array('bag' => $data->getSessionAttributes())) ?>

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/search.php

@@ -1,6 +1,6 @@
 <div class="search clearfix">
     <h3>
-        <img style="margin: 0 5px 0 0; vertical-align: middle; height: 16px" alt="" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/search.png') ?>" />
+        <img style="margin: 0 5px 0 0; vertical-align: middle; height: 16px" width="16" height="16" alt="Search" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/search.png') ?>" />
         Search
     </h3>
     <form action="<?php echo $view->get('router')->generate('_profiler_search') ?>" method="get">

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/timer_bar.php