mirror of
https://github.com/gogs/gogs.git
synced 2025-05-24 00:12:26 +00:00
templates: make dropdowns menus work when JavaScript is disabled (#4780)
* Make dropdowns menus work when JavaScript is disabled * Update head.tmpl * Update head.tmpl
This commit is contained in:
parent
52ee796d6d
commit
2818ce4632
@ -61,6 +61,12 @@
|
|||||||
<!-- Stylesheet -->
|
<!-- Stylesheet -->
|
||||||
<link rel="stylesheet" href="{{AppSubURL}}/css/semantic-2.2.13.min.css">
|
<link rel="stylesheet" href="{{AppSubURL}}/css/semantic-2.2.13.min.css">
|
||||||
<link rel="stylesheet" href="{{AppSubURL}}/css/gogs.css?v={{MD5 AppVer}}">
|
<link rel="stylesheet" href="{{AppSubURL}}/css/gogs.css?v={{MD5 AppVer}}">
|
||||||
|
<noscript>
|
||||||
|
<style>
|
||||||
|
.dropdown:hover > .menu { display: block; }
|
||||||
|
.ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }
|
||||||
|
</style>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
<!-- JavaScript -->
|
<!-- JavaScript -->
|
||||||
<script src="{{AppSubURL}}/js/semantic-2.2.13.min.js"></script>
|
<script src="{{AppSubURL}}/js/semantic-2.2.13.min.js"></script>
|
||||||
@ -74,7 +80,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="full height">
|
<div class="full height">
|
||||||
<noscript>Please enable JavaScript in your browser!</noscript>
|
<noscript>This website works better with JavaScript</noscript>
|
||||||
|
|
||||||
{{if not .PageIsInstall}}
|
{{if not .PageIsInstall}}
|
||||||
<div class="following bar light">
|
<div class="following bar light">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user