diff options
-rw-r--r-- | modules/exif/views/exif_dialog.html.php | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/modules/exif/views/exif_dialog.html.php b/modules/exif/views/exif_dialog.html.php index 3f123303..d7985a30 100644 --- a/modules/exif/views/exif_dialog.html.php +++ b/modules/exif/views/exif_dialog.html.php @@ -1,29 +1,33 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> +<style> + #gExifData {font-size: .85em;} + .gOdd {background: #BDD2FF;} + .gEven {background: #DFEFFC;} +</style> <h1 style="display: none;"><?= t("Photo Detail") ?></h1> <div id="gExifData"> - <table> - <tbody> - <? for ($i = 0; $i < count($details); $i++): ?> - <tr> - <td class="gEven"> - <?= $details[$i]["caption"] ?> - </td> - <td class="gOdd"> - <?= $details[$i]["value"] ?> - </td> - <? if (!empty($details[++$i])): ?> - <td class="gEven"> - <?= $details[$i]["caption"] ?> - </td> - <td class="gOdd"> - <?= $details[$i]["value"] ?> - </td> - <? else: ?> - <td class="gEven"></td><td class="gOdd"></td> - <? endif ?> - </td> - </tr> - <? endfor ?> - </tbody> - </table> + <table class="gMetadata" > + <tbody> + <? for ($i = 0; $i < count($details); $i++): ?> + <tr> + <td class="gEven"> + <?= $details[$i]["caption"] ?> + </td> + <td class="gOdd"> + <?= $details[$i]["value"] ?> + </td> + <? if (!empty($details[++$i])): ?> + <td class="gEven"> + <?= $details[$i]["caption"] ?> + </td> + <td class="gOdd"> + <?= $details[$i]["value"] ?> + </td> + <? else: ?> + <td class="gEven"></td><td class="gOdd"></td> + <? endif ?> + </tr> + <? endfor ?> + </tbody> + </table> </div> |