first commit

This commit is contained in:
2025-04-09 21:43:00 +02:00
commit af5be2794d
39 changed files with 1947 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
.jstree-anchor,
.jstree-ocl {
line-height: 20px !important;
}
.jstree-anchor,
.vakata-context {
font-size: 16px;
}
.jstree-ocl {
margin-top: -2px !important;
}
.jstree-icon {
line-height: 16px !important;
transform: scale(1.4) !important;
}
.jstree-node {
min-height: 20px !important;
line-height: 20px !important;
}
.treedetail {
border: 0.5px black solid;
overflow: auto;
box-shadow: 0 0 5px #ccc;
}
.table td,
.table th {
vertical-align: inherit;
}

View File

@@ -0,0 +1 @@
.jstree-anchor,.jstree-ocl{line-height:20px!important}.jstree-anchor,.vakata-context{font-size:16px}.jstree-ocl{margin-top:-2px!important}.jstree-icon{line-height:16px!important;transform:scale(1.4)!important}.jstree-node{min-height:20px!important;line-height:20px!important}.treedetail{border:.5px #000 solid;overflow:auto;box-shadow:0 0 5px #ccc}.table td,.table th{vertical-align:inherit}

View File

@@ -0,0 +1,23 @@
body {
width: 100%;
overflow: hidden;
min-height: 0px;
line-height: 1.1;
}
.navbar {
padding-top: 0px;
padding-bottom: 0px;
height: 50px;
}
.navbar-brand {
padding-top: 0px;
padding-bottom: 0px;
}
.footer {
position: fixed;
bottom: 2px;
right: 0px;
}

1
xxx/app/public/css/xxx.min.css vendored Normal file
View File

@@ -0,0 +1 @@
body{width:100%;overflow:hidden;min-height:0;line-height:1.1}.navbar{padding-top:0;padding-bottom:0;height:50px}.navbar-brand{padding-top:0;padding-bottom:0}.footer{position:fixed;bottom:2px;right:0}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
sodipodi:docname="test.svg"
inkscape:version="1.2.2 (732a01da63, 2022-12-09)"
id="svg8"
version="1.1"
viewBox="0 0 84.957652 83.999998"
height="84mm"
width="84.957649mm"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2">
<linearGradient
id="linearGradient2657"
inkscape:swatch="solid">
<stop
style="stop-color:#1d1c3a;stop-opacity:1;"
offset="0"
id="stop2655" />
</linearGradient>
<linearGradient
id="linearGradient2651"
inkscape:swatch="solid">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2649" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="141.38559 : 23.558402 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="84.423113 : 12.065813 : 1"
inkscape:persp3d-origin="42.478826 : 27.999999 : 1"
id="perspective1152" />
<rect
id="rect1932"
height="157.42708"
width="145.8988"
y="37.230656"
x="21.922619" />
<rect
id="rect1925"
height="154.78125"
width="152.5134"
y="30.994047"
x="18.331844" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2657"
id="linearGradient2653"
x1="127.3954"
y1="76.994209"
x2="193.25467"
y2="76.994209"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="1076"
inkscape:window-x="-8"
inkscape:window-height="1017"
inkscape:window-width="1920"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="text1919"
inkscape:document-units="mm"
inkscape:cy="147.98735"
inkscape:cx="168.44294"
inkscape:zoom="1.979899"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-32.673336,-72.980634)"
id="layer1"
inkscape:groupmode="layer"
inkscape:label="Ebene 1">
<g
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:50.8px;line-height:1.25;font-family:Gazzarelli;-inkscape-font-specification:Gazzarelli;letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
id="text1919"
aria-label="Ko Ma">
<text
xml:space="preserve"
style="font-size:44.3654px;line-height:1.65;font-family:'Gill Sans MT';-inkscape-font-specification:'Gill Sans MT';letter-spacing:0px;word-spacing:0px;stroke-width:0.0700042"
x="36.218472"
y="147.49475"
id="text422"
transform="scale(1.0102584,0.98984575)"><tspan
sodipodi:role="line"
id="tspan420"
style="font-size:44.3654px;stroke-width:0.0700042"
x="36.218472"
y="147.49475">SVG</tspan></text>
<text
xml:space="preserve"
style="font-size:19.7556px;line-height:1.65;font-family:'Gill Sans MT';-inkscape-font-specification:'Gill Sans MT';letter-spacing:0px;word-spacing:0px;stroke-width:0.0700042"
x="37.413837"
y="98.903824"
id="text426"><tspan
sodipodi:role="line"
id="tspan424"
style="font-size:19.7556px;stroke-width:0.0700042"
x="37.413837"
y="98.903824">xxx</tspan></text>
<rect
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient2653);stroke-width:1.229;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:3.2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
id="rect1300"
width="83.504608"
height="82.438667"
x="33.447392"
y="73.72715"
rx="7.6999998"
ry="9.1999989" />
</g>
<g
style="font-size:9.87778px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect1925)"
id="text1923" />
<text
style="font-size:9.87778px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect1932)"
id="text1930"
xml:space="preserve" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -0,0 +1,174 @@
var tblmeta, nodeid, nodeselect, tree, table;
var w = {
autoclose: false,
type: 'danger',
top: false,
rc0: {
top: false,
slide: true
}
};
var g = {
autoclose: false,
top: false,
rc0: {
top: false,
slide: true
}
};
var option = '';
function init() {
listtree();
// JQuery Tooltips aktivieren
$('[data-toggle="tooltip"]').tooltip({
delay: {
show: 1000,
hide: 100
}
});
}
function listtree() {
$("#tree").jstree("destroy");
$.get($('#base_url').val() + '/api/jstreedata/', function (res) {
//if ($.popyrc1(res, w)) return;
$('#tree')
.on('changed.jstree', function (e, data) {
// klick auf einen Node und holen der Mitglieder
if (data.node !== undefined) {
nodeselect = data.node;
treecklick(data);
}
})
.jstree({
'core': {
"check_callback": function (operation, node, node_parent, node_position, more) {
// unterbinden des droppen wenn man nicht owner ist und wenn externe sachen gedropt werden
if (more && more.dnd && operation == 'move_node') {
if (treelock || ogsidstochange[node_parent.id] == undefined) {
return false;
}
return true;
}
},
"keyboard": false,
"cache": false,
'data': res.data
},
"plugins": [
"wholerow", "sort", "html_data"
],
}).on('ready.jstree', function (d) {
$('.baum').show();
});
$('.treedetail').css('height', 'calc(100vh - 130px)');
});
}
function treecklick(data) {
$('.words').hide();
if (data.node.parent != '#') {
$('.words').show();
gettabledata(data.node.id);
}
}
function gettabledata() {
table = $('#tbl-worlds').DataTable({
ajax: {
"type": "GET",
"url": $('#base_url').val() + '/api/datatablesdata',
dataSrc: function (json) {
return json.data;
}
},
// fixedHeader: {
// header: true,
// },
// responsive: {
// details: false
// },
// scrollCollapse: true,
searching: true,
destroy: true,
deferRender: true,
// createdRow: function (row, data, index) {
// if (data.hidden == 1) {
// $(row).css('opacity', 0.2)
// }
// },
fixedColumns: {
left: 1,
right: 1
},
select: true,
// "stateSave": true,
// "stateLoadParams": function (settings, data) {
// console.log(settings)
// for (var i in data.columns) {
// data.columns[i].regex = false;
// data.columns[i].search = '';
// }
// },
columns: [
{
data: 'col1',
},
{
data: 'col2',
},
{
data: 'col3',
},
{
data: 'col4',
},
{
data: 'col5',
},
{
data: 'col6',
},
{
data: 'col7',
},
{
data: 'col8',
},
{
data: 'col9',
}
],
info: true,
scrollX: true,
// bLengthChange: false,
scroller: true,
scrollY: 'calc(100vh - 320px)', // Höhe der Tabelle
"sDom": 'Bfrti',
language: {
sLoadingRecords: "Lade Wörter...",
sInfo: '_START_ bis _END_ von _TOTAL_ Wörter',
sInfoEmpty: '',
infoFiltered: '(gefiltert von _MAX_ Wörter)',
searchPlaceholder: 'Suche',
sZeroRecords: 'Keine Wörter vorhanden.',
sSearch: '',
oPaginate: {
sFirst: 'Erste',
sPrevious: '<',
sNext: '>',
sLast: 'Letzte'
}
}
});
}
$(document).ready(function () {
init();
});

