3
0

del(crm): remove crm/data (cleanup)

This commit is contained in:
Tit Petric
2018-11-21 15:01:39 +01:00
parent 9feda8823b
commit 155d381d9b
10 changed files with 0 additions and 46 deletions
-4
View File
@@ -1,4 +0,0 @@
<div class="form-check form-check-inline">
<label class="form-check-label"><input class="form-check-input" type="radio" name="{name}" value="1" {if value==1}checked="checked"{/if}/> Yes</label>
<label class="form-check-label"><input class="form-check-input" type="radio" name="{name}" value="0" {if value!=1}checked="checked"{/if}/> No</label>
</div>
-3
View File
@@ -1,3 +0,0 @@
{
"name": "Boolean value (yes/no)"
}
-3
View File
@@ -1,3 +0,0 @@
{foreach values as key => val}
<input type="checkbox" name="{name}[]" value="{key}" {if jQuery.inArray(key, value) >= 0} checked="checked"{/if}> {val}
{/foreach}
-3
View File
@@ -1,3 +0,0 @@
{
"name": "Boolean value (multiple checkboxes)"
}
-7
View File
@@ -1,7 +0,0 @@
<select name="{name}" class="form-control form-control-sm">
<% for (var key in values) {
var val = values[key];
%>
<option value="{key}"{if value == key} selected="selected"{/if}>{val}</option>
<% } %>
</select>
-3
View File
@@ -1,3 +0,0 @@
{
"name": "ENUM (single option)"
}
-1
View File
@@ -1 +0,0 @@
<input type="{type}" id="{name}" name="{name}" value="{value}" class="form-control form-control-sm" placeholder="{title}" autocomplete="off"/>
-9
View File
@@ -1,9 +0,0 @@
{
"name": "Text input",
"options": {
"type": {
"title": "Input type",
"values": ["hidden", "text", "password", "email"]
}
}
}
-10
View File
@@ -1,10 +0,0 @@
<div class="form-group">
<div class="input-group input-group-sm">
<input type="text" name="{name}" value="{value}" id="{name}" class="form-control tac"/>
<div class="input-group-addon">
<i class="fa fa-calendar-plus-o" aria-hidden="true" onClick="return showCalendar('{name}', '%Y-%m-%d %H:%M:%S',true,true);"></i>
&nbsp;
<i class="fa fa-clock-o hand" aria-hidden="true" onClick="var xx=new Date; $('#{name}').val(xx.toISOString().replace('T', ' ').split('.')[0]); return false;"></i>
</div>
</div>
</div>
-3
View File
@@ -1,3 +0,0 @@
{
"name": "Date/time input field"
}