diff options
Diffstat (limited to 'dokka-subprojects/plugin-javadoc/src/main/resources/views/components')
8 files changed, 200 insertions, 0 deletions
diff --git a/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/base.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/base.korte new file mode 100644 index 00000000..6e2f6c4c --- /dev/null +++ b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/base.korte @@ -0,0 +1,19 @@ +<!DOCTYPE HTML> +<!-- NewPage --> +<html lang="en"> +{%- include "components/head.korte" -%} +<body> +<script type="text/javascript"> +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/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/bottomNavbar.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/bottomNavbar.korte new file mode 100644 index 00000000..a9d83e5c --- /dev/null +++ b/dokka-subprojects/plugin-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> + {% set type="bottom" %}{% include "components/subNav.korte" -%} + <!-- ======== END OF BOTTOM NAVBAR ======= --> + </nav> +</footer>
\ No newline at end of file diff --git a/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/head.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/head.korte new file mode 100644 index 00000000..8f4aa12d --- /dev/null +++ b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/head.korte @@ -0,0 +1,18 @@ +<head> + <title>{{ title }} {% if version != null %}{{ version }} API {% endif %}</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 }}dokka-javadoc-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-{{ jQueryVersion() }}.min.js"></script> + <script type="text/javascript" src="{{ pathToRoot }}jquery/jquery-migrate-{{ jQueryMigrateVersion() }}.min.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> diff --git a/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/indexPage.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/indexPage.korte new file mode 100644 index 00000000..84679fad --- /dev/null +++ b/dokka-subprojects/plugin-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 }} {% if version != null %}{{ version }} API {% endif %}</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/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/indexTable.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/indexTable.korte new file mode 100644 index 00000000..21c94b7c --- /dev/null +++ b/dokka-subprojects/plugin-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/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/navList.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/navList.korte new file mode 100644 index 00000000..dbfe7eb3 --- /dev/null +++ b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/navList.korte @@ -0,0 +1,27 @@ +<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> + {% elseif kind == "main" %} + <li>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.html">Deprecated</a></li> + <li><a href="{{ pathToRoot }}index-files/index-1.html">Index</a></li> + <li>Help</li> +</ul>
\ No newline at end of file diff --git a/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/subNav.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/subNav.korte new file mode 100644 index 00000000..7869d747 --- /dev/null +++ b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/subNav.korte @@ -0,0 +1,44 @@ +<div class="subNav"> +{% if kind == "indexPage" %} + <ul class="navList"> + {%- if prevLetter != "" %} + <li><a href="{{ prevLetter }}.html">PREV LETTER</a></li> + {% else %} + <li>PREV LETTER</li> + {% endif -%} + {%- if nextLetter != "" %} + <li><a href="{{ nextLetter }}.html">NEXT LETTER</a></li> + {% else %} + <li>NEXT LETTER</li> + {% endif -%} + </ul> +{% end -%} +<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/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/topNavbar.korte b/dokka-subprojects/plugin-javadoc/src/main/resources/views/components/topNavbar.korte new file mode 100644 index 00000000..59b84558 --- /dev/null +++ b/dokka-subprojects/plugin-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 |