Jake Vanderwerf
7 days ago 46d681c6b825d21b3f698d793c4e630c687d90ad
inc/ui/CRUDSkeleton.php
@@ -578,7 +578,7 @@
   protected function renderUploader(): void {
      ?>
      <details open class="uploader">
         <summary class="row btw"><?= esc_html($this->uploaderConfig['label'] ?? 'Upload Files') ?></summary>
         <summary class="row x-btw"><?= esc_html($this->uploaderConfig['label'] ?? 'Upload Files') ?></summary>
         <form id="uploader" data-form-id="upload_new_<?=$this->dataType ?>">
            <?php
            echo jvbFormRestore();
@@ -624,7 +624,7 @@
         return;
      }
      ?>
      <details class="all-filters col start" data-ignore>
      <details class="all-filters col top" data-ignore>
         <summary>Filters</summary>
         <?php
@@ -649,7 +649,7 @@
         return;
      }
      ?>
      <div class="search row start nowrap">
      <div class="search row left nowrap">
         <span class="label">Search:</span>
         <?= jvbSearch() ?>
      </div>
@@ -725,7 +725,7 @@
   protected function renderOrderControls():void
   {
      ?>
      <div class="radio-options order row btw w-full">
      <div class="radio-options order row x-btw w-full">
         <?php
         $order = [
            'orderby' => [
@@ -740,7 +740,7 @@
         foreach ($order as $o => $option) {
            ?>
            <div class="row start">
            <div class="row left">
               <span class="label"><?= ucfirst($o)?>:</span>
               <?php
               $i = 0;
@@ -770,7 +770,7 @@
         return;
      }
      ?>
      <div class="filters row start">
      <div class="filters row left">
         <span class="label">Filters:</span>
         <?php
         foreach ($this->filters as $key => $config) {
@@ -928,7 +928,7 @@
      ob_start();
      ?>
      <details class="multi-select" title="Select columns" hidden>
         <summary class="row start nowrap">
         <summary class="row left nowrap">
            <?= jvbDashIcon('columns') ?>
            <span class="labels">Toggle Columns</span>
         </summary>
@@ -961,7 +961,7 @@
         return;
      }
      ?>
      <div class="bulk-controls row nowrap btw">
      <div class="bulk-controls row nowrap x-btw">
         <div class="bulk-select">
            <input type="checkbox" id="select-all" class="select-all">
            <label for="select-all" class="row"><span>Select All</span><span class="selected-count" hidden></span></label>
@@ -1132,7 +1132,7 @@
      }
      ob_start();
      ?>
      <div class="item-actions row btw abs">
      <div class="item-actions row x-btw abs">
         <?php
         foreach ($this->itemActions as $action) {
            $config = $this->defaultItemActions[$action];
@@ -1173,7 +1173,7 @@
         <div class="item <?=esc_attr($this->dataType)?> row nowrap">
            <?= $this->renderItemSelect()?>
            <?=$this->renderImage() ?>
            <div class="col start w-full">
            <div class="col top w-full">
               <h3 data-field="post_title"></h3>
               <p data-attr="date"></p>
               <p data-field="price"></p>
@@ -1260,7 +1260,7 @@
               <td class="field show-<?= esc_attr($name) ?>" data-field="<?= esc_attr($name) ?>" data-field-type="<?=$config['type']?>"<?=(in_array($name, $this->stuck)) ? ' data-stuck':''?>>
                  <?php
                  if (in_array('edit', $this->caps)) {
                     echo $makeThisDetailed ? '<details><summary class="row btw">See Value</summary>' : '';
                     echo $makeThisDetailed ? '<details><summary class="row x-btw">See Value</summary>' : '';
                     if (in_array($config['type'], ['selector', 'taxonomy', 'post'])) {
                        $config['autocomplete'] = true;
                     }
@@ -1342,7 +1342,7 @@
               $makeThisDetailed = (in_array($config['type'], $makeDetails));
               ?>
               <td class="field show-<?= esc_attr($name) ?>" data-field="<?= esc_attr($name) ?>" data-field-type="<?=$config['type']?>"<?=(in_array($name, $this->stuck)) ? ' data-stuck':''?>>
                  <?= $makeThisDetailed ? '<details><summary class="row btw">See Value</summary>' : '' ?>
                  <?= $makeThisDetailed ? '<details><summary class="row x-btw">See Value</summary>' : '' ?>
                  <?php
                  if (in_array($config['type'], ['selector', 'taxonomy', 'post'])) {
                     $config['autocomplete'] = true;
@@ -1375,7 +1375,7 @@
               $makeThisDetailed = (in_array($config['type'], $makeDetails));
               ?>
               <td class="field show-<?= esc_attr($name) ?>" data-field="<?= esc_attr($name) ?>" data-field-type="<?=$config['type']?>"<?=(in_array($name, $this->stuck)) ? ' data-stuck':''?>>
                  <?= $makeThisDetailed ? '<details><summary class="row btw">See Value</summary>' : '' ?>
                  <?= $makeThisDetailed ? '<details><summary class="row x-btw">See Value</summary>' : '' ?>
                  <?= Form::render($name, '', $config); ?>
                  <?= $makeThisDetailed ? '</details>' : '' ?>
               </td>
@@ -1458,7 +1458,7 @@
   protected function renderTableActions(): string {
      ob_start();
      ?>
      <div class="table-actions row btw nowrap">
      <div class="table-actions row x-btw nowrap">
         <?php if (count(array_intersect(['create', 'edit'], $this->caps)) > 0) { ?>
            <?= jvbRenderToggleTextField(
               'vertical',