File: toggle_button.twig

package info (click to toggle)
phpmyadmin 4%3A5.0.4%2Bdfsg2-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104,412 kB
  • sloc: php: 152,799; javascript: 136,970; sql: 504; sh: 263; python: 200; makefile: 196; xml: 167
file content (24 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class='wrapper toggleAjax hide'>
    <div class='toggleButton'>
        <div title="{% trans 'Click to toggle' %}" class='container {{ state }}'>
            <img src="{{ pma_theme_image }}toggle-{{ text_dir }}.png">
            <table class='nospacing nopadding'>
                <tbody>
                    <tr>
                        <td class='toggleOn'>
                            <span class='hide'>{{ link_on|raw }}</span>
                            <div>{{ toggle_on }}</div>
                        </td>
                        <td><div>&nbsp;</div></td>
                        <td class='toggleOff'>
                            <span class='hide'>{{ link_off|raw }}</span>
                            <div>{{ toggle_off }}</div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <span class='hide callback'>{{ callback }}</span>
            <span class='hide text_direction'>{{ text_dir }}</span>
        </div>
    </div>
</div>