Skip to content
Snippets Groups Projects
Commit 17d24e76 authored by François Agneray's avatar François Agneray
Browse files

Home html dynamic content

parent 01a23c83
No related branches found
No related tags found
1 merge request!29Develop
Pipeline #6147 passed
Pipeline: anis-next

#6149

    Pipeline: anis-next

    #6148

      ......@@ -7,10 +7,6 @@
      </select>
      </div>
      <div formGroupName="home_config">
      <div class="form-group">
      <label for="home_component_title">Title</label>
      <input type="text" class="form-control" id="home_component_title" formControlName="home_component_title">
      </div>
      <div class="form-group">
      <label for="home_component_text">Text</label>
      <textarea class="form-control" id="home_component_text" formControlName="home_component_text" rows="3"></textarea>
      ......
      ......@@ -33,7 +33,6 @@ export class InstanceFormComponent implements OnInit {
      public homeFormGroup = new FormGroup({
      home_component: new FormControl('WelcomeComponent', [Validators.required]),
      home_config: new FormGroup({
      home_component_title: new FormControl('ANIS', [Validators.required]),
      home_component_text: new FormControl(`AstroNomical Information System is a generic web tool aimed
      at facilitating and homogenizing the implementation of astronomical data. It allows
      the fast implementation of a project data exchange platform in a dedicated information system.`, [Validators.required]),
      ......
      ......@@ -2,10 +2,5 @@
      <div class="col-6 col-md-4 order-md-2 mx-auto text-center">
      <img class="img-fluid mb-3 mb-md-0" src="{{ getLogoSrc() }}" alt="">
      </div>
      <div class="col-md-8 order-md-1 text-justify pr-md-5">
      <h1 class="mb-3">{{ instance.config.home.home_config.home_component_title }}</h1>
      <p class="lead">
      {{ instance.config.home.home_config.home_component_text }}
      </p>
      </div>
      <div class="col-md-8 order-md-1 text-justify pr-md-5" [innerHtml]="instance.config.home.home_config.home_component_text"></div>
      </div>
      \ No newline at end of file
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment