Move community-edit-form to new directory community-edit-form

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@51056 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-06 15:25:09 +00:00
parent a9eed54efd
commit 0943d68297
5 changed files with 16 additions and 7 deletions

View File

@ -29,7 +29,7 @@ import { PageContentFormComponent } from "./pages/helpcontent/page-help-content-
import { EditPageHelpContentComponent } from "./pages/helpcontent/edit-page-help-content.component";
import { CommunitiesComponent } from './pages/community/communities.component';
import { CommunityFormComponent } from './pages/community/community-form.component';
import { CommunityEditFormComponent } from './pages/community/community-edit-form.component';
import { CommunityEditFormComponent } from './pages/community/community-edit-form/community-edit-form.component';
import { EntitiesComponent } from "./pages/entity/entities.component";
import { EntityFormComponent } from "./pages/entity/entity-form.component";
import { DivIdsComponent } from "./pages/divId/divIds.component";

View File

@ -6,7 +6,7 @@ import { Routes, RouterModule } from '@angular/router';
import { DashboardComponent } from "./dashboard.component";
import { CommunitiesComponent } from './pages/community/communities.component';
import { CommunityEditFormComponent } from "./pages/community/community-edit-form.component";
import { CommunityEditFormComponent } from "./pages/community/community-edit-form/community-edit-form.component";
import { EntitiesComponent } from "./pages/entity/entities.component";
import { PagesComponent } from "./pages/page/pages.component";
import { PageHelpContentsComponent } from "./pages/helpcontent/page-help-contents.component";
@ -24,7 +24,7 @@ import { EnvironmentSpecificResolver} from './openaireLibrary/utils/properties/e
import { EnvironmentSpecificService} from './openaireLibrary/utils/properties/environment-specific.service';
import{ClaimsAdminComponent} from './openaireLibrary/claims/claimsAdmin/claimsAdmin.component';
import {StatsComponent} from "./pages/stats/stats.component";
const appRoutes: Routes = [

View File

@ -1,9 +1,12 @@
<div id="community-edit-form " class="uk-container">
<div class="entity-title uk-article-title">Edit your community</div>
<div> <p> Name: <input placeholder="OpenAIRE" type="text" class="uk-input uk-width-medium"/> </p>
<div>
<p> Name: <input placeholder="OpenAIRE" type="text" class="uk-input uk-width-medium"/> </p>
<p> Short Name: <input placeholder="shortName" type="text" class="uk-input uk-width-medium"/> </p>
<p> Description: <input placeholder="description" type="text" class="uk-input uk-width-medium"/> </p>
<p> Logo: </p>
<p> Logo Url: <input placeholder="logoUrl" type="text" class="uk-input uk-width-medium"/></p>
</div>
<progress id="js-progressbar" class="uk-progress" value="0" max="100" hidden></progress>

View File

@ -1,6 +1,6 @@
import {Component, OnInit, Input} from '@angular/core';
import {FormGroup, FormArray, FormBuilder, Validators} from "@angular/forms";
import { HelpContentService } from "../../services/help-content.service";
import { HelpContentService } from "../../../services/help-content.service";
@Component({
selector: 'community-edit-form',
@ -20,7 +20,7 @@ export class CommunityEditFormComponent implements OnInit{
ngOnInit(){
}
public get form() {

View File

@ -0,0 +1,6 @@
// getDataProviders() {
// return this.http.get('https://beta.services.openaire.eu/search/v2/api/datasources?format=json')
// .map(res => <any> res.json())
// .map(res => res.results)
// .do(res => {console.log(res)}).catch(this.handleError);
// }