Skip to content

Commit

Permalink
fix: copy & smaller style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Nov 1, 2023
1 parent ddcb1fd commit d8a0662
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion models.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var nip47MethodDescriptions = map[string]string{
NIP_47_GET_BALANCE_METHOD: "Read your balance",
NIP_47_PAY_INVOICE_METHOD: "Send payments",
NIP_47_MAKE_INVOICE_METHOD: "Create invoices",
NIP_47_LOOKUP_INVOICE_METHOD: "Lookup statuses of invoices",
NIP_47_LOOKUP_INVOICE_METHOD: "Lookup status of invoices",
}

var nip47MethodIcons = map[string]string{
Expand Down
15 changes: 10 additions & 5 deletions public/css/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,11 @@ select {
padding-bottom: 1rem;
}

.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}

.pb-2 {
padding-bottom: 0.5rem;
}
Expand Down Expand Up @@ -1535,6 +1540,11 @@ select {
color: rgb(163 163 163 / var(--tw-text-opacity));
}

.dark\:text-orange-200 {
--tw-text-opacity: 1;
color: rgb(254 215 170 / var(--tw-text-opacity));
}

.dark\:text-orange-400 {
--tw-text-opacity: 1;
color: rgb(251 146 60 / var(--tw-text-opacity));
Expand All @@ -1555,11 +1565,6 @@ select {
color: rgb(255 255 255 / var(--tw-text-opacity));
}

.dark\:text-orange-200 {
--tw-text-opacity: 1;
color: rgb(254 215 170 / var(--tw-text-opacity));
}

.dark\:placeholder-gray-400::-moz-placeholder {
--tw-placeholder-opacity: 1;
color: rgb(156 163 175 / var(--tw-placeholder-opacity));
Expand Down
8 changes: 5 additions & 3 deletions views/apps/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2 class="font-bold text-2xl font-headline mb-6 dark:text-white text-center">
class="bg-gray-50 border border-gray-300 text-gray-900 focus:ring-purple-700 dark:focus:ring-purple-600 dark:ring-offset-gray-800 focus:ring-2 text-sm rounded-lg block w-full p-2.5 dark:bg-surface-00dp dark:border-gray-700 dark:placeholder-gray-400 dark:text-white"
>
<p class="mt-1 mb-6 text-xs text-gray-500 dark:text-gray-400">
Eg. name of the app or purpose of the connection.
Name of the app or purpose of the connection
</p>
<input type="hidden" name="RequestMethods" id="request-methods" value={{if .RequestMethods}}{{.RequestMethods}}{{else}}{{"pay_invoice"}}{{end}}>
<input type="hidden" name="ExpiresAt" id="expires-at" value="">
Expand All @@ -39,7 +39,7 @@ <h2 class="font-bold text-2xl font-headline mb-6 dark:text-white text-center">
</div>

<div class="flex justify-between items-center mb-2 text-gray-800 dark:text-white">
<p class="text-lg font-medium">Authorise the new app to:</p>
<p class="text-lg font-medium">Authorise the new app to</p>
<img id="edit" class="dark:invert opacity-80 inline cursor-pointer w-6" src="/public/images/edit.svg"/>
</div>
<div id="request-method-options" class="mb-6">
Expand Down Expand Up @@ -68,7 +68,9 @@ <h2 class="font-bold text-2xl font-headline mb-6 dark:text-white text-center">
</ul>
</div>

<div id="expiry-toggle" class="cursor-pointer text-sm font-medium text-purple-700 dark:text-purple-500">+ Add connection expiry time</div>
<div id="expiry-toggle" class="cursor-pointer text-sm font-medium text-purple-700 dark:text-purple-500">
+ Add connection expiry time
</div>

<div id="expiry" class="hidden text-gray-800 dark:text-neutral-200">
<p class="text-lg font-medium mb-2">Connection expiry time</p>
Expand Down
2 changes: 1 addition & 1 deletion views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</div>
</div>
</nav>
<main class="container mx-auto px-4 md:px-0 pb-4 flex flex-col">
<main class="container mx-auto px-2 md:px-0 pb-4 flex flex-col">
{{template "body" .}}
</main>
<footer class="mb-8 text-center">
Expand Down

0 comments on commit d8a0662

Please sign in to comment.