0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 15:44:19 +01:00

Make basic functionality work without JavaScript (#2541)

This commit is contained in:
Jorge Maldonado Ventura 2017-09-19 01:03:01 +02:00 committed by Kim "BKC" Carlbäcker
parent 566e8ecce0
commit d155d0e665
2 changed files with 8 additions and 1 deletions

View file

@ -20,6 +20,7 @@ notifications = Notifications
create_new = Create... create_new = Create...
user_profile_and_more = User profile and more user_profile_and_more = User profile and more
signed_in_as = Signed in as signed_in_as = Signed in as
enable_javascript = This website works better with JavaScript
username = Username username = Username
email = Email email = Email

View file

@ -76,6 +76,12 @@
<!-- Stylesheet --> <!-- Stylesheet -->
<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.css"> <link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.css">
<link rel="stylesheet" href="{{AppSubUrl}}/css/index.css?v={{MD5 AppVer}}"> <link rel="stylesheet" href="{{AppSubUrl}}/css/index.css?v={{MD5 AppVer}}">
<noscript>
<style>
.dropdown:hover > .menu { display: block; }
.ui.secondary.menu .dropdown.item > .menu { margin-top: 0; }
</style>
</noscript>
{{if .RequireHighlightJS}} {{if .RequireHighlightJS}}
<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/highlight/github.css"> <link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/highlight/github.css">
@ -118,7 +124,7 @@
</head> </head>
<body> <body>
<div class="full height"> <div class="full height">
<noscript>Please enable JavaScript in your browser!</noscript> <noscript>{{.i18n.Tr "enable_javascript"}}</noscript>
{{if not .PageIsInstall}} {{if not .PageIsInstall}}
<div class="following bar light"> <div class="following bar light">