View File

@@ -0,0 +1 @@
function init(){listtree(),$('[data-toggle="tooltip"]').tooltip({delay:{show:1e3,hide:100}})}function listtree(){$("#tree").jstree("destroy"),$.get($("#base_url").val()+"/api/jstreedata/",function(e){$("#tree").on("changed.jstree",function(e,t){void 0!==t.node&&(nodeselect=t.node,treecklick(t))}).jstree({core:{check_callback:function(e,t,a,o,r){if(r&&r.dnd&&"move_node"==e)return!treelock&&null!=ogsidstochange[a.id]},keyboard:!1,cache:!1,data:e.data},plugins:["wholerow","sort","html_data"]}).on("ready.jstree",function(e){$(".baum").show()}),$(".treedetail").css("height","calc(100vh - 130px)")})}function treecklick(e){$(".words").hide(),"#"!=e.node.parent&&($(".words").show(),gettabledata(e.node.id))}function gettabledata(){table=$("#tbl-worlds").DataTable({ajax:{type:"GET",url:$("#base_url").val()+"/api/datatablesdata",dataSrc:function(e){return e.data}},searching:!0,destroy:!0,deferRender:!0,fixedColumns:{left:1,right:1},select:!0,columns:[{data:"col1"},{data:"col2"},{data:"col3"},{data:"col4"},{data:"col5"},{data:"col6"},{data:"col7"},{data:"col8"},{data:"col9"}],info:!0,scrollX:!0,scroller:!0,scrollY:"calc(100vh - 320px)",sDom:"Bfrti",language:{sLoadingRecords:"Lade Wörter...",sInfo:"_START_ bis _END_ von _TOTAL_ Wörter",sInfoEmpty:"",infoFiltered:"(gefiltert von _MAX_ Wörter)",searchPlaceholder:"Suche",sZeroRecords:"Keine Wörter vorhanden.",sSearch:"",oPaginate:{sFirst:"Erste",sPrevious:"<",sNext:">",sLast:"Letzte"}}})}var tblmeta,nodeid,nodeselect,tree,table,w={autoclose:!1,type:"danger",top:!1,rc0:{top:!1,slide:!0}},g={autoclose:!1,top:!1,rc0:{top:!1,slide:!0}},option="";$(document).ready(function(){init()});

7
xxx/app/public/js/xxx.js Normal file
View File

@@ -0,0 +1,7 @@
function xxx() {
}
$(document).ready(function () {
new xxx();
});