mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Updated icons for Gitea and Gogs services.
This commit is contained in:
parent
5b56705d3a
commit
47475a804f
|
@ -51,14 +51,24 @@
|
||||||
@if(ssm.hasFootnote()) {
|
@if(ssm.hasFootnote()) {
|
||||||
<span style="color:@ssm.fetchThemeFontColorInverse(); font-size:0.8em; font-family: @ssm.fetchThemeFont();">@ssm.fetchFootnote()</span>
|
<span style="color:@ssm.fetchThemeFontColorInverse(); font-size:0.8em; font-family: @ssm.fetchThemeFont();">@ssm.fetchFootnote()</span>
|
||||||
} else {
|
} else {
|
||||||
@if(ssm.params().grs.equals("github")) {
|
@if(ssm.params().grs.equals("github")) {
|
||||||
<span class="octicon octicon-mark-github"
|
<span class="octicon octicon-mark-github"
|
||||||
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></span>
|
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></span>
|
||||||
} else {
|
}
|
||||||
<i class="fa fa-@ssm.params().grs" aria-hidden="true"
|
@if(ssm.params().grs.equals("gitlab")) {
|
||||||
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></i>
|
<i class="fa fa-gitlab" aria-hidden="true"
|
||||||
}
|
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></i>
|
||||||
<span style="color:@ssm.fetchThemeFontColorInverse(); font-size:0.8em; font-family: @ssm.fetchThemeFont();">@ssm.params().asLogo()</span>
|
}
|
||||||
|
@if(ssm.params().grs.equals("bitbucket")) {
|
||||||
|
<i class="fa fa-bitbucket" aria-hidden="true"
|
||||||
|
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></i>
|
||||||
|
}
|
||||||
|
@if(ssm.params().grs.equals("gitea") ||
|
||||||
|
ssm.params().grs.equals("gogs")) {
|
||||||
|
<i class="fa fa-git-square" aria-hidden="true"
|
||||||
|
style="font-size:0.9em; color: @ssm.fetchThemeFontColorInverse()"></i>
|
||||||
|
}
|
||||||
|
<span style="color:@ssm.fetchThemeFontColorInverse(); font-size:0.8em; font-family: @ssm.fetchThemeFont();">@ssm.params().asLogo()</span>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -47,11 +47,9 @@
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
<li style="font-size:1.2em; color:white"><a href="@rndr.orgHub()">@rndr.user()</a></li>
|
<li style="font-size:1.2em; color:white"><a href="@rndr.orgHub()">@rndr.user()</a></li>
|
||||||
<li style="font-size:1.2em; color:white" class="hidden-sd hidden-xs"><p class="navbar-text"
|
<li style="font-size:1.2em; color:white" class="hidden-sd hidden-xs"><p class="navbar-text" style="color:white">/</p></li>
|
||||||
style="color:white">/</p></li>
|
|
||||||
<li style="font-size:1.2em; color:white"><a href="@rndr.repoHub()">@rndr.repo()</a></li>
|
<li style="font-size:1.2em; color:white"><a href="@rndr.repoHub()">@rndr.repo()</a></li>
|
||||||
<li><a href="#" style="font-size:1.2em;color:gray" class="hidden-sd hidden-xs">{
|
<li><a href="#" style="font-size:1.2em;color:gray" class="hidden-sd hidden-xs">{ @rndr.displayLangOrBranch() }</a></li>
|
||||||
@rndr.displayLangOrBranch() }</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<li class="visible-lg visible-md" style="font-size:1.1em; color:white"><a href="@rndr.starHub()"><span
|
<li class="visible-lg visible-md" style="font-size:1.1em; color:white"><a href="@rndr.starHub()"><span
|
||||||
|
@ -61,8 +59,16 @@
|
||||||
<li style="font-size:1.2em; color:white"><a href="@rndr.repoHub()">
|
<li style="font-size:1.2em; color:white"><a href="@rndr.repoHub()">
|
||||||
@if(rndr.params().grs.equals("github")) {
|
@if(rndr.params().grs.equals("github")) {
|
||||||
<span class="mega-octicon octicon-mark-github" style="font-size:1.3em"></span>
|
<span class="mega-octicon octicon-mark-github" style="font-size:1.3em"></span>
|
||||||
} else {
|
}
|
||||||
<span class="fa fa-@rndr.params().grs" aria-hidden="true" style="font-size:1.4em"></span>
|
@if(rndr.params().grs.equals("gitlab")) {
|
||||||
|
<span class="fa fa-gitlab" aria-hidden="true" style="font-size:1.4em"></span>
|
||||||
|
}
|
||||||
|
@if(rndr.params().grs.equals("bitbucket")) {
|
||||||
|
<span class="fa fa-bitbucket" aria-hidden="true" style="font-size:1.4em"></span>
|
||||||
|
}
|
||||||
|
@if(rndr.params().grs.equals("gitea") ||
|
||||||
|
rndr.params().grs.equals("gogs")) {
|
||||||
|
<span class="fa fa-git-square" aria-hidden="true" style="font-size:1.4em"></span>
|
||||||
}
|
}
|
||||||
</a></li>
|
</a></li>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user