| @@ -2697,5 +2697,5 @@ foot.member_news = Member news | |||||
| foot.industry_advisory = Industry Advisory | foot.industry_advisory = Industry Advisory | ||||
| foot.help = help | foot.help = help | ||||
| foot.copyright= Copyright: New Generation Artificial Intelligence Open Source Open Platform (OpenI) | foot.copyright= Copyright: New Generation Artificial Intelligence Open Source Open Platform (OpenI) | ||||
| Platform_Tutorial=Platform Tutorial | |||||
| foot.advice_feedback=advice feedback | |||||
| Platform_Tutorial = Tutorial | |||||
| foot.advice_feedback = Feedback | |||||
| @@ -26,12 +26,13 @@ | |||||
| {{end}} | {{end}} | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class="ui item" target="_blank">{{.i18n.Tr "custom.Platform_Tutorial"}}</a> | |||||
| {{if .EnableSwagger}}<a href="/api/swagger" class="ui item">API</a>{{end}} | |||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class=" item a_margin" target="_blank"><i class="ri-creative-commons-by-line footer_icon" ></i><p class="footer_icon">{{.i18n.Tr "custom.Platform_Tutorial"}}</p> </a> | |||||
| {{if .EnableSwagger}}<a href="/api/swagger" class=" item a_margin"><i class="ri-exchange-line footer_icon" > </i><p class="footer_icon">API</p> </a>{{end}} | |||||
| {{if .IsSigned}} | {{if .IsSigned}} | ||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class="ui item" target="_blank">{{.i18n.Tr "custom.foot.advice_feedback"}}</a> | |||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class=" item a_margin" target="_blank"><i class="ri-mail-send-line footer_icon"></i><p class="footer_icon">{{.i18n.Tr "custom.foot.advice_feedback"}}</p></a> | |||||
| {{else}} | {{else}} | ||||
| <a href="{{AppSubUrl}}/user/login" class="ui item">{{.i18n.Tr "custom.foot.advice_feedback"}}</a> | |||||
| <a href="{{AppSubUrl}}/user/login" class=" item a_margin" ><i class="ri-mail-send-line" ></i><p class="footer_icon footer_icon">{{.i18n.Tr "custom.foot.advice_feedback"}}</p></a> | |||||
| {{end}} | {{end}} | ||||
| {{template "custom/extra_links_footer" .}} | {{template "custom/extra_links_footer" .}} | ||||
| @@ -26,12 +26,12 @@ | |||||
| {{end}} | {{end}} | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class="ui item" target="_blank">{{.i18n.Tr "custom.Platform_Tutorial"}}</a> | |||||
| {{if .EnableSwagger}}<a href="/api/swagger" class="ui item">API</a>{{end}} | |||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning" class=" item a_margin" target="_blank"><i class="ri-creative-commons-by-line footer_icon" ></i><p class="footer_icon">{{.i18n.Tr "custom.Platform_Tutorial"}}</p> </a> | |||||
| {{if .EnableSwagger}}<a href="/api/swagger" class=" item a_margin"><i class="ri-exchange-line footer_icon" > </i><p class="footer_icon">API</p> </a>{{end}} | |||||
| {{if .IsSigned}} | {{if .IsSigned}} | ||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class="ui item" target="_blank">{{.i18n.Tr "custom.foot.advice_feedback"}}</a> | |||||
| <a href="https://git.openi.org.cn/zeizei/OpenI_Learning/issues/new" class=" item a_margin" target="_blank"><i class="ri-mail-send-line footer_icon"></i><p class="footer_icon">{{.i18n.Tr "custom.foot.advice_feedback"}}</p></a> | |||||
| {{else}} | {{else}} | ||||
| <a href="{{AppSubUrl}}/user/login" class="ui item">{{.i18n.Tr "custom.foot.advice_feedback"}}</a> | |||||
| <a href="{{AppSubUrl}}/user/login" class=" item a_margin" ><i class="ri-mail-send-line" ></i><p class="footer_icon footer_icon">{{.i18n.Tr "custom.foot.advice_feedback"}}</p></a> | |||||
| {{end}} | {{end}} | ||||
| {{template "custom/extra_links_footer" .}} | {{template "custom/extra_links_footer" .}} | ||||
| </div> | </div> | ||||
| @@ -174,6 +174,7 @@ | |||||
| {{else if ne DefaultTheme "gitea"}} | {{else if ne DefaultTheme "gitea"}} | ||||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | ||||
| {{end}} | {{end}} | ||||
| <link rel="stylesheet" href="/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css"> | |||||
| {{template "custom/header" .}} | {{template "custom/header" .}} | ||||
| <script> | <script> | ||||
| @@ -174,6 +174,7 @@ | |||||
| {{else if ne DefaultTheme "gitea"}} | {{else if ne DefaultTheme "gitea"}} | ||||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | ||||
| {{end}} | {{end}} | ||||
| <link rel="stylesheet" href="/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css"> | |||||
| {{template "custom/header" .}} | {{template "custom/header" .}} | ||||
| <script> | <script> | ||||
| @@ -174,6 +174,7 @@ | |||||
| {{else if ne DefaultTheme "gitea"}} | {{else if ne DefaultTheme "gitea"}} | ||||
| <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/theme-{{DefaultTheme}}.css?v={{MD5 AppVer}}"> | ||||
| {{end}} | {{end}} | ||||
| <link rel="stylesheet" href="/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css"> | |||||
| {{template "custom/header" .}} | {{template "custom/header" .}} | ||||
| <script> | <script> | ||||
| @@ -232,7 +233,7 @@ var _hmt = _hmt || []; | |||||
| }else{ | }else{ | ||||
| isNewNotice=false; | isNewNotice=false; | ||||
| } | } | ||||
| if (JSON.parse("{{.notice.Visible}}")){ | |||||
| if ("{{.notice.Visible}}"){ | |||||
| if(isNewNotice){ | if(isNewNotice){ | ||||
| document.getElementById("notic_content").style.display='block' | document.getElementById("notic_content").style.display='block' | ||||
| }else{ | }else{ | ||||
| @@ -597,10 +597,19 @@ display: block; | |||||
| background: #E5F4F4 | background: #E5F4F4 | ||||
| } | } | ||||
| .x_icon{ | .x_icon{ | ||||
| float: right; | |||||
| float: right!important; | |||||
| margin-right: 15px !important; | margin-right: 15px !important; | ||||
| } | } | ||||
| .a_width{ | .a_width{ | ||||
| width: 50%; | |||||
| display:inline-block | |||||
| width: 50% !important; | |||||
| display:inline-block !important; | |||||
| } | |||||
| .footer_icon{ | |||||
| display: inline-block !important; | |||||
| vertical-align: middle !important; | |||||
| margin-right:0.8em !important; | |||||
| } | |||||
| .a_margin{ | |||||
| margin: 0px !important; | |||||
| } | } | ||||