Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

DOCTYPE missing. #16

Merged
merged 1 commit into from

2 participants

@cmeiklejohn
Collaborator

Specifying a DOCTYPE prevents CSS from loading.

@massung

+1

@cmeiklejohn cmeiklejohn merged commit fe145d5 into from
@seancribbs seancribbs deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
1  priv/admin/console.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Console Logs</title>
View
1  priv/admin/graphs.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Graphs</title>
View
1  priv/admin/index.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
View
1  priv/admin/login.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<body style="margin-left:100px;margin-top:100px;">
<h1>Riak Admin Panel</h1>
View
1  priv/admin/mr.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Map/Reduce</title>
View
1  priv/admin/objects.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Objects</title>
View
1  priv/admin/support.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Support + Bug Report</title>
View
3  src/admin_gui.erl
@@ -35,7 +35,8 @@
-include_lib("webmachine/include/webmachine.hrl").
%% mappings to the various content types supported for this resource
--define(CONTENT_TYPES,[{"text/html",to_resource},
+-define(CONTENT_TYPES,[{"text/css", to_resource},
+ {"text/html",to_resource},
{"text/plain",to_resource},
{"text/javascript",to_resource}
]).
Something went wrong with that request. Please try again.