Add 2FA icons to settings pages
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
				
			|||||||
<p style="color:red" id="err_target"></p>
 | 
					<p style="color:red" id="err_target"></p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div>
 | 
					<div>
 | 
				
			||||||
    <p>Please insert now on of your registered security key, and accept authentication request.</p>
 | 
					    <p>Please insert now one of your registered security key, and accept authentication request.</p>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div style="margin: 10px 0px;">
 | 
					<div style="margin: 10px 0px;">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -80,7 +80,8 @@
 | 
				
			|||||||
                <input type="checkbox" class="form-check-input two-fact-checkbox"
 | 
					                <input type="checkbox" class="form-check-input two-fact-checkbox"
 | 
				
			||||||
                       value="{{ f.id.0 }}"
 | 
					                       value="{{ f.id.0 }}"
 | 
				
			||||||
                       checked=""/>
 | 
					                       checked=""/>
 | 
				
			||||||
                {{ f.name }} ({{ f.type_str() }})
 | 
					                {{ f.name }} (<img src="{{ f.type_image() }}" alt="Factor icon" style="height:1em;" />
 | 
				
			||||||
 | 
					                {{ f.type_str() }})
 | 
				
			||||||
            </label>
 | 
					            </label>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        {% endfor %}
 | 
					        {% endfor %}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,7 @@
 | 
				
			|||||||
    <tbody>
 | 
					    <tbody>
 | 
				
			||||||
    {% for f in user.two_factor %}
 | 
					    {% for f in user.two_factor %}
 | 
				
			||||||
    <tr id="factor-{{ f.id.0 }}">
 | 
					    <tr id="factor-{{ f.id.0 }}">
 | 
				
			||||||
        <td>{{ f.type_str() }}</td>
 | 
					        <td><img src="{{ f.type_image() }}" alt="Factor icon" style="height: 1.5em; margin-right: 0.5em;" />{{ f.type_str() }}</td>
 | 
				
			||||||
        <td>{{ f.name }}</td>
 | 
					        <td>{{ f.name }}</td>
 | 
				
			||||||
        <td><a href="javascript:delete_factor('{{ f.id.0 }}');">Delete</a></td>
 | 
					        <td><a href="javascript:delete_factor('{{ f.id.0 }}');">Delete</a></td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user