summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-12-17 16:34:11 -0500
committerGitHub <noreply@github.com>2019-12-17 16:34:11 -0500
commit590d56dbb355a499b2f59d9a6ffa4887ea33c96b (patch)
tree37933f95c29661c80e0ba40751b7e7cf448a32c1 /templates
parent601b0cf4c19ba6e75a8df6a73beb5f58f462ad46 (diff)
downloadgitea-590d56dbb355a499b2f59d9a6ffa4887ea33c96b.tar.gz
gitea-590d56dbb355a499b2f59d9a6ffa4887ea33c96b.zip
switch to fomantic-ui (#9374)
Diffstat (limited to 'templates')
-rw-r--r--templates/base/footer.tmpl2
-rw-r--r--templates/base/head.tmpl2
-rw-r--r--templates/pwa/serviceworker_js.tmpl6
-rw-r--r--templates/repo/commits_list.tmpl2
-rw-r--r--templates/repo/view_list.tmpl2
-rw-r--r--templates/user/dashboard/issues.tmpl4
-rw-r--r--templates/user/dashboard/milestones.tmpl2
7 files changed, 10 insertions, 10 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 8ecd53557f..de736dcc6c 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -117,7 +117,7 @@
<script src="{{StaticUrlPrefix}}/vendor/plugins/vue/vue.min.js"></script>
<!-- JavaScript -->
- <script src="{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.js"></script>
+ <script src="{{StaticUrlPrefix}}/vendor/plugins/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
{{if .EnableHeatmap}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/moment/moment.min.js" charset="utf-8"></script>
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 2cc48c632f..b8fb6d29ef 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -100,7 +100,7 @@
{{end}}
<!-- Stylesheet -->
- <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.css">
+ <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/fomantic/semantic.min.css?v={{MD5 AppVer}}">
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/index.css?v={{MD5 AppVer}}">
<noscript>
<style>
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl
index 1c30a58634..c33b7fdb0e 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -4,7 +4,7 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js',
'{{StaticUrlPrefix}}/vendor/plugins/jquery/jquery.min.js?v=3.4.1',
'{{StaticUrlPrefix}}/vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1',
- '{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.js',
+ '{{StaticUrlPrefix}}/vendor/plugins/fomantic/semantic.min.js?v={{MD5 AppVer}}',
'{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}',
'{{StaticUrlPrefix}}/js/gitgraph.js?v={{MD5 AppVer}}',
'{{StaticUrlPrefix}}/vendor/plugins/clipboard/clipboard.min.js',
@@ -25,7 +25,7 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.min.css',
'{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.css',
'{{StaticUrlPrefix}}/vendor/plugins/tribute/tribute.css',
- '{{StaticUrlPrefix}}/vendor/plugins/semantic/semantic.min.css',
+ '{{StaticUrlPrefix}}/vendor/plugins/fomantic/semantic.min.css?v={{MD5 AppVer}}',
'{{StaticUrlPrefix}}/css/index.css?v={{MD5 AppVer}}',
'{{StaticUrlPrefix}}/vendor/plugins/highlight/github.css',
'{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.css',
@@ -44,7 +44,7 @@ var urlsToCache = [
'{{StaticUrlPrefix}}/img/gitea-lg.png',
// fonts
- '{{StaticUrlPrefix}}/vendor/plugins/semantic/themes/default/assets/fonts/icons.woff2',
+ '{{StaticUrlPrefix}}/vendor/plugins/fomantic/themes/default/assets/fonts/icons.woff2',
'{{StaticUrlPrefix}}/vendor/assets/octicons/octicons.woff2?ef21c39f0ca9b1b5116e5eb7ac5eabe6',
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-regular.woff2',
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v14-latin-700.woff2'
diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl
index 010c3b227a..01096f2085 100644
--- a/templates/repo/commits_list.tmpl
+++ b/templates/repo/commits_list.tmpl
@@ -82,7 +82,7 @@
<pre class="commit-body" style="display: none;">{{RenderCommitBody .Message $.RepoLink $.Repository.ComposeMetas}}</pre>
{{end}}
</td>
- <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
+ <td class="text right aligned">{{TimeSince .Author.When $.Lang}}</td>
</tr>
{{end}}
</tbody>
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 87f613f739..3ba0eeec8d 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -87,7 +87,7 @@
<a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary}}</a>
</span>
</td>
- <td class="text grey right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td>
+ <td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td>
</tr>
{{end}}
</tbody>
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 0310f5fafe..26020ca0ce 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -26,7 +26,7 @@
<div class="ui divider"></div>
<a class="{{if not $.RepoIDs}}ui basic blue button{{end}} repo name item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}">
<span class="text truncate">All</span>
- <div class="floating ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{.TotalIssueCount}}</div>
+ <div class="ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{.TotalIssueCount}}</div>
</a>
{{range .Repos}}
{{with $Repo := .}}
@@ -45,7 +45,7 @@
{{end}}
]&sort={{$.SortType}}&state={{$.State}}" title="{{.FullName}}">
<span class="text truncate">{{$Repo.FullName}}</span>
- <div class="floating ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{index $.Counts $Repo.ID}}</div>
+ <div class="ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{index $.Counts $Repo.ID}}</div>
</a>
{{end}}
{{end}}
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl
index 495119f442..c16527f9f4 100644
--- a/templates/user/dashboard/milestones.tmpl
+++ b/templates/user/dashboard/milestones.tmpl
@@ -27,7 +27,7 @@
{{end}}
]&sort={{$.SortType}}&state={{$.State}}" title="{{.FullName}}">
<span class="text truncate">{{$Repo.FullName}}</span>
- <div class="floating ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{index $.Counts $Repo.ID}}</div>
+ <div class="ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{index $.Counts $Repo.ID}}</div>
</a>
{{end}}
{{end}}