feature(Searchbar/StudentenSuche): adds student to the searchbar options and adds shadow to the searchbar

This commit is contained in:
SimonGschnell
2024-12-11 12:34:58 +01:00
parent 034e1397e8
commit a357001648
4 changed files with 15 additions and 2 deletions
@@ -88,7 +88,7 @@ class Profil extends FHCAPI_Controller
$res->data = $this->studentProfil();
$res->data->pid = $this->pid;
}
// editing your own profil - true
$editAllowed = true;
}
// UID is availabe when accessing Profil/View/:uid
@@ -26,6 +26,7 @@
width: 100%;
left: 0;
right: 0;
box-shadow: 2px 2px 4px rgba(0, 0, 0, .4);
}
.searchbar_results_scroller {
+12
View File
@@ -18,6 +18,7 @@ const app = Vue.createApp({
calcheightonly: true,
types: [
"mitarbeiter",
"student",
"raum",
"organisationunit"
],
@@ -33,6 +34,17 @@ const app = Vue.createApp({
},
childactions: []
},
student: {
defaultaction: {
type: "link",
action: function (data) {
return FHC_JS_DATA_STORAGE_OBJECT.app_root + FHC_JS_DATA_STORAGE_OBJECT.ci_router +
"/Cis/Profil/View/" + data.uid;
}
},
childactions: []
},
raum: {
defaultaction: {
type: "link",
+1 -1
View File
@@ -16,7 +16,7 @@ export default {
<action :res="this.res" :action="this.actions.defaultaction" @actionexecuted="$emit('actionexecuted')">
<img v-if="(typeof res.foto !== 'undefined') && (res.foto !== null)"
:src="'data:image/jpeg;base64,' + res.foto"
class="rounded-circle" height="100"/>
class="rounded" style="max-height: 120px; max-width: 90px;" />
<i v-else class="fas fa-user-circle fa-5x"></i>
</action>
</div>