more and meaningful tooltips

This commit is contained in:
Torsten Ruger
2015-08-10 22:29:49 +03:00
parent 8ed2a03ea9
commit 7b82ff31dd
5 changed files with 61 additions and 11 deletions

View File

@ -5,8 +5,13 @@
<div class="classes">
<h4> Classes </h4>
{{page._classes.each do |clas| }}
<div class="one-class">
<div class="one-class tooltip">
{{ clas._name }}
<span>
{{clas._name}}<br/>
-------------- <br/>
{{variables(clas).join("\n") }}
</span>
</div>
{{end}}
</div>

View File

@ -20,16 +20,13 @@
<div class="field tooltip">
{{index}}{{marker(attribute)}}
<span>
{{attribute.class}}
{{variables(attribute).join("\n")}}
</span>
</div>
<div class="value tooltip">
{{attribute.object_id}}
<span>
long text with initlong text with initlong <br/>
text with initlong text with initlong
<h3>text with initlong </h3>
text with initlong text with init
{{content(attribute.object_id).join("\n")}}
</span>
</div>
</div>