Browse Source

Make basic functionality work without JavaScript (#2541)

tags/v1.3.0-rc1
Jorge Maldonado Ventura Kim "BKC" Carlbäcker 7 years ago
parent
commit
8f894b8783
2 changed files with 8 additions and 1 deletions
  1. +1
    -0
      options/locale/locale_en-US.ini
  2. +7
    -1
      templates/base/head.tmpl

+ 1
- 0
options/locale/locale_en-US.ini View File

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

username = Username
email = Email


+ 7
- 1
templates/base/head.tmpl View File

@@ -76,6 +76,12 @@
<!-- Stylesheet -->
<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.css">
<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}}
<link rel="stylesheet" href="{{AppSubUrl}}/vendor/plugins/highlight/github.css">
@@ -118,7 +124,7 @@
</head>
<body>
<div class="full height">
<noscript>Please enable JavaScript in your browser!</noscript>
<noscript>{{.i18n.Tr "enable_javascript"}}</noscript>

{{if not .PageIsInstall}}
<div class="following bar light">


Loading…
Cancel
Save