Revision 61750
Added by Argiro Kokogiannaki about 3 years ago
modules/dnet-api-http-doc/src/.htaccess | ||
---|---|---|
1 |
|
|
2 |
RewriteEngine On |
|
3 |
# If an existing asset or directory is requested go to it as it is |
|
4 |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] |
|
5 |
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d |
|
6 |
RewriteRule ^ - [L] |
|
7 |
|
|
8 |
# If the requested resource doesn't exist, use index.html |
|
9 |
RewriteRule ^ ./index.html |
|
10 |
|
|
11 |
DirectoryIndex overview.html |
|
12 |
Redirect /overview /overview.html |
|
13 |
Redirect /advanced /advanced.html |
|
14 |
Redirect /authentication /authentication.html |
|
15 |
Redirect /broker /advanced.html |
|
16 |
Redirect /api /api.html |
|
17 |
Redirect /auth_services /auth_services.html |
|
18 |
Redirect /bulk-projects /bulk-projects.html |
|
19 |
Redirect /overview /overview.html |
|
20 |
Redirect /registeredService /registeredService.html |
|
21 |
Redirect /basic /basic.html |
|
22 |
Redirect /changelog /changelog.html |
|
23 |
Redirect /graph-dumps /graph-dumps.html |
|
24 |
Redirect /notFound /notFound.html |
|
25 |
Redirect /personalToken /personalToken.html |
|
26 |
Redirect /response-metadata-format /response-metadata-format.html |
modules/dnet-api-http-doc/src/header.html | ||
---|---|---|
3 | 3 |
<div class="uk-container uk-container-expand"> |
4 | 4 |
<nav class="uk-navbar" uk-navbar="{"align":"left"}"> |
5 | 5 |
<div class="uk-navbar-left"> |
6 |
<a href="overview.html" class="uk-navbar-item uk-logo">
|
|
6 |
<a href="https://graph.openaire.eu/" class="uk-navbar-item uk-logo">
|
|
7 | 7 |
<img src="assets/common-assets/logo-large-graph.png" class="uk-responsive-height" alt="OpenAIRE"> |
8 | 8 |
</a> |
9 | 9 |
</div> |
10 | 10 |
<div class="uk-navbar-right"> |
11 | 11 |
<ul class="uk-navbar-nav"> |
12 | 12 |
<li class="uk-parent menuItem"> |
13 |
<a href="" aria-expanded="false">Home</a> |
|
13 |
<a href="https://graph.openaire.eu/" aria-expanded="false">Home</a>
|
|
14 | 14 |
</li> |
15 | 15 |
<li class="uk-parent menuItem"> |
16 |
<a href="" aria-expanded="false">About</a> |
|
16 |
<a href="https://graph.openaire.eu/about" aria-expanded="false">About</a>
|
|
17 | 17 |
<div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="left: 116px; top: 80px;"> |
18 | 18 |
<div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid=""> |
19 | 19 |
<div class="uk-first-column"> |
20 | 20 |
<ul class="uk-nav uk-navbar-dropdown-nav"> |
21 |
<li><a routerLinkActive="uk-link" href="">Overview</a></li> |
|
22 |
<li><a routerLinkActive="uk-link" href="">Architecture</a></li> |
|
23 |
<li><a routerLinkActive="uk-link" href="">Data and Metrics</a></li> |
|
24 |
<li><a routerLinkActive="uk-link" href="">Infrastructure</a></li> |
|
25 |
<li><a routerLinkActive="uk-link" href="">Team</a></li> |
|
21 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about">Overview</a></li>
|
|
22 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#architecture">Architecture</a></li>
|
|
23 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#metrics">Data and Metrics</a></li>
|
|
24 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#infrastructure">Infrastructure</a></li>
|
|
25 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#team">Team</a></li>
|
|
26 | 26 |
</ul> |
27 | 27 |
</div> |
28 | 28 |
</div> |
29 | 29 |
</div> |
30 | 30 |
</li> |
31 | 31 |
<li class="uk-parent menuItem uk-active"> |
32 |
<a href="" aria-expanded="false">API & Resources</a> |
|
32 |
<a href="overview.html" aria-expanded="false">API & Resources</a>
|
|
33 | 33 |
<div class="uk-navbar-dropdown uk-navbar-dropdown-bottom-left" style="left: 116px; top: 80px;"> |
34 | 34 |
<div class="uk-navbar-dropdown-grid uk-child-width-1-1 uk-grid uk-grid-stack" uk-grid=""> |
35 | 35 |
<div class="uk-first-column"> |
... | ... | |
39 | 39 |
<li class="submenuItem"><a routerLinkActive="uk-link" href="graph-dumps.html">Bulk Access</a></li> |
40 | 40 |
<li class="submenuItem"><a routerLinkActive="uk-link" href="api.html">Selective Access</a></li> |
41 | 41 |
<li class="submenuItem"><a routerLinkActive="uk-link" href="response-metadata-format.html">Response Metadata Format</a></li> |
42 |
<li class="submenuItem"><a routerLinkActive="uk-link" href="">References</a></li> |
|
42 |
<li class="submenuItem"><a routerLinkActive="uk-link" href="https://graph.openaire.eu/resources/references">References</a></li>
|
|
43 | 43 |
</ul> |
44 | 44 |
</div> |
45 | 45 |
</div> |
46 | 46 |
</div> |
47 | 47 |
</li> |
48 | 48 |
<li class="uk-parent menuItem"> |
49 |
<a href="" aria-expanded="false">Support</a> |
|
49 |
<a href="https://graph.openaire.eu/support" aria-expanded="false">Support</a>
|
|
50 | 50 |
</li> |
51 | 51 |
</ul> |
52 | 52 |
</div> |
... | ... | |
58 | 58 |
const submenuItems = document.querySelectorAll(".submenuItem"); |
59 | 59 |
if (window.location.pathname.includes("overview")) { |
60 | 60 |
submenuItems[0].classList.add('uk-active'); |
61 |
} else if (window.location.pathname.includes("authentication")) { |
|
61 |
} else if (window.location.pathname.includes("authentication") || window.location.pathname.includes("personalToken") || window.location.pathname.includes("registeredService") || window.location.pathname.includes("basic") || window.location.pathname.includes("advanced")) {
|
|
62 | 62 |
submenuItems[1].classList.add('uk-active'); |
63 |
} else if (window.location.pathname.includes("graph-dumps")) { |
|
63 |
} else if (window.location.pathname.includes("graph-dumps") || window.location.pathname.includes("bulk-projects") || window.location.pathname.includes("graph-dumps-old")) {
|
|
64 | 64 |
submenuItems[2].classList.add('uk-active'); |
65 |
} else if (window.location.pathname.includes("api")) { |
|
65 |
} else if (window.location.pathname.includes("api.html")) {
|
|
66 | 66 |
submenuItems[3].classList.add('uk-active'); |
67 |
} else if (window.location.pathname.icnludes("response")) {
|
|
67 |
} else if (window.location.pathname.includes("response-metadata-format")) {
|
|
68 | 68 |
submenuItems[4].classList.add('uk-active'); |
69 | 69 |
} |
70 |
</script> |
|
70 |
</script> |
modules/dnet-api-http-doc/src/headerMobile.html | ||
---|---|---|
1 |
<div animation="uk-animation-slide-top" class="uk-navbar-container uk-sticky uk-navbar-transparent" cls-active="uk-active uk-navbar-sticky" cls-inactive="uk-navbar-transparent" uk-sticky=""> |
|
2 |
<nav class="uk-navbar-container uk-navbar" uk-navbar=""> |
|
3 |
<div class="uk-navbar-left"> |
|
4 |
<a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle=""> |
|
5 |
<div uk-navbar-toggle-icon="" class="uk-navbar-toggle-icon uk-icon"></div> |
|
6 |
</a> |
|
7 |
</div> |
|
8 |
<div class="uk-navbar-center"> |
|
9 |
<a class="uk-navbar-item uk-logo" href="https://graph.openaire.eu/"> |
|
10 |
<img src="assets/common-assets/logo-small-graph.png" class="uk-responsive-height" alt="OpenAIRE"> |
|
11 |
</a> |
|
12 |
</div> |
|
13 |
</nav> |
|
14 |
<div id="tm-mobile" uk-offcanvas="" mode="slide" overlay="" class="uk-offcanvas"> |
|
15 |
<div class="uk-offcanvas-bar"> |
|
16 |
<button class="uk-offcanvas-close uk-close uk-icon" type="button" uk-close=""></button> |
|
17 |
<div class="uk-child-width-1-1 uk-grid" uk-grid=""> |
|
18 |
<div> |
|
19 |
<div class="uk-panel" id="module-0"> |
|
20 |
<ul class="uk-nav uk-nav-default"> |
|
21 |
<li class="uk-nav-header uk-parent uk-active"> |
|
22 |
<a href="https://graph.openaire.eu/"> Home </a> |
|
23 |
</li> |
|
24 |
<li class="uk-nav-header uk-parent uk-active"> |
|
25 |
<a href="https://graph.openaire.eu/about">About</a> |
|
26 |
<ul class="uk-nav-sub"> |
|
27 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about" >Overview</a></li> |
|
28 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#architecture" >Architecture</a></li> |
|
29 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#metrics">Data and Metrics</a></li> |
|
30 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#infrastructure">Infrastructure</a></li> |
|
31 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/about#team">Team</a></li> |
|
32 |
</ul> |
|
33 |
</li> |
|
34 |
<li class="uk-nav-header uk-parent uk-active"> |
|
35 |
<a href="overview.html">API & Resources</a> |
|
36 |
<ul class="uk-nav-sub"> |
|
37 |
<li><a routerLinkActive="uk-link" href="overview.html" >Overview</a></li> |
|
38 |
<li><a routerLinkActive="uk-link" href="authentication.html" >Authentication</a></li> |
|
39 |
<!-- <ul class="uk-nav-sub sub-sub-menu"> |
|
40 |
<li><a routerLinkActive="uk-link" href="personalToken.html" >Personal Token</a></li> |
|
41 |
<li><a routerLinkActive="uk-link" href="registeredService.html" >Registered Services</a></li> |
|
42 |
</ul> --> |
|
43 |
<li><a routerLinkActive="uk-link" href="graph-dumps.html" >Bulk Access</a></li> |
|
44 |
<!-- <ul class="uk-nav-sub"> |
|
45 |
<li><a routerLinkActive="uk-link" href="graph-dumps.html" >OpenAIRE Research Graph Dumps</a></li> |
|
46 |
<li><a routerLinkActive="uk-link" href="bulk-projects.html" >Bulk access to projects</a></li> |
|
47 |
</ul> --> |
|
48 |
<li><a routerLinkActive="uk-link" href="api.html" >Selective Access</a></li> |
|
49 |
<li><a routerLinkActive="uk-link" href="response-metadata-format.html" >Response Metadata Format</a></li> |
|
50 |
<li><a routerLinkActive="uk-link" href="https://graph.openaire.eu/resources/references" >References</a></li> |
|
51 |
</ul> |
|
52 |
</li> |
|
53 |
<li class="uk-nav-header uk-parent uk-active"> |
|
54 |
<a href="https://graph.openaire.eu/support">Support</a> |
|
55 |
</li> |
|
56 |
</ul> |
|
57 |
</div> |
|
58 |
</div> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
</div> |
|
62 |
</div> |
|
63 |
<!--Mobile ENDS here --> |
Also available in: Unified diff
PRIVATE add .htaccess, update menu links with graph.oepnaire.eu, add missing mobileheader