質問編集履歴
1
applicatiom.html.erbの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -339,3 +339,183 @@
|
|
339
339
|
:class => 'btn btn-primary' %>
|
340
340
|
|
341
341
|
```
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
application.html.erb
|
348
|
+
|
349
|
+
```rb
|
350
|
+
|
351
|
+
<!DOCTYPE html>
|
352
|
+
|
353
|
+
<html lang="en">
|
354
|
+
|
355
|
+
<head>
|
356
|
+
|
357
|
+
<meta charset="utf-8">
|
358
|
+
|
359
|
+
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
360
|
+
|
361
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
362
|
+
|
363
|
+
<title><%= content_for?(:title) ? yield(:title) : "Dokusho" %></title>
|
364
|
+
|
365
|
+
<%= csrf_meta_tags %>
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
<%= stylesheet_link_tag "application", :media => "all" %>
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
<!-- For third-generation iPad with high-resolution Retina display: -->
|
374
|
+
|
375
|
+
<!-- Size should be 144 x 144 pixels -->
|
376
|
+
|
377
|
+
<%= favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' %>
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
<!-- For iPhone with high-resolution Retina display: -->
|
382
|
+
|
383
|
+
<!-- Size should be 114 x 114 pixels -->
|
384
|
+
|
385
|
+
<%= favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' %>
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
<!-- For first- and second-generation iPad: -->
|
390
|
+
|
391
|
+
<!-- Size should be 72 x 72 pixels -->
|
392
|
+
|
393
|
+
<%= favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' %>
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
|
398
|
+
|
399
|
+
<!-- Size should be 57 x 57 pixels -->
|
400
|
+
|
401
|
+
<%= favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' %>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
<!-- For all other devices -->
|
406
|
+
|
407
|
+
<!-- Size should be 32 x 32 pixels -->
|
408
|
+
|
409
|
+
<%= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon' %>
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
<%= javascript_include_tag "application" %>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
418
|
+
|
419
|
+
<!--[if lt IE 9]>
|
420
|
+
|
421
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js" type="text/javascript"></script>
|
422
|
+
|
423
|
+
<![endif]-->
|
424
|
+
|
425
|
+
</head>
|
426
|
+
|
427
|
+
<body>
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
<div class="navbar navbar-default navbar-static-top">
|
432
|
+
|
433
|
+
<div class="container">
|
434
|
+
|
435
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
|
436
|
+
|
437
|
+
<span class="icon-bar"></span>
|
438
|
+
|
439
|
+
<span class="icon-bar"></span>
|
440
|
+
|
441
|
+
<span class="icon-bar"></span>
|
442
|
+
|
443
|
+
</button>
|
444
|
+
|
445
|
+
<a class="navbar-brand" href="#">Dokusho</a>
|
446
|
+
|
447
|
+
<div class="navbar-collapse collapse navbar-responsive-collapse">
|
448
|
+
|
449
|
+
<ul class="nav navbar-nav">
|
450
|
+
|
451
|
+
<li><%= link_to "Link1", "/path1" %></li>
|
452
|
+
|
453
|
+
<li><%= link_to "Link2", "/path2" %></li>
|
454
|
+
|
455
|
+
<li><%= link_to "Link3", "/path3" %></li>
|
456
|
+
|
457
|
+
</ul>
|
458
|
+
|
459
|
+
</div>
|
460
|
+
|
461
|
+
</div>
|
462
|
+
|
463
|
+
</div>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
<div class="container">
|
468
|
+
|
469
|
+
<div class="row">
|
470
|
+
|
471
|
+
<div class="col-lg-9">
|
472
|
+
|
473
|
+
<%= bootstrap_flash %>
|
474
|
+
|
475
|
+
<%= yield %>
|
476
|
+
|
477
|
+
</div>
|
478
|
+
|
479
|
+
<div class="col-lg-3">
|
480
|
+
|
481
|
+
<div class="well sidebar-nav">
|
482
|
+
|
483
|
+
<h3>Sidebar</h3>
|
484
|
+
|
485
|
+
<ul class="nav nav-list">
|
486
|
+
|
487
|
+
<li class="nav-header">Sidebar</li>
|
488
|
+
|
489
|
+
<li><%= link_to "Link1", "/path1" %></li>
|
490
|
+
|
491
|
+
<li><%= link_to "Link2", "/path2" %></li>
|
492
|
+
|
493
|
+
<li><%= link_to "Link3", "/path3" %></li>
|
494
|
+
|
495
|
+
</ul>
|
496
|
+
|
497
|
+
</div><!--/.well -->
|
498
|
+
|
499
|
+
</div><!--/span-->
|
500
|
+
|
501
|
+
</div><!--/row-->
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
<footer>
|
506
|
+
|
507
|
+
<p>© Company 2019</p>
|
508
|
+
|
509
|
+
</footer>
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
</div> <!-- /container -->
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
</body>
|
518
|
+
|
519
|
+
</html>
|
520
|
+
|
521
|
+
```
|