Added new custom fields for GPG keys
This commit is contained in:
		
							parent
							
								
									b7e943d90e
								
							
						
					
					
						commit
						3b6fd47a61
					
				
					 10 changed files with 78 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -26,6 +26,8 @@
 | 
			
		|||
                <option value="text" {{#if selectedText}} selected {{/if}}>Text</option>
 | 
			
		||||
                <option value="number" {{#if selectedNumber}} selected {{/if}}>Number</option>
 | 
			
		||||
                <option value="website" {{#if selectedWebsite}} selected {{/if}}>Website</option>
 | 
			
		||||
                <option value="gpg" {{#if selectedGpg}} selected {{/if}}>GPG Public Key</option>
 | 
			
		||||
                <option value="longtext" {{#if selectedLongtext}} selected {{/if}}>Multi-line text</option>
 | 
			
		||||
                <optgroup label="Date">
 | 
			
		||||
                    <option value="date-us" {{#if selectedDateUs}} selected {{/if}}>Date (MM/DD/YYYY)</option>
 | 
			
		||||
                    <option value="date-eur" {{#if selectedDateEur}} selected {{/if}}>Date (DD/MM/YYYY)</option>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,6 +33,8 @@
 | 
			
		|||
                <option value="text" {{#if selectedText}} selected {{/if}}>Text</option>
 | 
			
		||||
                <option value="number" {{#if selectedNumber}} selected {{/if}}>Number</option>
 | 
			
		||||
                <option value="website" {{#if selectedWebsite}} selected {{/if}}>Website</option>
 | 
			
		||||
                <option value="gpg" {{#if selectedGpg}} selected {{/if}}>GPG Public Key</option>
 | 
			
		||||
                <option value="longtext" {{#if selectedLongtext}} selected {{/if}}>Multi-line text</option>
 | 
			
		||||
                <optgroup label="Date">
 | 
			
		||||
                    <option value="date-us" {{#if selectedDateUs}} selected {{/if}}>Date (MM/DD/YYYY)</option>
 | 
			
		||||
                    <option value="date-eur" {{#if selectedDateEur}} selected {{/if}}>Date (DD/MM/YYYY)</option>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,6 +50,15 @@
 | 
			
		|||
                    <input type="url" class="form-control" name="{{column}}" value="{{value}}">
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeLongtext}}
 | 
			
		||||
                    <textarea class="form-control" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeGpg}}
 | 
			
		||||
                    <textarea class="form-control gpg-text" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                    <span class="help-block">Insert a GPG public key that will be used to encrypt messages sent this subscriber</span>
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeDateUs}}
 | 
			
		||||
                    <div class="input-group date fm-date-us">
 | 
			
		||||
                        <input type="text" class="form-control" name="{{column}}" placeholder="MM/DD/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,6 +63,15 @@
 | 
			
		|||
                    <input type="url" class="form-control" name="{{column}}" value="{{value}}">
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeLongtext}}
 | 
			
		||||
                    <textarea class="form-control" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeGpg}}
 | 
			
		||||
                    <textarea class="form-control gpg-text" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                    <span class="help-block">Insert a GPG public key that will be used to encrypt messages sent this subscriber</span>
 | 
			
		||||
                {{/if}}
 | 
			
		||||
 | 
			
		||||
                {{#if typeDateUs}}
 | 
			
		||||
                    <div class="input-group date fm-date-us">
 | 
			
		||||
                        <input type="text" class="form-control" name="{{column}}" placeholder="MM/DD/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,6 +36,15 @@
 | 
			
		|||
                <input type="url" class="form-control" name="{{column}}" value="{{value}}">
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeLongtext}}
 | 
			
		||||
                <textarea class="form-control" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeGpg}}
 | 
			
		||||
                <textarea class="form-control gpg-text" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                <span class="help-block">Insert your GPG public key here to encrypt messages sent to your address</span>
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeDateUs}}
 | 
			
		||||
                <div class="input-group date fm-date-us">
 | 
			
		||||
                    <input type="text" class="form-control" name="{{column}}" placeholder="MM/DD/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,6 +33,15 @@
 | 
			
		|||
                <input type="url" class="form-control" name="{{column}}" value="{{value}}">
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeLongtext}}
 | 
			
		||||
                <textarea class="form-control" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeGpg}}
 | 
			
		||||
                <textarea class="form-control gpg-text" rows="3" name="{{column}}">{{value}}</textarea>
 | 
			
		||||
                <span class="help-block">Insert your GPG public key here to encrypt messages sent to your address</span>
 | 
			
		||||
            {{/if}}
 | 
			
		||||
 | 
			
		||||
            {{#if typeDateUs}}
 | 
			
		||||
                <div class="input-group date fm-date-us">
 | 
			
		||||
                    <input type="text" class="form-control" name="{{column}}" placeholder="MM/DD/YYYY" value="{{value}}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue