diff --git a/templates/org/course_list.tmpl b/templates/org/course_list.tmpl index dc07e0b21..4c6392276 100644 --- a/templates/org/course_list.tmpl +++ b/templates/org/course_list.tmpl @@ -67,7 +67,11 @@ background-color: #B3DBDB !important; font-weight:normal !important } - + .tag_text{ + /* margin-top: 2px; */ + /* margin-left: 0.5em; */ + font-size: 14px; + } @@ -120,29 +124,14 @@ -
-

- - - - {{$.i18n.Tr "org.repo_updated"}} :  {{.CreatedUnix.FormatShort}} - - -

- +
+ +
+ + + {{$.i18n.Tr "org.repo_updated"}} :   {{TimeSinceUnixShort .UpdatedUnix}} + +
{{end}} diff --git a/templates/org/home_courses.tmpl b/templates/org/home_courses.tmpl index 8f6230e4b..771e8e7f9 100644 --- a/templates/org/home_courses.tmpl +++ b/templates/org/home_courses.tmpl @@ -65,7 +65,7 @@ } .tag_key{ max-width:100%; - margin: 2px 2px; + margin: 3px 3px; display:inline-flex; } .bpadding{ @@ -158,11 +158,12 @@
- 全部关键字 + + 全部关键字 {{range .CoursesKeywords}} - - {{.}} + + {{.}} {{end}}
@@ -217,7 +218,7 @@
- {{.Alias}} + {{.Alias}}

贡献者:{{.Creator.Name}}

@@ -325,21 +326,22 @@ // // this.classList.add("tag_bg") // } - window.onload = function () - { - var atag =document.getElementById("tag").getElementsByTagName("a"); - - var i = 0; - for (i = 0; i < atag.length; i++) - { - atag[i].onclick = function () - { - for (i = 0; i < atag.length; i++) - atag[i].getElementsByTagName('span')[0].className = "ui small tag_lable topic omit"; - this.getElementsByTagName('span')[0].className = "ui small tag_lable topic omit tag_bg"; - }; - } - }; + // window.onload = function (){ + // // function changeBgcolor (obj){ + // // document.getElementsByTagName("search_selectPro").value='' + // // obj.getElementsByTagName('span').className = "ui small tag_lable topic omit tag_bg"; + // var atag =document.getElementById("tag").getElementsByTagName("a"); + + // var i = 0; + // for (i = 0; i < atag.length; i++){ + // atag[i].onclick = function () + // { + // for (i = 0; i < atag.length; i++) + // atag[i].getElementsByTagName('span')[0].className = "ui small tag_lable topic omit"; + // this.getElementsByTagName('span')[0].className = "ui small tag_lable topic omit tag_bg"; + // }; + // } + // }; var data; var filterData=[]; diff --git a/templates/org/team/courseTeams.tmpl b/templates/org/team/courseTeams.tmpl index e69de29bb..e7081b58f 100644 --- a/templates/org/team/courseTeams.tmpl +++ b/templates/org/team/courseTeams.tmpl @@ -0,0 +1,48 @@ +{{template "base/head" .}} +
+ {{template "org/header" .}} +
+ {{template "base/alert" .}} + {{template "org/navber" .}} +
+ + + +
+
+ {{range .Teams}} +
+
+ {{.Name}} +
+ {{if .IsMember $.SignedUser.ID}} +
+ {{$.CsrfTokenHtml}} + +
+ {{else if $.IsOrganizationOwner}} +
+ {{$.CsrfTokenHtml}} + +
+ {{end}} +
+
+
+ {{range .Members}} + + + + {{end}} +
+
+

{{.NumMembers}} {{$.i18n.Tr "org.lower_members"}} · {{.NumRepos}} {{$.i18n.Tr "org.lower_repositories"}}

+
+
+ {{end}} +
+
+
+
+
+{{template "base/footer" .}}