⋯ 28 hidden lines@@ -44,135 +46,115 @@ func Home(l Layout, p HomePage) templ.Component { 44 }() 46 }() 45 } 47 } 46 ctx = templ.InitializeContext(ctx) 48 ctx = templ.InitializeContext(ctx) 47 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<h1 class=\"sr\">Repositories</h1><div class=\"home\" data-layout=\"cards\"><section class=\"home-repos\" aria-label=\"Repositories\"><div class=\"home-bar\">" ) 49 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<h1 class=\"sr\">Repositories</h1><div class=\"home\" data-layout=\"cards\"><section class=\"home-repos\" aria-label=\"Repositories\"><div class=\"home-bar\"><div class=\"filter\"><label for=\"home-filter\" class=\"sr\">filter</label> <input id=\"home-filter\" type=\"search\" data-filter=\"#repo-rows > li\" placeholder=\"Filter repositories…\" autocomplete=\"off\" hx-on:input=\"ermite.filter(this)\"></div><nav class=\"sort\" aria-label=\"Sort repositories\"><span class=\"mute\">sort</span> " ) 48 if templ_7745c5c3_Err != nil { 50 if templ_7745c5c3_Err != nil { 49 return templ_7745c5c3_Err 51 return templ_7745c5c3_Err 50 } 52 } 51 - if p.Inbox != nil { 53 + for _, s := range p.Sorts { 52 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<a class=\"btn inbox-btn\" href=\"" ) 54 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<a href=\"" ) 53 if templ_7745c5c3_Err != nil { 55 if templ_7745c5c3_Err != nil { 54 return templ_7745c5c3_Err 56 return templ_7745c5c3_Err 55 } 57 } 56 var templ_7745c5c3_Var3 templ.SafeURL 58 var templ_7745c5c3_Var3 templ.SafeURL 57 - templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Inbox.Href)) 59 + templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href)) 58 if templ_7745c5c3_Err != nil { 60 if templ_7745c5c3_Err != nil { 59 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 13, Col: 65} 61 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 29, Col: 36} 60 } 62 } 61 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) 63 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) 62 if templ_7745c5c3_Err != nil { 64 if templ_7745c5c3_Err != nil { 63 return templ_7745c5c3_Err 65 return templ_7745c5c3_Err 64 } 66 } 65 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\" title=\"inbox\">Inbox " ) 67 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "\"" ) 66 - if templ_7745c5c3_Err != nil { 67 - return templ_7745c5c3_Err 68 - } 69 - if p.Inbox.Count >= 0 { 70 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "<span class=\"count\">" ) 71 - if templ_7745c5c3_Err != nil { 72 - return templ_7745c5c3_Err 73 - } 74 - var templ_7745c5c3_Var4 string 75 - templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Inbox.Count)) 76 - if templ_7745c5c3_Err != nil { 77 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 16, Col: 49} 78 - } 79 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) 80 - if templ_7745c5c3_Err != nil { 81 - return templ_7745c5c3_Err 82 - } 83 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "</span>" ) 84 - if templ_7745c5c3_Err != nil { 85 - return templ_7745c5c3_Err 86 - } 87 - } 88 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "</a>" ) 89 - if templ_7745c5c3_Err != nil { 90 - return templ_7745c5c3_Err 91 - } 92 - } 93 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "<div class=\"filter\"><label for=\"home-filter\" class=\"sr\">filter</label> <input id=\"home-filter\" type=\"search\" data-filter=\"#repo-rows > li\" placeholder=\"Filter repositories…\" autocomplete=\"off\" hx-on:input=\"ermite.filter(this)\"></div><nav class=\"sort\" aria-label=\"Sort repositories\"><span class=\"mute\">sort</span> " ) 94 - if templ_7745c5c3_Err != nil { 95 - return templ_7745c5c3_Err 96 - } 97 - for _, s := range p.Sorts { 98 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "<a href=\"" ) 99 - if templ_7745c5c3_Err != nil { 100 - return templ_7745c5c3_Err 101 - } 102 - var templ_7745c5c3_Var5 templ.SafeURL 103 - templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(s.Href)) 104 - if templ_7745c5c3_Err != nil { 105 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 35, Col: 36} 106 - } 107 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) 108 - if templ_7745c5c3_Err != nil { 109 - return templ_7745c5c3_Err 110 - } 111 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "\"" ) 112 if templ_7745c5c3_Err != nil { 68 if templ_7745c5c3_Err != nil { 113 return templ_7745c5c3_Err 69 return templ_7745c5c3_Err 114 } 70 } 115 if s.Mark != "" { 71 if s.Mark != "" { 116 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " aria-current=\"true\"" ) 72 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " aria-current=\"true\"" ) 117 if templ_7745c5c3_Err != nil { 73 if templ_7745c5c3_Err != nil { 118 return templ_7745c5c3_Err 74 return templ_7745c5c3_Err 119 } 75 } 120 } 76 } 121 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, ">" ) 77 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, ">" ) 122 if templ_7745c5c3_Err != nil { 78 if templ_7745c5c3_Err != nil { 123 return templ_7745c5c3_Err 79 return templ_7745c5c3_Err 124 } 80 } 125 - var templ_7745c5c3_Var6 string 81 + var templ_7745c5c3_Var4 string 126 - templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label) 82 + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(s.Label) 127 if templ_7745c5c3_Err != nil { 83 if templ_7745c5c3_Err != nil { 128 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 40, Col: 17} 84 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 34, Col: 17} 129 } 85 } 130 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) 86 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) 131 if templ_7745c5c3_Err != nil { 87 if templ_7745c5c3_Err != nil { 132 return templ_7745c5c3_Err 88 return templ_7745c5c3_Err 133 } 89 } 134 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, " " ) 90 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, " " ) 135 if templ_7745c5c3_Err != nil { 91 if templ_7745c5c3_Err != nil { 136 return templ_7745c5c3_Err 92 return templ_7745c5c3_Err 137 } 93 } 138 if s.Mark != "" { 94 if s.Mark != "" { 139 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "<span aria-hidden=\"true\">" ) 95 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "<span aria-hidden=\"true\">" ) 140 if templ_7745c5c3_Err != nil { 96 if templ_7745c5c3_Err != nil { 141 return templ_7745c5c3_Err 97 return templ_7745c5c3_Err 142 } 98 } 143 - var templ_7745c5c3_Var7 string 99 + var templ_7745c5c3_Var5 string 144 - templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(s.Mark) 100 + templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(s.Mark) 145 if templ_7745c5c3_Err != nil { 101 if templ_7745c5c3_Err != nil { 146 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 42, Col: 42} 102 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 36, Col: 42} 147 } 103 } 148 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) 104 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) 149 if templ_7745c5c3_Err != nil { 105 if templ_7745c5c3_Err != nil { 150 return templ_7745c5c3_Err 106 return templ_7745c5c3_Err 151 } 107 } 152 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "</span> <span class=\"sr\">" ) 108 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "</span> <span class=\"sr\">" ) 153 if templ_7745c5c3_Err != nil { 109 if templ_7745c5c3_Err != nil { 154 return templ_7745c5c3_Err 110 return templ_7745c5c3_Err 155 } 111 } 156 - var templ_7745c5c3_Var8 string 112 + var templ_7745c5c3_Var6 string 157 - templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(", " + s.State) 113 + templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(", " + s.State) 158 if templ_7745c5c3_Err != nil { 114 if templ_7745c5c3_Err != nil { 159 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 43, Col: 42} 115 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 37, Col: 42} 160 } 116 } 161 - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) 117 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) 162 if templ_7745c5c3_Err != nil { 118 if templ_7745c5c3_Err != nil { 163 return templ_7745c5c3_Err 119 return templ_7745c5c3_Err 164 } 120 } 165 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "</span>" ) 121 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "</span>" ) 166 if templ_7745c5c3_Err != nil { 122 if templ_7745c5c3_Err != nil { 167 return templ_7745c5c3_Err 123 return templ_7745c5c3_Err 168 } 124 } 169 } 125 } 170 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "</a>" ) 126 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "</a>" ) 171 if templ_7745c5c3_Err != nil { 127 if templ_7745c5c3_Err != nil { 172 return templ_7745c5c3_Err 128 return templ_7745c5c3_Err 173 } 129 } 174 } 130 } 175 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "</nav><div class=\"layout-switch\" role=\"group\" aria-label=\"Layout\" data-js><button type=\"button\" class=\"btn icon\" data-set-layout=\"cards\" aria-pressed=\"true\" title=\"Cards\" aria-label=\"Cards\"><span class=\"ico i-cards\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"split\" aria-pressed=\"false\" title=\"Two columns\" aria-label=\"Two columns\"><span class=\"ico i-split\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"compact\" aria-pressed=\"false\" title=\"Compact list\" aria-label=\"Compact list\"><span class=\"ico i-compact\" aria-hidden=\"true\"></span></button></div></div><ul class=\"repos\" id=\"repo-rows\" data-rows>" ) 131 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "</nav><div class=\"layout-switch\" role=\"group\" aria-label=\"Layout\" data-js><button type=\"button\" class=\"btn icon\" data-set-layout=\"cards\" aria-pressed=\"true\" title=\"Cards\" aria-label=\"Cards\"><span class=\"ico i-cards\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"split\" aria-pressed=\"false\" title=\"Two columns\" aria-label=\"Two columns\"><span class=\"ico i-split\" aria-hidden=\"true\"></span></button> <button type=\"button\" class=\"btn icon\" data-set-layout=\"compact\" aria-pressed=\"false\" title=\"Compact list\" aria-label=\"Compact list\"><span class=\"ico i-compact\" aria-hidden=\"true\"></span></button></div></div><ul class=\"repos\" id=\"repo-rows\" data-rows data-sort=\"" ) 132 + if templ_7745c5c3_Err != nil { 133 + return templ_7745c5c3_Err 134 + } 135 + var templ_7745c5c3_Var7 string 136 + templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Sort) 137 + if templ_7745c5c3_Err != nil { 138 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 54, Col: 65} 139 + } 140 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var7) 141 + if templ_7745c5c3_Err != nil { 142 + return templ_7745c5c3_Err 143 + } 144 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "\" data-desc=\"" ) 145 + if templ_7745c5c3_Err != nil { 146 + return templ_7745c5c3_Err 147 + } 148 + var templ_7745c5c3_Var8 string 149 + templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.ResolveAttributeValue(fmt.Sprint(p.Desc)) 150 + if templ_7745c5c3_Err != nil { 151 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 54, Col: 98} 152 + } 153 + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var8) 154 + if templ_7745c5c3_Err != nil { 155 + return templ_7745c5c3_Err 156 + } 157 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "\">" ) 176 if templ_7745c5c3_Err != nil { 158 if templ_7745c5c3_Err != nil { 177 return templ_7745c5c3_Err 159 return templ_7745c5c3_Err 178 } 160 } ⋯ 82 hidden lines@@ -281,51 +263,51 @@ func latestTagFact(t LatestTag) templ.Component { 281 templ_7745c5c3_Var11 = templ.NopComponent 263 templ_7745c5c3_Var11 = templ.NopComponent 282 } 264 } 283 ctx = templ.ClearChildren(ctx) 265 ctx = templ.ClearChildren(ctx) 284 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "<dt>latest tag</dt><dd class=\"latest-tag\">" ) 266 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "<dt>latest tag</dt><dd class=\"latest-tag\">" ) 285 if templ_7745c5c3_Err != nil { 267 if templ_7745c5c3_Err != nil { 286 return templ_7745c5c3_Err 268 return templ_7745c5c3_Err 287 } 269 } 288 if t.Name != "" { 270 if t.Name != "" { 289 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<a class=\"tag-name\" href=\"" ) 271 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "<a class=\"tag-name\" href=\"" ) 290 if templ_7745c5c3_Err != nil { 272 if templ_7745c5c3_Err != nil { 291 return templ_7745c5c3_Err 273 return templ_7745c5c3_Err 292 } 274 } 293 var templ_7745c5c3_Var12 templ.SafeURL 275 var templ_7745c5c3_Var12 templ.SafeURL 294 templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.Href)) 276 templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.Href)) 295 if templ_7745c5c3_Err != nil { 277 if templ_7745c5c3_Err != nil { 296 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 51} 278 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 51} 297 } 279 } 298 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) 280 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) 299 if templ_7745c5c3_Err != nil { 281 if templ_7745c5c3_Err != nil { 300 return templ_7745c5c3_Err 282 return templ_7745c5c3_Err 301 } 283 } 302 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "\" title=\"" ) 284 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "\" title=\"" ) 303 if templ_7745c5c3_Err != nil { 285 if templ_7745c5c3_Err != nil { 304 return templ_7745c5c3_Err 286 return templ_7745c5c3_Err 305 } 287 } 306 var templ_7745c5c3_Var13 string 288 var templ_7745c5c3_Var13 string 307 templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.Subject) 289 templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.Subject) 308 if templ_7745c5c3_Err != nil { 290 if templ_7745c5c3_Err != nil { 309 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 71} 291 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 71} 310 } 292 } 311 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var13) 293 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var13) 312 if templ_7745c5c3_Err != nil { 294 if templ_7745c5c3_Err != nil { 313 return templ_7745c5c3_Err 295 return templ_7745c5c3_Err 314 } 296 } 315 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\">" ) 297 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "\">" ) 316 if templ_7745c5c3_Err != nil { 298 if templ_7745c5c3_Err != nil { 317 return templ_7745c5c3_Err 299 return templ_7745c5c3_Err 318 } 300 } 319 var templ_7745c5c3_Var14 string 301 var templ_7745c5c3_Var14 string 320 templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(t.Name) 302 templ_7745c5c3_Var14, templ_7745c5c3_Err = templ.JoinStringErrs(t.Name) 321 if templ_7745c5c3_Err != nil { 303 if templ_7745c5c3_Err != nil { 322 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 82} 304 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 84, Col: 82} 323 } 305 } 324 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) 306 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var14)) 325 if templ_7745c5c3_Err != nil { 307 if templ_7745c5c3_Err != nil { 326 return templ_7745c5c3_Err 308 return templ_7745c5c3_Err 327 } 309 } 328 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "</a> " ) 310 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "</a> " ) 329 if templ_7745c5c3_Err != nil { 311 if templ_7745c5c3_Err != nil { 330 return templ_7745c5c3_Err 312 return templ_7745c5c3_Err 331 } 313 } ⋯ 1 hidden line@@ -333,101 +315,101 @@ func latestTagFact(t LatestTag) templ.Component { 333 var templ_7745c5c3_Var15 string 315 var templ_7745c5c3_Var15 string 334 templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 316 templ_7745c5c3_Var15, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 335 if templ_7745c5c3_Err != nil { 317 if templ_7745c5c3_Err != nil { 336 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 12} 318 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 86, Col: 12} 337 } 319 } 338 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) 320 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var15)) 339 if templ_7745c5c3_Err != nil { 321 if templ_7745c5c3_Err != nil { 340 return templ_7745c5c3_Err 322 return templ_7745c5c3_Err 341 } 323 } 342 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, "<time datetime=\"" ) 324 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, "<time datetime=\"" ) 343 if templ_7745c5c3_Err != nil { 325 if templ_7745c5c3_Err != nil { 344 return templ_7745c5c3_Err 326 return templ_7745c5c3_Err 345 } 327 } 346 var templ_7745c5c3_Var16 string 328 var templ_7745c5c3_Var16 string 347 templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 329 templ_7745c5c3_Var16, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 348 if templ_7745c5c3_Err != nil { 330 if templ_7745c5c3_Err != nil { 349 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 39} 331 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 86, Col: 39} 350 } 332 } 351 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var16) 333 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var16) 352 if templ_7745c5c3_Err != nil { 334 if templ_7745c5c3_Err != nil { 353 return templ_7745c5c3_Err 335 return templ_7745c5c3_Err 354 } 336 } 355 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "\" title=\"" ) 337 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "\" title=\"" ) 356 if templ_7745c5c3_Err != nil { 338 if templ_7745c5c3_Err != nil { 357 return templ_7745c5c3_Err 339 return templ_7745c5c3_Err 358 } 340 } 359 var templ_7745c5c3_Var17 string 341 var templ_7745c5c3_Var17 string 360 templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 342 templ_7745c5c3_Var17, templ_7745c5c3_Err = templ.ResolveAttributeValue(t.WhenAt) 361 if templ_7745c5c3_Err != nil { 343 if templ_7745c5c3_Err != nil { 362 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 58} 344 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 86, Col: 58} 363 } 345 } 364 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var17) 346 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var17) 365 if templ_7745c5c3_Err != nil { 347 if templ_7745c5c3_Err != nil { 366 return templ_7745c5c3_Err 348 return templ_7745c5c3_Err 367 } 349 } 368 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "\">" ) 350 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, "\">" ) 369 if templ_7745c5c3_Err != nil { 351 if templ_7745c5c3_Err != nil { 370 return templ_7745c5c3_Err 352 return templ_7745c5c3_Err 371 } 353 } 372 var templ_7745c5c3_Var18 string 354 var templ_7745c5c3_Var18 string 373 templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(t.When) 355 templ_7745c5c3_Var18, templ_7745c5c3_Err = templ.JoinStringErrs(t.When) 374 if templ_7745c5c3_Err != nil { 356 if templ_7745c5c3_Err != nil { 375 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 92, Col: 69} 357 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 86, Col: 69} 376 } 358 } 377 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) 359 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var18)) 378 if templ_7745c5c3_Err != nil { 360 if templ_7745c5c3_Err != nil { 379 return templ_7745c5c3_Err 361 return templ_7745c5c3_Err 380 } 362 } 381 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "</time>" ) 363 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "</time>" ) 382 if templ_7745c5c3_Err != nil { 364 if templ_7745c5c3_Err != nil { 383 return templ_7745c5c3_Err 365 return templ_7745c5c3_Err 384 } 366 } 385 } 367 } 386 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, " " ) 368 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, " " ) 387 if templ_7745c5c3_Err != nil { 369 if templ_7745c5c3_Err != nil { 388 return templ_7745c5c3_Err 370 return templ_7745c5c3_Err 389 } 371 } 390 var templ_7745c5c3_Var19 string 372 var templ_7745c5c3_Var19 string 391 templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 373 templ_7745c5c3_Var19, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 392 if templ_7745c5c3_Err != nil { 374 if templ_7745c5c3_Err != nil { 393 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 94, Col: 11} 375 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 88, Col: 11} 394 } 376 } 395 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) 377 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var19)) 396 if templ_7745c5c3_Err != nil { 378 if templ_7745c5c3_Err != nil { 397 return templ_7745c5c3_Err 379 return templ_7745c5c3_Err 398 } 380 } 399 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, " " ) 381 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, " " ) 400 if templ_7745c5c3_Err != nil { 382 if templ_7745c5c3_Err != nil { 401 return templ_7745c5c3_Err 383 return templ_7745c5c3_Err 402 } 384 } 403 } 385 } 404 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, "<a class=\"all-tags\" href=\"" ) 386 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, "<a class=\"all-tags\" href=\"" ) 405 if templ_7745c5c3_Err != nil { 387 if templ_7745c5c3_Err != nil { 406 return templ_7745c5c3_Err 388 return templ_7745c5c3_Err 407 } 389 } 408 var templ_7745c5c3_Var20 templ.SafeURL 390 var templ_7745c5c3_Var20 templ.SafeURL 409 templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.RefsHref)) 391 templ_7745c5c3_Var20, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(t.RefsHref)) 410 if templ_7745c5c3_Err != nil { 392 if templ_7745c5c3_Err != nil { 411 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 96, Col: 54} 393 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 54} 412 } 394 } 413 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) 395 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var20)) 414 if templ_7745c5c3_Err != nil { 396 if templ_7745c5c3_Err != nil { 415 return templ_7745c5c3_Err 397 return templ_7745c5c3_Err 416 } 398 } 417 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, "\">" ) 399 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, "\">" ) 418 if templ_7745c5c3_Err != nil { 400 if templ_7745c5c3_Err != nil { 419 return templ_7745c5c3_Err 401 return templ_7745c5c3_Err 420 } 402 } 421 var templ_7745c5c3_Var21 string 403 var templ_7745c5c3_Var21 string 422 templ_7745c5c3_Var21, templ_7745c5c3_Err = templ.JoinStringErrs(plural(t.Count, "tag" , "tags" )) 404 templ_7745c5c3_Var21, templ_7745c5c3_Err = templ.JoinStringErrs(plural(t.Count, "tag" , "tags" )) 423 if templ_7745c5c3_Err != nil { 405 if templ_7745c5c3_Err != nil { 424 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 96, Col: 89} 406 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 90, Col: 89} 425 } 407 } 426 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var21)) 408 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var21)) 427 if templ_7745c5c3_Err != nil { 409 if templ_7745c5c3_Err != nil { 428 return templ_7745c5c3_Err 410 return templ_7745c5c3_Err 429 } 411 } 430 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 34, "</a></dd>" ) 412 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, "</a></dd>" ) 431 if templ_7745c5c3_Err != nil { 413 if templ_7745c5c3_Err != nil { 432 return templ_7745c5c3_Err 414 return templ_7745c5c3_Err 433 } 415 } ⋯ 29 hidden lines@@ -648,97 +630,97 @@ func refRow(kind string, r RefRow) templ.Component { 648 templ_7745c5c3_Var28 = templ.NopComponent 630 templ_7745c5c3_Var28 = templ.NopComponent 649 } 631 } 650 ctx = templ.ClearChildren(ctx) 632 ctx = templ.ClearChildren(ctx) 651 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "<tr" ) 633 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 45, "<tr" ) 652 if templ_7745c5c3_Err != nil { 634 if templ_7745c5c3_Err != nil { 653 return templ_7745c5c3_Err 635 return templ_7745c5c3_Err 654 } 636 } 655 if r.Cursor { 637 if r.Cursor { 656 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, " data-cursor" ) 638 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 46, " data-cursor" ) 657 if templ_7745c5c3_Err != nil { 639 if templ_7745c5c3_Err != nil { 658 return templ_7745c5c3_Err 640 return templ_7745c5c3_Err 659 } 641 } 660 } 642 } 661 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "><td class=\"c-kind mute\">" ) 643 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 47, "><td class=\"c-kind mute\">" ) 662 if templ_7745c5c3_Err != nil { 644 if templ_7745c5c3_Err != nil { 663 return templ_7745c5c3_Err 645 return templ_7745c5c3_Err 664 } 646 } 665 var templ_7745c5c3_Var29 string 647 var templ_7745c5c3_Var29 string 666 templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(kind) 648 templ_7745c5c3_Var29, templ_7745c5c3_Err = templ.JoinStringErrs(kind) 667 if templ_7745c5c3_Err != nil { 649 if templ_7745c5c3_Err != nil { 668 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 156, Col: 32} 650 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 150, Col: 32} 669 } 651 } 670 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) 652 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var29)) 671 if templ_7745c5c3_Err != nil { 653 if templ_7745c5c3_Err != nil { 672 return templ_7745c5c3_Err 654 return templ_7745c5c3_Err 673 } 655 } 674 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "</td><td class=\"c-name\"><a href=\"" ) 656 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 48, "</td><td class=\"c-name\"><a href=\"" ) 675 if templ_7745c5c3_Err != nil { 657 if templ_7745c5c3_Err != nil { 676 return templ_7745c5c3_Err 658 return templ_7745c5c3_Err 677 } 659 } 678 var templ_7745c5c3_Var30 templ.SafeURL 660 var templ_7745c5c3_Var30 templ.SafeURL 679 templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) 661 templ_7745c5c3_Var30, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Href)) 680 if templ_7745c5c3_Err != nil { 662 if templ_7745c5c3_Err != nil { 681 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 158, Col: 34} 663 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 152, Col: 34} 682 } 664 } 683 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 665 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var30)) 684 if templ_7745c5c3_Err != nil { 666 if templ_7745c5c3_Err != nil { 685 return templ_7745c5c3_Err 667 return templ_7745c5c3_Err 686 } 668 } 687 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "\">" ) 669 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 49, "\">" ) 688 if templ_7745c5c3_Err != nil { 670 if templ_7745c5c3_Err != nil { 689 return templ_7745c5c3_Err 671 return templ_7745c5c3_Err 690 } 672 } 691 var templ_7745c5c3_Var31 string 673 var templ_7745c5c3_Var31 string 692 templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 674 templ_7745c5c3_Var31, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 693 if templ_7745c5c3_Err != nil { 675 if templ_7745c5c3_Err != nil { 694 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 158, Col: 45} 676 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 152, Col: 45} 695 } 677 } 696 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) 678 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var31)) 697 if templ_7745c5c3_Err != nil { 679 if templ_7745c5c3_Err != nil { 698 return templ_7745c5c3_Err 680 return templ_7745c5c3_Err 699 } 681 } 700 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "</a> " ) 682 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "</a> " ) 701 if templ_7745c5c3_Err != nil { 683 if templ_7745c5c3_Err != nil { 702 return templ_7745c5c3_Err 684 return templ_7745c5c3_Err 703 } 685 } 704 if r.Default { 686 if r.Default { 705 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "<span class=\"pill\">default</span>" ) 687 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "<span class=\"pill\">default</span>" ) 706 if templ_7745c5c3_Err != nil { 688 if templ_7745c5c3_Err != nil { 707 return templ_7745c5c3_Err 689 return templ_7745c5c3_Err 708 } 690 } 709 } 691 } 710 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</td><td class=\"c-sha\">" ) 692 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "</td><td class=\"c-sha\">" ) 711 if templ_7745c5c3_Err != nil { 693 if templ_7745c5c3_Err != nil { 712 return templ_7745c5c3_Err 694 return templ_7745c5c3_Err 713 } 695 } 714 if r.CHref != "" { 696 if r.CHref != "" { 715 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "<a href=\"" ) 697 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "<a href=\"" ) 716 if templ_7745c5c3_Err != nil { 698 if templ_7745c5c3_Err != nil { 717 return templ_7745c5c3_Err 699 return templ_7745c5c3_Err 718 } 700 } 719 var templ_7745c5c3_Var32 templ.SafeURL 701 var templ_7745c5c3_Var32 templ.SafeURL 720 templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.CHref)) 702 templ_7745c5c3_Var32, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.CHref)) 721 if templ_7745c5c3_Err != nil { 703 if templ_7745c5c3_Err != nil { 722 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 165, Col: 36} 704 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 159, Col: 36} 723 } 705 } 724 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) 706 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var32)) 725 if templ_7745c5c3_Err != nil { 707 if templ_7745c5c3_Err != nil { 726 return templ_7745c5c3_Err 708 return templ_7745c5c3_Err 727 } 709 } 728 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "\">" ) 710 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "\">" ) 729 if templ_7745c5c3_Err != nil { 711 if templ_7745c5c3_Err != nil { 730 return templ_7745c5c3_Err 712 return templ_7745c5c3_Err 731 } 713 } 732 var templ_7745c5c3_Var33 string 714 var templ_7745c5c3_Var33 string 733 templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 715 templ_7745c5c3_Var33, templ_7745c5c3_Err = templ.JoinStringErrs(r.Short) 734 if templ_7745c5c3_Err != nil { 716 if templ_7745c5c3_Err != nil { 735 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 165, Col: 48} 717 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 159, Col: 48} 736 } 718 } 737 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) 719 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var33)) 738 if templ_7745c5c3_Err != nil { 720 if templ_7745c5c3_Err != nil { 739 return templ_7745c5c3_Err 721 return templ_7745c5c3_Err 740 } 722 } 741 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "</a>" ) 723 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "</a>" ) 742 if templ_7745c5c3_Err != nil { 724 if templ_7745c5c3_Err != nil { 743 return templ_7745c5c3_Err 725 return templ_7745c5c3_Err 744 } 726 } ⋯ 4 hidden lines@@ -757,69 +739,69 @@ func refRow(kind string, r RefRow) templ.Component { 757 if templ_7745c5c3_Err != nil { 739 if templ_7745c5c3_Err != nil { 758 return templ_7745c5c3_Err 740 return templ_7745c5c3_Err 759 } 741 } 760 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "</td><td class=\"c-sub\">" ) 742 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 56, "</td><td class=\"c-sub\">" ) 761 if templ_7745c5c3_Err != nil { 743 if templ_7745c5c3_Err != nil { 762 return templ_7745c5c3_Err 744 return templ_7745c5c3_Err 763 } 745 } 764 var templ_7745c5c3_Var35 string 746 var templ_7745c5c3_Var35 string 765 templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(r.Subject) 747 templ_7745c5c3_Var35, templ_7745c5c3_Err = templ.JoinStringErrs(r.Subject) 766 if templ_7745c5c3_Err != nil { 748 if templ_7745c5c3_Err != nil { 767 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 171, Col: 31} 749 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 165, Col: 31} 768 } 750 } 769 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) 751 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var35)) 770 if templ_7745c5c3_Err != nil { 752 if templ_7745c5c3_Err != nil { 771 return templ_7745c5c3_Err 753 return templ_7745c5c3_Err 772 } 754 } 773 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "</td><td class=\"c-when dim\">" ) 755 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 57, "</td><td class=\"c-when dim\">" ) 774 if templ_7745c5c3_Err != nil { 756 if templ_7745c5c3_Err != nil { 775 return templ_7745c5c3_Err 757 return templ_7745c5c3_Err 776 } 758 } 777 if r.WhenAt != "" { 759 if r.WhenAt != "" { 778 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "<time datetime=\"" ) 760 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 58, "<time datetime=\"" ) 779 if templ_7745c5c3_Err != nil { 761 if templ_7745c5c3_Err != nil { 780 return templ_7745c5c3_Err 762 return templ_7745c5c3_Err 781 } 763 } 782 var templ_7745c5c3_Var36 string 764 var templ_7745c5c3_Var36 string 783 templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 765 templ_7745c5c3_Var36, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 784 if templ_7745c5c3_Err != nil { 766 if templ_7745c5c3_Err != nil { 785 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 29} 767 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 168, Col: 29} 786 } 768 } 787 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36) 769 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var36) 788 if templ_7745c5c3_Err != nil { 770 if templ_7745c5c3_Err != nil { 789 return templ_7745c5c3_Err 771 return templ_7745c5c3_Err 790 } 772 } 791 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 63, "\" title=\"" ) 773 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 59, "\" title=\"" ) 792 if templ_7745c5c3_Err != nil { 774 if templ_7745c5c3_Err != nil { 793 return templ_7745c5c3_Err 775 return templ_7745c5c3_Err 794 } 776 } 795 var templ_7745c5c3_Var37 string 777 var templ_7745c5c3_Var37 string 796 templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 778 templ_7745c5c3_Var37, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.WhenAt) 797 if templ_7745c5c3_Err != nil { 779 if templ_7745c5c3_Err != nil { 798 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 48} 780 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 168, Col: 48} 799 } 781 } 800 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var37) 782 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var37) 801 if templ_7745c5c3_Err != nil { 783 if templ_7745c5c3_Err != nil { 802 return templ_7745c5c3_Err 784 return templ_7745c5c3_Err 803 } 785 } 804 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 64, "\">" ) 786 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 60, "\">" ) 805 if templ_7745c5c3_Err != nil { 787 if templ_7745c5c3_Err != nil { 806 return templ_7745c5c3_Err 788 return templ_7745c5c3_Err 807 } 789 } 808 var templ_7745c5c3_Var38 string 790 var templ_7745c5c3_Var38 string 809 templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(r.When) 791 templ_7745c5c3_Var38, templ_7745c5c3_Err = templ.JoinStringErrs(r.When) 810 if templ_7745c5c3_Err != nil { 792 if templ_7745c5c3_Err != nil { 811 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 174, Col: 59} 793 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 168, Col: 59} 812 } 794 } 813 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) 795 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var38)) 814 if templ_7745c5c3_Err != nil { 796 if templ_7745c5c3_Err != nil { 815 return templ_7745c5c3_Err 797 return templ_7745c5c3_Err 816 } 798 } 817 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "</time>" ) 799 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 61, "</time>" ) 818 if templ_7745c5c3_Err != nil { 800 if templ_7745c5c3_Err != nil { 819 return templ_7745c5c3_Err 801 return templ_7745c5c3_Err 820 } 802 } 821 } 803 } 822 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "</td></tr>" ) 804 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 62, "</td></tr>" ) 823 if templ_7745c5c3_Err != nil { 805 if templ_7745c5c3_Err != nil { 824 return templ_7745c5c3_Err 806 return templ_7745c5c3_Err 825 } 807 } ⋯ 35 hidden lines@@ -898,51 +880,51 @@ func State(l Layout, p StatePage) templ.Component { 898 }() 880 }() 899 } 881 } 900 ctx = templ.InitializeContext(ctx) 882 ctx = templ.InitializeContext(ctx) 901 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "<section class=\"state\" aria-labelledby=\"state-title\"><p class=\"eyebrow\">" ) 883 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 65, "<section class=\"state\" aria-labelledby=\"state-title\"><p class=\"eyebrow\">" ) 902 if templ_7745c5c3_Err != nil { 884 if templ_7745c5c3_Err != nil { 903 return templ_7745c5c3_Err 885 return templ_7745c5c3_Err 904 } 886 } 905 var templ_7745c5c3_Var42 string 887 var templ_7745c5c3_Var42 string 906 templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(p.Code) 888 templ_7745c5c3_Var42, templ_7745c5c3_Err = templ.JoinStringErrs(p.Code) 907 if templ_7745c5c3_Err != nil { 889 if templ_7745c5c3_Err != nil { 908 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 191, Col: 30} 890 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 185, Col: 30} 909 } 891 } 910 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) 892 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var42)) 911 if templ_7745c5c3_Err != nil { 893 if templ_7745c5c3_Err != nil { 912 return templ_7745c5c3_Err 894 return templ_7745c5c3_Err 913 } 895 } 914 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 70, "</p><h1 id=\"state-title\">" ) 896 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 66, "</p><h1 id=\"state-title\">" ) 915 if templ_7745c5c3_Err != nil { 897 if templ_7745c5c3_Err != nil { 916 return templ_7745c5c3_Err 898 return templ_7745c5c3_Err 917 } 899 } 918 var templ_7745c5c3_Var43 string 900 var templ_7745c5c3_Var43 string 919 templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 901 templ_7745c5c3_Var43, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 920 if templ_7745c5c3_Err != nil { 902 if templ_7745c5c3_Err != nil { 921 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 192, Col: 33} 903 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 186, Col: 33} 922 } 904 } 923 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) 905 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var43)) 924 if templ_7745c5c3_Err != nil { 906 if templ_7745c5c3_Err != nil { 925 return templ_7745c5c3_Err 907 return templ_7745c5c3_Err 926 } 908 } 927 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 71, "</h1>" ) 909 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 67, "</h1>" ) 928 if templ_7745c5c3_Err != nil { 910 if templ_7745c5c3_Err != nil { 929 return templ_7745c5c3_Err 911 return templ_7745c5c3_Err 930 } 912 } 931 for _, line := range p.Lines { 913 for _, line := range p.Lines { 932 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 72, "<p class=\"dim\">" ) 914 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 68, "<p class=\"dim\">" ) 933 if templ_7745c5c3_Err != nil { 915 if templ_7745c5c3_Err != nil { 934 return templ_7745c5c3_Err 916 return templ_7745c5c3_Err 935 } 917 } 936 var templ_7745c5c3_Var44 string 918 var templ_7745c5c3_Var44 string 937 templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinStringErrs(line) 919 templ_7745c5c3_Var44, templ_7745c5c3_Err = templ.JoinStringErrs(line) 938 if templ_7745c5c3_Err != nil { 920 if templ_7745c5c3_Err != nil { 939 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 194, Col: 25} 921 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 188, Col: 25} 940 } 922 } 941 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44)) 923 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var44)) 942 if templ_7745c5c3_Err != nil { 924 if templ_7745c5c3_Err != nil { 943 return templ_7745c5c3_Err 925 return templ_7745c5c3_Err 944 } 926 } 945 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 73, "</p>" ) 927 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 69, "</p>" ) 946 if templ_7745c5c3_Err != nil { 928 if templ_7745c5c3_Err != nil { 947 return templ_7745c5c3_Err 929 return templ_7745c5c3_Err 948 } 930 } ⋯ 45 hidden lines@@ -1041,69 +1023,69 @@ func Login(l Layout, p LoginPage) templ.Component { 1041 }() 1023 }() 1042 } 1024 } 1043 ctx = templ.InitializeContext(ctx) 1025 ctx = templ.InitializeContext(ctx) 1044 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1026 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 75, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1045 if templ_7745c5c3_Err != nil { 1027 if templ_7745c5c3_Err != nil { 1046 return templ_7745c5c3_Err 1028 return templ_7745c5c3_Err 1047 } 1029 } 1048 var templ_7745c5c3_Var49 string 1030 var templ_7745c5c3_Var49 string 1049 templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1031 templ_7745c5c3_Var49, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1050 if templ_7745c5c3_Err != nil { 1032 if templ_7745c5c3_Err != nil { 1051 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 216, Col: 33} 1033 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 210, Col: 33} 1052 } 1034 } 1053 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) 1035 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var49)) 1054 if templ_7745c5c3_Err != nil { 1036 if templ_7745c5c3_Err != nil { 1055 return templ_7745c5c3_Err 1037 return templ_7745c5c3_Err 1056 } 1038 } 1057 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "</h1>" ) 1039 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 76, "</h1>" ) 1058 if templ_7745c5c3_Err != nil { 1040 if templ_7745c5c3_Err != nil { 1059 return templ_7745c5c3_Err 1041 return templ_7745c5c3_Err 1060 } 1042 } 1061 for _, line := range p.Lines { 1043 for _, line := range p.Lines { 1062 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "<p class=\"dim\">" ) 1044 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 77, "<p class=\"dim\">" ) 1063 if templ_7745c5c3_Err != nil { 1045 if templ_7745c5c3_Err != nil { 1064 return templ_7745c5c3_Err 1046 return templ_7745c5c3_Err 1065 } 1047 } 1066 var templ_7745c5c3_Var50 string 1048 var templ_7745c5c3_Var50 string 1067 templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1049 templ_7745c5c3_Var50, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1068 if templ_7745c5c3_Err != nil { 1050 if templ_7745c5c3_Err != nil { 1069 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 218, Col: 25} 1051 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 212, Col: 25} 1070 } 1052 } 1071 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) 1053 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var50)) 1072 if templ_7745c5c3_Err != nil { 1054 if templ_7745c5c3_Err != nil { 1073 return templ_7745c5c3_Err 1055 return templ_7745c5c3_Err 1074 } 1056 } 1075 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "</p>" ) 1057 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 78, "</p>" ) 1076 if templ_7745c5c3_Err != nil { 1058 if templ_7745c5c3_Err != nil { 1077 return templ_7745c5c3_Err 1059 return templ_7745c5c3_Err 1078 } 1060 } 1079 } 1061 } 1080 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "<form class=\"state-act\" method=\"post\" action=\"" ) 1062 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 79, "<form class=\"state-act\" method=\"post\" action=\"" ) 1081 if templ_7745c5c3_Err != nil { 1063 if templ_7745c5c3_Err != nil { 1082 return templ_7745c5c3_Err 1064 return templ_7745c5c3_Err 1083 } 1065 } 1084 var templ_7745c5c3_Var51 templ.SafeURL 1066 var templ_7745c5c3_Var51 templ.SafeURL 1085 templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Action)) 1067 templ_7745c5c3_Var51, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Action)) 1086 if templ_7745c5c3_Err != nil { 1068 if templ_7745c5c3_Err != nil { 1087 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 220, Col: 73} 1069 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 214, Col: 73} 1088 } 1070 } 1089 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) 1071 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var51)) 1090 if templ_7745c5c3_Err != nil { 1072 if templ_7745c5c3_Err != nil { 1091 return templ_7745c5c3_Err 1073 return templ_7745c5c3_Err 1092 } 1074 } 1093 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\" data-autosubmit><button type=\"submit\" class=\"btn primary\">" ) 1075 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 80, "\" data-autosubmit><button type=\"submit\" class=\"btn primary\">" ) 1094 if templ_7745c5c3_Err != nil { 1076 if templ_7745c5c3_Err != nil { 1095 return templ_7745c5c3_Err 1077 return templ_7745c5c3_Err 1096 } 1078 } 1097 var templ_7745c5c3_Var52 string 1079 var templ_7745c5c3_Var52 string 1098 templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1080 templ_7745c5c3_Var52, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1099 if templ_7745c5c3_Err != nil { 1081 if templ_7745c5c3_Err != nil { 1100 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 221, Col: 56} 1082 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 215, Col: 56} 1101 } 1083 } 1102 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) 1084 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var52)) 1103 if templ_7745c5c3_Err != nil { 1085 if templ_7745c5c3_Err != nil { 1104 return templ_7745c5c3_Err 1086 return templ_7745c5c3_Err 1105 } 1087 } 1106 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "</button></form><p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1088 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 81, "</button></form><p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1107 if templ_7745c5c3_Err != nil { 1089 if templ_7745c5c3_Err != nil { 1108 return templ_7745c5c3_Err 1090 return templ_7745c5c3_Err 1109 } 1091 } ⋯ 42 hidden lines@@ -1152,82 +1134,82 @@ func PasskeyLogin(l Layout, p PasskeyLoginPage) templ.Component { 1152 }() 1134 }() 1153 } 1135 } 1154 ctx = templ.InitializeContext(ctx) 1136 ctx = templ.InitializeContext(ctx) 1155 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1137 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 82, "<section class=\"state\" aria-labelledby=\"state-title\"><h1 id=\"state-title\">" ) 1156 if templ_7745c5c3_Err != nil { 1138 if templ_7745c5c3_Err != nil { 1157 return templ_7745c5c3_Err 1139 return templ_7745c5c3_Err 1158 } 1140 } 1159 var templ_7745c5c3_Var55 string 1141 var templ_7745c5c3_Var55 string 1160 templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1142 templ_7745c5c3_Var55, templ_7745c5c3_Err = templ.JoinStringErrs(p.Title) 1161 if templ_7745c5c3_Err != nil { 1143 if templ_7745c5c3_Err != nil { 1162 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 233, Col: 33} 1144 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 227, Col: 33} 1163 } 1145 } 1164 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) 1146 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var55)) 1165 if templ_7745c5c3_Err != nil { 1147 if templ_7745c5c3_Err != nil { 1166 return templ_7745c5c3_Err 1148 return templ_7745c5c3_Err 1167 } 1149 } 1168 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "</h1><form class=\"state-act\" data-js data-passkey-form><button type=\"submit\" class=\"btn primary\" data-passkey=\"login\" data-begin=\"" ) 1150 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 83, "</h1><form class=\"state-act\" data-js data-passkey-form><button type=\"submit\" class=\"btn primary\" data-passkey=\"login\" data-begin=\"" ) 1169 if templ_7745c5c3_Err != nil { 1151 if templ_7745c5c3_Err != nil { 1170 return templ_7745c5c3_Err 1152 return templ_7745c5c3_Err 1171 } 1153 } 1172 var templ_7745c5c3_Var56 string 1154 var templ_7745c5c3_Var56 string 1173 templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1155 templ_7745c5c3_Var56, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1174 if templ_7745c5c3_Err != nil { 1156 if templ_7745c5c3_Err != nil { 1175 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 87} 1157 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 229, Col: 87} 1176 } 1158 } 1177 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var56) 1159 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var56) 1178 if templ_7745c5c3_Err != nil { 1160 if templ_7745c5c3_Err != nil { 1179 return templ_7745c5c3_Err 1161 return templ_7745c5c3_Err 1180 } 1162 } 1181 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "\" data-finish=\"" ) 1163 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 84, "\" data-finish=\"" ) 1182 if templ_7745c5c3_Err != nil { 1164 if templ_7745c5c3_Err != nil { 1183 return templ_7745c5c3_Err 1165 return templ_7745c5c3_Err 1184 } 1166 } 1185 var templ_7745c5c3_Var57 string 1167 var templ_7745c5c3_Var57 string 1186 templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1168 templ_7745c5c3_Var57, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1187 if templ_7745c5c3_Err != nil { 1169 if templ_7745c5c3_Err != nil { 1188 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 112} 1170 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 229, Col: 112} 1189 } 1171 } 1190 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var57) 1172 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var57) 1191 if templ_7745c5c3_Err != nil { 1173 if templ_7745c5c3_Err != nil { 1192 return templ_7745c5c3_Err 1174 return templ_7745c5c3_Err 1193 } 1175 } 1194 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "\">" ) 1176 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 85, "\">" ) 1195 if templ_7745c5c3_Err != nil { 1177 if templ_7745c5c3_Err != nil { 1196 return templ_7745c5c3_Err 1178 return templ_7745c5c3_Err 1197 } 1179 } 1198 var templ_7745c5c3_Var58 string 1180 var templ_7745c5c3_Var58 string 1199 templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1181 templ_7745c5c3_Var58, templ_7745c5c3_Err = templ.JoinStringErrs(p.Button) 1200 if templ_7745c5c3_Err != nil { 1182 if templ_7745c5c3_Err != nil { 1201 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 235, Col: 125} 1183 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 229, Col: 125} 1202 } 1184 } 1203 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) 1185 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var58)) 1204 if templ_7745c5c3_Err != nil { 1186 if templ_7745c5c3_Err != nil { 1205 return templ_7745c5c3_Err 1187 return templ_7745c5c3_Err 1206 } 1188 } 1207 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "</button></form><p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1189 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 86, "</button></form><p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1208 if templ_7745c5c3_Err != nil { 1190 if templ_7745c5c3_Err != nil { 1209 return templ_7745c5c3_Err 1191 return templ_7745c5c3_Err 1210 } 1192 } 1211 for _, line := range p.Lines { 1193 for _, line := range p.Lines { 1212 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "<p class=\"dim\">" ) 1194 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 87, "<p class=\"dim\">" ) 1213 if templ_7745c5c3_Err != nil { 1195 if templ_7745c5c3_Err != nil { 1214 return templ_7745c5c3_Err 1196 return templ_7745c5c3_Err 1215 } 1197 } 1216 var templ_7745c5c3_Var59 string 1198 var templ_7745c5c3_Var59 string 1217 templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1199 templ_7745c5c3_Var59, templ_7745c5c3_Err = templ.JoinStringErrs(line) 1218 if templ_7745c5c3_Err != nil { 1200 if templ_7745c5c3_Err != nil { 1219 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 239, Col: 25} 1201 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 233, Col: 25} 1220 } 1202 } 1221 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) 1203 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var59)) 1222 if templ_7745c5c3_Err != nil { 1204 if templ_7745c5c3_Err != nil { 1223 return templ_7745c5c3_Err 1205 return templ_7745c5c3_Err 1224 } 1206 } 1225 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "</p>" ) 1207 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 88, "</p>" ) 1226 if templ_7745c5c3_Err != nil { 1208 if templ_7745c5c3_Err != nil { 1227 return templ_7745c5c3_Err 1209 return templ_7745c5c3_Err 1228 } 1210 } 1229 } 1211 } 1230 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "<p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1212 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 89, "<p class=\"state-back\"><a href=\"/\">Back to home</a></p></section>" ) 1231 if templ_7745c5c3_Err != nil { 1213 if templ_7745c5c3_Err != nil { 1232 return templ_7745c5c3_Err 1214 return templ_7745c5c3_Err 1233 } 1215 } ⋯ 41 hidden lines@@ -1275,225 +1257,225 @@ func Passkeys(l Layout, p PasskeysPage) templ.Component { 1275 }() 1257 }() 1276 } 1258 } 1277 ctx = templ.InitializeContext(ctx) 1259 ctx = templ.InitializeContext(ctx) 1278 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "<h2 class=\"rule-h\"><span>Passkeys</span><span class=\"count\">" ) 1260 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 90, "<h2 class=\"rule-h\"><span>Passkeys</span><span class=\"count\">" ) 1279 if templ_7745c5c3_Err != nil { 1261 if templ_7745c5c3_Err != nil { 1280 return templ_7745c5c3_Err 1262 return templ_7745c5c3_Err 1281 } 1263 } 1282 var templ_7745c5c3_Var62 string 1264 var templ_7745c5c3_Var62 string 1283 templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Rows))) 1265 templ_7745c5c3_Var62, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Rows))) 1284 if templ_7745c5c3_Err != nil { 1266 if templ_7745c5c3_Err != nil { 1285 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 249, Col: 81} 1267 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 243, Col: 81} 1286 } 1268 } 1287 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) 1269 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var62)) 1288 if templ_7745c5c3_Err != nil { 1270 if templ_7745c5c3_Err != nil { 1289 return templ_7745c5c3_Err 1271 return templ_7745c5c3_Err 1290 } 1272 } 1291 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, "</span></h2><p class=\"dim\">A passkey signs you in from this device or your phone, without a terminal. Removing one signs every browser out.</p>" ) 1273 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 91, "</span></h2><p class=\"dim\">A passkey signs you in from this device or your phone, without a terminal. Removing one signs every browser out.</p>" ) 1292 if templ_7745c5c3_Err != nil { 1274 if templ_7745c5c3_Err != nil { 1293 return templ_7745c5c3_Err 1275 return templ_7745c5c3_Err 1294 } 1276 } 1295 if len(p.Rows) > 0 { 1277 if len(p.Rows) > 0 { 1296 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "<table class=\"list passkeys\" aria-label=\"Passkeys\"><thead><tr><th class=\"c-name\">Name</th><th class=\"c-when\">Created</th><th class=\"c-when\">Last used</th><th class=\"c-sync\">Synced</th><th class=\"c-act\"><span class=\"sr\">Remove</span></th></tr></thead> <tbody>" ) 1278 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 92, "<table class=\"list passkeys\" aria-label=\"Passkeys\"><thead><tr><th class=\"c-name\">Name</th><th class=\"c-when\">Created</th><th class=\"c-when\">Last used</th><th class=\"c-sync\">Synced</th><th class=\"c-act\"><span class=\"sr\">Remove</span></th></tr></thead> <tbody>" ) 1297 if templ_7745c5c3_Err != nil { 1279 if templ_7745c5c3_Err != nil { 1298 return templ_7745c5c3_Err 1280 return templ_7745c5c3_Err 1299 } 1281 } 1300 for _, r := range p.Rows { 1282 for _, r := range p.Rows { 1301 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, "<tr><td class=\"c-name\">" ) 1283 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 93, "<tr><td class=\"c-name\">" ) 1302 if templ_7745c5c3_Err != nil { 1284 if templ_7745c5c3_Err != nil { 1303 return templ_7745c5c3_Err 1285 return templ_7745c5c3_Err 1304 } 1286 } 1305 var templ_7745c5c3_Var63 string 1287 var templ_7745c5c3_Var63 string 1306 templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 1288 templ_7745c5c3_Var63, templ_7745c5c3_Err = templ.JoinStringErrs(r.Name) 1307 if templ_7745c5c3_Err != nil { 1289 if templ_7745c5c3_Err != nil { 1308 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 265, Col: 34} 1290 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 259, Col: 34} 1309 } 1291 } 1310 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1292 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var63)) 1311 if templ_7745c5c3_Err != nil { 1293 if templ_7745c5c3_Err != nil { 1312 return templ_7745c5c3_Err 1294 return templ_7745c5c3_Err 1313 } 1295 } 1314 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</td><td class=\"c-when nowrap\"><time" ) 1296 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 94, "</td><td class=\"c-when nowrap\"><time" ) 1315 if templ_7745c5c3_Err != nil { 1297 if templ_7745c5c3_Err != nil { 1316 return templ_7745c5c3_Err 1298 return templ_7745c5c3_Err 1317 } 1299 } 1318 if r.CreatedAt != "" { 1300 if r.CreatedAt != "" { 1319 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, " datetime=\"" ) 1301 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 95, " datetime=\"" ) 1320 if templ_7745c5c3_Err != nil { 1302 if templ_7745c5c3_Err != nil { 1321 return templ_7745c5c3_Err 1303 return templ_7745c5c3_Err 1322 } 1304 } 1323 var templ_7745c5c3_Var64 string 1305 var templ_7745c5c3_Var64 string 1324 templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.CreatedAt) 1306 templ_7745c5c3_Var64, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.CreatedAt) 1325 if templ_7745c5c3_Err != nil { 1307 if templ_7745c5c3_Err != nil { 1326 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 269, Col: 32} 1308 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 263, Col: 32} 1327 } 1309 } 1328 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var64) 1310 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var64) 1329 if templ_7745c5c3_Err != nil { 1311 if templ_7745c5c3_Err != nil { 1330 return templ_7745c5c3_Err 1312 return templ_7745c5c3_Err 1331 } 1313 } 1332 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "\"" ) 1314 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 96, "\"" ) 1333 if templ_7745c5c3_Err != nil { 1315 if templ_7745c5c3_Err != nil { 1334 return templ_7745c5c3_Err 1316 return templ_7745c5c3_Err 1335 } 1317 } 1336 } 1318 } 1337 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, ">" ) 1319 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 97, ">" ) 1338 if templ_7745c5c3_Err != nil { 1320 if templ_7745c5c3_Err != nil { 1339 return templ_7745c5c3_Err 1321 return templ_7745c5c3_Err 1340 } 1322 } 1341 var templ_7745c5c3_Var65 string 1323 var templ_7745c5c3_Var65 string 1342 templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(r.Created) 1324 templ_7745c5c3_Var65, templ_7745c5c3_Err = templ.JoinStringErrs(r.Created) 1343 if templ_7745c5c3_Err != nil { 1325 if templ_7745c5c3_Err != nil { 1344 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 271, Col: 20} 1326 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 265, Col: 20} 1345 } 1327 } 1346 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1328 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var65)) 1347 if templ_7745c5c3_Err != nil { 1329 if templ_7745c5c3_Err != nil { 1348 return templ_7745c5c3_Err 1330 return templ_7745c5c3_Err 1349 } 1331 } 1350 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</time></td><td class=\"c-when nowrap\"><time" ) 1332 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 98, "</time></td><td class=\"c-when nowrap\"><time" ) 1351 if templ_7745c5c3_Err != nil { 1333 if templ_7745c5c3_Err != nil { 1352 return templ_7745c5c3_Err 1334 return templ_7745c5c3_Err 1353 } 1335 } 1354 if r.LastUsedAt != "" { 1336 if r.LastUsedAt != "" { 1355 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, " datetime=\"" ) 1337 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 99, " datetime=\"" ) 1356 if templ_7745c5c3_Err != nil { 1338 if templ_7745c5c3_Err != nil { 1357 return templ_7745c5c3_Err 1339 return templ_7745c5c3_Err 1358 } 1340 } 1359 var templ_7745c5c3_Var66 string 1341 var templ_7745c5c3_Var66 string 1360 templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.LastUsedAt) 1342 templ_7745c5c3_Var66, templ_7745c5c3_Err = templ.ResolveAttributeValue(r.LastUsedAt) 1361 if templ_7745c5c3_Err != nil { 1343 if templ_7745c5c3_Err != nil { 1362 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 276, Col: 33} 1344 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 270, Col: 33} 1363 } 1345 } 1364 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var66) 1346 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var66) 1365 if templ_7745c5c3_Err != nil { 1347 if templ_7745c5c3_Err != nil { 1366 return templ_7745c5c3_Err 1348 return templ_7745c5c3_Err 1367 } 1349 } 1368 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "\"" ) 1350 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 100, "\"" ) 1369 if templ_7745c5c3_Err != nil { 1351 if templ_7745c5c3_Err != nil { 1370 return templ_7745c5c3_Err 1352 return templ_7745c5c3_Err 1371 } 1353 } 1372 } 1354 } 1373 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, ">" ) 1355 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 101, ">" ) 1374 if templ_7745c5c3_Err != nil { 1356 if templ_7745c5c3_Err != nil { 1375 return templ_7745c5c3_Err 1357 return templ_7745c5c3_Err 1376 } 1358 } 1377 var templ_7745c5c3_Var67 string 1359 var templ_7745c5c3_Var67 string 1378 templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(r.LastUsed) 1360 templ_7745c5c3_Var67, templ_7745c5c3_Err = templ.JoinStringErrs(r.LastUsed) 1379 if templ_7745c5c3_Err != nil { 1361 if templ_7745c5c3_Err != nil { 1380 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 278, Col: 21} 1362 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 272, Col: 21} 1381 } 1363 } 1382 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) 1364 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var67)) 1383 if templ_7745c5c3_Err != nil { 1365 if templ_7745c5c3_Err != nil { 1384 return templ_7745c5c3_Err 1366 return templ_7745c5c3_Err 1385 } 1367 } 1386 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "</time></td><td class=\"c-sync\">" ) 1368 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 102, "</time></td><td class=\"c-sync\">" ) 1387 if templ_7745c5c3_Err != nil { 1369 if templ_7745c5c3_Err != nil { 1388 return templ_7745c5c3_Err 1370 return templ_7745c5c3_Err 1389 } 1371 } 1390 if r.Synced { 1372 if r.Synced { 1391 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "yes" ) 1373 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 103, "yes" ) 1392 if templ_7745c5c3_Err != nil { 1374 if templ_7745c5c3_Err != nil { 1393 return templ_7745c5c3_Err 1375 return templ_7745c5c3_Err 1394 } 1376 } 1395 } else { 1377 } else { 1396 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "no" ) 1378 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 104, "no" ) 1397 if templ_7745c5c3_Err != nil { 1379 if templ_7745c5c3_Err != nil { 1398 return templ_7745c5c3_Err 1380 return templ_7745c5c3_Err 1399 } 1381 } 1400 } 1382 } 1401 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "</td><td class=\"c-act\"><form method=\"post\" action=\"" ) 1383 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 105, "</td><td class=\"c-act\"><form method=\"post\" action=\"" ) 1402 if templ_7745c5c3_Err != nil { 1384 if templ_7745c5c3_Err != nil { 1403 return templ_7745c5c3_Err 1385 return templ_7745c5c3_Err 1404 } 1386 } 1405 var templ_7745c5c3_Var68 templ.SafeURL 1387 var templ_7745c5c3_Var68 templ.SafeURL 1406 templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Remove)) 1388 templ_7745c5c3_Var68, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(r.Remove)) 1407 if templ_7745c5c3_Err != nil { 1389 if templ_7745c5c3_Err != nil { 1408 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 288, Col: 60} 1390 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 282, Col: 60} 1409 } 1391 } 1410 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) 1392 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var68)) 1411 if templ_7745c5c3_Err != nil { 1393 if templ_7745c5c3_Err != nil { 1412 return templ_7745c5c3_Err 1394 return templ_7745c5c3_Err 1413 } 1395 } 1414 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, "\"><button type=\"submit\" class=\"btn danger\" aria-label=\"" ) 1396 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 106, "\"><button type=\"submit\" class=\"btn danger\" aria-label=\"" ) 1415 if templ_7745c5c3_Err != nil { 1397 if templ_7745c5c3_Err != nil { 1416 return templ_7745c5c3_Err 1398 return templ_7745c5c3_Err 1417 } 1399 } 1418 var templ_7745c5c3_Var69 string 1400 var templ_7745c5c3_Var69 string 1419 templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.ResolveAttributeValue("Remove passkey " + r.Name) 1401 templ_7745c5c3_Var69, templ_7745c5c3_Err = templ.ResolveAttributeValue("Remove passkey " + r.Name) 1420 if templ_7745c5c3_Err != nil { 1402 if templ_7745c5c3_Err != nil { 1421 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 289, Col: 89} 1403 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 283, Col: 89} 1422 } 1404 } 1423 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var69) 1405 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var69) 1424 if templ_7745c5c3_Err != nil { 1406 if templ_7745c5c3_Err != nil { 1425 return templ_7745c5c3_Err 1407 return templ_7745c5c3_Err 1426 } 1408 } 1427 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "\">Remove</button></form></td></tr>" ) 1409 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 107, "\">Remove</button></form></td></tr>" ) 1428 if templ_7745c5c3_Err != nil { 1410 if templ_7745c5c3_Err != nil { 1429 return templ_7745c5c3_Err 1411 return templ_7745c5c3_Err 1430 } 1412 } 1431 } 1413 } 1432 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, "</tbody></table>" ) 1414 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 108, "</tbody></table>" ) 1433 if templ_7745c5c3_Err != nil { 1415 if templ_7745c5c3_Err != nil { 1434 return templ_7745c5c3_Err 1416 return templ_7745c5c3_Err 1435 } 1417 } 1436 } else { 1418 } else { 1437 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "<p class=\"lede dim\">no passkeys yet.</p>" ) 1419 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 109, "<p class=\"lede dim\">no passkeys yet.</p>" ) 1438 if templ_7745c5c3_Err != nil { 1420 if templ_7745c5c3_Err != nil { 1439 return templ_7745c5c3_Err 1421 return templ_7745c5c3_Err 1440 } 1422 } 1441 } 1423 } 1442 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, " " ) 1424 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 110, " " ) 1443 if templ_7745c5c3_Err != nil { 1425 if templ_7745c5c3_Err != nil { 1444 return templ_7745c5c3_Err 1426 return templ_7745c5c3_Err 1445 } 1427 } 1446 if p.Full { 1428 if p.Full { 1447 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "<p class=\"dim\">" ) 1429 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 111, "<p class=\"dim\">" ) 1448 if templ_7745c5c3_Err != nil { 1430 if templ_7745c5c3_Err != nil { 1449 return templ_7745c5c3_Err 1431 return templ_7745c5c3_Err 1450 } 1432 } 1451 var templ_7745c5c3_Var70 string 1433 var templ_7745c5c3_Var70 string 1452 templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Max)) 1434 templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Max)) 1453 if templ_7745c5c3_Err != nil { 1435 if templ_7745c5c3_Err != nil { 1454 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 300, Col: 31} 1436 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 294, Col: 31} 1455 } 1437 } 1456 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1438 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1457 if templ_7745c5c3_Err != nil { 1439 if templ_7745c5c3_Err != nil { 1458 return templ_7745c5c3_Err 1440 return templ_7745c5c3_Err 1459 } 1441 } 1460 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, " passkeys are registered, the most there can be. Remove one to add another.</p>" ) 1442 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 112, " passkeys are registered, the most there can be. Remove one to add another.</p>" ) 1461 if templ_7745c5c3_Err != nil { 1443 if templ_7745c5c3_Err != nil { 1462 return templ_7745c5c3_Err 1444 return templ_7745c5c3_Err 1463 } 1445 } 1464 } else { 1446 } else { 1465 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 117, "<form class=\"passkey-add\" data-js data-passkey-form><label for=\"passkey-name\" class=\"sr\">Name of the new passkey</label> <input id=\"passkey-name\" type=\"text\" placeholder=\"Name, for example Pixel 9\" autocomplete=\"off\" data-passkey-name> <button type=\"submit\" class=\"btn primary\" data-passkey=\"register\" data-begin=\"" ) 1447 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 113, "<form class=\"passkey-add\" data-js data-passkey-form><label for=\"passkey-name\" class=\"sr\">Name of the new passkey</label> <input id=\"passkey-name\" type=\"text\" placeholder=\"Name, for example Pixel 9\" autocomplete=\"off\" data-passkey-name> <button type=\"submit\" class=\"btn primary\" data-passkey=\"register\" data-begin=\"" ) 1466 if templ_7745c5c3_Err != nil { 1448 if templ_7745c5c3_Err != nil { 1467 return templ_7745c5c3_Err 1449 return templ_7745c5c3_Err 1468 } 1450 } 1469 var templ_7745c5c3_Var71 string 1451 var templ_7745c5c3_Var71 string 1470 templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1452 templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Begin) 1471 if templ_7745c5c3_Err != nil { 1453 if templ_7745c5c3_Err != nil { 1472 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 305, Col: 90} 1454 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 299, Col: 90} 1473 } 1455 } 1474 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var71) 1456 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var71) 1475 if templ_7745c5c3_Err != nil { 1457 if templ_7745c5c3_Err != nil { 1476 return templ_7745c5c3_Err 1458 return templ_7745c5c3_Err 1477 } 1459 } 1478 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 118, "\" data-finish=\"" ) 1460 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 114, "\" data-finish=\"" ) 1479 if templ_7745c5c3_Err != nil { 1461 if templ_7745c5c3_Err != nil { 1480 return templ_7745c5c3_Err 1462 return templ_7745c5c3_Err 1481 } 1463 } 1482 var templ_7745c5c3_Var72 string 1464 var templ_7745c5c3_Var72 string 1483 templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1465 templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Finish) 1484 if templ_7745c5c3_Err != nil { 1466 if templ_7745c5c3_Err != nil { 1485 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 305, Col: 115} 1467 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/pages.templ` , Line: 299, Col: 115} 1486 } 1468 } 1487 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1469 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1488 if templ_7745c5c3_Err != nil { 1470 if templ_7745c5c3_Err != nil { 1489 return templ_7745c5c3_Err 1471 return templ_7745c5c3_Err 1490 } 1472 } 1491 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 119, "\">Add a passkey</button></form>" ) 1473 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 115, "\">Add a passkey</button></form>" ) 1492 if templ_7745c5c3_Err != nil { 1474 if templ_7745c5c3_Err != nil { 1493 return templ_7745c5c3_Err 1475 return templ_7745c5c3_Err 1494 } 1476 } 1495 } 1477 } 1496 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 120, " <p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1478 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 116, " <p class=\"dim\" role=\"status\" aria-live=\"polite\" data-passkey-status></p>" ) 1497 if templ_7745c5c3_Err != nil { 1479 if templ_7745c5c3_Err != nil { 1498 return templ_7745c5c3_Err 1480 return templ_7745c5c3_Err 1499 } 1481 }