diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-07-17 16:36:09 +0200 |
---|---|---|
committer | Paweł Marks <pmarks@virtuslab.com> | 2020-07-17 16:36:09 +0200 |
commit | 6996b1135f61c7d2cb60b0652c6a2691dda31990 (patch) | |
tree | d568096c25e31c28d14d518a63458b5a7526b896 /plugins/javadoc/src/main/resources/views/components | |
parent | de56cab76f556e5b4af0b8c8cb08d8b482b86d0a (diff) | |
parent | 1c3530dcbb50c347f80bef694829dbefe89eca77 (diff) | |
download | dokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.tar.gz dokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.tar.bz2 dokka-6996b1135f61c7d2cb60b0652c6a2691dda31990.zip |
Merge branch 'dev-0.11.0'
Diffstat (limited to 'plugins/javadoc/src/main/resources/views/components')
9 files changed, 227 insertions, 0 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/base.korte b/plugins/javadoc/src/main/resources/views/components/base.korte new file mode 100644 index 00000000..786f007c --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/base.korte @@ -0,0 +1,26 @@ +<!DOCTYPE HTML> +<!-- NewPage --> +<html lang="en"> +{%- include "components/head.korte" -%} +<body> +<script type="text/javascript"><!-- +try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title = "adaptation (terrain-generator 0.0.1 API)"; + } +} catch (err) { +} +//--> +var pathtoroot = "{{ pathToRoot }}"; +</script> +<noscript> + <div>JavaScript is disabled on your browser.</div> +</noscript> +{%- include "components/topNavbar.korte" -%} +{%- block content %} {% endblock -%} +{%- include "components/bottomNavbar.korte" -%} +<ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0" + style="display: none;"></ul> +<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span> +</body> +</html>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte new file mode 100644 index 00000000..789e3c54 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/bottomNavbar.korte @@ -0,0 +1,20 @@ +<footer role="contentinfo"> + <nav role="navigation"> + <!-- ======= START OF BOTTOM NAVBAR ====== --> + <div class="bottomNav"><a id="navbar.bottom"> + <!-- --> + </a> + <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a> + </div> + <a id="navbar.bottom.firstrow"> + <!-- --> + </a> + {% include "components/navList.korte" -%} + </div> + <a id="skip.navbar.bottom"> + <!-- --> + </a></div> + {% set type="bottom" %}{% include "components/subNav.korte" -%} + <!-- ======== END OF BOTTOM NAVBAR ======= --> + </nav> +</footer>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/head.korte b/plugins/javadoc/src/main/resources/views/components/head.korte new file mode 100644 index 00000000..a3c74f12 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/head.korte @@ -0,0 +1,17 @@ +<head> + <title>{{ title }} ({{ docName }} {{ version }})</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="dc.created" content="2020-03-25"> + <link rel="stylesheet" type="text/css" href="{{ pathToRoot }}stylesheet.css" title="Style"> + <link rel="stylesheet" type="text/css" href="{{ pathToRoot }}jquery/jquery-ui.css" title="Style"> + <script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-3.3.1.js"></script> + <script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-migrate-3.0.1.js"></script> + <script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-ui.js"></script> + + <script type="text/javascript" src="{{ pathToRoot }}search.js"></script> + <script async type="text/javascript" src="{{ pathToRoot }}module-search-index.js"></script> + <script async type="text/javascript" src="{{ pathToRoot }}package-search-index.js"></script> + <script async type="text/javascript" src="{{ pathToRoot }}type-search-index.js"></script> + <script async type="text/javascript" src="{{ pathToRoot }}member-search-index.js"></script> + <script async type="text/javascript" src="{{ pathToRoot }}tag-search-index.js"></script> +</head>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/indexPage.korte b/plugins/javadoc/src/main/resources/views/components/indexPage.korte new file mode 100644 index 00000000..d22b89ea --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/indexPage.korte @@ -0,0 +1,30 @@ +<main role="main"> + <div class="header"> + <h1 {{ h1Title(kind)|raw }}class="title">{{ title }} {{ version }} API</h1> + </div> + <div class="header"> + <div class="subtitle"> + <div class="block">{{ subtitle|raw }}</div> + </div> + <p>See: <a href="#overview_description">Description</a></p> + </div> + <div class="contentContainer"> + {% if lists %} + <ul class="blockList"> + {% for item in lists%} + <li class="blockList"> + {% set list = item.list %} + {% set colTitle = item.colTitle %} + {% set tabTitle = item.tabTitle %} + {% set isTypeSummary = "true" %} + {% include "components/indexTable.korte" %} + </li> + {% endfor %} + </ul> + {% else %} + <div class="overviewSummary"> + {% include "components/indexTable.korte" %} + </div> + {% endif %} + </div> +</main>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/indexTable.korte b/plugins/javadoc/src/main/resources/views/components/indexTable.korte new file mode 100644 index 00000000..21c94b7c --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/indexTable.korte @@ -0,0 +1,18 @@ +{% if isTypeSummary %} + <div class="typeSummary"> +{% endif %} +<table> +<caption><span>{{ tabTitle }}</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">{{ colTitle }}</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +{% for item in list %} + <tr class="{{ rowColor(loop.index0) }}">{{ createTabRow(item, contextRoot)|raw }}</tr> +{% end -%} +</tbody> +</table> +{% if isTypeSummary %} + </div> +{% endif %}
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/navList.korte b/plugins/javadoc/src/main/resources/views/components/navList.korte new file mode 100644 index 00000000..1bee80be --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/navList.korte @@ -0,0 +1,25 @@ +<ul class="navList" title="Navigation"> + {%- if kind == "main" %} + <li class="navBarCell1Rev">Overview</li> + {% else %} + <li><a href="{{ pathToRoot }}index.html">Overview</a></li> + {% endif -%} + {%- if kind == "package" %} + <li class="navBarCell1Rev">Package</li> + {% else %} + <li><a href="package-summary.html">Package</a></li> + {% endif -%} + {%- if kind == "class" %} + <li class="navBarCell1Rev">Class</li> + {% else %} + <li>Class</li> + {% endif -%} + {%- if kind == "main" %} + <li><a href="overview-tree.html">Tree</a></li> + {% else %} + <li><a href="package-tree.html">Tree</a></li> + {% end %} + <li><a href="{{ pathToRoot }}deprecated-list.html">Deprecated</a></li> + <li><a href="{{ pathToRoot }}index-all.html">Index</a></li> + <li><a href="{{ pathToRoot }}help-doc.html">Help</a></li> +</ul>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/pageStart.korte b/plugins/javadoc/src/main/resources/views/components/pageStart.korte new file mode 100644 index 00000000..56cf243e --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/pageStart.korte @@ -0,0 +1,37 @@ +<!DOCTYPE HTML> +<!-- NewPage --> +<html lang="en"> +<head> +<title>$documentTitle ({{ title }} {{ version }} API)</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<meta name="dc.created" content="{{ curDate() }}"> +<link rel="stylesheet" type="text/css" href="{{ pathToRoot }}stylesheet.css" title="Style"> +<link rel="stylesheet" type="text/css" href="{{ pathToRoot }}jquery/jquery-ui.css" title="Style"> +<script type="text/javascript" src="{{ pathToRoot }}script.js"></script> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip/dist/jszip.min.js"></script> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip-utils/dist/jszip-utils.min.js"></script> +<!--[if IE]> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> +<![endif]--> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-{{ jQueryVersion() }}.js"></script> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-migrate-{{ jQueryMigrateVersion() }}.js"></script> +<script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-ui.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="{{ documentTitle }} ({{ title }} {{ version }} API)"; + } + } + catch(err) { + } +//--> +var pathtoroot = "{{ pathToRoot }}"; +loadScripts(document, 'script');</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<header role="banner"> +<nav role="navigation"> +<div class="fixedNav">
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/subNav.korte b/plugins/javadoc/src/main/resources/views/components/subNav.korte new file mode 100644 index 00000000..aa0905cf --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/subNav.korte @@ -0,0 +1,30 @@ +<div class="subNav"> +<ul class="navList" id="allclasses_navbar_top" style="display: block;"> +<li><a href="{{ pathToRoot }}allclasses.html">All Classes</a></li> +</ul> +{% if type != "bottom" %} +<ul class="navListSearch"> +<li><label for="search">SEARCH:</label> +<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search"> +<input type="reset" id="reset" value="reset"> +</li> +</ul> +{% end -%} +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +</div> +<a id="skip.navbar.top"> +<!-- --> +</a></div>
\ No newline at end of file diff --git a/plugins/javadoc/src/main/resources/views/components/topNavbar.korte b/plugins/javadoc/src/main/resources/views/components/topNavbar.korte new file mode 100644 index 00000000..59b84558 --- /dev/null +++ b/plugins/javadoc/src/main/resources/views/components/topNavbar.korte @@ -0,0 +1,24 @@ +<header role="banner"> + <nav role="navigation"> + <div class="fixedNav"> + <!-- ========= START OF TOP NAVBAR ======= --> + <div class="topNav"><a id="navbar.top"> + <!-- --> + </a> + <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a> + </div> + <a id="navbar.top.firstrow"> + <!-- --> + </a> + {% include "components/navList.korte" -%} + </div> + {% include "components/subNav.korte" -%} + <!-- ========= END OF TOP NAVBAR ========= --> + </div> + <div class="navPadding"> </div> + <script type="text/javascript"><!-- + $('.navPadding').css('padding-top', $('.fixedNav').css("height")); + //--> + </script> + </nav> +</header>
\ No newline at end of file |