Skip to content

Commit

Permalink
Adding viewport to views
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRogers0 committed Mar 6, 2021
1 parent f6fcab4 commit 951b028
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/generator/template/merge/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8">

<title><%= @title %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
<frame src="panel/index.html" title="Search" name="panel" />
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/class.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h klass.full_name %></title>
<meta charset="<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, :tree_keys => klass.full_name.split('::') } %>

<meta property="og:title" value="<%= klass.full_name %>">
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/file.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h file.name %></title>
<meta charset="<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, :tree_keys => [] } %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= @options.title %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, tree_keys: []} %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/search_index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>File Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<% @files.each do |file| %>
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/class.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h klass.full_name %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>

<meta property="og:title" value="<%= klass.full_name %>">
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/file.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h file.name %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<title><%= @options.title %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
<frame src="panel/index.html" title="Search" name="panel" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>Search Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="../css/panel.css" type="text/css" media="screen" charset="utf-8" />
<script src="../js/search_index.js" type="text/javascript" charset="utf-8"></script>
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/search_index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>File Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<% @files.each do |file| %>
Expand Down

0 comments on commit 951b028

Please sign in to comment.