diff options
| author | horus_arch | 2016-09-02 17:50:15 +0200 |
|---|---|---|
| committer | horus_arch | 2016-09-02 17:50:15 +0200 |
| commit | 80ed8a317c59c9905b6ef0d18bec6bed0eb11a44 (patch) | |
| tree | 91783c02b834316746a2e71fc910092cd4dcce9d /templates/header.html | |
| parent | 3368a43c88d5fed75883c5ebd692e41c71556d15 (diff) | |
| download | scribbled-80ed8a317c59c9905b6ef0d18bec6bed0eb11a44.tar.gz | |
Add admin interface + the config option to run scribbled locally without internet access.
Diffstat (limited to 'templates/header.html')
| -rw-r--r-- | templates/header.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/header.html b/templates/header.html index 432b263..bdf054f 100644 --- a/templates/header.html +++ b/templates/header.html @@ -8,8 +8,13 @@ {{else}} <title>Welcome | Scribble</title> {{end}} + {{if isLocal}} + <link rel="stylesheet" href="/static/css/bootstrap.min.css"> + <link href="/static/css/font-awesome.min.css" rel="stylesheet"> + {{else }} <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> - <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/font-awesome/font-awesome.css" rel="stylesheet"> + {{end}} <link rel="shortcut icon" type="image/png" href="/static/img/favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="{{.VirtualRoot}}/static/css/sweet-alert.css"> |
