B
    6œbã  ã               @   s   d dl mZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ dd	lmZ dd
lmZ ej e¡ ej e¡ ej e¡ ej e¡ G dd„ dejƒZej e	e¡ G dd„ dejƒZej ee¡ G dd„ dejƒZej ee¡ dS )é    )Úadminé   )ÚPatent)ÚPublication)ÚProject)ÚDropdownModel)ÚDropdownModelForm)ÚResearchGroup)ÚResearchSupervision)Ú
Activitiesc               @   s:   e Zd ZddddœfddddœffZeZG dd	„ d	ƒZdS )
ÚDropdownModelAdminz
Date Range)Z
date_range)Z
predefined)ÚfieldsÚclassesN))Z
start_dateZend_date)Zabcdefgc               @   s   e Zd ZdZdS )zDropdownModelAdmin.Media)z
js/base.jsN)Ú__name__Ú
__module__Ú__qualname__Újs© r   r   ú7C:\Project\professor_site\sandeepiiti\visitors\admin.pyÚMedia%   s   r   )r   r   r   Ú	fieldsetsr   Úformr   r   r   r   r   r      s   r   c               @   sJ   e Zd ZddddœfdedƒddœfdedƒddœffZG d	d
„ d
ƒZdS )ÚResearchGroupAdminN)Z
group_typeÚnameZphoto)Úcommon)r   r   )ÚpositionZscholar_linkZscholar_topicZ
year_startZyear_end)Zscholars)Zorg_nameZdesignationZ	dept_nameZ	site_link)Zalumnic               @   s   e Zd ZdZdS )zResearchGroupAdmin.Media)zjs/research-group.jsN)r   r   r   r   r   r   r   r   r   ?   s   r   )r   r   r   Útupler   r   r   r   r   r   r   +   s   r   c               @   s6   e Zd ZddddœfddddœffZG dd„ dƒZdS )	ÚActivitiesAdminN)Zactivity_typeÚtitleÚlocationZ
date_startZdate_end)r   )r   r   )Z
level_type)Zeducationalc               @   s   e Zd ZdZdS )zActivitiesAdmin.Media)zjs/activities.jsN)r   r   r   r   r   r   r   r   r   T   s   r   )r   r   r   r   r   r   r   r   r   r   E   s   r   N)Zdjango.contribr   Zmodels.patentr   Zmodels.publicationr   Zmodels.projectr   Zmodels.DropdownModelr   Zforms.DropdownModelFormr   Zmodels.researchGroupr	   Zmodels.researchSupervisionr
   Zmodels.activitiesr   ÚsiteÚregisterÚ
ModelAdminr   r   r   r   r   r   r   Ú<module>   s$   