Skip to content

Instantly share code, notes, and snippets.

@pazteddy
Created October 16, 2025 20:10
Show Gist options
  • Select an option

  • Save pazteddy/e6c7cd4d5b1cf45b11fb4caa95fb6052 to your computer and use it in GitHub Desktop.

Select an option

Save pazteddy/e6c7cd4d5b1cf45b11fb4caa95fb6052 to your computer and use it in GitHub Desktop.
Estilos para el botón para manejo de roles y línea de comando para Tailwind
npx tailwindcss -i ./Styles/input.css -o ./wwwroot/tailwind.css --watch
<TemplateColumn Title="Administrar" Class="border-2 px-4 py-3 text-center">
<div class="flex justify-center">
<button
class="rounded-md inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all duration-200 shadow-sm hover:shadow-md"
@onclick="() => OpenModal(context.Id, context.UserName)">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z">
</path>
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"></path>
</svg>
Roles
</button>
</div>
</TemplateColumn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment