You've already forked roundcube-aliasmanager
							
							Initial
This commit is contained in:
		
							
								
								
									
										50
									
								
								skins/elastic/templates/settings.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								skins/elastic/templates/settings.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
<div id='aliasmanager-settings' class="scroller">
 | 
			
		||||
    <div class="boxcontent formcontent">
 | 
			
		||||
        <form id="password-form" name="password-form" method="post" action="./?_task=settings&_action=plugin.password-save">
 | 
			
		||||
            <table class="propform">
 | 
			
		||||
                <tbody>
 | 
			
		||||
                    <tr class="form-group row">
 | 
			
		||||
                        <td class="title col-sm-2">
 | 
			
		||||
                            <label for="alias-new-name" class="col-form-label">New alias for</label>
 | 
			
		||||
                        </td>
 | 
			
		||||
                        <td class="col-sm-2">
 | 
			
		||||
                            <input id="alias-new-name" size="60" required name="alias_new_name" class="form-control" placeholder="Service name.." type="text">
 | 
			
		||||
                        </td>
 | 
			
		||||
                        <td class="col-sm-1">
 | 
			
		||||
                            <button class="button submit btn btn-primary btn-aliasmanager-add-alias" type="button">Add</button>
 | 
			
		||||
                        </td>
 | 
			
		||||
                    </tr>
 | 
			
		||||
                    <tr class="form-group row">
 | 
			
		||||
                        <table>
 | 
			
		||||
                            <thead>
 | 
			
		||||
                                <tr>
 | 
			
		||||
                                    <th>Alias</th>
 | 
			
		||||
                                    <th>Enabled</th>
 | 
			
		||||
                                    <th>Action</th>
 | 
			
		||||
                                </tr>
 | 
			
		||||
                            </thead>
 | 
			
		||||
                            <tbody class="alias-list"></tbody>
 | 
			
		||||
                        </table>
 | 
			
		||||
                    </tr>
 | 
			
		||||
                </tbody>
 | 
			
		||||
            </table>
 | 
			
		||||
        </form>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<template id="alias-list-row">
 | 
			
		||||
    <tr class="form-group">
 | 
			
		||||
        <td>
 | 
			
		||||
            <span>{email}</span>
 | 
			
		||||
        </td>
 | 
			
		||||
        <td>
 | 
			
		||||
            <div class="custom-control custom-switch">
 | 
			
		||||
                <input type="checkbox" id="toggle-active-{i}" value="{active}" {checked} data-email="{email}" class="form-check-input custom-control-input btn-aliasmanager-toggle-alias">
 | 
			
		||||
                <label for="toggle-active-{i}" class="custom-control-label" title=""></label>
 | 
			
		||||
            </div>
 | 
			
		||||
        </td>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="button btn-sm btn-danger btn-aliasmanager-delete-alias" data-email="{email}" type="button">Delete</button>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
</template>
 | 
			
		||||
		Reference in New Issue
	
	Block a user