Skip to content
Snippets Groups Projects
instance.model.ts 2.93 KiB
Newer Older
  • Learn to ignore specific revisions
  • /**
     * This file is part of Anis Client.
     *
     * @copyright Laboratoire d'Astrophysique de Marseille / CNRS
     *
     * For the full copyright and license information, please view the LICENSE
     * file that was distributed with this source code.
     */
    
    
    import { Logo } from './logo.model';
    
    
    /**
     * Interface for instance.
     *
     * @interface Instance
     */
    
    export interface Instance {
        name: string;
        label: string;
    
    François Agneray's avatar
    François Agneray committed
        description: string;
    
        scientific_manager: string;
        instrument: string;
        wavelength_domain: string;
    
    François Agneray's avatar
    François Agneray committed
        display: number;
    
        files_path: string;
        public: boolean;
    
    François Agneray's avatar
    François Agneray committed
        portal_logo: string;
    
    François Agneray's avatar
    François Agneray committed
        design_color: string;
        design_background_color: string;
        design_logo: string;
        design_favicon: string;
    
    François Agneray's avatar
    François Agneray committed
        navbar_background_color: string;
        navbar_border_bottom_color: string;
        navbar_color_href: string;
    
    François Agneray's avatar
    François Agneray committed
        navbar_font_family: string;
        navbar_sign_in_btn_color: string;
        navbar_user_btn_color: string;
    
    François Agneray's avatar
    François Agneray committed
        footer_background_color: string;
        footer_border_top_color: string;
        footer_text_color: string;
    
        footer_logos: Logo[];
    
        family_border_color: string;
        family_header_background_color: string;
        family_title_color: string;
        family_title_bold: boolean;
    
        family_background_color: string;
    
        family_color: string;
    
        progress_bar_title: string;
    
    François Agneray's avatar
    François Agneray committed
        progress_bar_title_color: string;
    
        progress_bar_subtitle: string;
    
    François Agneray's avatar
    François Agneray committed
        progress_bar_subtitle_color: string;
    
        progress_bar_step_dataset_title: string;
        progress_bar_step_criteria_title: string;
        progress_bar_step_output_title: string;
        progress_bar_step_result_title: string;
    
        progress_bar_color: string;
        progress_bar_active_color: string;
        progress_bar_circle_color: string;
    
    François Agneray's avatar
    François Agneray committed
        progress_bar_circle_icon_color: string;
        progress_bar_circle_icon_active_color: string;
    
        progress_bar_text_color: string;
    
    François Agneray's avatar
    François Agneray committed
        result_header_background_color: string;
        result_header_text_color: string;
        result_header_btn_color: string;
        result_header_btn_hover_color: string;
        result_header_btn_text_color: string;
        result_datatable_bordered: boolean;
        result_datatable_border_color: string;
        result_datatable_header_background_color: string;
        result_datatable_header_text_color: string;
        result_datatable_rows_background_color: string;
        result_datatable_rows_text_color: string;
        result_datatable_sorted_color: string,
        result_datatable_sorted_active_color: string,
        result_datatable_link_color: string,
        result_datatable_link_hover_color: string,
        result_datatable_rows_selected_color: string,
    
    François Agneray's avatar
    François Agneray committed
        samp_enabled: boolean;
    
        back_to_portal: boolean;
    
    François Agneray's avatar
    François Agneray committed
        user_menu_enabled: boolean;
    
    François Agneray's avatar
    François Agneray committed
        search_by_criteria_allowed: boolean;
        search_by_criteria_label: string;
        search_multiple_allowed: boolean;
        search_multiple_label: string;
        search_multiple_all_datasets_selected: boolean;
        documentation_allowed: boolean;
        documentation_label: string;
    
    François Agneray's avatar
    François Agneray committed
        nb_dataset_families: number;
        nb_datasets: number;