From 8f0de301b481cbf64ad71737294cec9a21e2e66b Mon Sep 17 00:00:00 2001
From: bennibbelink <79653949+bennibbelink@users.noreply.github.com>
Date: Thu, 12 Sep 2024 20:34:33 -0400
Subject: [PATCH] remove pivotTable for dbtypes table, use raw datatable
instead
---
source/arche/dbtypes.rst | 157 ++---
source/astatic/pivot/bootstrap.min.css | 632 ------------------
source/astatic/pivot/dataTables.bootstrap.js | 170 -----
source/astatic/pivot/datatables-2.1.6.min.css | 1 +
source/astatic/pivot/datatables-2.1.6.min.js | 4 +
source/astatic/pivot/jquery-3.7.1.min.js | 2 +
source/astatic/pivot/jquery.dataTables.min.js | 153 -----
source/astatic/pivot/jquery_pivot.js | 412 ------------
source/astatic/pivot/pivot.css | 70 --
source/astatic/pivot/pivot.min.js | 1 -
source/astatic/pivot/subnav.css | 93 ---
source/astatic/pivot/subnav.js | 109 ---
12 files changed, 49 insertions(+), 1755 deletions(-)
delete mode 100644 source/astatic/pivot/bootstrap.min.css
delete mode 100644 source/astatic/pivot/dataTables.bootstrap.js
create mode 100644 source/astatic/pivot/datatables-2.1.6.min.css
create mode 100644 source/astatic/pivot/datatables-2.1.6.min.js
create mode 100644 source/astatic/pivot/jquery-3.7.1.min.js
delete mode 100644 source/astatic/pivot/jquery.dataTables.min.js
delete mode 100644 source/astatic/pivot/jquery_pivot.js
delete mode 100644 source/astatic/pivot/pivot.css
delete mode 100644 source/astatic/pivot/pivot.min.js
delete mode 100644 source/astatic/pivot/subnav.css
delete mode 100644 source/astatic/pivot/subnav.js
diff --git a/source/arche/dbtypes.rst b/source/arche/dbtypes.rst
index c69d55872..f6baa8164 100644
--- a/source/arche/dbtypes.rst
+++ b/source/arche/dbtypes.rst
@@ -9,21 +9,19 @@ yet supported, please let us know and we'll get to it as soon as possible!
**Description of fields:**
-:id: enum identifier (value) for database type in the ``cyclus::DbTypes`` enum.
-:name: enum name for database type in the ``cyclus::DbTypes`` enum.
-:C++ type: the cooresponding C++ type.
-:shape rank: the maximum rank (length) of the ``shape`` vector.
-:backend: the database backend type.
-:version: the |cyclus| version.
-:supported: flag for if the backend supported this type in this release.
+:ID: Enum identifier (value) for database type in the ``cyclus::DbTypes`` enum.
+:Name: Enum name for database type in the ``cyclus::DbTypes`` enum.
+:C++ Type: The corresponding C++ type.
+:Shape Rank: The maximum rank (length) of the ``shape`` vector.
+:Backend: The database backend type.
+:Version: The |cyclus| version.
+:Supported: Flag for if the backend supported this type in this release.
.. raw:: html
-
-
-
+
@@ -42,119 +40,48 @@ yet supported, please let us know and we'll get to it as soon as possible!
-
-
-
-
-
+
+
-
").addClass("dt-column-title").append(r.childNodes).appendTo(r),d)&&0===H("span.dt-column-order",r).length&&H("").addClass("dt-column-order").appendTo(r),i=0;i")[0],kt=void 0!==Et.textContent;function Mt(i){var l,e,n,t,s=i.oInit,u=i.deferLoading,c=J(i);i.bInitialised?(wt(i,"header"),wt(i,"footer"),n=function(){_t(i,i.aoHeader),_t(i,i.aoFooter);var n=i.iInitDisplayStart;if(s.aaData)for(l=0;l").attr("data-dt-row",i.idx).addClass(e),H("td",n).addClass(e).html(t)[0].colSpan=ot(o),s.push(n[0]))}var s=[];l(t,e),i._details&&i._details.detach(),i._details=H(s),i._detailsShow&&i._details.insertAfter(i.nTr)}function fe(t,e){var n=t.context;if(n.length&&t.length){var a=n[0].aoData[t[0]];if(a._details){(a._detailsShow=e)?(a._details.insertAfter(a.nTr),H(a.nTr).addClass("dt-hasChild")):(a._details.detach(),H(a.nTr).removeClass("dt-hasChild")),G(n[0],null,"childRow",[e,t.row(t[0])]);var i=n[0],r=new X(i),a=".dt.DT_details",e="draw"+a,t="column-sizing"+a,a="destroy"+a,l=i.aoData;if(r.off(e+" "+t+" "+a),m(l,"_details").length>0){r.on(e,function(t,e){if(i!==e)return;r.rows({page:"current"}).eq(0).each(function(t){var e=l[t];if(e._detailsShow)e._details.insertAfter(e.nTr)})});r.on(t,function(t,e){if(i!==e)return;var n,a=ot(e);for(var r=0,o=l.length;r "+Array(t).join(" ")+" "),n=(H(this.table().body()).append(t),t.children().map(function(){return H(this).outerWidth()}));return t.remove(),this.iterator("column",function(t,e){t=rt(t,e);return null!==t?n[t]:0},1)}),t("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?rt(t,e):e},1)}),e("columns.adjust()",function(){return this.iterator("table",function(t){nt(t)},1)}),e("column.index()",function(t,e){var n;if(0!==this.context.length)return n=this.context[0],"fromVisible"===t||"toData"===t?at(n,e):"fromData"===t||"toVisible"===t?rt(n,e):void 0}),e("column()",function(t,e){return ce(this.columns(t,e))}),e("cells()",function(g,t,v){var a,r,o,i,l,s,e;return H.isPlainObject(g)&&(void 0===g.row?(v=g,g=null):(v=t,t=null)),H.isPlainObject(t)&&(v=t,t=null),null==t?this.iterator("table",function(t){return a=t,t=g,e=ue(v),d=a.aoData,f=ve(a,e),n=A(b(d,f,"anCells")),h=H(M([],n)),p=a.aoColumns.length,se("cell",t,function(t){var e,n="function"==typeof t;if(null==t||n){for(o=[],i=0,l=f.length;i