Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
d32af84a10
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
...
Close #22847
This PR:
* introduce Gitea's own `showElem` and related functions
* remove jQuery show/hide
* remove .hide class
* remove inline style=display:none
From now on:
do not use:
* "[hidden]" attribute: it's too weak, can not be applied to an element
with "display: flex"
* ".hidden" class: it has been polluted by Fomantic UI in many cases
* inline style="display: none": it's difficult to tweak
* jQuery's show/hide/toggle: it can not show/hide elements with
"display: xxx !important"
only use:
* this ".gt-hidden" class
* showElem/hideElem/toggleElem functions in "utils/dom.js"
cc: @silverwind , this is the all-in-one PR
2 years ago
..
actions
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
branch
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
cite
Copy citation file content, in APA and BibTex format, on repo home page ( #19999 )
2 years ago
diff
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
editor
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
find
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
graph
Add context cache as a request level cache ( #22294 )
2 years ago
issue
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
migrate
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
projects
Scoped labels ( #22585 )
2 years ago
pulls
Always go full width in PR view ( #22844 )
2 years ago
release
Add context cache as a request level cache ( #22294 )
2 years ago
settings
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
wiki
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
activity.tmpl
Add main landmark to templates and adjust titles ( #22670 )
2 years ago
blame.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
branch_dropdown.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
clone_buttons.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
clone_script.tmpl
Make clone URL use current page's host ( #22808 )
2 years ago
commit_page.tmpl
Always go full width in PR view ( #22844 )
2 years ago
commit_status.tmpl
Change commit status icons to SVG ( #20736 )
2 years ago
commit_statuses.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
commits.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
commits_list.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
commits_list_small.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
commits_table.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
create.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
create_helper.tmpl
Add templates to customize text when creating and migrating repositories
2 years ago
empty.tmpl
Add main landmark to templates and adjust titles ( #22670 )
2 years ago
file_info.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
forks.tmpl
Add context cache as a request level cache ( #22294 )
2 years ago
graph.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
header.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
home.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
icon.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
packages.tmpl
Add main landmark to templates and adjust titles ( #22670 )
2 years ago
search.tmpl
Remove Fomantic-UI's `.hidden` CSS class for menu elements ( #22895 )
2 years ago
shabox_badge.tmpl
Fix shabox regression ( #22924 )
2 years ago
sub_menu.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
unicode_escape_prompt.tmpl
Move helpers to be prefixed with `gt-` ( #22879 )
2 years ago
upload.tmpl
Refactor `i18n` to `locale` ( #20153 )
2 years ago
user_cards.tmpl
Add context cache as a request level cache ( #22294 )
2 years ago
view_file.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
view_list.tmpl
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none ( #22950 )
2 years ago
watchers.tmpl
Add main landmark to templates and adjust titles ( #22670 )
2 years ago