tweak css a bit

This commit is contained in:
Henry 2021-05-14 08:06:45 +02:00
parent 7c356fa407
commit aa50cb4aeb
2 changed files with 16 additions and 13 deletions

View File

@ -32,15 +32,12 @@
</div>
<span class="flex flex-row items-center divide-x divide-gray-300">
<div class="flex flex-row items-center pr-3">
<svg class="text-green-500 w-4 h-4 mr-1" viewBox="0 0 24 24">
<path fill="currentColor" d="M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z" />
</svg>
<!-- TODO: i'd like to include the key SVG in the lnk but this breaks the layout -->
<div class="text-green-500 text-sm truncate w-32">
<a
id="own-details-page"
href="{{urlTo "admin:member:details" "id" $user.ID}}"
>{{$user.PubKey.Ref}}</a>
<div class="text-green-500">
<a id="own-details-page" href="{{urlTo "admin:member:details" "id" $user.ID}}">
<svg class="text-green-500 w-4 h-4 mr-1 float-left" viewBox="0 0 24 24">
<path fill="currentColor" d="M22,18V22H18V19H15V16H12L9.74,13.74C9.19,13.91 8.61,14 8,14A6,6 0 0,1 2,8A6,6 0 0,1 8,2A6,6 0 0,1 14,8C14,8.61 13.91,9.19 13.74,9.74L22,18M7,5A2,2 0 0,0 5,7A2,2 0 0,0 7,9A2,2 0 0,0 9,7A2,2 0 0,0 7,5Z" />
</svg><div class="float-right text-sm truncate w-32">{{$user.PubKey.Ref}}</div>
</a>
</div>
</div>
<a

View File

@ -17,19 +17,25 @@
<input type="hidden" name="reset-token" value={{.ResetToken}}>
{{end}}
<label for="password">{{i18n "AuthFallbackNewPassword"}}</label>
<label
for="password"
class="mt-2 mb-1 font-bold text-gray-400 text-sm"
>{{i18n "AuthFallbackNewPassword"}}</label>
<input
id="password"
type="password"
name="new-password"
class="mt-8 self-stretch shadow rounded border border-transparent h-10 p-1 pl-4 font-mono truncate flex-auto text-gray-600 focus:outline-none focus:ring-2 focus:ring-purple-400 focus:border-transparent">
class="self-stretch shadow rounded border border-transparent h-10 p-1 pl-4 font-mono truncate flex-auto text-gray-600 focus:outline-none focus:ring-2 focus:ring-purple-400 focus:border-transparent">
<label for="repeat">{{i18n "AuthFallbackRepeatPassword"}}</label>
<label
for="repeat"
class="mt-2 mb-1 font-bold text-gray-400 text-sm"
>{{i18n "AuthFallbackRepeatPassword"}}</label>
<input
id="repeat"
type="password"
name="repeat-password"
class="mt-8 self-stretch shadow rounded border border-transparent h-10 p-1 pl-4 font-mono truncate flex-auto text-gray-600 focus:outline-none focus:ring-2 focus:ring-purple-400 focus:border-transparent">
class="self-stretch shadow rounded border border-transparent h-10 p-1 pl-4 font-mono truncate flex-auto text-gray-600 focus:outline-none focus:ring-2 focus:ring-purple-400 focus:border-transparent">
<button