Compare commits
18 commits
Author | SHA1 | Date | |
---|---|---|---|
bdfa6cd2e5 | |||
fe1ecba9be | |||
64afc2b436 | |||
dc80cb0331 | |||
a4941a7b33 | |||
3ca3f84eef | |||
fad55bafee | |||
52fd6593dc | |||
0262aaa4d4 | |||
9dbacd64ee | |||
affa09f487 | |||
a637c8f684 | |||
02722f26f5 | |||
02eade2a1f | |||
|
a8ba0bedff | ||
|
2d84cf4a74 | ||
|
748ad01bcd | ||
|
08abe30035 |
12
README.md
|
@ -1,12 +1,12 @@
|
||||||
# gitdab
|
![Transparent background gitdab logo](icons/gitdab_transparent.png)
|
||||||
|
|
||||||
Gitdab's scripts, icons and gitea customizations
|
# Gitdab
|
||||||
|
|
||||||
We run a fork of Gitea v1.6 with following code changes:
|
Gitdab's scripts, icons and gitea customizations.
|
||||||
- Repo migrations are disabled to prevent leaking server's IP address.
|
|
||||||
- The description on embeds is changed.
|
|
||||||
|
|
||||||
Various other changes are also applied to templates.
|
We run gitea with various template changes.
|
||||||
|
|
||||||
|
Historically we had some code changes, currently we don't have any of them, but we might get some more eventually. Those will be shared here as well.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
BIN
customizations/custom/public/assets/img/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
customizations/custom/public/assets/img/avatar_default.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
1
customizations/custom/public/assets/img/favicon.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="32" height="32"><rect transform="rotate(45 200 200)" rx="39" height="250" width="250" y="75" x="75" fill="#f494a3"/><path fill-rule="evenodd" fill="#fcfbfb" d="M149.753 142.69c-32.224 6.352-44.876 44.948-21.601 67.986l3.12 3.088-8.296 5.427a2319.37 2319.37 0 01-12.695 8.252c-9.905 6.361-12.224 13.845-6.316 20.385 4.975 5.507 7.849 5.28 26.23-2.086 7.076-2.835 13.1-5.154 13.386-5.154.426 0 .516 7.422.489 40.246l-.034 40.247 4.523 4.825c6.872 7.334 18.635 19.082 19.105 19.082.287 0 .417-17.769.417-57.213 0-54.136.038-57.224.7-57.436.792-.253 1.796-.636 3.4-1.297l2.2-.908a199.01 199.01 0 014-1.6c.495-.19 1.35-.526 1.9-.746l2-.8 2-.8c.55-.22 1.405-.556 1.9-.746a202.282 202.282 0 004-1.6c.605-.25 1.55-.634 2.1-.854.55-.22 1.495-.604 2.1-.854.605-.249 1.55-.63 2.1-.846.55-.216 1.313-.552 1.695-.747.382-.194.885-.353 1.119-.353.234 0 1.17-.36 2.08-.8.91-.44 1.81-.8 2-.8.19 0 1.09-.36 2-.8.91-.44 1.804-.8 1.985-.8.182 0 1.093-.34 2.025-.756 8.278-3.689 12.047-4.847 15.776-4.845 6.543.002 11.149-1.793 15.342-5.98 2.576-2.573 5.178-6.96 5.178-8.732 0-1.137 1.07-1.837 4.4-2.877 8.255-2.578 15.473-4.934 16.095-5.253 1.104-.568 2.008-.427 4.168.65 20.099 10.015 38.829-15.952 22.955-31.825-12.637-12.638-33.994-3.637-34.022 14.338l-.004 2.68-4.296 1.354c-2.363.745-5.847 1.87-7.743 2.5-4.415 1.467-4.04 1.531-6.928-1.17-12.305-11.512-33.825-3.186-33.825 13.087 0 1.194-.331 1.408-3.8 2.456-.88.266-1.96.62-2.4.785-1.795.675-5.133 1.588-5.278 1.443-.086-.085.058-1.303.318-2.705 5.11-27.506-19.19-52.659-45.84-47.449"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
customizations/custom/public/assets/img/gitdab_transparent.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
1
customizations/custom/public/assets/img/gitea-safari.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="32" height="32"><rect transform="rotate(45 200 200)" rx="39" height="250" width="250" y="75" x="75" fill="#000000"/><path fill-rule="evenodd" fill="#ffffff" d="M149.753 142.69c-32.224 6.352-44.876 44.948-21.601 67.986l3.12 3.088-8.296 5.427a2319.37 2319.37 0 01-12.695 8.252c-9.905 6.361-12.224 13.845-6.316 20.385 4.975 5.507 7.849 5.28 26.23-2.086 7.076-2.835 13.1-5.154 13.386-5.154.426 0 .516 7.422.489 40.246l-.034 40.247 4.523 4.825c6.872 7.334 18.635 19.082 19.105 19.082.287 0 .417-17.769.417-57.213 0-54.136.038-57.224.7-57.436.792-.253 1.796-.636 3.4-1.297l2.2-.908a199.01 199.01 0 014-1.6c.495-.19 1.35-.526 1.9-.746l2-.8 2-.8c.55-.22 1.405-.556 1.9-.746a202.282 202.282 0 004-1.6c.605-.25 1.55-.634 2.1-.854.55-.22 1.495-.604 2.1-.854.605-.249 1.55-.63 2.1-.846.55-.216 1.313-.552 1.695-.747.382-.194.885-.353 1.119-.353.234 0 1.17-.36 2.08-.8.91-.44 1.81-.8 2-.8.19 0 1.09-.36 2-.8.91-.44 1.804-.8 1.985-.8.182 0 1.093-.34 2.025-.756 8.278-3.689 12.047-4.847 15.776-4.845 6.543.002 11.149-1.793 15.342-5.98 2.576-2.573 5.178-6.96 5.178-8.732 0-1.137 1.07-1.837 4.4-2.877 8.255-2.578 15.473-4.934 16.095-5.253 1.104-.568 2.008-.427 4.168.65 20.099 10.015 38.829-15.952 22.955-31.825-12.637-12.638-33.994-3.637-34.022 14.338l-.004 2.68-4.296 1.354c-2.363.745-5.847 1.87-7.743 2.5-4.415 1.467-4.04 1.531-6.928-1.17-12.305-11.512-33.825-3.186-33.825 13.087 0 1.194-.331 1.408-3.8 2.456-.88.266-1.96.62-2.4.785-1.795.675-5.133 1.588-5.278 1.443-.086-.085.058-1.303.318-2.705 5.11-27.506-19.19-52.659-45.84-47.449"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
1
customizations/custom/public/assets/img/gitea.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="32" height="32"><rect transform="rotate(45 200 200)" rx="39" height="250" width="250" y="75" x="75" fill="#f494a3"/><path fill-rule="evenodd" fill="#fcfbfb" d="M149.753 142.69c-32.224 6.352-44.876 44.948-21.601 67.986l3.12 3.088-8.296 5.427a2319.37 2319.37 0 01-12.695 8.252c-9.905 6.361-12.224 13.845-6.316 20.385 4.975 5.507 7.849 5.28 26.23-2.086 7.076-2.835 13.1-5.154 13.386-5.154.426 0 .516 7.422.489 40.246l-.034 40.247 4.523 4.825c6.872 7.334 18.635 19.082 19.105 19.082.287 0 .417-17.769.417-57.213 0-54.136.038-57.224.7-57.436.792-.253 1.796-.636 3.4-1.297l2.2-.908a199.01 199.01 0 014-1.6c.495-.19 1.35-.526 1.9-.746l2-.8 2-.8c.55-.22 1.405-.556 1.9-.746a202.282 202.282 0 004-1.6c.605-.25 1.55-.634 2.1-.854.55-.22 1.495-.604 2.1-.854.605-.249 1.55-.63 2.1-.846.55-.216 1.313-.552 1.695-.747.382-.194.885-.353 1.119-.353.234 0 1.17-.36 2.08-.8.91-.44 1.81-.8 2-.8.19 0 1.09-.36 2-.8.91-.44 1.804-.8 1.985-.8.182 0 1.093-.34 2.025-.756 8.278-3.689 12.047-4.847 15.776-4.845 6.543.002 11.149-1.793 15.342-5.98 2.576-2.573 5.178-6.96 5.178-8.732 0-1.137 1.07-1.837 4.4-2.877 8.255-2.578 15.473-4.934 16.095-5.253 1.104-.568 2.008-.427 4.168.65 20.099 10.015 38.829-15.952 22.955-31.825-12.637-12.638-33.994-3.637-34.022 14.338l-.004 2.68-4.296 1.354c-2.363.745-5.847 1.87-7.743 2.5-4.415 1.467-4.04 1.531-6.928-1.17-12.305-11.512-33.825-3.186-33.825 13.087 0 1.194-.331 1.408-3.8 2.456-.88.266-1.96.62-2.4.785-1.795.675-5.133 1.588-5.278 1.443-.086-.085.058-1.303.318-2.705 5.11-27.506-19.19-52.659-45.84-47.449"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
BIN
customizations/custom/public/assets/img/logo.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
1
customizations/custom/public/assets/img/logo.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="32" height="32"><rect transform="rotate(45 200 200)" rx="39" height="250" width="250" y="75" x="75" fill="#f494a3"/><path fill-rule="evenodd" fill="#fcfbfb" d="M149.753 142.69c-32.224 6.352-44.876 44.948-21.601 67.986l3.12 3.088-8.296 5.427a2319.37 2319.37 0 01-12.695 8.252c-9.905 6.361-12.224 13.845-6.316 20.385 4.975 5.507 7.849 5.28 26.23-2.086 7.076-2.835 13.1-5.154 13.386-5.154.426 0 .516 7.422.489 40.246l-.034 40.247 4.523 4.825c6.872 7.334 18.635 19.082 19.105 19.082.287 0 .417-17.769.417-57.213 0-54.136.038-57.224.7-57.436.792-.253 1.796-.636 3.4-1.297l2.2-.908a199.01 199.01 0 014-1.6c.495-.19 1.35-.526 1.9-.746l2-.8 2-.8c.55-.22 1.405-.556 1.9-.746a202.282 202.282 0 004-1.6c.605-.25 1.55-.634 2.1-.854.55-.22 1.495-.604 2.1-.854.605-.249 1.55-.63 2.1-.846.55-.216 1.313-.552 1.695-.747.382-.194.885-.353 1.119-.353.234 0 1.17-.36 2.08-.8.91-.44 1.81-.8 2-.8.19 0 1.09-.36 2-.8.91-.44 1.804-.8 1.985-.8.182 0 1.093-.34 2.025-.756 8.278-3.689 12.047-4.847 15.776-4.845 6.543.002 11.149-1.793 15.342-5.98 2.576-2.573 5.178-6.96 5.178-8.732 0-1.137 1.07-1.837 4.4-2.877 8.255-2.578 15.473-4.934 16.095-5.253 1.104-.568 2.008-.427 4.168.65 20.099 10.015 38.829-15.952 22.955-31.825-12.637-12.638-33.994-3.637-34.022 14.338l-.004 2.68-4.296 1.354c-2.363.745-5.847 1.87-7.743 2.5-4.415 1.467-4.04 1.531-6.928-1.17-12.305-11.512-33.825-3.186-33.825 13.087 0 1.194-.331 1.408-3.8 2.456-.88.266-1.96.62-2.4.785-1.795.675-5.133 1.588-5.278 1.443-.086-.085.058-1.303.318-2.705 5.11-27.506-19.19-52.659-45.84-47.449"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 16 KiB |
|
@ -1,132 +0,0 @@
|
||||||
<div class="ui container" id="navbar">
|
|
||||||
<div class="item brand" style="justify-content: space-between;">
|
|
||||||
<a href="{{AppSubUrl}}/">
|
|
||||||
<img class="ui mini image" src="{{AppSubUrl}}/img/gitea-sm.png">
|
|
||||||
</a>
|
|
||||||
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
|
|
||||||
<i class="sidebar icon"></i>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{if .IsSigned}}
|
|
||||||
<a class="item {{if .PageIsDashboard}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "dashboard"}}</a>
|
|
||||||
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
|
|
||||||
<a class="item {{if .PageIsPulls}}active{{end}}" href="{{AppSubUrl}}/pulls">{{.i18n.Tr "pull_requests"}}</a>
|
|
||||||
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
|
|
||||||
{{else if .IsLandingPageHome}}
|
|
||||||
<a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a>
|
|
||||||
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
|
|
||||||
{{else if .IsLandingPageExplore}}
|
|
||||||
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "home"}}</a>
|
|
||||||
{{else if .IsLandingPageOrganizations}}
|
|
||||||
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/organizations">{{.i18n.Tr "home"}}</a>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
{{template "custom/extra_links" .}}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
<div class="item">
|
|
||||||
<div class="ui icon input">
|
|
||||||
<input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}">
|
|
||||||
<i class="search icon"></i>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
*/}}
|
|
||||||
|
|
||||||
{{if .IsSigned}}
|
|
||||||
<div class="right stackable menu">
|
|
||||||
<a href="{{AppSubUrl}}/notifications" class="item poping up" data-content='{{.i18n.Tr "notifications"}}' data-variation="tiny inverted">
|
|
||||||
<span class="text">
|
|
||||||
<i class="fitted octicon octicon-bell"></i>
|
|
||||||
<span class="sr-mobile-only">{{.i18n.Tr "notifications"}}</span>
|
|
||||||
|
|
||||||
{{if .NotificationUnreadCount}}
|
|
||||||
<span class="ui red label">
|
|
||||||
{{.NotificationUnreadCount}}
|
|
||||||
</span>
|
|
||||||
{{end}}
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<div class="ui dropdown jump item poping up" data-content="{{.i18n.Tr "create_new"}}" data-variation="tiny inverted">
|
|
||||||
<span class="text">
|
|
||||||
<i class="fitted octicon octicon-plus"></i>
|
|
||||||
<span class="sr-mobile-only">{{.i18n.Tr "create_new"}}</span>
|
|
||||||
<i class="fitted octicon octicon-triangle-down not-mobile"></i>
|
|
||||||
</span>
|
|
||||||
<div class="menu">
|
|
||||||
<a class="item" href="{{AppSubUrl}}/repo/create">
|
|
||||||
<i class="fitted octicon octicon-plus"></i> {{.i18n.Tr "new_repo"}}
|
|
||||||
</a>
|
|
||||||
{{if .SignedUser.CanCreateOrganization}}
|
|
||||||
<a class="item" href="{{AppSubUrl}}/org/create">
|
|
||||||
<i class="fitted octicon octicon-organization"></i> {{.i18n.Tr "new_org"}}
|
|
||||||
</a>
|
|
||||||
{{end}}
|
|
||||||
</div><!-- end content create new menu -->
|
|
||||||
</div><!-- end dropdown menu create new -->
|
|
||||||
|
|
||||||
<div class="ui dropdown jump item poping up" tabindex="-1" data-content="{{.i18n.Tr "user_profile_and_more"}}" data-variation="tiny inverted">
|
|
||||||
<span class="text">
|
|
||||||
<img class="ui tiny avatar image" src="{{.SignedUser.RelAvatarLink}}">
|
|
||||||
<span class="sr-only">{{.i18n.Tr "user_profile_and_more"}}</span>
|
|
||||||
<span class="mobile-only">{{.SignedUser.Name}}</span>
|
|
||||||
<i class="fitted octicon octicon-triangle-down not-mobile" tabindex="-1"></i>
|
|
||||||
</span>
|
|
||||||
<div class="menu user-menu" tabindex="-1">
|
|
||||||
<div class="ui header">
|
|
||||||
{{.i18n.Tr "signed_in_as"}} <strong>{{.SignedUser.Name}}</strong>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="divider"></div>
|
|
||||||
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}">
|
|
||||||
<i class="octicon octicon-person"></i>
|
|
||||||
{{.i18n.Tr "your_profile"}}<!-- Your profile -->
|
|
||||||
</a>
|
|
||||||
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}?tab=stars">
|
|
||||||
<i class="octicon octicon-star"></i>
|
|
||||||
{{.i18n.Tr "your_starred"}}
|
|
||||||
</a>
|
|
||||||
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
|
||||||
<i class="octicon octicon-settings"></i>
|
|
||||||
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
|
||||||
</a>
|
|
||||||
<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">
|
|
||||||
<i class="octicon octicon-question"></i>
|
|
||||||
{{.i18n.Tr "help"}}<!-- Help -->
|
|
||||||
</a>
|
|
||||||
{{if .IsAdmin}}
|
|
||||||
<div class="divider"></div>
|
|
||||||
|
|
||||||
<a class="{{if .PageIsAdmin}}active{{end}} item" href="{{AppSubUrl}}/admin">
|
|
||||||
<i class="icon settings"></i>
|
|
||||||
{{.i18n.Tr "admin_panel"}}<!-- Admin Panel -->
|
|
||||||
</a>
|
|
||||||
{{end}}
|
|
||||||
|
|
||||||
<div class="divider"></div>
|
|
||||||
<a class="item" href="{{AppSubUrl}}/user/logout">
|
|
||||||
<i class="octicon octicon-sign-out"></i>
|
|
||||||
{{.i18n.Tr "sign_out"}}<!-- Sign Out -->
|
|
||||||
</a>
|
|
||||||
</div><!-- end content avatar menu -->
|
|
||||||
</div><!-- end dropdown avatar menu -->
|
|
||||||
</div><!-- end signed user right menu -->
|
|
||||||
|
|
||||||
{{else}}
|
|
||||||
|
|
||||||
<a class="item" target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io">{{.i18n.Tr "help"}}</a>
|
|
||||||
<div class="right stackable menu">
|
|
||||||
{{if .ShowRegistrationButton}}
|
|
||||||
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
|
|
||||||
<i class="octicon octicon-person"></i> {{.i18n.Tr "register"}}
|
|
||||||
</a>
|
|
||||||
{{end}}
|
|
||||||
<a class="item{{if .PageIsSignIn}} active{{end}}" href="{{AppSubUrl}}/user/login?redirect_to={{.Link}}">
|
|
||||||
<i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}
|
|
||||||
</a>
|
|
||||||
</div><!-- end anonymous right menu -->
|
|
||||||
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<a href="https://gitlab.com/lavatech/servicesagreement">LavaTech Services Agreement</a>
|
|
@ -1,853 +0,0 @@
|
||||||
<!-- based on https://gitdab.com/Cynosphere/gitdab-dark -->
|
|
||||||
<style>
|
|
||||||
.home .hero .octicon, .home a {
|
|
||||||
color: #f795a0 !important;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
background: #383c4a;
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
a:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.card > .extra a:not(.ui):hover,
|
|
||||||
.ui.cards > .card > .extra a:not(.ui):hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.breadcrumb a:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.breadcrumb a {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .metas .ui.list a .text {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .metas .ui.list a .text:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .label.list .item a {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .label.list .item a:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .milestone.list > .item > a {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .milestone.list > .item > a:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository.release #release-list {
|
|
||||||
border-top: 1px solid #4c505c;
|
|
||||||
}
|
|
||||||
.repository .milestone.list > .item .operate > a {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .milestone.list > .item .operate > a:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.green.progress .bar {
|
|
||||||
background-color: #668844;
|
|
||||||
}
|
|
||||||
.ui.progress.success .bar {
|
|
||||||
background-color: #7b9e57 !important;
|
|
||||||
}
|
|
||||||
.following.bar.light {
|
|
||||||
background: #2e323e;
|
|
||||||
}
|
|
||||||
.ui.secondary.menu .active.item {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.secondary.menu .item {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.following.bar .top.menu a.item:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list .comment .content > .bottom.segment a {
|
|
||||||
border: solid 1px #353945;
|
|
||||||
background-color: #353945;
|
|
||||||
}
|
|
||||||
.following.bar.light {
|
|
||||||
border-bottom: 1px solid #313131;
|
|
||||||
}
|
|
||||||
.ui.attached.header {
|
|
||||||
background: #404552;
|
|
||||||
border: 1px solid #404552;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.attached.table {
|
|
||||||
border: 1px solid #304251;
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.feeds .list ul li:not(:last-child) {
|
|
||||||
border-bottom: 1px solid #333640;
|
|
||||||
}
|
|
||||||
.feeds .list ul li.private {
|
|
||||||
background: #353945;
|
|
||||||
border: 1px solid #333640;
|
|
||||||
}
|
|
||||||
.ui.secondary.menu .dropdown.item:hover,
|
|
||||||
.ui.secondary.menu .link.item:hover,
|
|
||||||
.ui.secondary.menu a.item:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.ui.menu .ui.dropdown .menu > .item {
|
|
||||||
background: #2c303a !important;
|
|
||||||
color: #9e9e9e !important;
|
|
||||||
}
|
|
||||||
.ui.secondary.menu .dropdown.item > .menu,
|
|
||||||
.ui.text.menu .dropdown.item > .menu {
|
|
||||||
border: 1px solid #434444;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
background: #2e323e;
|
|
||||||
border-top: 1px solid #313131;
|
|
||||||
}
|
|
||||||
.ui.menu .dropdown.item .menu {
|
|
||||||
background: #2c303a;
|
|
||||||
}
|
|
||||||
.ui.menu .ui.dropdown .menu > .item:hover,
|
|
||||||
.ui.menu .ui.dropdown .menu > .selected.item {
|
|
||||||
color: #fff !important;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu > .header {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.red.label,
|
|
||||||
.ui.red.labels .label {
|
|
||||||
background-color: #7d3434 !important;
|
|
||||||
border-color: #8a2121 !important;
|
|
||||||
}
|
|
||||||
.ui.menu {
|
|
||||||
background: #404552;
|
|
||||||
border: 1px solid #353945;
|
|
||||||
}
|
|
||||||
.ui.menu .active.item:hover,
|
|
||||||
.ui.vertical.menu .active.item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
background: #4b5162;
|
|
||||||
}
|
|
||||||
.ui.link.menu .item:hover,
|
|
||||||
.ui.menu .dropdown.item:hover,
|
|
||||||
.ui.menu .link.item:hover,
|
|
||||||
.ui.menu a.item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
background: #454b5a;
|
|
||||||
}
|
|
||||||
.ui.menu .active.item {
|
|
||||||
background: #4b5162;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.input input {
|
|
||||||
background: #404552;
|
|
||||||
border: 2px solid #353945;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.input input:focus,
|
|
||||||
.ui.input.focus input {
|
|
||||||
background: #404552;
|
|
||||||
border: 2px solid #353945;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.label {
|
|
||||||
color: #dbdbdb;
|
|
||||||
background-color: #404552;
|
|
||||||
}
|
|
||||||
.issue.list > .item .title {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.issue.list > .item .title:hover {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.issue.list > .item {
|
|
||||||
border-bottom: 1px dashed #475767;
|
|
||||||
}
|
|
||||||
.ui.green.label,
|
|
||||||
.ui.green.labels .label {
|
|
||||||
background-color: #2d693b !important;
|
|
||||||
border-color: #2d693b !important;
|
|
||||||
}
|
|
||||||
.issue.list > .item .comment {
|
|
||||||
color: #129c92;
|
|
||||||
}
|
|
||||||
.ui.basic.button,
|
|
||||||
.ui.basic.buttons .button {
|
|
||||||
color: #797979 !important;
|
|
||||||
}
|
|
||||||
.ui.basic.red.active.button,
|
|
||||||
.ui.basic.red.buttons .active.button {
|
|
||||||
box-shadow: 0 0 0 1px #c75252 inset !important;
|
|
||||||
color: #c75252 !important;
|
|
||||||
}
|
|
||||||
.ui.basic.button:focus,
|
|
||||||
.ui.basic.button:hover,
|
|
||||||
.ui.basic.buttons .button:focus,
|
|
||||||
.ui.basic.buttons .button:hover {
|
|
||||||
background: transparent !important;
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.ui.menu .item {
|
|
||||||
background: #404552;
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.menu .item.disabled,
|
|
||||||
.ui.menu .item.disabled:hover {
|
|
||||||
color: #626773;
|
|
||||||
}
|
|
||||||
.ui.pagination.menu .active.item {
|
|
||||||
color: #dbdbdb;
|
|
||||||
background-color: #f795a0;
|
|
||||||
}
|
|
||||||
.repository .header-wrapper {
|
|
||||||
background-color: #2a2e3a;
|
|
||||||
}
|
|
||||||
.ui.tabular.menu .active.item {
|
|
||||||
background: #383c4a;
|
|
||||||
color: #dbdbdb;
|
|
||||||
border-left: 1px solid transparent;
|
|
||||||
border-right: 1px solid transparent;
|
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
.ui.tabular.menu .item {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.tabular.menu .item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.header,
|
|
||||||
.ui.breadcrumb .divider {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.blue.label,
|
|
||||||
.ui.blue.labels .label {
|
|
||||||
background-color: #26577b !important;
|
|
||||||
border-color: #26577b !important;
|
|
||||||
}
|
|
||||||
.ui.menu .item > .label {
|
|
||||||
background: #565454;
|
|
||||||
}
|
|
||||||
.ui.blue.button,
|
|
||||||
.ui.blue.buttons .button {
|
|
||||||
background-color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.blue.button:hover,
|
|
||||||
.ui.blue.buttons .button:hover {
|
|
||||||
background-color: #ab676f;
|
|
||||||
}
|
|
||||||
.ui.form input:not([type]),
|
|
||||||
.ui.form input[type="text"],
|
|
||||||
.ui.form input[type="email"],
|
|
||||||
.ui.form input[type="search"],
|
|
||||||
.ui.form input[type="password"],
|
|
||||||
.ui.form input[type="date"],
|
|
||||||
.ui.form input[type="datetime-local"],
|
|
||||||
.ui.form input[type="tel"],
|
|
||||||
.ui.form input[type="time"],
|
|
||||||
.ui.form input[type="url"],
|
|
||||||
.ui.form input[type="number"] {
|
|
||||||
background: #404552;
|
|
||||||
border: 2px solid #353945;
|
|
||||||
}
|
|
||||||
.ui.form input:not([type]):focus,
|
|
||||||
.ui.form input[type="text"]:focus,
|
|
||||||
.ui.form input[type="email"]:focus,
|
|
||||||
.ui.form input[type="search"]:focus,
|
|
||||||
.ui.form input[type="password"]:focus,
|
|
||||||
.ui.form input[type="date"]:focus,
|
|
||||||
.ui.form input[type="datetime-local"]:focus,
|
|
||||||
.ui.form input[type="tel"]:focus,
|
|
||||||
.ui.form input[type="time"]:focus,
|
|
||||||
.ui.form input[type="url"]:focus,
|
|
||||||
.ui.form input[type="number"]:focus {
|
|
||||||
background: #404552;
|
|
||||||
border: 2px solid #4b505f;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.action.input:not([class*="left action"]) input:focus {
|
|
||||||
border-right-color: #4b505f !important;
|
|
||||||
}
|
|
||||||
.ui.green.button,
|
|
||||||
.ui.green.buttons .button {
|
|
||||||
background-color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.green.button:hover,
|
|
||||||
.ui.green.buttons .button:hover {
|
|
||||||
background-color: #ab676f;
|
|
||||||
}
|
|
||||||
.ui.button {
|
|
||||||
background: #383c4a;
|
|
||||||
border: 1px solid #4c505c;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.labeled.button:not([class*="left labeled"]) > .label,
|
|
||||||
.ui[class*="left labeled"].button > .button {
|
|
||||||
background: #404552;
|
|
||||||
border: 1px solid #4c505c;
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.button:hover {
|
|
||||||
background-color: #404552;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.table thead th {
|
|
||||||
background: #404552;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.repository.file.list #repo-files-table tr:hover {
|
|
||||||
background-color: #393d4a;
|
|
||||||
}
|
|
||||||
.ui.table {
|
|
||||||
color: #a5a5a5 !important;
|
|
||||||
border: 1px solid #4c505c;
|
|
||||||
background: #353945;
|
|
||||||
}
|
|
||||||
.ui.table tbody tr {
|
|
||||||
border-bottom: 1px solid #333640;
|
|
||||||
background: #2a2e3a;
|
|
||||||
}
|
|
||||||
.ui .text.grey {
|
|
||||||
color: #808084 !important;
|
|
||||||
}
|
|
||||||
.ui.attached.table.segment {
|
|
||||||
background: #353945;
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.markdown:not(code) h2 {
|
|
||||||
border-bottom: 1px solid #304251;
|
|
||||||
}
|
|
||||||
.hljs,
|
|
||||||
.hljs-keyword,
|
|
||||||
.hljs-selector-tag,
|
|
||||||
.hljs-subst {
|
|
||||||
color: #9daccc;
|
|
||||||
}
|
|
||||||
.markdown:not(code) .highlight pre,
|
|
||||||
.markdown:not(code) pre {
|
|
||||||
background-color: #2a2e3a;
|
|
||||||
border: 1px solid #404552;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu {
|
|
||||||
background: #2c303a;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu > .message:not(.ui) {
|
|
||||||
color: rgb(99, 99, 99);
|
|
||||||
}
|
|
||||||
.ui.input {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.overflow.menu .items .item {
|
|
||||||
color: #9d9d9d;
|
|
||||||
}
|
|
||||||
.overflow.menu .items .item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.segment {
|
|
||||||
background: #353945;
|
|
||||||
color: #9e9e9e !important;
|
|
||||||
border: 1px solid #404552;
|
|
||||||
}
|
|
||||||
.ui.active.button:active,
|
|
||||||
.ui.button:active,
|
|
||||||
.ui.button:focus {
|
|
||||||
background-color: #2e3e4e;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu .selected.item,
|
|
||||||
.ui.dropdown.selected {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu > .item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.dropdown .menu > .item {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.attached.segment {
|
|
||||||
border: 1px solid #404552;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list .comment .content > .bottom.segment {
|
|
||||||
background: #353945;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list .comment .content .header {
|
|
||||||
color: #dbdbdb;
|
|
||||||
background-color: #404552;
|
|
||||||
border-bottom: 1px solid #353944;
|
|
||||||
}
|
|
||||||
.ui .text.grey a {
|
|
||||||
color: #b3b3b3 !important;
|
|
||||||
}
|
|
||||||
.ui.comments .comment .actions a {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list .comment .content .header:after {
|
|
||||||
border-right-color: #404552;
|
|
||||||
}
|
|
||||||
.repository.new.issue .comment.form .content:after {
|
|
||||||
border-right-color: #353945;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list .comment .content .header:before {
|
|
||||||
border-right-color: #404552;
|
|
||||||
}
|
|
||||||
.repository.new.issue .comment.form .content:before {
|
|
||||||
border-right-color: #353945;
|
|
||||||
}
|
|
||||||
.repository.view.issue .comment-list:before {
|
|
||||||
background-color: #313c47;
|
|
||||||
}
|
|
||||||
.repository .comment.form .content .form:after {
|
|
||||||
border-right-color: #313c47;
|
|
||||||
}
|
|
||||||
.repository .comment.form .content .form:before {
|
|
||||||
border-right-color: #313c47;
|
|
||||||
}
|
|
||||||
.ui .text.grey a {
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.ui .text.grey a:hover {
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.ui.basic.green.active.button,
|
|
||||||
.ui.basic.green.buttons .active.button {
|
|
||||||
color: #13ae38 !important;
|
|
||||||
}
|
|
||||||
.ui.form textarea,
|
|
||||||
.ui.form textarea:focus {
|
|
||||||
background: #1a2632;
|
|
||||||
border: 1px solid #313c47;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.form textarea:focus {
|
|
||||||
border: 1px solid #456580;
|
|
||||||
}
|
|
||||||
.ui .info.segment.top {
|
|
||||||
background-color: #404552 !important;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff-unified tbody tr.del-code td {
|
|
||||||
background-color: #3c2626 !important;
|
|
||||||
border-color: #634343 !important;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff-unified tbody tr.add-code td {
|
|
||||||
background-color: rgb(40, 62, 45) !important;
|
|
||||||
border-color: #314a37 !important;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff tbody tr .added-code {
|
|
||||||
background-color: #3a523a;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff .lines-num {
|
|
||||||
border-right: 1px solid #2d2d2d;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .file-body.file-code .lines-num {
|
|
||||||
color: #9e9e9e;
|
|
||||||
background: #2e323e;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff tbody tr.tag-code td,
|
|
||||||
.repository .diff-file-box .code-diff tbody tr td.tag-code {
|
|
||||||
border-color: #2d2d2d !important;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .file-body.file-code .lines-num-old {
|
|
||||||
border-right: 1px solid #2d2d2d;
|
|
||||||
}
|
|
||||||
.hljs-title,
|
|
||||||
.hljs-section,
|
|
||||||
.hljs-selector-id {
|
|
||||||
color: #986c88;
|
|
||||||
}
|
|
||||||
.hljs-string,
|
|
||||||
.hljs-doctag {
|
|
||||||
color: #949494;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff tbody tr .removed-code {
|
|
||||||
background-color: #5f3737;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff tbody tr.tag-code td,
|
|
||||||
.repository .diff-file-box .code-diff tbody tr td.tag-code {
|
|
||||||
background-color: #292727 !important;
|
|
||||||
}
|
|
||||||
.ui.vertical.menu .active.item {
|
|
||||||
background: #4b5162;
|
|
||||||
}
|
|
||||||
.ui.vertical.menu .item {
|
|
||||||
background: #353945;
|
|
||||||
}
|
|
||||||
.ui.vertical.menu .header.item {
|
|
||||||
background: #404552;
|
|
||||||
}
|
|
||||||
.ui.vertical.menu {
|
|
||||||
background: #353945;
|
|
||||||
border: 1px solid #333640;
|
|
||||||
}
|
|
||||||
.ui.repository.list .item:not(:first-child) {
|
|
||||||
border-top: 1px solid #4c505c;
|
|
||||||
}
|
|
||||||
.ui .text.blue {
|
|
||||||
color: #f795a0 !important;
|
|
||||||
}
|
|
||||||
.ui.selection.active.dropdown,
|
|
||||||
.ui.selection.active.dropdown .menu {
|
|
||||||
border-color: #4e5361;
|
|
||||||
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
|
|
||||||
}
|
|
||||||
.ui.selection.active.dropdown:hover,
|
|
||||||
.ui.selection.active.dropdown:hover .menu {
|
|
||||||
border-color: #4e5361;
|
|
||||||
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
|
|
||||||
}
|
|
||||||
.ui.selection.dropdown {
|
|
||||||
background: #404552;
|
|
||||||
border: 1px solid rgb(64, 69, 82);
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.menu .ui.dropdown .menu > .active.item {
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.ui.tabular.menu {
|
|
||||||
border-bottom: 1px solid #313c47;
|
|
||||||
}
|
|
||||||
.ui.card,
|
|
||||||
.ui.cards > .card {
|
|
||||||
background: #353945;
|
|
||||||
box-shadow: 0 1px 3px 0 #4c505c, 0 0 0 1px #4c505c;
|
|
||||||
}
|
|
||||||
.ui.card > .content > .header,
|
|
||||||
.ui.cards > .card > .content > .header {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.card > .extra a:not(.ui),
|
|
||||||
.ui.cards > .card > .extra a:not(.ui) {
|
|
||||||
color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui .text.black {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui .text.black:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.secondary.segment {
|
|
||||||
background: #353945;
|
|
||||||
}
|
|
||||||
.ui.secondary.pointing.menu .active.item {
|
|
||||||
border-color: #f795a0;
|
|
||||||
color: #dbdbdb;
|
|
||||||
background: #404552;
|
|
||||||
}
|
|
||||||
.ui.user.list .item:not(:first-child) {
|
|
||||||
border-top: 1px solid #4c505c;
|
|
||||||
}
|
|
||||||
.ui.secondary.pointing.menu .active.item:hover {
|
|
||||||
border-color: #af8b4c;
|
|
||||||
color: #dbdbdb;
|
|
||||||
background: #4b5162;
|
|
||||||
}
|
|
||||||
.ui.secondary.pointing.menu .dropdown.item:hover,
|
|
||||||
.ui.secondary.pointing.menu .link.item:hover,
|
|
||||||
.ui.secondary.pointing.menu a.item:hover {
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.checkbox label,
|
|
||||||
.ui.checkbox + label,
|
|
||||||
.ui.form .field > label {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.form .inline.field > label,
|
|
||||||
.ui.form .inline.field > p,
|
|
||||||
.ui.form .inline.fields .field > label,
|
|
||||||
.ui.form .inline.fields .field > p,
|
|
||||||
.ui.form .inline.fields > label {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.user.settings .email.list .item:not(:first-child) {
|
|
||||||
border-top: 1px solid #3f4451;
|
|
||||||
}
|
|
||||||
.explore .navbar {
|
|
||||||
background-color: #2a2e3a !important;
|
|
||||||
}
|
|
||||||
.ui.menu.new-menu {
|
|
||||||
background-color: #2a2e3a !important;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
background: #2e323e;
|
|
||||||
}
|
|
||||||
.ui.secondary.pointing.menu .active.item {
|
|
||||||
border: none;
|
|
||||||
background: #383c4a;
|
|
||||||
}
|
|
||||||
.settings .key.list .item:not(:first-child) {
|
|
||||||
border-top: 1px solid #404552;
|
|
||||||
}
|
|
||||||
.ui.form input:not([type]),
|
|
||||||
.ui.form input[type="text"],
|
|
||||||
.ui.form input[type="email"],
|
|
||||||
.ui.form input[type="search"],
|
|
||||||
.ui.form input[type="password"],
|
|
||||||
.ui.form input[type="date"],
|
|
||||||
.ui.form input[type="datetime-local"],
|
|
||||||
.ui.form input[type="tel"],
|
|
||||||
.ui.form input[type="time"],
|
|
||||||
.ui.form input[type="url"],
|
|
||||||
.ui.form input[type="number"] {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.attached.info.message,
|
|
||||||
.ui.info.message {
|
|
||||||
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
|
|
||||||
}
|
|
||||||
.ui.info.message {
|
|
||||||
background-color: #2c3b4a;
|
|
||||||
color: #9ebcc5;
|
|
||||||
}
|
|
||||||
.ui .warning.header {
|
|
||||||
background-color: #5d3a22 !important;
|
|
||||||
border-color: #794f31;
|
|
||||||
}
|
|
||||||
.ui.red.message {
|
|
||||||
background-color: rgba(80, 23, 17, 0.6);
|
|
||||||
color: #f9cbcb;
|
|
||||||
box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
|
|
||||||
}
|
|
||||||
.ui.red.button,
|
|
||||||
.ui.red.buttons .button {
|
|
||||||
background-color: #7d3434;
|
|
||||||
}
|
|
||||||
.ui.red.button:hover,
|
|
||||||
.ui.red.buttons .button:hover {
|
|
||||||
background-color: #984646;
|
|
||||||
}
|
|
||||||
.ui.checkbox label:hover,
|
|
||||||
.ui.checkbox + label:hover {
|
|
||||||
color: #dbdbdb !important;
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked ~ .box:after,
|
|
||||||
.ui.checkbox input:checked ~ label:after {
|
|
||||||
color: rgb(127, 152, 173);
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked ~ .box:before,
|
|
||||||
.ui.checkbox input:checked ~ label:before {
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox .box:hover::before,
|
|
||||||
.ui.checkbox label:hover::before {
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox .box:before,
|
|
||||||
.ui.checkbox label:before {
|
|
||||||
background: #304251;
|
|
||||||
border: 1px solid #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox .box:active::before,
|
|
||||||
.ui.checkbox label:active::before {
|
|
||||||
background: #304251;
|
|
||||||
border-color: rgba(34, 36, 38, 0.35);
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked ~ .box:before,
|
|
||||||
.ui.checkbox input:checked ~ label:before {
|
|
||||||
border-color: #304251;
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox input:focus ~ .box:before,
|
|
||||||
.ui.checkbox input:focus ~ label:before {
|
|
||||||
border-color: #304251;
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked:focus ~ .box:before,
|
|
||||||
.ui.checkbox input:checked:focus ~ label:before,
|
|
||||||
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:before,
|
|
||||||
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:before {
|
|
||||||
border-color: #304251;
|
|
||||||
background: #304251;
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked ~ .box:after,
|
|
||||||
.ui.checkbox input:checked ~ label:after {
|
|
||||||
opacity: 1;
|
|
||||||
color: rgb(127, 152, 173);
|
|
||||||
}
|
|
||||||
.ui.checkbox input:checked:focus ~ .box:after,
|
|
||||||
.ui.checkbox input:checked:focus ~ label:after,
|
|
||||||
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:after,
|
|
||||||
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:after {
|
|
||||||
color: rgb(127, 152, 173);
|
|
||||||
}
|
|
||||||
.ui.checkbox input:focus ~ .box:after,
|
|
||||||
.ui.checkbox input:focus ~ label,
|
|
||||||
.ui.checkbox input:focus ~ label:after {
|
|
||||||
color: #9a9a9a;
|
|
||||||
}
|
|
||||||
.ui.selection.dropdown:hover {
|
|
||||||
border-color: rgba(34, 36, 38, 0.35);
|
|
||||||
border: 1px solid #456580;
|
|
||||||
}
|
|
||||||
.ui.selection.dropdown .menu > .item {
|
|
||||||
border-top: 1px solid #313c47;
|
|
||||||
}
|
|
||||||
.ui.selection.visible.dropdown > .text:not(.default) {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.negative.message {
|
|
||||||
background-color: rgba(80, 23, 17, 0.6);
|
|
||||||
color: #f9cbcb;
|
|
||||||
box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
|
|
||||||
}
|
|
||||||
.hljs-tag,
|
|
||||||
.hljs-name,
|
|
||||||
.hljs-attribute {
|
|
||||||
color: #ef5e77;
|
|
||||||
}
|
|
||||||
.user.profile .ui.card .extra.content ul li:not(:last-child) {
|
|
||||||
border-bottom: 1px solid #4c505c;
|
|
||||||
}
|
|
||||||
.ui.form textarea,
|
|
||||||
.ui.form textarea:focus {
|
|
||||||
background: #404552;
|
|
||||||
border: 2px solid #353945;
|
|
||||||
}
|
|
||||||
.hljs-number,
|
|
||||||
.hljs-literal,
|
|
||||||
.hljs-variable,
|
|
||||||
.hljs-template-variable,
|
|
||||||
.hljs-tag .hljs-attr {
|
|
||||||
color: #bd84bf;
|
|
||||||
}
|
|
||||||
.hljs-string,
|
|
||||||
.hljs-doctag {
|
|
||||||
color: #8ab398;
|
|
||||||
}
|
|
||||||
.ui.form .dropzone {
|
|
||||||
border: 2px dashed #4c505c;
|
|
||||||
}
|
|
||||||
.ui.basic.red.button,
|
|
||||||
.ui.basic.red.buttons .button {
|
|
||||||
box-shadow: 0 0 0 1px #a04141 inset !important;
|
|
||||||
color: #a04141 !important;
|
|
||||||
}
|
|
||||||
.ui.list .list > .item .header,
|
|
||||||
.ui.list > .item .header {
|
|
||||||
color: #dedede;
|
|
||||||
}
|
|
||||||
.ui.list .list > .item .description,
|
|
||||||
.ui.list > .item .description {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.user.list .item .description a {
|
|
||||||
color: #668cb1;
|
|
||||||
}
|
|
||||||
.repository.file.list #file-content .code-view .lines-num {
|
|
||||||
background: #2e323e;
|
|
||||||
}
|
|
||||||
.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory,
|
|
||||||
.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule {
|
|
||||||
color: #7c9b5e;
|
|
||||||
}
|
|
||||||
.ui.blue.button:focus,
|
|
||||||
.ui.blue.buttons .button:focus {
|
|
||||||
background-color: #f795a0;
|
|
||||||
}
|
|
||||||
.ui.basic.blue.button:hover,
|
|
||||||
.ui.basic.blue.buttons .button:hover {
|
|
||||||
box-shadow: 0 0 0 1px #f795a0 inset !important;
|
|
||||||
color: #f795a0 !important;
|
|
||||||
}
|
|
||||||
.ui.basic.blue.button:focus,
|
|
||||||
.ui.basic.blue.buttons .button:focus {
|
|
||||||
box-shadow: 0 0 0 1px #f795a0 inset !important;
|
|
||||||
color: #f795a0 !important;
|
|
||||||
}
|
|
||||||
.repository.file.list #file-content .code-view .lines-num pre,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code pre,
|
|
||||||
.repository.file.list #file-content .code-view .lines-num ol,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code ol,
|
|
||||||
.repository.file.list #file-content .code-view .lines-num .hljs,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code .hljs {
|
|
||||||
background-color: #2a2e3a;
|
|
||||||
}
|
|
||||||
a.ui.label:hover,
|
|
||||||
a.ui.labels .label:hover {
|
|
||||||
background-color: #505667;
|
|
||||||
color: rgb(219, 219, 219);
|
|
||||||
}
|
|
||||||
.repository .label.list .item {
|
|
||||||
border-bottom: 1px dashed #4c505c;
|
|
||||||
}
|
|
||||||
.repository.file.list #file-content .code-view .lines-num {
|
|
||||||
background: #2e323e;
|
|
||||||
}
|
|
||||||
.repository.file.list #repo-files-table tbody .octicon.octicon-file-directory,
|
|
||||||
.repository.file.list #repo-files-table tbody .octicon.octicon-file-submodule {
|
|
||||||
color: #7c9b5e;
|
|
||||||
}
|
|
||||||
.ui.basic.blue.button,
|
|
||||||
.ui.basic.blue.buttons .button {
|
|
||||||
box-shadow: 0 0 0 1px #a27558 inset !important;
|
|
||||||
color: #a27558 !important;
|
|
||||||
}
|
|
||||||
.repository.file.list #file-content .code-view .lines-num pre,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code pre,
|
|
||||||
.repository.file.list #file-content .code-view .lines-num ol,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code ol,
|
|
||||||
.repository.file.list #file-content .code-view .lines-num .hljs,
|
|
||||||
.repository.file.list #file-content .code-view .lines-code .hljs {
|
|
||||||
background-color: #2a2e3a;
|
|
||||||
}
|
|
||||||
a.ui.label:hover,
|
|
||||||
a.ui.labels .label:hover {
|
|
||||||
background-color: #505667;
|
|
||||||
color: rgb(219, 219, 219);
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4) {
|
|
||||||
background-color: #2a2e3a;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(4),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr td.add-code {
|
|
||||||
background-color: #283e2d !important;
|
|
||||||
border-color: #314a37 !important;
|
|
||||||
}
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(1),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(2),
|
|
||||||
.repository .diff-file-box .code-diff-split tbody tr td.del-code {
|
|
||||||
background-color: #3c2626 !important;
|
|
||||||
border-color: #634343 !important;
|
|
||||||
}
|
|
||||||
.ui.blue.button:focus,
|
|
||||||
.ui.blue.buttons .button:focus {
|
|
||||||
background-color: #a27558;
|
|
||||||
}
|
|
||||||
.ui.blue.button:active,
|
|
||||||
.ui.blue.buttons .button:active {
|
|
||||||
background-color: #a27558;
|
|
||||||
}
|
|
||||||
#git-graph-container li a {
|
|
||||||
color: #c79575;
|
|
||||||
}
|
|
||||||
#git-graph-container li .author {
|
|
||||||
color: #c79575;
|
|
||||||
}
|
|
||||||
.ui.header .sub.header {
|
|
||||||
color: #9e9e9e;
|
|
||||||
}
|
|
||||||
.ui.dividing.header {
|
|
||||||
border-bottom: 1px solid #4c505c;
|
|
||||||
}
|
|
||||||
.ui.modal > .header {
|
|
||||||
background: #404552;
|
|
||||||
color: #dbdbdb;
|
|
||||||
}
|
|
||||||
.ui.modal > .actions {
|
|
||||||
background: #404552;
|
|
||||||
border-top: 1px solid #404552;
|
|
||||||
}
|
|
||||||
.ui.modal > .content {
|
|
||||||
background: #383c4a;
|
|
||||||
}
|
|
||||||
.ui.basic.blue.button,
|
|
||||||
.ui.basic.blue.buttons .button {
|
|
||||||
box-shadow: 0 0 0 1px #f795a0 inset !important;
|
|
||||||
color: #f795a0 !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -1,94 +1,36 @@
|
||||||
{{template "base/head" .}}
|
{{template "base/head" .}}
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
<div class="sixteen wide center aligned centered column">
|
<div class="sixteen wide center aligned centered column">
|
||||||
<div>
|
<div>
|
||||||
<img class="logo" src="{{AppSubUrl}}/img/gitea-lg.png" />
|
<img class="logo" src="{{AppSubUrl}}/assets/img/gitea-lg.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="hero">
|
<div class="hero">
|
||||||
<h1 class="ui icon header title">
|
<h1 class="ui icon header title">
|
||||||
Gitdab
|
Gitdab
|
||||||
</h1>
|
</h1>
|
||||||
<h2>Git with a bunch of dabs</h2>
|
<h2>Git with a bunch of dabs</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{if eq .Lang "pt-BR"}}
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
<div class="eight wide center column">
|
||||||
<div class="eight wide center column">
|
<h1 class="hero ui icon header">
|
||||||
<h1 class="hero ui icon header">
|
<i class="octicon octicon-organization"></i> By people, for people
|
||||||
<i class="octicon octicon-organization"></i> br? brbrbr?, brb? brbrbr?
|
</h1>
|
||||||
</h1>
|
<p class="large">
|
||||||
<p class="large">
|
Gitdab isn't run by a massive company trying to get your personal information and your money, it's run by <a target="_blank" rel="noopener noreferrer" href="https://lavatech.top">LavaTech</a>, a group dedicated to bringing you quality, free, non-spying services.
|
||||||
br?
|
</p>
|
||||||
</p>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="eight wide center column">
|
<div class="eight wide center column">
|
||||||
<h1 class="hero ui icon header">
|
<h1 class="hero ui icon header">
|
||||||
<i class="octicon octicon-code"></i> Brbr? Brbrbr?
|
<i class="octicon octicon-code"> Open Source
|
||||||
</h1>
|
</h1>
|
||||||
<p class="large">
|
<p class="large">
|
||||||
brbrbrbrbr? brbrbr?
|
Gitdab uses <a target="_blank" rel="noopener noreferrer" href="https://forgejo.org/">Forgejo</a>, which is open source. All of our <a target="_blank" rel="noopener noreferrer" href="https://gitdab.com/a/gitdab/">customizations, scripts and icons</a> are open source too.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-organization"></i> By people, for people
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
Gitdab isn't run by a massive company trying to get your private information and your money, it's run by <a target="_blank" rel="noopener noreferrer" href="https://lavatech.top">LavaTech</a>, a group dedicated to bringing you quality, free, non-spying services. You can contact us at <a target="_blank" rel="noopener noreferrer" href="mailto:gitdab@lavatech.top">gitdab@lavatech.top</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-code"></i> Open Source
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
Gitdab uses <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/">Gitea</a>, which is open source. Also, all of our <a target="_blank" rel="noopener noreferrer" href="https://gitdab.com/ao/gitdab/">customizations, scripts and icons</a> are open source too.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--
|
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-flame"></i> Easy to install
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
Simply <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-binary/">run the binary</a> for your platform. Or ship Gitea with <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/tree/master/docker">Docker</a> or <a target="_blank" rel="noopener noreferrer" href="https://github.com/alvaroaleman/ansible-gitea/blob/master/Vagrantfile">Vagrant</a>, or get it <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-package/">packaged</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-device-desktop"></i> Cross-platform
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
Gitea runs anywhere <a target="_blank" rel="noopener noreferrer" href="http://golang.org/">Go</a> can compile for: Windows, macOS, Linux, ARM, etc. Choose the one you love!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-rocket"></i> Lightweight
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
Gitea has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="eight wide center column">
|
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
<i class="octicon octicon-code"></i> Open Source
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
It's all on <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/">GitHub</a>! Join us by contributing to make this project even better. Don't be shy to be a contributor!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
{{end}}
|
|
||||||
</div>
|
</div>
|
||||||
{{template "base/footer" .}}
|
{{template "base/footer" .}}
|
||||||
|
|
|
@ -25,14 +25,17 @@
|
||||||
<label for="email">{{.i18n.Tr "email"}}</label>
|
<label for="email">{{.i18n.Tr "email"}}</label>
|
||||||
<input id="email" name="email" type="email" value="{{.email}}" required>
|
<input id="email" name="email" type="email" value="{{.email}}" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
|
||||||
<label for="password">{{.i18n.Tr "password"}}</label>
|
{{if not .DisablePassword}}
|
||||||
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required>
|
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
||||||
</div>
|
<label for="password">{{.i18n.Tr "password"}}</label>
|
||||||
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required>
|
||||||
<label for="retype">{{.i18n.Tr "re_type"}}</label>
|
</div>
|
||||||
<input id="retype" name="retype" type="password" value="{{.retype}}" autocomplete="off" required>
|
<div class="required inline field {{if and (.Err_Password) (or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeRegister))}}error{{end}}">
|
||||||
</div>
|
<label for="retype">{{.i18n.Tr "re_type"}}</label>
|
||||||
|
<input id="retype" name="retype" type="password" value="{{.retype}}" autocomplete="off" required>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
{{if and .EnableCaptcha (eq .CaptchaType "image")}}
|
{{if and .EnableCaptcha (eq .CaptchaType "image")}}
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
|
@ -62,7 +65,7 @@
|
||||||
|
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
By registering to this service you agree to <a href="https://gitlab.com/lavatech/servicesagreement/blob/master/README.md">LavaTech Services Agreement</a>.
|
By registering to this service you agree to the <a href="https://gitlab.com/lavatech/servicesagreement/blob/master/README.md">LavaTech Services Agreement</a>.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if not .LinkAccountMode}}
|
{{if not .LinkAccountMode}}
|
||||||
|
|
|
@ -1,111 +0,0 @@
|
||||||
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
|
|
||||||
index 77dc62d4f..27af125f8 100644
|
|
||||||
--- a/modules/setting/setting.go
|
|
||||||
+++ b/modules/setting/setting.go
|
|
||||||
@@ -347,9 +347,9 @@ var (
|
|
||||||
Description string
|
|
||||||
Keywords string
|
|
||||||
}{
|
|
||||||
- Author: "Gitea - Git with a cup of tea",
|
|
||||||
- Description: "Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go",
|
|
||||||
- Keywords: "go,git,self-hosted,gitea",
|
|
||||||
+ Author: "Gitdab",
|
|
||||||
+ Description: "Gitdab is a dabful git site made by people, for people",
|
|
||||||
+ Keywords: "go,git,dab,self-hosted,gitea,gitdab",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
|
|
||||||
index fe54aa2a3..6af5a1e13 100644
|
|
||||||
--- a/routers/api/v1/api.go
|
|
||||||
+++ b/routers/api/v1/api.go
|
|
||||||
@@ -431,7 +431,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
|
||||||
m.Combo("/repositories/:id", reqToken()).Get(repo.GetByID)
|
|
||||||
|
|
||||||
m.Group("/repos", func() {
|
|
||||||
- m.Post("/migrate", reqToken(), bind(auth.MigrateRepoForm{}), repo.Migrate)
|
|
||||||
+ // m.Post("/migrate", reqToken(), bind(auth.MigrateRepoForm{}), repo.Migrate)
|
|
||||||
|
|
||||||
m.Group("/:username/:reponame", func() {
|
|
||||||
m.Combo("").Get(repo.Get).Delete(reqToken(), repo.Delete)
|
|
||||||
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go
|
|
||||||
index e48b100af..016aecc5c 100644
|
|
||||||
--- a/routers/api/v1/repo/repo.go
|
|
||||||
+++ b/routers/api/v1/repo/repo.go
|
|
||||||
@@ -10,7 +10,7 @@ import (
|
|
||||||
"strings"
|
|
||||||
|
|
||||||
"code.gitea.io/gitea/models"
|
|
||||||
- "code.gitea.io/gitea/modules/auth"
|
|
||||||
+ // "code.gitea.io/gitea/modules/auth"
|
|
||||||
"code.gitea.io/gitea/modules/context"
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
|
||||||
"code.gitea.io/gitea/modules/setting"
|
|
||||||
@@ -319,6 +319,7 @@ func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption) {
|
|
||||||
}
|
|
||||||
|
|
||||||
// Migrate migrate remote git repository to gitea
|
|
||||||
+/*
|
|
||||||
func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm) {
|
|
||||||
// swagger:operation POST /repos/migrate repository repoMigrate
|
|
||||||
// ---
|
|
||||||
@@ -416,6 +417,7 @@ func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm) {
|
|
||||||
log.Trace("Repository migrated: %s/%s", ctxUser.Name, form.RepoName)
|
|
||||||
ctx.JSON(201, repo.APIFormat(models.AccessModeAdmin))
|
|
||||||
}
|
|
||||||
+*/
|
|
||||||
|
|
||||||
// Get one repository
|
|
||||||
func Get(ctx *context.APIContext) {
|
|
||||||
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
|
|
||||||
index 236d66bd1..d5ab721f9 100644
|
|
||||||
--- a/routers/repo/repo.go
|
|
||||||
+++ b/routers/repo/repo.go
|
|
||||||
@@ -20,12 +20,12 @@ import (
|
|
||||||
"code.gitea.io/gitea/modules/context"
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
|
||||||
"code.gitea.io/gitea/modules/setting"
|
|
||||||
- "code.gitea.io/gitea/modules/util"
|
|
||||||
+ // "code.gitea.io/gitea/modules/util"
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
tplCreate base.TplName = "repo/create"
|
|
||||||
- tplMigrate base.TplName = "repo/migrate"
|
|
||||||
+ // tplMigrate base.TplName = "repo/migrate"
|
|
||||||
)
|
|
||||||
|
|
||||||
// MustBeNotBare render when a repo is a bare git dir
|
|
||||||
@@ -189,7 +189,7 @@ func CreatePost(ctx *context.Context, form auth.CreateRepoForm) {
|
|
||||||
|
|
||||||
handleCreateError(ctx, ctxUser, err, "CreatePost", tplCreate, &form)
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+/*
|
|
||||||
// Migrate render migration of repository page
|
|
||||||
func Migrate(ctx *context.Context) {
|
|
||||||
ctx.Data["Title"] = ctx.Tr("new_migrate")
|
|
||||||
@@ -278,7 +278,7 @@ func MigratePost(ctx *context.Context, form auth.MigrateRepoForm) {
|
|
||||||
|
|
||||||
handleCreateError(ctx, ctxUser, err, "MigratePost", tplMigrate, &form)
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+*/
|
|
||||||
// Action response for actions to a repository
|
|
||||||
func Action(ctx *context.Context) {
|
|
||||||
var err error
|
|
||||||
diff --git a/routers/routes/routes.go b/routers/routes/routes.go
|
|
||||||
index 4ca421065..38a322479 100644
|
|
||||||
--- a/routers/routes/routes.go
|
|
||||||
+++ b/routers/routes/routes.go
|
|
||||||
@@ -455,8 +455,8 @@ func RegisterRoutes(m *macaron.Macaron) {
|
|
||||||
m.Group("/repo", func() {
|
|
||||||
m.Get("/create", repo.Create)
|
|
||||||
m.Post("/create", bindIgnErr(auth.CreateRepoForm{}), repo.CreatePost)
|
|
||||||
- m.Get("/migrate", repo.Migrate)
|
|
||||||
- m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), repo.MigratePost)
|
|
||||||
+ // m.Get("/migrate", repo.Migrate)
|
|
||||||
+ // m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), repo.MigratePost)
|
|
||||||
m.Group("/fork", func() {
|
|
||||||
m.Combo("/:repoid").Get(repo.Fork).
|
|
||||||
Post(bindIgnErr(auth.CreateRepoForm{}), repo.ForkPost)
|
|
1
icons/gitdab_transparent.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="32" height="32"><rect transform="rotate(45 200 200)" rx="39" height="250" width="250" y="75" x="75" fill="#f494a3"/><path fill-rule="evenodd" fill="#fcfbfb" d="M149.753 142.69c-32.224 6.352-44.876 44.948-21.601 67.986l3.12 3.088-8.296 5.427a2319.37 2319.37 0 01-12.695 8.252c-9.905 6.361-12.224 13.845-6.316 20.385 4.975 5.507 7.849 5.28 26.23-2.086 7.076-2.835 13.1-5.154 13.386-5.154.426 0 .516 7.422.489 40.246l-.034 40.247 4.523 4.825c6.872 7.334 18.635 19.082 19.105 19.082.287 0 .417-17.769.417-57.213 0-54.136.038-57.224.7-57.436.792-.253 1.796-.636 3.4-1.297l2.2-.908a199.01 199.01 0 014-1.6c.495-.19 1.35-.526 1.9-.746l2-.8 2-.8c.55-.22 1.405-.556 1.9-.746a202.282 202.282 0 004-1.6c.605-.25 1.55-.634 2.1-.854.55-.22 1.495-.604 2.1-.854.605-.249 1.55-.63 2.1-.846.55-.216 1.313-.552 1.695-.747.382-.194.885-.353 1.119-.353.234 0 1.17-.36 2.08-.8.91-.44 1.81-.8 2-.8.19 0 1.09-.36 2-.8.91-.44 1.804-.8 1.985-.8.182 0 1.093-.34 2.025-.756 8.278-3.689 12.047-4.847 15.776-4.845 6.543.002 11.149-1.793 15.342-5.98 2.576-2.573 5.178-6.96 5.178-8.732 0-1.137 1.07-1.837 4.4-2.877 8.255-2.578 15.473-4.934 16.095-5.253 1.104-.568 2.008-.427 4.168.65 20.099 10.015 38.829-15.952 22.955-31.825-12.637-12.638-33.994-3.637-34.022 14.338l-.004 2.68-4.296 1.354c-2.363.745-5.847 1.87-7.743 2.5-4.415 1.467-4.04 1.531-6.928-1.17-12.305-11.512-33.825-3.186-33.825 13.087 0 1.194-.331 1.408-3.8 2.456-.88.266-1.96.62-2.4.785-1.795.675-5.133 1.588-5.278 1.443-.086-.085.058-1.303.318-2.705 5.11-27.506-19.19-52.659-45.84-47.449"/></svg>
|
After Width: | Height: | Size: 1.6 KiB |