JSの注意

This commit is contained in:
守矢諏訪子 2022-01-18 18:48:10 +09:00
parent a89599a686
commit 6ef318cf57
11 changed files with 29 additions and 33 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,6 @@
@extends('theme.'.env('THEME').'.site')
@section('content')
<div class="within" style="background-color: rgb(49, 54, 59); margin: 32px auto 0px">
{{ $res->links() }}
</div>
<div class="within">
<div class="bar">コメント一覧</div>
<div class="back">

View File

@ -1,10 +1,6 @@
@extends('theme.'.env('THEME').'.site')
@section('content')
<div class="within" style="background-color: rgb(49, 54, 59); margin: 32px auto 0px">
{{ $res->links() }}
</div>
<div class="within">
<div class="bar">ユーザー一覧</div>
<div class="back" style="white-space: pre-wrap;">

View File

@ -1 +1 @@
<link rel="shortcut icon" href="/img/favicon.jpeg">
<link rel="shortcut icon" href="/img/favicon.jpeg" />

View File

@ -6,18 +6,20 @@
<li class="nav-item"><a class="nav-link" href="http://{{ env('ONION_HOST') }}">Tor</a></li>
<li class="nav-item"><a class="nav-link" href="/feed">RSS</a></li>
</ul>
<ul class="navbar-nav ml-auto">
@if ($user)
<li class="nav-item dropdown">
<a class="nav-link" href="/profile/{{ $user->id }}" id="user" role="button">
<img src="{{ $user->profile->avatar }}" width="25px" height="25px" alt="{{ $user->profile->showname }}のアイコン" />
<span style="{{ $user->profile->name_style }}">{{ $user->profile->showname }}</span>
</a>
</li>
@else
<li class="nav-item dropdown"><a class="nav-link" href="/login" id="login" role="button">{{ __('site.signin') }}</a></li>
<li class="nav-item dropdown"><a class="nav-link" href="/register" id="register" role="button">{{ __('site.sinkitoroku') }}</a></li>
@endif
</ul>
<noscript>
<ul class="navbar-nav ml-auto">
@if ($user)
<li class="nav-item dropdown">
<a class="nav-link" href="/profile/{{ $user->id }}" id="user" role="button">
<img src="{{ $user->profile->avatar }}" width="25px" height="25px" alt="{{ $user->profile->showname }}のアイコン" />
<span style="{{ $user->profile->name_style }}">{{ $user->profile->showname }}</span>
</a>
</li>
@else
<li class="nav-item dropdown"><a class="nav-link" href="/login" id="login" role="button">{{ __('site.signin') }}</a></li>
<li class="nav-item dropdown"><a class="nav-link" href="/register" id="register" role="button">{{ __('site.sinkitoroku') }}</a></li>
@endif
</ul>
</noscript>
</div>
</nav>

View File

@ -2,20 +2,22 @@
$user = getUser();
?>
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ app()->getLocale() }}" lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta name="csrf-token" content="{{ csrf_token() }}" />
<title>テクニカル諏訪子</title>
<!-- Styles -->
@include('theme.'.env('THEME').'.component.favicon')
@include('theme.'.env('THEME').'.component.colors')
</head>
<body>
<div class="fixed-top navbar-expand" style="background-color: #aaaa00; color: #fcfcfc; display: none; padding: 20px; z-index: 5000;" id="jswarning">注意JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。</div>
<script type="text/javascript">document.getElementById('jswarning').style.display = 'block';</script>
@include('theme.'.env('THEME').'.component.navbar')
<main id="app">
<section>