add show list methods

This commit is contained in:
Aleksey Chichenkov 2018-09-19 17:14:17 +03:00
parent 4f9a2237a1
commit 27369c00b3
5 changed files with 320 additions and 681 deletions

View file

@ -14,15 +14,22 @@
font-weight: normal;
font-family: 'Open Sans', sans-serif !important;
}
.min-methods .list .compact-method .access{}
.min-methods .list .compact-method .access{
padding-right: 10px;
}
.min-methods .list .compact-method .name{
color: #0137ff;
font-size: 24px;
font-weight: normal;
display: inline-block;
min-width: 70px;
}
.min-methods .list .compact-method .params {
}
.min-methods .list .compact-method .param {
font-weight: normal;
}
@ -34,12 +41,14 @@
.min-methods .list .compact-method .param .type .left-quad-bracket{}
.min-methods .list .compact-method .param .type .name{
color: #3d7700;
font-size: 20px;
font-size: 19px;
min-width: initial;
}
.min-methods .list .compact-method .param .type .right-quad-bracket{}
.min-methods .list .compact-method .param .name{
color: #383838;
font-size: 20px;
min-width: initial;
}
.min-methods .list .compact-method .returns{}
@ -50,4 +59,5 @@
color: #5aa30e;
font-size: 20px;
font-weight: normal;
min-width: initial;
}

View file

@ -23,7 +23,7 @@ var self = this;
<span class="param">
<span class="type">
<span class="left-quad-bracket">[ </span>
<span class="name"><?js= type ?></span>
<span class="name"><?js= this.linkto(type, type) ?></span>
<span class="right-quad-bracket"> ]</span>
</span>
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
@ -43,7 +43,7 @@ var self = this;
<span class="returns">
<span class="arrow"> → </span>
<span class="left-figure-bracket">{</span>
<span class="name"><?js= rets ?></span>
<span class="name"><?js= this.linkto(rets, rets) ?></span>
<span class="right-figure-bracket">}</span>
</span>
<?js } ?>