summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-24 19:23:38 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-30 07:17:29 +0100
commit5016bc5d5c8df7f9ac6d59545d2aa8751ef7e370 (patch)
treedc67b453501fe246c85388a6aa728e14f64ee474 /templates/admin/auth/new.tmpl
parentForbid jQuery `is` and fix issues (#30016) (diff)
downloadforgejo-5016bc5d5c8df7f9ac6d59545d2aa8751ef7e370.tar.xz
forgejo-5016bc5d5c8df7f9ac6d59545d2aa8751ef7e370.zip
Migrate `gt-hidden` to `tw-hidden` (#30046)
We have to define this one in helpers.css because tailwind only generates a single class but certain things rely on this being double-class. Command ran: ```sh perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/* --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit ec3d467f15a683b305ac165c3eba6683628dcb25) Conflicts: templates/install.tmpl templates/repo/diff/conversation.tmpl templates/repo/issue/view_content/conversation.tmpl templates/repo/issue/view_content/sidebar.tmpl templates/repo/issue/view_title.tmpl resolved by prefering Forgejo version and applying the commands to all files
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 255eac202c..f6a14e1f7d 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -33,13 +33,13 @@
{{template "admin/auth/source/smtp" .}}
<!-- PAM -->
- <div class="pam required field {{if not (eq .type 4)}}gt-hidden{{end}}">
+ <div class="pam required field {{if not (eq .type 4)}}tw-hidden{{end}}">
<label for="pam_service_name">{{ctx.Locale.Tr "admin.auths.pam_service_name"}}</label>
<input id="pam_service_name" name="pam_service_name" value="{{.pam_service_name}}">
<label for="pam_email_domain">{{ctx.Locale.Tr "admin.auths.pam_email_domain"}}</label>
<input id="pam_email_domain" name="pam_email_domain" value="{{.pam_email_domain}}">
</div>
- <div class="pam optional field {{if not (eq .type 4)}}gt-hidden{{end}}">
+ <div class="pam optional field {{if not (eq .type 4)}}tw-hidden{{end}}">
<div class="ui checkbox">
<label for="skip_local_two_fa"><strong>{{ctx.Locale.Tr "admin.auths.skip_local_two_fa"}}</strong></label>
<input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if .skip_local_two_fa}}checked{{end}}>
@@ -59,7 +59,7 @@
<input name="attributes_in_bind" type="checkbox" {{if .attributes_in_bind}}checked{{end}}>
</div>
</div>
- <div class="ldap inline field {{if not (eq .type 2)}}gt-hidden{{end}}">
+ <div class="ldap inline field {{if not (eq .type 2)}}tw-hidden{{end}}">
<div class="ui checkbox">
<label><strong>{{ctx.Locale.Tr "admin.auths.syncenabled"}}</strong></label>
<input name="is_sync_enabled" type="checkbox" {{if .is_sync_enabled}}checked{{end}}>