4 <script type="text/template" id="designer_template">
5 <div class="crm-designer-toolbar full-height">
6 <div class="crm-designer-buttonset-region">
9 <div class="crm-designer-palette-region full-height">
12 <div class="crm-designer-canvas full-height scroll">
13 <div class="crm-designer-preview-canvas"></div>
14 <div class="crm-designer-form-region">
17 <div class="crm-designer-fields-region">
23 * Render the field-palette container
25 <script type="text/template" id="palette_template">
26 <div class="crm-designer-palette">
27 <div class="crm-designer-palette-search">
28 <input type="text" placeholder="{ts}Search Fields{/ts}" />
29 <a class="crm-designer-palette-clear-search" href="#" title="{ts}Clear search{/ts}"><img src="{$config->resourceBase}i/close.png" class="action-icon" alt="X" /></a>
30 <div class="crm-designer-palette-controls">
31 <a href="#" class="crm-designer-palette-toggle" rel="open_all">{ts}Open All{/ts}</a> |
32 <a href="#" class="crm-designer-palette-toggle" rel="close_all">{ts}Close All{/ts}</a>
36 <div class="crm-designer-palette-tree scroll">
42 * Template for CRM.UF.UFFieldModel, CRM.Designer.UFFieldView
43 * @see extendedSerializeData()
45 <script type="text/template" id="field_row_template">
46 <div class="crm-designer-row" data-field-cid="<%= _model.cid %>">
47 <div class="crm-designer-field-summary"></div>
48 <div class="crm-designer-field-detail"></div>
53 * Template for CRM.UF.UFFieldModel, CRM.Designer.UFFieldSummaryView
54 * @see extendedSerializeData()
56 <script type="text/template" id="field_summary_template">
57 <span class="crm-designer-buttons">
58 <a class="ui-icon ui-icon-pencil crm-designer-action-settings" title="{ts}Settings{/ts}"></a>
59 <a class="ui-icon ui-icon-trash crm-designer-action-remove" title="{ts}Remove{/ts}"></a>
61 <div class="description"><%= help_pre %></div>
62 <div class="crm-designer-row-label">
63 <span class="crm-designer-label"><%= label %></span>
64 <%= _view.getRequiredMarker() %>
65 <span class="crm-designer-field-binding"><%= _view.getBindingLabel() %></span>
67 <div class="description"><%= help_post %></div>
71 * @param CRM.UF.UFGroupModel form
73 <script type="text/template" id="form_row_template">
74 <div class="crm-designer-row">
75 <div class="crm-designer-form-summary"></div>
76 <div class="crm-designer-form-detail"></div>
81 * Variables correspond to properties of CRM.UF.UFGroupModel
83 <script type="text/template" id="form_summary_template">
85 <div class="crm-designer-buttons">
86 <a class="crm-designer-action-settings ui-icon ui-icon-pencil" title="{ts}Settings{/ts}"></a>
90 <script type="text/template" id="designer_buttons_template">
91 <button class="crm-designer-save">{ts}Save{/ts}</button>
92 <button class="crm-designer-preview">{ts}Preview{/ts}</button>
95 <script type="text/template" id="field_canvas_view_template">
96 <div class="crm-designer-fields">
97 <div class="crm-designer-row placeholder">{ts}To add a field to this form, drag or double-click an item from the list to the right.{/ts}</div>
102 * Variables correspond to properties of CRM.ProfileSelector.DummyModel
104 <script type="text/template" id="profile_selector_template">
106 <span class="crm-profile-selector-select"></span>
107 <button class="crm-profile-selector-edit">Edit</button>
108 <button class="crm-profile-selector-copy">Copy</button>
109 <button class="crm-profile-selector-create">Create</button>
112 <div class="crm-profile-selector-preview-pane">
113 {ts}(Preview Area){/ts}
118 <script type="text/template" id="profile_selector_empty_preview_template">
119 {ts}(Preview Area){/ts}
122 <script type="text/template" id="profile_selector_option_template">
126 <script type="text/template" id="profile_selector_option_template">
131 * Variables correspond to properties of CRM.ProfileSelector.DummyModel
133 <script type="text/template" id="designer_dialog_template">
134 <div class="crm-designer crm-container full-height">