mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix and improve dashboard repo UI (#2285)
* Fix and improve dashboard repo UI * Change order of scripts loading * Remove "mirror" tab * Remove single tab panel for "org user" * Add localization strings * Create vue component and change event for search * Add "mirrors" filter
This commit is contained in:
		@@ -45,10 +45,6 @@
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/draw.js"></script>
 | 
			
		||||
{{end}}
 | 
			
		||||
 | 
			
		||||
<!-- JavaScript -->
 | 
			
		||||
<script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script>
 | 
			
		||||
<script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
 | 
			
		||||
 | 
			
		||||
<!-- Third-party libraries -->
 | 
			
		||||
{{if .RequireHighlightJS}}
 | 
			
		||||
	<script src="{{AppSubUrl}}/plugins/highlight-9.11.0/highlight.pack.js"></script>
 | 
			
		||||
@@ -66,5 +62,9 @@
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/libs/vue.min.js"></script>
 | 
			
		||||
 | 
			
		||||
	<!-- JavaScript -->
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script>
 | 
			
		||||
	<script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,9 @@
 | 
			
		||||
	{{if .ContextUser}}
 | 
			
		||||
		<meta name="_context_uid" content="{{.ContextUser.ID}}" />
 | 
			
		||||
	{{end}}
 | 
			
		||||
	{{if .SearchLimit}}
 | 
			
		||||
		<meta name="_search_limit" content="{{.SearchLimit}}" />
 | 
			
		||||
	{{end}}
 | 
			
		||||
{{if .GoGetImport}}
 | 
			
		||||
	<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">
 | 
			
		||||
	<meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user