Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<div class="calendar-container no-window-scroll">
|
||||
{{{calendar}}}
|
||||
</div>
|
||||
32
client/modules/crm/res/templates/calendar/calendar.tpl
Normal file
32
client/modules/crm/res/templates/calendar/calendar.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
{{#if header}}
|
||||
<div class="row button-container">
|
||||
<div class="col-sm-4 col-xs-5">
|
||||
<div class="btn-group range-switch-group">
|
||||
<button class="btn btn-text btn-icon" data-action="prev"><span class="fas fa-chevron-left"></span></button>
|
||||
<button class="btn btn-text btn-icon" data-action="next"><span class="fas fa-chevron-right"></span></button>
|
||||
</div>
|
||||
<div class="btn-group range-switch-group">
|
||||
<button class="btn btn-text strong" data-action="today" title="{{todayLabel}}">
|
||||
<span class="hidden-sm hidden-xs">{{todayLabel}}</span><span class="visible-sm visible-xs">{{todayLabelShort}}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button
|
||||
class="btn btn-text{{#unless isCustomView}} hidden{{/unless}} btn-icon"
|
||||
data-action="editCustomView"
|
||||
title="{{translate 'Edit'}}"
|
||||
><span class="fas fa-pencil-alt fa-sm"></span></button>
|
||||
</div>
|
||||
|
||||
<div class="date-title col-sm-4 col-xs-7">
|
||||
<h4><span style="cursor: pointer;" data-action="refresh" title="{{translate 'Refresh'}}"></span></h4></div>
|
||||
|
||||
<div class="col-sm-4 col-xs-12">
|
||||
<div class="btn-group pull-right mode-buttons">
|
||||
{{{modeButtons}}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="calendar"></div>
|
||||
20
client/modules/crm/res/templates/calendar/modals/edit.tpl
Normal file
20
client/modules/crm/res/templates/calendar/modals/edit.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
{{#if isNew}}
|
||||
<div class="scope-switcher radio-container">
|
||||
{{#each scopeList}}
|
||||
<div>
|
||||
<label class="radio-label">
|
||||
<input
|
||||
type="radio"
|
||||
name="scope"
|
||||
class="form-radio"
|
||||
{{#ifEqual this ../scope}} checked{{/ifEqual}}
|
||||
value="{{./this}}"
|
||||
>
|
||||
{{translate this category='scopeNames'}}
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="edit-container record no-side-margin">{{{edit}}}</div>
|
||||
53
client/modules/crm/res/templates/calendar/mode-buttons.tpl
Normal file
53
client/modules/crm/res/templates/calendar/mode-buttons.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
{{#each visibleModeDataList}}
|
||||
<button class="btn btn-text strong{{#ifEqual mode ../mode}} active{{/ifEqual}}" data-action="mode" data-mode="{{mode}}" title="{{label}}"><span class="hidden-md hidden-sm hidden-xs">{{label}}</span><span class="visible-md visible-sm visible-xs">{{labelShort}}</span></button>
|
||||
{{/each}}
|
||||
<div class="btn-group" role="group">
|
||||
<button type="button" class="btn btn-text dropdown-toggle" data-toggle="dropdown"><span class="fas fa-ellipsis-h"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
{{#each hiddenModeDataList}}
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class="{{#ifEqual mode ../mode}} active{{/ifEqual}}"
|
||||
data-action="mode"
|
||||
data-mode="{{mode}}"
|
||||
>{{label}}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#if hiddenModeDataList.length}}
|
||||
<li class="divider"></li>
|
||||
{{/if}}
|
||||
{{#each scopeFilterDataList}}
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="toggleScopeFilter"
|
||||
data-name="{{scope}}"
|
||||
>
|
||||
<span class="fas fa-check filter-check-icon check-icon pull-right{{#if disabled}} hidden{{/if}}"></span>
|
||||
<div>{{translate scope category='scopeNamesPlural'}}</div>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#if hasMoreItems}}
|
||||
<li class="divider"></li>
|
||||
{{/if}}
|
||||
{{#if isCustomViewAvailable}}
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="createCustomView"
|
||||
>{{translate 'Create Shared View' scope='Calendar'}}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if hasWorkingTimeCalendarLink}}
|
||||
<li>
|
||||
<a href="#WorkingTimeCalendar">{{translate 'WorkingTimeCalendar' category='scopeNamesPlural'}}</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
55
client/modules/crm/res/templates/calendar/timeline.tpl
Normal file
55
client/modules/crm/res/templates/calendar/timeline.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
<link href="{{basePath}}client/modules/crm/css/vis.css" rel="stylesheet">
|
||||
|
||||
{{#if header}}
|
||||
<div class="row button-container">
|
||||
<div class="col-sm-4 col-xs-12">
|
||||
<div class="btn-group">
|
||||
<button
|
||||
class="btn btn-text btn-icon"
|
||||
title="{{translate 'Refresh'}}"
|
||||
data-action="refresh"
|
||||
><span class="fas fa-sync-alt"></span></button>
|
||||
<button
|
||||
class="btn btn-text"
|
||||
data-action="today"
|
||||
>{{translate 'Today' scope='Calendar'}}</button>
|
||||
</div>{{#if calendarTypeSelectEnabled}}<div class="btn-group calendar-type-button-group">
|
||||
<div class="btn-group " role="group">
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-text dropdown-toggle"
|
||||
data-toggle="dropdown"
|
||||
><span class="calendar-type-label">{{calendarTypeLabel}}</span> <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
{{#each calendarTypeDataList}}
|
||||
<li>
|
||||
<a role="button" tabindex="0" data-action="toggleCalendarType" data-name="{{type}}">
|
||||
<span
|
||||
class="fas fa-check calendar-type-check-icon pull-right{{#if disabled}} hidden{{/if}}"
|
||||
></span> {{label}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
<button
|
||||
class="btn btn-text{{#ifNotEqual calendarType 'shared'}} hidden{{/ifNotEqual}} btn-icon"
|
||||
data-action="showSharedCalendarOptions"
|
||||
title="{{translate 'Shared Mode Options' scope='Calendar'}}"
|
||||
><span class="fas fa-pencil-alt fa-sm"></span></button>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="date-title col-sm-4 hidden-xs">
|
||||
<h4><span style="cursor: pointer;" data-action="refresh" title="{{translate 'Refresh'}}"></span></h4></div>
|
||||
|
||||
<div class="col-sm-4 col-xs-12">
|
||||
<div class="btn-group pull-right mode-buttons">
|
||||
{{{modeButtons}}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="timeline"></div>
|
||||
@@ -0,0 +1 @@
|
||||
{{{value}}}
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="row">
|
||||
<div class="cell col-md-6">
|
||||
<div class="field" data-name="link">
|
||||
<select class="form-control" data-name="link">
|
||||
{{#each linkList}}
|
||||
<option value="{{./this}}">{{translate this category='links' scope='TargetList'}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
21
client/modules/crm/res/templates/campaign/unsubscribe.tpl
Normal file
21
client/modules/crm/res/templates/campaign/unsubscribe.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="container content">
|
||||
<div class="block-center-md">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<p>
|
||||
{{#if isSubscribed}}
|
||||
<a
|
||||
class="btn btn-primary{{#if inProcess}} disabled{{/if}}"
|
||||
data-action="unsubscribe"
|
||||
>{{translate 'Unsubscribe' scope='Campaign'}}</a>
|
||||
{{else}}
|
||||
<a
|
||||
class="btn btn-default{{#if inProcess}} disabled{{/if}}"
|
||||
data-action="subscribe"
|
||||
>{{translate 'Subscribe again' scope='Campaign'}}</a>
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
{{#if accountIsInactive}}<del>{{/if}}<span title="{{value}}">{{value}}</span>{{#if accountIsInactive}}</del>{{/if}}
|
||||
9
client/modules/crm/res/templates/document/list.tpl
Normal file
9
client/modules/crm/res/templates/document/list.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="page-header">{{{header}}}</div>
|
||||
<div class="search-container">{{{search}}}</div>
|
||||
|
||||
<div class="row">
|
||||
{{#unless categoriesDisabled}}
|
||||
<div class="categories-container{{#unless categoriesDisabled}} col-md-3 col-sm-4{{else}} col-md-12{{/unless}}">{{{categories}}}</div>
|
||||
{{/unless}}
|
||||
<div class="list-container{{#unless categoriesDisabled}} col-md-9 col-sm-8{{else}} col-md-12{{/unless}}">{{{list}}}</div>
|
||||
</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<div class="search-container">{{{search}}}</div>
|
||||
|
||||
<div class="row">
|
||||
{{#unless categoriesDisabled}}
|
||||
<div class="categories-container{{#unless categoriesDisabled}} col-md-3 col-sm-4{{else}} col-md-12{{/unless}}">{{{categories}}}</div>
|
||||
{{/unless}}
|
||||
<div class="list-container{{#unless categoriesDisabled}} col-md-9 col-sm-8{{else}} col-md-12{{/unless}}">{{{list}}}</div>
|
||||
</div>
|
||||
|
||||
{{#if createButton}}
|
||||
<div class="button-container">
|
||||
<button class="btn btn-default" data-action="create">{{translate 'Create'}}</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
@@ -0,0 +1,36 @@
|
||||
<div class="container content">
|
||||
<div class="block-center-md">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h4 class="margin-bottom-2x">{{actionData.translatedEntityType}}: {{actionData.eventName}}</h4>
|
||||
{{#if dateStart}}
|
||||
<div class="margin-bottom-2x">
|
||||
{{#if dateStartChanged}}
|
||||
<div style="text-decoration: line-through;">{{sentDateStart}}</div>
|
||||
{{/if}}
|
||||
<div>{{dateStart}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div>
|
||||
<span class="label label-{{style}} label-md">{{actionData.translatedStatus}}</span>
|
||||
<div class="btn-group">
|
||||
{{#if actionDataList}}
|
||||
<a role="button" class="dropdown-toggle text-soft" data-toggle="dropdown">
|
||||
<span class="fas fa-ellipsis-h"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
{{#each actionDataList}}
|
||||
<li>
|
||||
<a {{#if link}}href="{{link}}"{{/if}}>{{label}}
|
||||
{{#if active}}<span class="fas fa-check pull-right"></span>{{/if}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="page-header">{{{header}}}</div>
|
||||
<div class="search-container">{{{search}}}</div>
|
||||
|
||||
<div class="row">
|
||||
{{#unless categoriesDisabled}}
|
||||
<div class="categories-container{{#unless categoriesDisabled}} col-md-3 col-sm-4{{else}} col-md-12{{/unless}}">{{{categories}}}</div>
|
||||
{{/unless}}
|
||||
<div class="list-container{{#unless categoriesDisabled}} col-md-9 col-sm-8{{else}} col-md-12{{/unless}}">{{{list}}}</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<div class="search-container">{{{search}}}</div>
|
||||
|
||||
<div class="row">
|
||||
{{#unless categoriesDisabled}}
|
||||
<div class="categories-container{{#unless categoriesDisabled}} col-md-3 col-sm-4{{else}} col-md-12{{/unless}}">{{{categories}}}</div>
|
||||
{{/unless}}
|
||||
<div class="list-container{{#unless categoriesDisabled}} col-md-9 col-sm-8{{else}} col-md-12{{/unless}}">{{{list}}}</div>
|
||||
</div>
|
||||
|
||||
{{#if createButton}}
|
||||
<div class="button-container">
|
||||
<button class="btn btn-default" data-action="create">{{translate 'Create'}}</button>
|
||||
</div>
|
||||
{{/if}}
|
||||
24
client/modules/crm/res/templates/lead/convert.tpl
Normal file
24
client/modules/crm/res/templates/lead/convert.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="header page-header">{{{header}}}</div>
|
||||
|
||||
{{#each scopeList}}
|
||||
<div class="record">
|
||||
<label style="user-select: none; cursor: pointer;" class="text-large">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="check-scope form-checkbox"
|
||||
data-scope="{{./this}}"
|
||||
>
|
||||
<span>{{translate this category='scopeNames'}}</span>
|
||||
</label>
|
||||
<div class="edit-container-{{toDom this}} hide">
|
||||
{{{var this ../this}}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
<div class="button-container margin-top">
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-primary" data-action="convert">{{translate 'Convert' scope='Lead'}}</button>
|
||||
<button class="btn btn-default" data-action="cancel">{{translate 'Cancel'}}</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
{{#if value}}
|
||||
{{{value}}}
|
||||
{{else}}
|
||||
<span class="none-value">{{translate 'None'}}</span>
|
||||
{{/if}}
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="reminders-container"></div>
|
||||
<button
|
||||
data-action="addReminder"
|
||||
class="btn btn-default"
|
||||
type="button"
|
||||
><span class="fas fa-plus"></span></button>
|
||||
@@ -0,0 +1,22 @@
|
||||
{{#if closeButton}}
|
||||
<a role="button" tabindex="0" class="pull-right close" data-action="close" aria-hidden="true"><span class="fas fa-times"></span></a>
|
||||
{{/if}}
|
||||
<h4>{{header}}</h4>
|
||||
|
||||
|
||||
<div class="cell form-group">
|
||||
<div class="field">
|
||||
<a
|
||||
href="#{{notificationData.entityType}}/view/{{notificationData.id}}"
|
||||
data-action="close"
|
||||
>{{notificationData.name}}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="cell form-group" data-name="{{dateField}}">
|
||||
<div class="field" data-name="{{dateField}}">
|
||||
{{{date}}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="list-container">
|
||||
{{{list}}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user