diff --git a/ngoplanner/public/icons/UINGSClassFi.png b/ngoplanner/public/icons/UINGSClassFi.png new file mode 100644 index 0000000..2a02475 Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassFi.png differ diff --git a/ngoplanner/public/icons/UINGSClassFo.png b/ngoplanner/public/icons/UINGSClassFo.png new file mode 100644 index 0000000..9adb257 Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassFo.png differ diff --git a/ngoplanner/public/icons/UINGSClassGu.png b/ngoplanner/public/icons/UINGSClassGu.png new file mode 100644 index 0000000..d7286bc Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassGu.png differ diff --git a/ngoplanner/public/icons/UINGSClassHu.png b/ngoplanner/public/icons/UINGSClassHu.png new file mode 100644 index 0000000..f63d037 Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassHu.png differ diff --git a/ngoplanner/public/icons/UINGSClassRa.png b/ngoplanner/public/icons/UINGSClassRa.png new file mode 100644 index 0000000..3c77778 Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassRa.png differ diff --git a/ngoplanner/public/icons/UINGSClassTe.png b/ngoplanner/public/icons/UINGSClassTe.png new file mode 100644 index 0000000..e00a36c Binary files /dev/null and b/ngoplanner/public/icons/UINGSClassTe.png differ diff --git a/ngoplanner/src/App.css b/ngoplanner/src/App.css index d60512b..10c57c9 100644 --- a/ngoplanner/src/App.css +++ b/ngoplanner/src/App.css @@ -311,4 +311,28 @@ td:last-child { .hover:hover{ background-color:rgba(255,255,0,0.4); cursor:pointer; +} + +input#editBox{ + height:18px; + width:50%; + padding: 0px; + margin: 0px; + text-align:right; +} + +.popup{ + position:absolute; + background-color: rgba(128,128,128,1); + max-width: 250px; + min-width: 100px; + padding: 20px; +} +.popup button{ + margin:5px; + width:48px; + font-size:12px; + overflow:wrap; + background-color:rgba(64,64,96,0.9); + color:rgba(210,210,210,1); } \ No newline at end of file diff --git a/ngoplanner/src/App.js b/ngoplanner/src/App.js index f11a3aa..2f3e08c 100644 --- a/ngoplanner/src/App.js +++ b/ngoplanner/src/App.js @@ -25,7 +25,7 @@ function EditBox(p) { }) return { if (e.key==="Enter") {p.setEdit(false)} -}} maxLength={p.maxlength?p.maxlength:20} onBlur={()=>{p.setEdit(false)}} value={p.value} onChange={(f)=>{p.setName(f.currentTarget.value)}}> +}} maxLength={p.maxlength?p.maxlength:20} onBlur={()=>{p.setEdit(false)}} value={p.value} onChange={(f)=>{f.currentTarget.value.length>0?p.setName(f.currentTarget.value):p.setName(p.originalName)}}> } @@ -36,19 +36,70 @@ function EditableBox(p) { return <>