commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / ctools / ctools_ajax_sample / js / ctools-ajax-sample.js
1 /**
2 * Provide the HTML to create the modal dialog.
3 */
4 Drupal.theme.prototype.CToolsSampleModal = function () {
5 var html = '';
6
7 html += '<div id="ctools-modal" class="popups-box">';
8 html += ' <div class="ctools-modal-content ctools-sample-modal-content">';
9 html += ' <table cellpadding="0" cellspacing="0" id="ctools-face-table">';
10 html += ' <tr>';
11 html += ' <td class="popups-tl popups-border"></td>';
12 html += ' <td class="popups-t popups-border"></td>';
13 html += ' <td class="popups-tr popups-border"></td>';
14 html += ' </tr>';
15 html += ' <tr>';
16 html += ' <td class="popups-cl popups-border"></td>';
17 html += ' <td class="popups-c" valign="top">';
18 html += ' <div class="popups-container">';
19 html += ' <div class="modal-header popups-title">';
20 html += ' <span id="modal-title" class="modal-title"></span>';
21 html += ' <span class="popups-close"><a class="close" href="#">' + Drupal.CTools.Modal.currentSettings.closeText + '</a></span>';
22 html += ' <div class="clear-block"></div>';
23 html += ' </div>';
24 html += ' <div class="modal-scroll"><div id="modal-content" class="modal-content popups-body"></div></div>';
25 html += ' <div class="popups-buttons"></div>'; //Maybe someday add the option for some specific buttons.
26 html += ' <div class="popups-footer"></div>'; //Maybe someday add some footer.
27 html += ' </div>';
28 html += ' </td>';
29 html += ' <td class="popups-cr popups-border"></td>';
30 html += ' </tr>';
31 html += ' <tr>';
32 html += ' <td class="popups-bl popups-border"></td>';
33 html += ' <td class="popups-b popups-border"></td>';
34 html += ' <td class="popups-br popups-border"></td>';
35 html += ' </tr>';
36 html += ' </table>';
37 html += ' </div>';
38 html += '</div>';
39
40 return html;
41
42 }