Skip to content

Instantly share code, notes, and snippets.

View pimtel's full-sized avatar

Rogério Pimentel pimtel

View GitHub Profile
@pimtel
pimtel / LoginStatsRecordingRequiredActionProvider.java
Created October 8, 2020 19:50 — forked from thomasdarimont/LoginStatsRecordingRequiredActionProvider.java
Keycloak RequiredAction for recording user information on login
package de.tdlabs.idm.keycloak.ext.authentication;
import static java.time.LocalDateTime.now;
import static java.util.Arrays.asList;
import java.util.List;
import org.jboss.logging.Logger;
import org.keycloak.Config.Scope;
import org.keycloak.authentication.RequiredActionContext;
# -*- coding: utf-8 -*-
"""Main module."""
import os
import logging.config
import bottle
from pg_simple.pool import config_pool
import web.assets
from services import *
currentdir = os.path.dirname(__file__)
(function ($) {
"use strict";
var Stepper = function (options) {
var defaults = {
steps: [],
currentStep: 0,
};
.stepper-container {
position: relative;
height: 50px;
}
.stepper-container hr {
position: absolute;
width: 83%;
top: 5px;
left: 8%;
<div class="stepper-container">
<hr />
<div class="stepper">
<div class="step">
<label class="step-number">
<span>1</span>
</label>
<label>Login</label>
</div>
<div class="step">