mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Cleanup & CSS
This commit is contained in:
@@ -502,12 +502,12 @@ class Student extends FHC_Controller
|
||||
}
|
||||
|
||||
// TODO(chris): DEBUG
|
||||
$result = $this->PrestudentModel->loadWhere([
|
||||
/*$result = $this->PrestudentModel->loadWhere([
|
||||
'pestudent_id' => 1
|
||||
]);
|
||||
if (isError($result)) {
|
||||
return $result;
|
||||
}
|
||||
}*/
|
||||
|
||||
return success(true);
|
||||
}
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
'fontawesome6' => true,
|
||||
'vue3' => true,
|
||||
#'primevue3' => true,
|
||||
'filtercomponent' => true,
|
||||
#'filtercomponent' => true,
|
||||
'tabulator5' => true,
|
||||
'phrases' => [],
|
||||
'customCSSs' => [
|
||||
'public/css/Studentenverwaltung.css',
|
||||
'public/css/components/vue-datepicker.css'
|
||||
'public/css/components/vue-datepicker.css',
|
||||
'public/css/components/primevue.css',
|
||||
'public/css/Studentenverwaltung.css'
|
||||
],
|
||||
'customJSs' => [
|
||||
#'vendor/npm-asset/primevue/tree/tree.min.js',
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
@import './components/searchbar.css';
|
||||
@import './components/verticalsplit.css';
|
||||
@import '../../vendor/npm-asset/primevue/resources/themes/bootstrap4-light-blue/theme.css';
|
||||
@import '../../vendor/npm-asset/primevue/resources/primevue.min.css';
|
||||
@import '../../vendor/npm-asset/primeicons/primeicons.css';
|
||||
|
||||
.navbar-dark .navbar-brand:focus {
|
||||
box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -18,33 +18,34 @@
|
||||
import FhcStudentenverwaltung from "../components/Stv/Studentenverwaltung.js";
|
||||
import fhcapifactory from "./api/fhcapifactory.js";
|
||||
|
||||
import PvConfig from "../../../index.ci.php/public/js/components/primevue/config/config.esm.min.js";
|
||||
|
||||
import FhcAlert from "../plugin/FhcAlert.js";
|
||||
|
||||
Vue.$fhcapi = fhcapifactory;
|
||||
//import PrimeVue form "../../../../index.ci.php/public/js/components/primevue/config/config.esm.min.js");
|
||||
//const PrimeVue = await import(FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/public/js/components/primevue/config/config.esm.min.js").default;
|
||||
import(FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router + "/public/js/components/primevue/config/config.esm.min.js").then(result => result.default).then(PrimeVue => {
|
||||
Vue.$fhcapi = fhcapifactory;
|
||||
|
||||
const ciPath = FHC_JS_DATA_STORAGE_OBJECT.app_root.replace(/(https:|)(^|\/\/)(.*?\/)/g, '') + FHC_JS_DATA_STORAGE_OBJECT.ci_router;
|
||||
const ciPath = FHC_JS_DATA_STORAGE_OBJECT.app_root.replace(/(https:|)(^|\/\/)(.*?\/)/g, '') + FHC_JS_DATA_STORAGE_OBJECT.ci_router;
|
||||
|
||||
const router = VueRouter.createRouter({
|
||||
history: VueRouter.createWebHistory(),
|
||||
routes: [
|
||||
{ path: `/${ciPath}/studentenverwaltung`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/prestudent/:prestudent_id`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/prestudent/:prestudent_id/:tab`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/student/:id`, component: FhcStudentenverwaltung }
|
||||
]
|
||||
const router = VueRouter.createRouter({
|
||||
history: VueRouter.createWebHistory(),
|
||||
routes: [
|
||||
{ path: `/${ciPath}/studentenverwaltung`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/prestudent/:prestudent_id`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/prestudent/:prestudent_id/:tab`, component: FhcStudentenverwaltung },
|
||||
{ path: `/${ciPath}/studentenverwaltung/student/:id`, component: FhcStudentenverwaltung }
|
||||
]
|
||||
});
|
||||
|
||||
const app = Vue.createApp();
|
||||
|
||||
app
|
||||
.use(router)
|
||||
.use(PrimeVue, {
|
||||
zIndex: {
|
||||
overlay: 1100
|
||||
}
|
||||
})
|
||||
.use(FhcAlert)
|
||||
.mount('#main');
|
||||
});
|
||||
|
||||
const app = Vue.createApp();
|
||||
|
||||
app
|
||||
.use(router)
|
||||
.use(PvConfig, {
|
||||
zIndex: {
|
||||
overlay: 1100
|
||||
}
|
||||
})
|
||||
.use(FhcAlert)
|
||||
.mount('#main');
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
selectable: true,
|
||||
// TODO(chris): select only one? selectMultiple with click?
|
||||
index: 'prestudent_id',
|
||||
//persistence: true
|
||||
persistence: true
|
||||
},
|
||||
tabulatorEvents: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user