CINXE.COM
<!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" /> <link type="text/css" rel="stylesheet" href="css/fis.css" /> <link type="text/css" rel="stylesheet" href="css/bootstrap-multiselect.css" /> <link type="text/css" rel="stylesheet" href="css/jquery-ui.css" /> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/bootstrap.js"></script> <script type="text/javascript" src="js/typeahead.js"></script> <script type="text/javascript" src="js/validator.js"></script> <script type="text/javascript" src="js/jquery.bootpag.min.js"></script> <script type="text/javascript" src="js/bootstrap-confirmation.js"></script> <script type="text/javascript" src="js/bootstrap-multiselect.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <link type="text/css" rel="stylesheet" href="css/sb-admin-2.css" /> <link type="text/css" rel="stylesheet" href="css/morris.css" /> <script type="text/javascript" src="js/sb-admin-2.js"></script> <script type="text/javascript" src="js/metisMenu.min.js"></script> <script type="text/javascript" src="js/morris.js"></script> <script type="text/javascript" src="js/raphael.js"></script> </head> <body style="background-color: gray;"> <div class="container theme-showcase" role="main" style="background-color: white;"> <div class="row"> <div class="col-md-12"> <p> <h4 class="text-right"> <a href="/basic-struts/login;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8"><span class="label label-success">Login</span></a> | <a href='/basic-struts/faculty-browser;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8?request_locale=en&faculty=1'><img src="img/gb.gif" alt="English"/></a> | <a href='/basic-struts/faculty-browser;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8?request_locale=de&faculty=1'><img src="img/de.gif" alt="Deutsch"/></a> </h4> </p> <h1> <span id="home"> Forschungsinformationssystem <small>Universit盲t Greifswald</small></span> </h1> <br/> </div> </div> <div class="row bg-primary"> <div class="col-md-2 col-md-offset-7" style="padding-top: 10px;"> <span id="search_counts"></span> </div> <div class="col-md-3" style="padding-top: 3px;padding-bottom: 3px;"> <div class="input-group input-group-sm"> <input id="search_text" type="text" class="form-control input-sm typeahead" data-provide="typeahead" placeholder="Personen, Publikationen, Projekte, ..." autocomplete='off' /> <span class="input-group-btn input-group-sm"> <button id="go" class="btn btn-default btn-sm" type="button"><span class="glyphicon glyphicon-search" aria-hidden="true" style="font-size:1em;color:#a7a7a7;"></span></button> </span> </div> </div> </div> <br/> <br/> <script type="text/javascript"> $(document).ready(function() { $("#home").hover(function() { $(this).css('cursor','pointer'); }); $("#home").click(function(e) { window.location.href = "/basic-struts/start;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8"; }); $("a.tool-tip").tooltip(); document.addEventListener("visibilitychange", (event) => { if (document.visibilityState == "visible") fireTabChanged(); }); var action_map = {}; $('#search_text').typeahead({ items: 13, minLength: 3, source: function (query, result) { $.ajax({ url: "/basic-struts/ajax_search;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8", data: 'query=' + query, dataType: "json", type: "POST", success: function (json) { values = []; $.each(json, function (key, row) { var length = row.length; values.push(query); action_map[query] = "/basic-struts/search-browser;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8"+"?s='"+query+"'"; $.each(row, function (index, data) { if (index === (length - 1)){ $('#search_counts').html("( " + data.id + " results in " + data.value + " ms )"); } else { values.push(data.value); action_map[data.value] = data.action; } }) }) result($.map(values, function (item) { return item; })); } }); }, afterSelect: function(item) { window.location.href = action_map[item]; return item; }, matcher: function(item) { return true; } }) $('#search_text').click(function() { $(this).val(''); $('#search_counts').empty(); }); $("#go").click(function(e) { search(); }); $('#search_text').keypress(function(e) { if(e.which == 13) { search(); } }); }); function search() { var text = $("#search_text").val(); window.location.href = "/basic-struts/search-browser;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8"+"?s='"+text+"'"; } var tabID = sessionStorage.tabID ? sessionStorage.tabID : sessionStorage.tabID = Math.random(); function fireTabChanged() { $.ajax({ url: '/basic-struts/ajax_tab_changed;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', type: "POST", data : 'tabID='+tabID+'&visibility='+document.visibilityState }); } function reportError() { $(".report_admin").html("<img src='img/ajax_loader.gif' />"); $.ajax({ url: '/basic-struts/report_error;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', success: function (data) { $('.report_admin').html('(Der Administrator wurde benachrichtigt.)'); $('.report_admin').removeClass("btn-danger").addClass("btn-default").prop("disabled",true); } }); } </script> <div class="row"> <div class="col-md-1"></div> <div class="col-md-6"> <h1><small><b>Universitätsmedizin Greifswald</b></small></h1> <a href="http://www.medizin.uni-greifswald.de"> <b> Link zur Webseite</b></a> <br/><br/><br/> <h3><small><b>Wissenschaftliche Leistungen der letzten 6 Jahre (Anzahl)</b></small></h3> <br/> <div id="summary-table"></div> <h5><small> (*) - aktuelles Jahr (noch nicht abgeschlossen) <span style="float:right;">(Stand: 24.11.2024 04:07:08 )</span> </small></h5> <br/><br/> </div> <div class="col-md-5"> <div class="panel panel-borderless"> <div class="panel-body"> <br/><br/><br/><br/><br/><br/> <h3><small><b>Entwicklung Publikationstyp <span id="pub_type" style="color:#337ab7;"></span></b></small></h3> <div id="morris-area-chart" style="height:200px"></div> <br/><br/> <h3><small><b>Zusammenfassung wiss. Leistungen der Fakult盲t</b></small></h3> <div id="bar-chart" ></div> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function() { loadBarChart(); loadTable(); }); function loadBarChart() { $("#bar-chart").html("<br/><br/><br/><img src='img/ajax_loader.gif' />"); $.ajax({ url: '/basic-struts/ajax_load_bar_chart;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', cache: false, data : {faculty:'1'}, success: function (response) { $("#bar-chart").empty(); Morris.Bar({ element: 'bar-chart', data: $.parseJSON(response), xkey: 'y', ykeys: ['a'], labels: ['Anzahl'], xLabelAngle: 45 }); } }); } function loadTable() { $("#summary-table").html("<br/><br/><br/><img src='img/ajax_loader.gif' />"); $.ajax({ url: '/basic-struts/ajax_load_table;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', cache: false, data : {faculty:'1'}, success: function (response) { $("#summary-table").empty().hide().html(response).fadeIn(); $("#summary-table td").click(function(e) { updateLineChart($("#summary-table thead th"),$(this).parent()); return false; }); $("#summary-table td:first").click(); } }); } function updateLineChart(header,row){ $("#pub_type").empty().html("'"+$(row).find("td[scope='row']").html()+"'"); $("#morris-area-chart").empty(); var rows = $(row).find("td"); var i; // das aktuelle Jahr soll im Trend nicht mit angezeigt werden var end = $(rows).length - 1; var jsonStr = '['; for (i=1;i<end;i++){ jsonStr=jsonStr+'{"period": "'+$(header).eq(i).find("p").html()+'", "Anzahl": '+$(rows).eq(i).find("p").html()+'}'; if (i<end-1){ jsonStr=jsonStr+','; } } jsonStr=jsonStr+']'; Morris.Line({ element: 'morris-area-chart', data: JSON.parse(jsonStr), xkey: 'period', ykeys: ['Anzahl'], labels: ['Anzahl'], pointSize: 2, hideHover: 'auto', resize: true }); } </script> <br/> <ul class="nav nav nav-tabs" role="tablist" id="nav"></ul> <br/> <div class="row"> <div class="col-md-3"> <div id="menu"></div> </div> <div class="col-md-9"> <div id="filter"></div><br/> <div id="content"></div><br/> <div id="browser_footer"> <div class="col-md-3" id="list-export"> <div id="buttonExport" style="margin: 20px 0;"> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exportResultModal">Liste exportieren</button> </div> </div> <div class="col-md-6" id="page-selection"></div> <div class="col-md-3" id="itemsperpage" > <select class="form-control" id="items_per_page" style="margin: 20px 0;"> <option value="10" selected>10 Elemente pro Seite</option> <option value="25" >25 Elemente pro Seite</option> <option value="50" >50 Elemente pro Seite</option> <option value="100" >100 Elemente pro Seite</option> </select> </div> </div> </div> </div> <!-- Modal --> <div class="modal fade" id="exportResultModal" role="dialog" aria-labelledby="myExportModalLabel" aria-hidden="true" tabindex="-1"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myExportModalLabel">Liste exportieren</h4> </div> <div class="modal-body" id="exportResult"> please wait ... </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Abbruch </button> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function() { loadNavTabs(); loadMenu(); var section = getCurrentSection(); if (section) { var nav = null; var page = 1; var items_per_page = 10; //gibt es gespeicherte view settings in der Session, werden diese geladen //parameter in der URL 眉berschreiben das ggf. if (getUrlParameter('showNav')){ nav = getUrlParameter('showNav'); section = $(".list-group[id='"+nav+"'] a").first().attr("id"); } if (getUrlParameter('section')){ section = getUrlParameter('section'); //wenn section als parameter existiert, wird nav 眉berschrieben nav = $("a[id='"+section+"']").parent().attr("id"); } if (getUrlParameter('page')) page = Number(getUrlParameter('page')); if (getUrlParameter('items_per_page')){ items_per_page = getUrlParameter('items_per_page'); $("#items_per_page").val(items_per_page).change(); } loadList(section,page); loadFilter(section); setPagination(section,page); addCommonBrowserEventHandler(); if (nav){ restoreMenuSettings(nav,section); $('html, body').animate({ scrollTop: $('#nav').offset().top }, 'slow'); } } }); function loadList(section_id,page_nr) { if (page_nr > 0) $("#content").html("<img src='img/ajax_loader.gif' />"); var items_per_page = $("#items_per_page option:selected").val(); $.ajax({ url: '/basic-struts/ajax_load_list;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', type: "POST", async: false, data : {section:section_id,page:page_nr,items_per_page:items_per_page,bid:'f541fb4b-6212-4790-b664-399b2011d4b2'}, success: function (response) { if (response == 'reload') { location.reload(true); } $("#content").empty().hide().html(response).fadeIn(); fireTabChanged(); } }); } function loadNavTabs() { $.ajax({ url: '/basic-struts/faculty-browser_load_nav;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', type: "POST", cache: false, async: false, success: function (response) { $("#nav").empty().hide().html(response).fadeIn(); } }); } function loadMenu() { $.ajax({ url: '/basic-struts/faculty-browser_load_menu;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', type: "POST", cache: false, async: false, success: function (response) { $("#menu").empty().hide().html(response).fadeIn(); addMenuEventHandler(); } }); } function loadFilter(section) { $.ajax({ url: '/basic-struts/faculty-browser_load_filter;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', type: "POST", cache: false, data : {section:section}, async: false, success: function (response) { $("#filter").empty().hide().html(response).fadeIn(); } }); } function deleteItem(action) { var id = action.split("=").pop(); $.ajax({ url: action, type: "POST", cache: false, success: function (response) { var errorMessage = $(response).find('.errorMessage').text(); if (errorMessage != ''){ alert(errorMessage); } else{ $("#"+id).fadeOut('slow'); var badgeElement = $(".list-group a[id='"+getCurrentSection()+"']").find("span"); var nr_of_list_items = badgeElement.text(); badgeElement.text(nr_of_list_items - 1); } } }); } function getCurrentSection() { var current_nav_tab_id = $("#nav li[class='active']").attr("id"); var current_list_group = $(".list-group[id='" + current_nav_tab_id + "']"); var current_section_id = current_list_group.find("a[class='list-group-item active']").attr("id"); return current_section_id; } function setPagination(section,page){ //Pagination: Anzahl der Seiten berechnen und umsetzen var nr_of_list_items = $(".list-group a[id='"+section+"']").find("span").text(); if (nr_of_list_items == 0){ $("#page-selection").empty().html(" ").show(); return; } nr_of_list_items = nr_of_list_items.replace(/\./g, '') var items_per_page = $("#items_per_page option:selected").val(); var nr_of_pages = ~~(nr_of_list_items / items_per_page); if (nr_of_list_items % items_per_page != 0) nr_of_pages = nr_of_pages + 1; if (nr_of_pages == 1) $("#page-selection").empty().html(" ").show(); else $("#page-selection").bootpag({total: nr_of_pages, page:page, maxVisible: 5}).show(); } function addCommonBrowserEventHandler(){ $("#items_per_page").change(function(e) { loadList(getCurrentSection(), 1); setPagination(getCurrentSection(),1); }); $("#content").on('click', '#auth_state', function() { $(this).toggle(); $(this).parent().find("span[id='auth_var']").toggle(); return false; }); } function addMenuEventHandler(){ //Umschalten der aktiven Listenitems in Menulisten $(".list-group a").click(function(e) { var section = $(this).attr("id"); //Neuladen des Contents veranlassen (Seite 1) loadList(section,1); loadFilter(section); //aktives Item umsetzen var list_group_id = $(this).parent().attr("id"); $(".list-group[id='"+list_group_id+"'] a").removeClass('active'); $(this).addClass('active'); setPagination(section,1); return false; }); //Umschalten der aktiven Nav-Tabs (Profil, Publikationen, Projekte) $("#nav li a").click(function(e) { //aktiven Tab umsetzen $("#nav li").removeClass('active'); $(this).parent().addClass('active'); //Einblenden des richtigen Menus var nav_id = $(this).parent().attr("id"); $(".list-group").hide(); $(".list-group[id='"+nav_id+"'] a").first().addClass('active'); $(".list-group[id='"+nav_id+"']").show(); var section = getCurrentSection(); loadList(section, 1); loadFilter(section); setPagination(section,1); return false; }); // init bootpag event listener $("#page-selection").on("page", function(event, page_nr){ loadList(getCurrentSection(), page_nr); }); $('#buttonExport').click(function() { //erster Aufruf f眉r das Modal $.ajax({ url: '/basic-struts/ajax_load_export_modal;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', data: 'section=' + getCurrentSection(), type: "POST", success: function(data) { $("#exportResult").empty().hide().html(data).show(); //zweiter Aufruf zum generieren der gro脽en Liste - dann Austausch der Buttons $.ajax({ url: '/basic-struts/ajax_generate_export_rtf;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8', data: 'section=' + getCurrentSection(), type: "POST", success: function(data) { $("#rtf-export").empty().html("<b><a href='/basic-struts/ajax_download_rtf;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8'>RTF-Datei herunterladen</a></b>").fadeIn(); } }); } }); }); } function restoreMenuSettings(nav,section) { //aktiven Tab umsetzen $("#nav li").removeClass('active'); $("#nav li[id="+nav+"]").addClass('active'); //Einblenden des richtigen Menus $(".list-group").hide(); $(".list-group[id='"+nav+"']").show(); //reaktivieren des vorher ausgewaehlten unterpunktes $(".list-group a").removeClass('active'); $("a[id='"+section+"']").addClass('active'); } var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]); } } return false; }; </script> <br/> <div class="row bg-primary"> <p class="text-center" style="margin-top: 10px;"> <a href='/basic-struts/faq;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8' style="color: white !important;"><b>FAQs</b></a> | <a href='/basic-struts/impressum;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8' style="color: white !important;"><b>Impressum</b></a> | <a href='/basic-struts/datasec;jsessionid=F1A5FACD40F8206CA4EE27EC6BD620B8' style="color: white !important;" style="color: #FFFFFF !important;"><b>Datenschutz</b></a> </p> </div> </div> </body> </html>