gitea源码

badge-actions-svg.tmpl 814B

1234567891011121314151617181920212223242526
  1. {{template "devtest/devtest-header"}}
  2. <div class="page-content devtest ui container">
  3. <div>
  4. <h1>Actions SVG</h1>
  5. <form class="tw-my-3">
  6. <div class="tw-mb-2">
  7. {{range $fontName := .BadgeFontFamilyNames}}
  8. <label><input name="font" type="radio" value="{{$fontName}}" {{Iif (eq $.SelectedFontFamilyName $fontName) "checked"}}>{{$fontName}}</label>
  9. {{end}}
  10. </div>
  11. <div class="tw-mb-2">
  12. {{range $style := .BadgeStyles}}
  13. <label><input name="style" type="radio" value="{{$style}}" {{Iif (eq $.SelectedStyle $style) "checked"}}>{{$style}}</label>
  14. {{end}}
  15. </div>
  16. <button>submit</button>
  17. </form>
  18. <div class="flex-text-block tw-flex-wrap">
  19. {{range $badgeSVG := .BadgeSVGs}}
  20. <div>{{$badgeSVG}}</div>
  21. {{end}}
  22. </div>
  23. </div>
  24. </div>
  25. {{template "devtest/devtest-footer"}}