You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo
Kerwin Bryant f0f1737d4d
Refactor markup and pdf-viewer to use new init framework (#33772)
1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 weeks ago
..
actions workflow_dispatch use workflow from trigger branch (#33098) 3 months ago
branch Trivial fixes (#33304) 2 months ago
cite Fix Citation modal responsiveness and clipboard copy (#29799) 1 year ago
code Improve sync fork behavior (#33319) 2 months ago
diff Fix dynamic content loading init problem (#33748) 4 weeks ago
editor Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
find Fix word overflow in file search page (#32695) 4 months ago
graph De-emphasize signed commits (#31160) 3 months ago
issue Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
migrate Fix 500 error when error occurred in migration page (#33256) 2 months ago
projects Fix incorrect project page CSS class (#32510) 4 months ago
pulls Fix form width (#33151) 3 months ago
release Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
settings Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
tag Refactor DateUtils and merge TimeSince (#32409) 5 months ago
wiki Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
activity.tmpl Implement recent commits graph (#29210) 1 year ago
blame.tmpl Simplify context ref name (#33267) 2 months ago
branch_dropdown.tmpl Fix branch dropdown not display ref name (#33159) 3 months ago
clone_buttons.tmpl Rearrange Clone Panel (#31142) 4 months ago
clone_panel.tmpl Clone repository with Tea CLI (#33725) 4 weeks ago
code_frequency.tmpl Refactor web routes (#30519) 11 months ago
commit_load_branches_and_tags.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
commit_page.tmpl Simplify context ref name (#33267) 2 months ago
commit_sign_badge.tmpl Do not show unnecessary commit sign lock icon (#33387) 2 months ago
commit_status.tmpl Restore warning commit status (#27504) 1 year ago
commit_statuses.tmpl fix toggle commit body button ui when latest commit message is long (#32997) 3 months ago
commits.tmpl Simplify context ref name (#33267) 2 months ago
commits_list.tmpl De-emphasize signed commits (#31160) 3 months ago
commits_list_small.tmpl De-emphasize signed commits (#31160) 3 months ago
commits_search_dropdown.tmpl Unify search boxes (#29530) 1 year ago
commits_table.tmpl Refactor context repository (#33202) 2 months ago
contributors.tmpl Add "n commits" link to contributors in contributors graph page (#32799) 3 months ago
create.tmpl Fix form width (#33151) 3 months ago
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 1 year ago
empty.tmpl Fix repo empty guide (#33114) 3 months ago
file_info.tmpl Improve detecting empty files (#31332) 10 months ago
forks.tmpl Refactor find forks and fix possible bugs that weak permissions check (#32528) 4 months ago
graph.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 1 year ago
header.tmpl Refactor repository transfer (#33211) 2 months ago
home.tmpl Simplify context ref name (#33267) 2 months ago
home_sidebar_bottom.tmpl Tweak repo sidebar (#32847) 3 months ago
home_sidebar_top.tmpl Repo homepage styling tweaks (#33289) 2 months ago
icon.tmpl Replace 10 more gt- classes with tw- (#29945) 1 year ago
latest_commit.tmpl fix toggle commit body button ui when latest commit message is long (#32997) 3 months ago
navbar.tmpl Implement recent commits graph (#29210) 1 year ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
pulse.tmpl Remove unused CSS styles and move some styles to proper files (#33217) 2 months ago
recent_commits.tmpl Refactor web routes (#30519) 11 months ago
release_tag_header.tmpl Fix incorrect TagName/BranchName usages (#33279) 2 months ago
search.tmpl Unify search boxes (#29530) 1 year ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
star_unstar.tmpl code optimization (#31315) 10 months ago
sub_menu.tmpl Repo homepage styling tweaks (#33289) 2 months ago
unicode_escape_prompt.tmpl Replace some `gt-` classes with `tw-` (#29570) 1 year ago
upload.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2 years ago
user_cards.tmpl Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 4 months ago
view_file.tmpl Refactor markup and pdf-viewer to use new init framework (#33772) 3 weeks ago
view_list.tmpl add submodule diff links (#33097) 3 months ago
watch_unwatch.tmpl Tweak repo buttons on mobile and labeled button border-radius (#30503) 11 months ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago