diff --git a/application/views/Cis/Profil.php b/application/views/Cis/Profil.php index a107f0775..059a4edc1 100644 --- a/application/views/Cis/Profil.php +++ b/application/views/Cis/Profil.php @@ -3,7 +3,7 @@ $includesArray = array( 'title' => 'Stundenplan', 'customJSModules' => ['public/js/apps/Cis/Profil.js'], 'tabulator5' => true, - 'customCSSs' => ['public/css/components/calendar.css', 'public/css/components/FilterComponent.css'], + 'customCSSs' => ['public/css/components/calendar.css', 'public/css/components/FilterComponent.css','public/css/components/Profil.css'], ); diff --git a/public/css/components/Profil.css b/public/css/components/Profil.css new file mode 100644 index 000000000..a8f0e5d4b --- /dev/null +++ b/public/css/components/Profil.css @@ -0,0 +1,42 @@ + + +@media (max-width: 991px) { + + .md-invisible{ + display:none; + } + } + + @media (min-width: 992px) { + + .lg-invisible{ + display:none; + } + } + +/* dl { + width: 100%; + overflow: hidden; + + padding: 0; + margin: 0 + } + dt { + float: left; + width: 35%; + + + + padding: 0; + margin: 0 + } + dd { + float: left; + width: 50%; + + + padding: 0; + margin: 0 + } + */ + \ No newline at end of file diff --git a/public/js/apps/Cis/Profil.js b/public/js/apps/Cis/Profil.js index a6f811478..eb5cfbf4a 100644 --- a/public/js/apps/Cis/Profil.js +++ b/public/js/apps/Cis/Profil.js @@ -3,6 +3,7 @@ import StudentProfil from "../../components/Cis/Profil/StudentProfil.js"; import MitarbeiterProfil from "../../components/Cis/Profil/MitarbeiterProfil.js"; import ViewStudentProfil from "../../components/Cis/Profil/StudentViewProfil.js"; import ViewMitarbeiterProfil from "../../components/Cis/Profil/MitarbeiterViewProfil.js"; +import Base from "../../components/Cis/Profil/Base.js"; import fhcapifactory from "../api/fhcapifactory.js"; Vue.$fhcapi = fhcapifactory; @@ -11,7 +12,7 @@ Vue.$fhcapi = fhcapifactory; const app = Vue.createApp({ components: { - + Base, StudentProfil, MitarbeiterProfil, ViewStudentProfil, @@ -41,15 +42,17 @@ const app = Vue.createApp({ } this.view = res.data?.view; this.data = res.data?.data; + //* only for testing purposes and needs to be deleted after + this.data.base = "Base"; }); }, template:`
Sie sind Mitgglied in folgenden Verteilern:
+Sollten Ihre Daten nicht mehr aktuell sein, klicken Sie bitte hier
+- - -
FH-Ausweis Status
-{{"Der FH Ausweis ist am "+ wert+ " ausgegeben worden."}}
-{{email.type}}: {{email.email}}
-Private Kontakte
-Sie sind Mitgglied in folgenden Verteilern:
-Sie sind Mitgglied in folgenden Verteilern:
+Profilfoto gesperrt
- Sperre des Profilfotos aufheben -{{element.strasse}} ({{element.adr_typ}})
{{ element.plz}} {{element.ort}}
- - -
FH-Ausweis Status
-{{"Der FH Ausweis ist am "+ wert+ " ausgegeben worden."}}
-{{email.type}}: {{email.email}}
-Private Kontakte
-Profilfoto gesperrt
+ Sperre des Profilfotos aufheben +Sollten Ihre Daten nicht mehr aktuell sein, klicken Sie bitte hier
+Sie sind Mitgglied in folgenden Verteilern:
-Sie sind Mitgglied in folgenden Verteilern:
+- -
{{email.type}}: {{email.email}}
-Sie sind Mitgglied in folgenden Verteilern:
-Sie sind Mitgglied in folgenden Verteilern:
+