diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-07-10 15:20:13 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-10 18:02:29 +0200 |
commit | 43957996a2c530d7c22e00d841af9ad349cbf70a (patch) | |
tree | 4c8a267fec26eff8cca2cf7e66371e368b55deea /plugins/javadoc/src/main/resources/views/components | |
parent | 205c451cdbe238bb8c5841418ab1a7d68410e117 (diff) | |
download | dokka-43957996a2c530d7c22e00d841af9ad349cbf70a.tar.gz dokka-43957996a2c530d7c22e00d841af9ad349cbf70a.tar.bz2 dokka-43957996a2c530d7c22e00d841af9ad349cbf70a.zip |
Fix rendering of classlikes on packages page
Diffstat (limited to 'plugins/javadoc/src/main/resources/views/components')
-rw-r--r-- | plugins/javadoc/src/main/resources/views/components/indexPage.korte | 20 | ||||
-rw-r--r-- | plugins/javadoc/src/main/resources/views/components/indexTable.korte | 6 |
2 files changed, 22 insertions, 4 deletions
diff --git a/plugins/javadoc/src/main/resources/views/components/indexPage.korte b/plugins/javadoc/src/main/resources/views/components/indexPage.korte index 02b94b75..d22b89ea 100644 --- a/plugins/javadoc/src/main/resources/views/components/indexPage.korte +++ b/plugins/javadoc/src/main/resources/views/components/indexPage.korte @@ -9,8 +9,22 @@ <p>See: <a href="#overview_description">Description</a></p> </div> <div class="contentContainer"> - <div class="overviewSummary"> - {% include "components/indexTable.korte" %} - </div> + {% 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 index 9ee387e1..e1b507b9 100644 --- a/plugins/javadoc/src/main/resources/views/components/indexTable.korte +++ b/plugins/javadoc/src/main/resources/views/components/indexTable.korte @@ -1,4 +1,8 @@ -<table> +{% if isTypeSummary %} + <table class="typeSummary"> +{% else %} + <table> +{% endif %} <caption><span>{{ tabTitle }}</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">{{ colTitle }}</th> |