gitea/templates/repo/issue
wxiaoguang b71cb7acdc
Use fetch to send requests to create issues/comments ()
Follow 

Network error won't make content lost. And this is a much better
approach than "loading-button".

The UI is not perfect and there are still some TODOs, they can be done
in following PRs, not a must in this PR's scope.

<details>


![image](https://github.com/go-gitea/gitea/assets/2114189/c94ba958-aa46-4747-8ddf-6584deeed25c)

</details>
..
fields Add validations.required check to dropdown field ()
labels Button and color enhancements ()
milestone Improve dropdown menus, remove inline styles ()
view_content Add template linting via djlint ()
branch_selector_field.tmpl Add template linting via djlint ()
choose.tmpl Add template linting via djlint ()
comment_tab.tmpl Improve markdown editor: width, height, preferred ()
label_precolors.tmpl Fix purple color in suggested label colors ()
labels.tmpl Add template linting via djlint ()
list.tmpl Button and color enhancements ()
milestone_issues.tmpl Add Progressbar to Milestone Page ()
milestone_new.tmpl Add main landmark to templates and adjust titles ()
milestones.tmpl Make Issue/PR/projects more compact, misc CSS tweaks ()
navbar.tmpl Make Issue/PR/projects more compact, misc CSS tweaks ()
new.tmpl Make Issue/PR/projects more compact, misc CSS tweaks ()
new_form.tmpl Use fetch to send requests to create issues/comments ()
openclose.tmpl Make Issue/PR/projects more compact, misc CSS tweaks ()
search.tmpl Improve some Forms ()
view.tmpl Make Issue/PR/projects more compact, misc CSS tweaks ()
view_content.tmpl Use fetch to send requests to create issues/comments ()
view_title.tmpl Use flex to align SVG and text ()