images path fix

This commit is contained in:
sosguns2002 2018-03-14 15:40:43 +02:00
parent ce73963884
commit 90e32d1e28
8 changed files with 17 additions and 14 deletions

View File

@ -5,7 +5,7 @@ import {ConfigurationComponent} from './configuration/configuration.component';
import {SaveprofileComponent} from './saveprofile/saveprofile.component';
import {ManageprofilesComponent} from './manageprofiles/manageprofiles.component';
const routes: Routes = [
export const InteractiveMiningRoutes: Routes = [
{ path: '', redirectTo: '/manage-profiles', pathMatch: 'full' },
{ path: 'manage-profiles', component: ManageprofilesComponent },
{ path: 'upload-content', component: ContentComponent },
@ -14,7 +14,7 @@ const routes: Routes = [
];
@NgModule({
imports: [ RouterModule.forRoot(routes) ],
imports: [ RouterModule.forRoot(InteractiveMiningRoutes) ],
exports: [ RouterModule ]
})
export class AppRoutingModule { }

View File

@ -55,7 +55,7 @@ export class ConfigurationComponent implements OnInit, AfterViewInit {
document.getElementById("enableStickyBarScript").remove();
var enableStickyBarScript = document.createElement("script");
enableStickyBarScript.setAttribute("id", "enableStickyBarScript");
enableStickyBarScript.setAttribute("src", "assets/js/enableStickyBar.js");
enableStickyBarScript.innerHTML = "$(\"#child1\").stickySidebar();\n";
document.body.appendChild(enableStickyBarScript);
}

View File

@ -225,18 +225,22 @@ export class SettingsComponent implements OnInit {
return;
}
localStorage.setItem('wordssplitnum', value);
this.settings.wordssplitnum = value;
}
stopwordsCheckBoxChange(value: boolean): void {
localStorage.setItem('stopwords', value ? '1' : '0');
this.settings.stopwords = value ? 1 : 0;
}
punctuationCheckBoxChange(value: boolean): void {
localStorage.setItem('punctuation', value ? '1' : '0');
this.settings.punctuation = value ? 1 : 0;
}
letterCaseChange(lettercase): void {
localStorage.setItem('lettercase', lettercase);
this.settings.lettercase = lettercase;
}
saveProfile(): void {

View File

@ -88,18 +88,18 @@
line-height: 18px;
}
.OPEN {
background: rgba(0, 0, 0, 0) url("/static/openAccess.png") no-repeat scroll right center;
background: rgba(0, 0, 0, 0) url("/assets/openAccess.png") no-repeat scroll right center;
padding-right: 18px;
min-height: 18px;
}
.EMBARGO, .CLOSED, .RESTRICTED {
background: rgba(0, 0, 0, 0) url("/static/closedAccess.png") no-repeat scroll right center;
background: rgba(0, 0, 0, 0) url("/assets/closedAccess.png") no-repeat scroll right center;
padding-right: 18px;
}
.sc39 {
background: rgba(0, 0, 0, 0) url("/static/sc39.png") no-repeat scroll right center;
background: rgba(0, 0, 0, 0) url("/assets/sc39.png") no-repeat scroll right center;
padding-right: 24px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -1 +0,0 @@
$("#child1").stickySidebar();

View File

@ -24,7 +24,7 @@
</div>
<div class="uk-navbar-center">
<a class="uk-logo uk-navbar-item" routerlink="/search/find" routerlinkactive="router-link-active" href="/search/find">
<img alt="OpenAIRE" class="uk-responsive-height" src="/static/OA CONNECT_B.png">
<img alt="OpenAIRE" class="uk-responsive-height" src="/assets/img/OA CONNECT_B.png">
</a>
</div>
<div class="uk-navbar-right">
@ -52,7 +52,7 @@
<div class="uk-first-column">
<div class="uk-panel inner" id="module-119">
<ul class="uk-subnav uk-subnav-line">
<li class="uk-active"><a href="http://dl119.madgik.di.uoa.gr/"><img alt="home" class="uk-responsive-height" src="/static/dl119_files/Home-icon.png"></a></li>
<li class="uk-active"><a href="http://dl119.madgik.di.uoa.gr/"><img alt="home" class="uk-responsive-height" src="/assets/css/dl119_files/Home-icon.png"></a></li>
<li><a href="#">Discover/Share</a></li>
<li><a href="#">Join</a></li>
<li class="custom-connect-li"><a class="router-link-active" href="#">Connect</a></li>
@ -71,11 +71,11 @@
<nav class="uk-navbar" uk-navbar="{&quot;align&quot;:&quot;left&quot;}">
<div class="uk-navbar-left uk-visible@l ">
<a class="uk-logo uk-navbar-item router-link-active" routerlink="/search/find" routerlinkactive="router-link-active" href="/search/find">
<img alt="OpenAIRE" class="uk-responsive-height" src="/static/OA CONNECT_B.png"></a>
<img alt="OpenAIRE" class="uk-responsive-height" src="/assets/img/OA CONNECT_B.png"></a>
</div>
<div class="uk-navbar-left uk-visible@m uk-hidden@l">
<a class="uk-logo uk-navbar-item router-link-active" routerlink="/search/find" routerlinkactive="router-link-active" href="/search/find">
<img alt="OpenAIRE" class="uk-responsive-height" src="/static/OA CONNECT_A.png"></a>
<img alt="OpenAIRE" class="uk-responsive-height" src="/assets/img/OA CONNECT_A.png"></a>
</div>
<div class="uk-navbar-right">
<user-mini>
@ -154,7 +154,7 @@
</div>
</div>
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-left">
<img alt="European Commission" class="el-image" src="/static/dl119_files/ec_logo_inv_small.png">
<img alt="European Commission" class="el-image" src="/assets/css/dl119_files/ec_logo_inv_small.png">
</div>
</div>
<div class="uk-width-expand@m uk-light">
@ -189,10 +189,10 @@
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
<div class="uk-width-1-1@m uk-first-column">
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-center">
<img alt="OpenAIRE" class="el-image" src="/static/dl119_files/Logo_Horizontal_white_small.png">
<img alt="OpenAIRE" class="el-image" src="/assets/css/dl119_files/Logo_Horizontal_white_small.png">
</div>
<div class="footer-license uk-margin uk-margin-remove-bottom uk-text-center uk-text-lead">
<div><a href="http://creativecommons.org/licenses/by/4.0/" rel="license"><img alt="Creative" src="/static/dl119_files/80x15.png" style="height: auto; max-width: 100%; vertical-align: middle;"></a>&nbsp;UNLESS OTHERWISE INDICATED, ALL MATERIALS CREATED BY THE OPENAIRE CONSORTIUM ARE LICENSED UNDER A&nbsp;<a href="http://creativecommons.org/licenses/by/4.0/" rel="license">CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE</a>.</div>
<div><a href="http://creativecommons.org/licenses/by/4.0/" rel="license"><img alt="Creative" src="/assets/css/dl119_files/80x15.png" style="height: auto; max-width: 100%; vertical-align: middle;"></a>&nbsp;UNLESS OTHERWISE INDICATED, ALL MATERIALS CREATED BY THE OPENAIRE CONSORTIUM ARE LICENSED UNDER A&nbsp;<a href="http://creativecommons.org/licenses/by/4.0/" rel="license">CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE</a>.</div>
<div>OPENAIRE IS POWERED BY&nbsp;<a href="http://www.d-net.research-infrastructures.eu/">D-NET</a>.</div>
</div>
<div class="uk-margin uk-margin-remove-top uk-margin-remove-bottom uk-text-right">