Merge branch 'develop'
This commit is contained in:
commit
917675f9bd
14
.env.example
14
.env.example
@ -1,4 +1,4 @@
|
|||||||
APP_NAME=Laravel
|
APP_NAME=Tissue
|
||||||
APP_ENV=local
|
APP_ENV=local
|
||||||
APP_KEY=
|
APP_KEY=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
@ -22,11 +22,15 @@ REDIS_PASSWORD=null
|
|||||||
REDIS_PORT=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
MAIL_DRIVER=smtp
|
MAIL_DRIVER=smtp
|
||||||
MAIL_HOST=smtp.mailtrap.io
|
MAIL_HOST=smtp.sparkpostmail.com
|
||||||
MAIL_PORT=2525
|
MAIL_PORT=587
|
||||||
MAIL_USERNAME=null
|
MAIL_USERNAME=SMTP_Injection
|
||||||
MAIL_PASSWORD=null
|
MAIL_PASSWORD=null
|
||||||
MAIL_ENCRYPTION=null
|
MAIL_ENCRYPTION=tls
|
||||||
|
MAIL_FROM_ADDRESS=support@mail.shikorism.net
|
||||||
|
MAIL_FROM_NAME=Tissue
|
||||||
|
|
||||||
|
SPARKPOST_SECRET=
|
||||||
|
|
||||||
PUSHER_APP_ID=
|
PUSHER_APP_ID=
|
||||||
PUSHER_APP_KEY=
|
PUSHER_APP_KEY=
|
||||||
|
@ -7,8 +7,8 @@ a.k.a. shikorism.net
|
|||||||
(思想的には [shibafu528/SperMaster](https://github.com/shibafu528/SperMaster) の後継となります)
|
(思想的には [shibafu528/SperMaster](https://github.com/shibafu528/SperMaster) の後継となります)
|
||||||
|
|
||||||
## 構成
|
## 構成
|
||||||
* Laravel 5.4
|
* Laravel 5.5
|
||||||
* Materialize 0.99.0 (Materialでデザインする気が失せたので変更予定)
|
* Bootstrap 4.0
|
||||||
|
|
||||||
## 実行環境
|
## 実行環境
|
||||||
* PHP 7.1
|
* PHP 7.1
|
||||||
|
@ -10,7 +10,21 @@ class Ejaculation extends Model
|
|||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'user_id', 'ejaculated_date',
|
'user_id', 'ejaculated_date',
|
||||||
'note', 'geo_latitude', 'geo_longitude',
|
'note', 'geo_latitude', 'geo_longitude', 'link',
|
||||||
'is_private'
|
'is_private'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $dates = [
|
||||||
|
'ejaculated_date'
|
||||||
|
];
|
||||||
|
|
||||||
|
public function user()
|
||||||
|
{
|
||||||
|
return $this->belongsTo('App\User');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function tags()
|
||||||
|
{
|
||||||
|
return $this->belongsToMany('App\Tag')->withTimestamps();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Tag;
|
||||||
|
use App\User;
|
||||||
|
use Carbon\Carbon;
|
||||||
use Validator;
|
use Validator;
|
||||||
use App\Ejaculation;
|
use App\Ejaculation;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
@ -16,45 +19,123 @@ class EjaculationController extends Controller
|
|||||||
|
|
||||||
public function store(Request $request)
|
public function store(Request $request)
|
||||||
{
|
{
|
||||||
Validator::make($request->all(), [
|
$inputs = $request->all();
|
||||||
|
if ($request->has('note')) {
|
||||||
|
$inputs['note'] = str_replace(["\r\n", "\r"], "\n", $inputs['note']);
|
||||||
|
}
|
||||||
|
|
||||||
|
Validator::make($inputs, [
|
||||||
'date' => 'required|date_format:Y/m/d',
|
'date' => 'required|date_format:Y/m/d',
|
||||||
'time' => 'required|date_format:H:i',
|
'time' => 'required|date_format:H:i',
|
||||||
'note' => 'nullable|string|max:500',
|
'note' => 'nullable|string|max:500',
|
||||||
])->after(function ($validator) use ($request) {
|
'link' => 'nullable|url',
|
||||||
|
'tags' => 'nullable|string',
|
||||||
|
])->after(function ($validator) use ($request, $inputs) {
|
||||||
// 日時の重複チェック
|
// 日時の重複チェック
|
||||||
$dt = $request->input('date') . ' ' . $request->input('time');
|
if (!$validator->errors()->hasAny(['date', 'time'])) {
|
||||||
if (Ejaculation::where(['user_id' => Auth::id(), 'ejaculated_date' => $dt])->count()) {
|
$dt = $inputs['date'] . ' ' . $inputs['time'];
|
||||||
$validator->errors()->add('datetime', '既にこの日時にチェックインしているため、登録できません。');
|
if (Ejaculation::where(['user_id' => Auth::id(), 'ejaculated_date' => $dt])->count()) {
|
||||||
|
$validator->errors()->add('datetime', '既にこの日時にチェックインしているため、登録できません。');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})->validate();
|
})->validate();
|
||||||
|
|
||||||
Ejaculation::create([
|
$ejaculation = Ejaculation::create([
|
||||||
'user_id' => Auth::id(),
|
'user_id' => Auth::id(),
|
||||||
'ejaculated_date' => $request->input('date') . ' ' . $request->input('time'),
|
'ejaculated_date' => Carbon::createFromFormat('Y/m/d H:i', $inputs['date'] . ' ' . $inputs['time']),
|
||||||
'note' => $request->input('note') ?? '',
|
'note' => $inputs['note'] ?? '',
|
||||||
|
'link' => $inputs['link'] ?? '',
|
||||||
'is_private' => $request->has('is_private') ?? false
|
'is_private' => $request->has('is_private') ?? false
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return redirect()->route('home')->with('status', 'チェックインしました!');
|
$tags = explode(' ', $inputs['tags']);
|
||||||
|
$tagIds = [];
|
||||||
|
foreach ($tags as $tag) {
|
||||||
|
$tag = Tag::firstOrCreate(['name' => $tag]);
|
||||||
|
$tagIds[] = $tag->id;
|
||||||
|
}
|
||||||
|
$ejaculation->tags()->sync($tagIds);
|
||||||
|
|
||||||
|
return redirect()->route('checkin.show', ['id' => $ejaculation->id])->with('status', 'チェックインしました!');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function show()
|
public function show($id)
|
||||||
{
|
{
|
||||||
// TODO: not implemented
|
$ejaculation = Ejaculation::findOrFail($id);
|
||||||
|
$user = User::findOrFail($ejaculation->user_id);
|
||||||
|
|
||||||
|
// 1つ前のチェックインからの経過時間を求める
|
||||||
|
$previousEjaculation = Ejaculation::select('ejaculated_date')
|
||||||
|
->where('user_id', $ejaculation->user_id)
|
||||||
|
->where('ejaculated_date', '<', $ejaculation->ejaculated_date)
|
||||||
|
->orderByDesc('ejaculated_date')
|
||||||
|
->first();
|
||||||
|
if (!empty($previousEjaculation)) {
|
||||||
|
$ejaculatedSpan = $ejaculation->ejaculated_date
|
||||||
|
->diff($previousEjaculation->ejaculated_date)
|
||||||
|
->format('%a日 %h時間 %i分');
|
||||||
|
} else {
|
||||||
|
$ejaculatedSpan = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return view('ejaculation.show')->with(compact('user', 'ejaculation', 'ejaculatedSpan'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function edit()
|
public function edit($id)
|
||||||
{
|
{
|
||||||
// TODO: not implemented
|
$ejaculation = Ejaculation::findOrFail($id);
|
||||||
|
return view('ejaculation.edit')->with(compact('ejaculation'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function update()
|
public function update(Request $request, $id)
|
||||||
{
|
{
|
||||||
// TODO: not implemented
|
$ejaculation = Ejaculation::findOrFail($id);
|
||||||
|
|
||||||
|
$inputs = $request->all();
|
||||||
|
if ($request->has('note')) {
|
||||||
|
$inputs['note'] = str_replace(["\r\n", "\r"], "\n", $inputs['note']);
|
||||||
|
}
|
||||||
|
|
||||||
|
Validator::make($inputs, [
|
||||||
|
'date' => 'required|date_format:Y/m/d',
|
||||||
|
'time' => 'required|date_format:H:i',
|
||||||
|
'note' => 'nullable|string|max:500',
|
||||||
|
'link' => 'nullable|url',
|
||||||
|
'tags' => 'nullable|string',
|
||||||
|
])->after(function ($validator) use ($id, $request, $inputs) {
|
||||||
|
// 日時の重複チェック
|
||||||
|
if (!$validator->errors()->hasAny(['date', 'time'])) {
|
||||||
|
$dt = $inputs['date'] . ' ' . $inputs['time'];
|
||||||
|
if (Ejaculation::where(['user_id' => Auth::id(), 'ejaculated_date' => $dt])->where('id', '<>', $id)->count()) {
|
||||||
|
$validator->errors()->add('datetime', '既にこの日時にチェックインしているため、登録できません。');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})->validate();
|
||||||
|
|
||||||
|
$ejaculation->fill([
|
||||||
|
'ejaculated_date' => Carbon::createFromFormat('Y/m/d H:i', $inputs['date'] . ' ' . $inputs['time']),
|
||||||
|
'note' => $inputs['note'] ?? '',
|
||||||
|
'link' => $inputs['link'] ?? '',
|
||||||
|
'is_private' => $request->has('is_private') ?? false
|
||||||
|
])->save();
|
||||||
|
|
||||||
|
$tags = explode(' ', $inputs['tags']);
|
||||||
|
$tagIds = [];
|
||||||
|
foreach ($tags as $tag) {
|
||||||
|
$tag = Tag::firstOrCreate(['name' => $tag]);
|
||||||
|
$tagIds[] = $tag->id;
|
||||||
|
}
|
||||||
|
$ejaculation->tags()->sync($tagIds);
|
||||||
|
|
||||||
|
return redirect()->route('checkin.show', ['id' => $ejaculation->id])->with('status', 'チェックインを修正しました!');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function destroy()
|
public function destroy($id)
|
||||||
{
|
{
|
||||||
// TODO: not implemented
|
$ejaculation = Ejaculation::findOrFail($id);
|
||||||
|
$user = User::findOrFail($ejaculation->user_id);
|
||||||
|
$ejaculation->tags()->detach();
|
||||||
|
$ejaculation->delete();
|
||||||
|
return redirect()->route('user.profile', ['name' => $user->name])->with('status', '削除しました。');
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,6 +3,7 @@
|
|||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
use App\Ejaculation;
|
use App\Ejaculation;
|
||||||
|
use App\Information;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
@ -26,54 +27,29 @@ class HomeController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
|
$informations = Information::query()
|
||||||
|
->select('id', 'category', 'pinned', 'title', 'created_at')
|
||||||
|
->orderByDesc('pinned')
|
||||||
|
->orderByDesc('created_at')
|
||||||
|
->take(3)
|
||||||
|
->get();
|
||||||
|
$categories = Information::CATEGORIES;
|
||||||
|
|
||||||
if (Auth::check()) {
|
if (Auth::check()) {
|
||||||
$ejaculations = Ejaculation::select(DB::raw(<<<'SQL'
|
// お惣菜コーナー用のデータ取得
|
||||||
to_char(ejaculated_date, 'YYYY/MM/DD HH24:MI') AS ejaculated_date,
|
$publicLinkedEjaculations = Ejaculation::join('users', 'users.id', '=', 'ejaculations.user_id')
|
||||||
note,
|
->where('users.is_protected', false)
|
||||||
is_private,
|
->where('ejaculations.is_private', false)
|
||||||
to_char(lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC), 'YYYY/MM/DD HH24:MI') AS before_date,
|
->where('ejaculations.link', '<>', '')
|
||||||
to_char(ejaculated_date - (lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)), 'FMDDD日 FMHH24時間 FMMI分') AS ejaculated_span
|
->orderBy('ejaculations.ejaculated_date', 'desc')
|
||||||
SQL
|
->select('ejaculations.*')
|
||||||
))
|
->with('user', 'tags')
|
||||||
->where(['user_id' => Auth::id()])
|
->take(5)
|
||||||
->orderBy('ejaculated_date', 'desc')
|
|
||||||
->limit(9)
|
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
// 現在のオナ禁セッションの経過時間
|
return view('home')->with(compact('informations', 'categories', 'publicLinkedEjaculations'));
|
||||||
if (count($ejaculations) > 0) {
|
|
||||||
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
|
||||||
->diff(Carbon::now())
|
|
||||||
->format('%d日 %h時間 %i分');
|
|
||||||
} else {
|
|
||||||
$currentSession = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 概況欄のデータ取得
|
|
||||||
$summary = DB::select(<<<'SQL'
|
|
||||||
SELECT
|
|
||||||
avg(span) AS average,
|
|
||||||
max(span) AS longest,
|
|
||||||
min(span) AS shortest,
|
|
||||||
sum(span) AS total_times,
|
|
||||||
count(*) AS total_checkins
|
|
||||||
FROM
|
|
||||||
(
|
|
||||||
SELECT
|
|
||||||
extract(epoch from ejaculated_date - lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)) AS span
|
|
||||||
FROM
|
|
||||||
ejaculations
|
|
||||||
WHERE
|
|
||||||
user_id = :user_id
|
|
||||||
ORDER BY
|
|
||||||
ejaculated_date DESC
|
|
||||||
) AS temp
|
|
||||||
SQL
|
|
||||||
, ['user_id' => Auth::id()]);
|
|
||||||
|
|
||||||
return view('home')->with(compact('ejaculations', 'currentSession', 'summary'));
|
|
||||||
} else {
|
} else {
|
||||||
return view('guest');
|
return view('guest')->with(compact('informations', 'categories'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
31
app/Http/Controllers/InfoController.php
Normal file
31
app/Http/Controllers/InfoController.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Information;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class InfoController extends Controller
|
||||||
|
{
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$informations = Information::query()
|
||||||
|
->select('id', 'category', 'pinned', 'title', 'created_at')
|
||||||
|
->orderByDesc('pinned')
|
||||||
|
->orderByDesc('created_at')
|
||||||
|
->paginate(20);
|
||||||
|
return view('info.index')->with([
|
||||||
|
'informations' => $informations,
|
||||||
|
'categories' => Information::CATEGORIES
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
$information = Information::findOrFail($id);
|
||||||
|
return view('info.show')->with([
|
||||||
|
'info' => $information,
|
||||||
|
'category' => Information::CATEGORIES[$information->category]
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
@ -22,9 +22,11 @@ class UserController extends Controller
|
|||||||
|
|
||||||
// チェックインの取得
|
// チェックインの取得
|
||||||
$query = Ejaculation::select(DB::raw(<<<'SQL'
|
$query = Ejaculation::select(DB::raw(<<<'SQL'
|
||||||
to_char(ejaculated_date, 'YYYY/MM/DD HH24:MI') AS ejaculated_date,
|
id,
|
||||||
|
ejaculated_date,
|
||||||
note,
|
note,
|
||||||
is_private,
|
is_private,
|
||||||
|
link,
|
||||||
to_char(lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC), 'YYYY/MM/DD HH24:MI') AS before_date,
|
to_char(lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC), 'YYYY/MM/DD HH24:MI') AS before_date,
|
||||||
to_char(ejaculated_date - (lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)), 'FMDDD日 FMHH24時間 FMMI分') AS ejaculated_span
|
to_char(ejaculated_date - (lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)), 'FMDDD日 FMHH24時間 FMMI分') AS ejaculated_span
|
||||||
SQL
|
SQL
|
||||||
@ -34,39 +36,90 @@ SQL
|
|||||||
$query = $query->where('is_private', false);
|
$query = $query->where('is_private', false);
|
||||||
}
|
}
|
||||||
$ejaculations = $query->orderBy('ejaculated_date', 'desc')
|
$ejaculations = $query->orderBy('ejaculated_date', 'desc')
|
||||||
|
->with('tags')
|
||||||
->paginate(20);
|
->paginate(20);
|
||||||
|
|
||||||
// 現在のオナ禁セッションの経過時間
|
return view('user.profile')->with(compact('user', 'ejaculations'));
|
||||||
if (count($ejaculations) > 0) {
|
}
|
||||||
$currentSession = Carbon::parse($ejaculations[0]['ejaculated_date'])
|
|
||||||
->diff(Carbon::now())
|
public function stats($name)
|
||||||
->format('%d日 %h時間 %i分');
|
{
|
||||||
} else {
|
$user = User::where('name', $name)->first();
|
||||||
$currentSession = null;
|
if (empty($user)) {
|
||||||
|
abort(404);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 概況欄のデータ取得
|
$groupByDay = Ejaculation::select(DB::raw(<<<'SQL'
|
||||||
$summary = DB::select(<<<'SQL'
|
to_char(ejaculated_date, 'YYYY/MM/DD') AS "date",
|
||||||
SELECT
|
count(*) AS "count"
|
||||||
avg(span) AS average,
|
|
||||||
max(span) AS longest,
|
|
||||||
min(span) AS shortest,
|
|
||||||
sum(span) AS total_times,
|
|
||||||
count(*) AS total_checkins
|
|
||||||
FROM
|
|
||||||
(
|
|
||||||
SELECT
|
|
||||||
extract(epoch from ejaculated_date - lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)) AS span
|
|
||||||
FROM
|
|
||||||
ejaculations
|
|
||||||
WHERE
|
|
||||||
user_id = :user_id
|
|
||||||
ORDER BY
|
|
||||||
ejaculated_date DESC
|
|
||||||
) AS temp
|
|
||||||
SQL
|
SQL
|
||||||
, ['user_id' => $user->id]);
|
))
|
||||||
|
->where('user_id', $user->id)
|
||||||
|
->groupBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
||||||
|
->orderBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')"))
|
||||||
|
->get();
|
||||||
|
|
||||||
return view('user.profile')->with(compact('user', 'ejaculations', 'currentSession', 'summary'));
|
$dailySum = [];
|
||||||
|
$monthlySum = [];
|
||||||
|
$yearlySum = [];
|
||||||
|
|
||||||
|
// 年間グラフ用の配列初期化
|
||||||
|
if ($groupByDay->first() !== null) {
|
||||||
|
$year = Carbon::createFromFormat('Y/m/d', $groupByDay->first()->date)->year;
|
||||||
|
$currentYear = date('Y');
|
||||||
|
for (; $year <= $currentYear; $year++) {
|
||||||
|
$yearlySum[$year] = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 月間グラフ用の配列初期化
|
||||||
|
$month = Carbon::now()->subMonth(11)->firstOfMonth(); // 直近12ヶ月
|
||||||
|
for ($i = 0; $i < 12; $i++) {
|
||||||
|
$monthlySum[$month->format('Y/m')] = 0;
|
||||||
|
$month->addMonth();
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($groupByDay as $data) {
|
||||||
|
$date = Carbon::createFromFormat('Y/m/d', $data->date);
|
||||||
|
$yearAndMonth = $date->format('Y/m');
|
||||||
|
|
||||||
|
$dailySum[$date->timestamp] = $data->count;
|
||||||
|
$yearlySum[$date->year] += $data->count;
|
||||||
|
if (isset($monthlySum[$yearAndMonth])) {
|
||||||
|
$monthlySum[$yearAndMonth] += $data->count;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return view('user.stats')->with(compact('user', 'dailySum', 'monthlySum', 'yearlySum'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function okazu($name)
|
||||||
|
{
|
||||||
|
$user = User::where('name', $name)->first();
|
||||||
|
if (empty($user)) {
|
||||||
|
abort(404);
|
||||||
|
}
|
||||||
|
|
||||||
|
// チェックインの取得
|
||||||
|
$query = Ejaculation::select(DB::raw(<<<'SQL'
|
||||||
|
id,
|
||||||
|
ejaculated_date,
|
||||||
|
note,
|
||||||
|
is_private,
|
||||||
|
link,
|
||||||
|
to_char(lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC), 'YYYY/MM/DD HH24:MI') AS before_date,
|
||||||
|
to_char(ejaculated_date - (lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)), 'FMDDD日 FMHH24時間 FMMI分') AS ejaculated_span
|
||||||
|
SQL
|
||||||
|
))
|
||||||
|
->where('user_id', $user->id)
|
||||||
|
->where('link', '<>', '');
|
||||||
|
if (!Auth::check() || $user->id !== Auth::id()) {
|
||||||
|
$query = $query->where('is_private', false);
|
||||||
|
}
|
||||||
|
$ejaculations = $query->orderBy('ejaculated_date', 'desc')
|
||||||
|
->with('tags')
|
||||||
|
->paginate(20);
|
||||||
|
|
||||||
|
return view('user.profile')->with(compact('user', 'ejaculations'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
61
app/Http/ViewComposers/ProfileComposer.php
Normal file
61
app/Http/ViewComposers/ProfileComposer.php
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\ViewComposers;
|
||||||
|
|
||||||
|
use App\Ejaculation;
|
||||||
|
use Carbon\Carbon;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use Illuminate\View\View;
|
||||||
|
|
||||||
|
class ProfileComposer
|
||||||
|
{
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public function compose(View $view)
|
||||||
|
{
|
||||||
|
// user変数に値が設定されてない場合は落とす
|
||||||
|
if (!$view->offsetExists('user')) {
|
||||||
|
throw new \LogicException('View data "user" was not exist.');
|
||||||
|
}
|
||||||
|
$user = $view->offsetGet('user');
|
||||||
|
|
||||||
|
// 現在のオナ禁セッションの経過時間
|
||||||
|
$latestEjaculation = Ejaculation::select('ejaculated_date')
|
||||||
|
->where('user_id', $user->id)
|
||||||
|
->orderByDesc('ejaculated_date')
|
||||||
|
->first();
|
||||||
|
if (!empty($latestEjaculation)) {
|
||||||
|
$currentSession = $latestEjaculation->ejaculated_date
|
||||||
|
->diff(Carbon::now())
|
||||||
|
->format('%a日 %h時間 %i分');
|
||||||
|
} else {
|
||||||
|
$currentSession = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 概況欄のデータ取得
|
||||||
|
$summary = DB::select(<<<'SQL'
|
||||||
|
SELECT
|
||||||
|
avg(span) AS average,
|
||||||
|
max(span) AS longest,
|
||||||
|
min(span) AS shortest,
|
||||||
|
sum(span) AS total_times,
|
||||||
|
count(*) AS total_checkins
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
extract(epoch from ejaculated_date - lead(ejaculated_date, 1, NULL) OVER (ORDER BY ejaculated_date DESC)) AS span
|
||||||
|
FROM
|
||||||
|
ejaculations
|
||||||
|
WHERE
|
||||||
|
user_id = :user_id
|
||||||
|
ORDER BY
|
||||||
|
ejaculated_date DESC
|
||||||
|
) AS temp
|
||||||
|
SQL
|
||||||
|
, ['user_id' => $user->id]);
|
||||||
|
|
||||||
|
$view->with(compact('latestEjaculation', 'currentSession', 'summary'));
|
||||||
|
}
|
||||||
|
}
|
20
app/Information.php
Normal file
20
app/Information.php
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||||
|
|
||||||
|
class Information extends Model
|
||||||
|
{
|
||||||
|
use SoftDeletes;
|
||||||
|
|
||||||
|
const CATEGORIES = [
|
||||||
|
0 => ['label' => 'お知らせ', 'class' => 'badge-info'],
|
||||||
|
1 => ['label' => 'アップデート', 'class' => 'badge-success'],
|
||||||
|
2 => ['label' => '不具合情報', 'class' => 'badge-danger'],
|
||||||
|
3 => ['label' => 'メンテナンス', 'class' => 'badge-warning']
|
||||||
|
];
|
||||||
|
|
||||||
|
protected $dates = ['deleted_at'];
|
||||||
|
}
|
30
app/Providers/ViewComposerServiceProvider.php
Normal file
30
app/Providers/ViewComposerServiceProvider.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use App\Http\ViewComposers\ProfileComposer;
|
||||||
|
use Illuminate\Support\Facades\View;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class ViewComposerServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Bootstrap the application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
View::composer('components.profile', ProfileComposer::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
19
app/Tag.php
Normal file
19
app/Tag.php
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Tag extends Model
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'name'
|
||||||
|
];
|
||||||
|
|
||||||
|
public function ejaculations()
|
||||||
|
{
|
||||||
|
return $this->belongsToMany('App\Ejaculation')->withTimestamps();
|
||||||
|
}
|
||||||
|
}
|
21
app/User.php
21
app/User.php
@ -4,6 +4,7 @@ namespace App;
|
|||||||
|
|
||||||
use Illuminate\Notifications\Notifiable;
|
use Illuminate\Notifications\Notifiable;
|
||||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
class User extends Authenticatable
|
class User extends Authenticatable
|
||||||
{
|
{
|
||||||
@ -29,4 +30,24 @@ class User extends Authenticatable
|
|||||||
protected $hidden = [
|
protected $hidden = [
|
||||||
'password', 'remember_token',
|
'password', 'remember_token',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* このユーザのメールアドレスから、Gravatarの画像URLを生成します。
|
||||||
|
* @param int $size 画像サイズ
|
||||||
|
* @return string Gravatar 画像URL
|
||||||
|
*/
|
||||||
|
public function getProfileImageUrl($size = 30) : string
|
||||||
|
{
|
||||||
|
$hash = md5(strtolower(trim($this->email)));
|
||||||
|
return '//www.gravatar.com/avatar/' . $hash . '?s=' . $size;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* このユーザがログイン中のユーザ本人であるかをチェックします。
|
||||||
|
* @return bool 本人かどうか
|
||||||
|
*/
|
||||||
|
public function isMe()
|
||||||
|
{
|
||||||
|
return Auth::check() && $this->id === Auth::user()->id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,18 @@
|
|||||||
|
|
||||||
namespace App\Utilities;
|
namespace App\Utilities;
|
||||||
|
|
||||||
|
use Misd\Linkify\Linkify;
|
||||||
|
|
||||||
class Formatter
|
class Formatter
|
||||||
{
|
{
|
||||||
|
/** @var Linkify */
|
||||||
|
private $linkify;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->linkify = new Linkify();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通算秒数を日数と時分にフォーマットします。
|
* 通算秒数を日数と時分にフォーマットします。
|
||||||
* @param int|float $value 通算秒数
|
* @param int|float $value 通算秒数
|
||||||
@ -16,4 +26,14 @@ class Formatter
|
|||||||
$minutes = floor($value % 3600 / 60);
|
$minutes = floor($value % 3600 / 60);
|
||||||
return "{$days}日 {$hours}時間 {$minutes}分";
|
return "{$days}日 {$hours}時間 {$minutes}分";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* テキスト内のURLをHTMLのリンクに置き換えます。
|
||||||
|
* @param string $text テキスト
|
||||||
|
* @return string URLをリンクに置き換えた文字列
|
||||||
|
*/
|
||||||
|
public function linkify($text)
|
||||||
|
{
|
||||||
|
return $this->linkify->processUrls($text);
|
||||||
|
}
|
||||||
}
|
}
|
@ -5,14 +5,19 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.6.4",
|
"php": ">=7.0.0",
|
||||||
"laravel/framework": "5.4.*",
|
"guzzlehttp/guzzle": "^6.3",
|
||||||
"laravel/tinker": "~1.0"
|
"laravel/framework": "5.5.*",
|
||||||
|
"laravel/tinker": "~1.0",
|
||||||
|
"misd/linkify": "^1.1",
|
||||||
|
"parsedown/laravel": "~1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"barryvdh/laravel-debugbar": "^3.1",
|
||||||
|
"filp/whoops": "~2.0",
|
||||||
"fzaninotto/faker": "~1.4",
|
"fzaninotto/faker": "~1.4",
|
||||||
"mockery/mockery": "0.9.*",
|
"mockery/mockery": "~1.0",
|
||||||
"phpunit/phpunit": "~5.7"
|
"phpunit/phpunit": "~6.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"classmap": [
|
"classmap": [
|
||||||
@ -29,18 +34,14 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-root-package-install": [
|
"post-root-package-install": [
|
||||||
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
],
|
],
|
||||||
"post-create-project-cmd": [
|
"post-create-project-cmd": [
|
||||||
"php artisan key:generate"
|
"@php artisan key:generate"
|
||||||
],
|
],
|
||||||
"post-install-cmd": [
|
"post-autoload-dump": [
|
||||||
"Illuminate\\Foundation\\ComposerScripts::postInstall",
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
"php artisan optimize"
|
"@php artisan package:discover"
|
||||||
],
|
|
||||||
"post-update-cmd": [
|
|
||||||
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
|
||||||
"php artisan optimize"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
1657
composer.lock
generated
1657
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -176,6 +176,7 @@ return [
|
|||||||
// App\Providers\BroadcastServiceProvider::class,
|
// App\Providers\BroadcastServiceProvider::class,
|
||||||
App\Providers\EventServiceProvider::class,
|
App\Providers\EventServiceProvider::class,
|
||||||
App\Providers\RouteServiceProvider::class,
|
App\Providers\RouteServiceProvider::class,
|
||||||
|
App\Providers\ViewComposerServiceProvider::class,
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class CreateInformationTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('information', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->integer('category');
|
||||||
|
$table->boolean('pinned')->default(false);
|
||||||
|
$table->text('title');
|
||||||
|
$table->text('content');
|
||||||
|
$table->timestamps();
|
||||||
|
$table->softDeletes();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('information');
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class AddLinkToEjaculations extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('ejaculations', function (Blueprint $table) {
|
||||||
|
$table->string('link')->default('');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('ejaculations', function (Blueprint $table) {
|
||||||
|
$table->removeColumn('link');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
40
database/migrations/2018_01_08_075844_create_tags_table.php
Normal file
40
database/migrations/2018_01_08_075844_create_tags_table.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class CreateTagsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('tags', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->string('name');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
|
||||||
|
Schema::create('ejaculation_tag', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->integer('ejaculation_id')->index();
|
||||||
|
$table->integer('tag_id')->index();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('tags');
|
||||||
|
Schema::dropIfExists('ejaculation_tag');
|
||||||
|
}
|
||||||
|
}
|
1353
public/css/bootstrap-grid.css
vendored
Normal file
1353
public/css/bootstrap-grid.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
public/css/bootstrap-grid.css.map
Normal file
1
public/css/bootstrap-grid.css.map
Normal file
File diff suppressed because one or more lines are too long
2
public/css/bootstrap-grid.min.css
vendored
Normal file
2
public/css/bootstrap-grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/css/bootstrap-grid.min.css.map
Normal file
1
public/css/bootstrap-grid.min.css.map
Normal file
File diff suppressed because one or more lines are too long
330
public/css/bootstrap-reboot.css
vendored
Normal file
330
public/css/bootstrap-reboot.css
vendored
Normal file
@ -0,0 +1,330 @@
|
|||||||
|
html {
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-family: sans-serif;
|
||||||
|
line-height: 1.15;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-ms-text-size-adjust: 100%;
|
||||||
|
-ms-overflow-style: scrollbar;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-ms-viewport {
|
||||||
|
width: device-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: #212529;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[tabindex="-1"]:focus {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title],
|
||||||
|
abbr[data-original-title] {
|
||||||
|
text-decoration: underline;
|
||||||
|
-webkit-text-decoration: underline dotted;
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
cursor: help;
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
address {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol,
|
||||||
|
ul,
|
||||||
|
dl {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol ol,
|
||||||
|
ul ul,
|
||||||
|
ol ul,
|
||||||
|
ul ol {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
dfn {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
position: relative;
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #007bff;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
-webkit-text-decoration-skip: objects;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #0056b3;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]) {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
vertical-align: middle;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg:not(:root) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
a,
|
||||||
|
area,
|
||||||
|
button,
|
||||||
|
[role="button"],
|
||||||
|
input,
|
||||||
|
label,
|
||||||
|
select,
|
||||||
|
summary,
|
||||||
|
textarea {
|
||||||
|
-ms-touch-action: manipulation;
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
caption {
|
||||||
|
padding-top: 0.75rem;
|
||||||
|
padding-bottom: 0.75rem;
|
||||||
|
color: #868e96;
|
||||||
|
text-align: left;
|
||||||
|
caption-side: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
outline: 1px dotted;
|
||||||
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
select,
|
||||||
|
optgroup,
|
||||||
|
textarea {
|
||||||
|
margin: 0;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
html [type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
padding: 0;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"],
|
||||||
|
input[type="checkbox"] {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="date"],
|
||||||
|
input[type="time"],
|
||||||
|
input[type="datetime-local"],
|
||||||
|
input[type="month"] {
|
||||||
|
-webkit-appearance: listbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
min-width: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
outline-offset: -2px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-cancel-button,
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
font: inherit;
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
1
public/css/bootstrap-reboot.css.map
Normal file
1
public/css/bootstrap-reboot.css.map
Normal file
File diff suppressed because one or more lines are too long
2
public/css/bootstrap-reboot.min.css
vendored
Normal file
2
public/css/bootstrap-reboot.min.css
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
html{box-sizing:border-box;font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}*,::after,::before{box-sizing:inherit}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}[role=button],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#868e96;text-align:left;caption-side:bottom}th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
1
public/css/bootstrap-reboot.min.css.map
Normal file
1
public/css/bootstrap-reboot.min.css.map
Normal file
File diff suppressed because one or more lines are too long
8185
public/css/bootstrap.css
vendored
Normal file
8185
public/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
public/css/bootstrap.css.map
Normal file
1
public/css/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
7
public/css/bootstrap.min.css
vendored
Normal file
7
public/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/css/bootstrap.min.css.map
Normal file
1
public/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
9286
public/css/materialize.css
vendored
9286
public/css/materialize.css
vendored
File diff suppressed because it is too large
Load Diff
16
public/css/materialize.min.css
vendored
16
public/css/materialize.min.css
vendored
File diff suppressed because one or more lines are too long
1
public/css/open-iconic-bootstrap.min.css
vendored
Normal file
1
public/css/open-iconic-bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
30
public/css/tissue.css
vendored
Normal file
30
public/css/tissue.css
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
.tis-footer {
|
||||||
|
color: #a2a2a2;
|
||||||
|
font-size: small;
|
||||||
|
border-top: 1px solid #eee;
|
||||||
|
background: linear-gradient(to bottom, #f8f9fa, #fff)
|
||||||
|
}
|
||||||
|
|
||||||
|
.tis-word-wrap {
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tis-contribution-graph {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-group-item.border-bottom-only {
|
||||||
|
border-left: none;
|
||||||
|
border-right: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-group-item.border-bottom-only:first-child {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.timeline-action-item {
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
BIN
public/fonts/open-iconic.eot
Normal file
BIN
public/fonts/open-iconic.eot
Normal file
Binary file not shown.
BIN
public/fonts/open-iconic.otf
Normal file
BIN
public/fonts/open-iconic.otf
Normal file
Binary file not shown.
543
public/fonts/open-iconic.svg
Normal file
543
public/fonts/open-iconic.svg
Normal file
@ -0,0 +1,543 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<!--
|
||||||
|
2014-7-1: Created.
|
||||||
|
-->
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<metadata>
|
||||||
|
Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014
|
||||||
|
By P.J. Onori
|
||||||
|
Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net)
|
||||||
|
</metadata>
|
||||||
|
<defs>
|
||||||
|
<font id="open-iconic" horiz-adv-x="800" >
|
||||||
|
<font-face
|
||||||
|
font-family="Icons"
|
||||||
|
font-weight="400"
|
||||||
|
font-stretch="normal"
|
||||||
|
units-per-em="800"
|
||||||
|
panose-1="2 0 5 3 0 0 0 0 0 0"
|
||||||
|
ascent="800"
|
||||||
|
descent="0"
|
||||||
|
bbox="-0.5 -101 802 800.126"
|
||||||
|
underline-thickness="50"
|
||||||
|
underline-position="-100"
|
||||||
|
unicode-range="U+E000-E0DE"
|
||||||
|
/>
|
||||||
|
<missing-glyph />
|
||||||
|
<glyph glyph-name="" unicode=""
|
||||||
|
d="M300 700h500v-700h-500v100h400v500h-400v100zM400 500l200 -150l-200 -150v100h-400v100h400v100z" />
|
||||||
|
<glyph glyph-name="1" unicode=""
|
||||||
|
d="M300 700h500v-700h-500v100h400v500h-400v100zM200 500v-100h400v-100h-400v-100l-200 150z" />
|
||||||
|
<glyph glyph-name="2" unicode=""
|
||||||
|
d="M350 700c193 0 350 -157 350 -350v-50h100l-200 -200l-200 200h100v50c0 138 -112 250 -250 250s-250 -112 -250 -250c0 193 157 350 350 350z" />
|
||||||
|
<glyph glyph-name="3" unicode=""
|
||||||
|
d="M450 700c193 0 350 -157 350 -350c0 138 -112 250 -250 250s-250 -112 -250 -250v-50h100l-200 -200l-200 200h100v50c0 193 157 350 350 350z" />
|
||||||
|
<glyph glyph-name="4" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM100 500h600v-100h-600v100zM0 300h800v-100h-800v100zM100 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="5" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM0 500h600v-100h-600v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="6" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM200 500h600v-100h-600v100zM0 300h800v-100h-800v100zM200 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="7" unicode=""
|
||||||
|
d="M400 700c75 0 146 -23 206 -59l-75 -225l-322 234c57 31 122 50 191 50zM125 588l191 -138l-310 -222c-4 24 -6 47 -6 72c0 114 49 215 125 288zM688 575c69 -72 112 -168 112 -275c0 -35 -8 -68 -16 -100h-218zM216 253l112 -347c-128 23 -232 109 -287 222zM372 100
|
||||||
|
h372c-64 -109 -177 -185 -310 -197z" />
|
||||||
|
<glyph glyph-name="8" unicode="" horiz-adv-x="600"
|
||||||
|
d="M200 800h100v-500h200l-247 -300l-253 300h200v500z" />
|
||||||
|
<glyph glyph-name="9" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM300 700v-300h-200l300 -300l300 300h-200v300h-200z" />
|
||||||
|
<glyph glyph-name="a" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700l-300 -300l300 -300v200h300v200h-300v200z" />
|
||||||
|
<glyph glyph-name="b" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700v-200h-300v-200h300v-200l300 300z" />
|
||||||
|
<glyph glyph-name="c" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700l-300 -300h200v-300h200v300h200z" />
|
||||||
|
<glyph glyph-name="d" unicode=""
|
||||||
|
d="M300 600v-200h500v-100h-500v-200l-300 247z" />
|
||||||
|
<glyph glyph-name="e" unicode=""
|
||||||
|
d="M500 600l300 -247l-300 -253v200h-500v100h500v200z" />
|
||||||
|
<glyph glyph-name="f" unicode="" horiz-adv-x="600"
|
||||||
|
d="M200 800h200v-500h200l-297 -300l-303 300h200v500z" />
|
||||||
|
<glyph glyph-name="10" unicode=""
|
||||||
|
d="M300 700v-200h500v-200h-500v-200l-300 297z" />
|
||||||
|
<glyph glyph-name="11" unicode=""
|
||||||
|
d="M500 700l300 -297l-300 -303v200h-500v200h500v200z" />
|
||||||
|
<glyph glyph-name="12" unicode="" horiz-adv-x="600"
|
||||||
|
d="M297 800l303 -300h-200v-500h-200v500h-200z" />
|
||||||
|
<glyph glyph-name="13" unicode="" horiz-adv-x="600"
|
||||||
|
d="M247 800l253 -300h-200v-500h-100v500h-200z" />
|
||||||
|
<glyph glyph-name="14" unicode=""
|
||||||
|
d="M400 800h100v-800h-100v800zM200 700h100v-600h-100v600zM600 600h100v-400h-100v400zM0 500h100v-200h-100v200z" />
|
||||||
|
<glyph glyph-name="15" unicode=""
|
||||||
|
d="M116 600l72 -72c-54 -54 -88 -126 -88 -209s34 -159 88 -213l-72 -72c-72 72 -116 175 -116 285s44 209 116 281zM684 600c72 -72 116 -171 116 -281s-44 -213 -116 -285l-72 72c54 54 88 130 88 213s-34 155 -88 209zM259 460l69 -72c-18 -18 -28 -41 -28 -69
|
||||||
|
s10 -54 28 -72l-69 -72c-36 36 -59 89 -59 144s23 105 59 141zM541 459c36 -36 59 -85 59 -140s-23 -108 -59 -144l-69 72c18 18 28 44 28 72s-10 51 -28 69z" />
|
||||||
|
<glyph glyph-name="16" unicode="" horiz-adv-x="400"
|
||||||
|
d="M200 800c110 0 200 -90 200 -200s-90 -200 -200 -200s-200 90 -200 200s90 200 200 200zM100 319c31 -11 65 -19 100 -19s68 8 100 19v-319l-100 100l-100 -100v319z" />
|
||||||
|
<glyph glyph-name="17" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300c0 -66 21 -126 56 -175l419 419c-49 35 -109 56 -175 56zM644 575l-419 -419c49 -35 109 -56 175 -56c166 0 300 134 300 300
|
||||||
|
c0 66 -21 126 -56 175z" />
|
||||||
|
<glyph glyph-name="18" unicode=""
|
||||||
|
d="M0 700h100v-600h700v-100h-800v700zM500 700h200v-500h-200v500zM200 500h200v-300h-200v300z" />
|
||||||
|
<glyph glyph-name="19" unicode=""
|
||||||
|
d="M397 800c13 1 23 -4 34 -13c2 -2 214 -254 241 -287h128v-100h-100v-366c0 -18 -16 -34 -34 -34h-532c-18 0 -34 16 -34 34v366h-100v100h128l234 281c9 11 22 18 35 19zM400 672l-144 -172h288zM250 300c-28 0 -50 -22 -50 -50v-100c0 -28 22 -50 50 -50s50 22 50 50
|
||||||
|
v100c0 28 -22 50 -50 50zM550 300c-28 0 -50 -22 -50 -50v-100c0 -28 22 -50 50 -50s50 22 50 50v100c0 28 -22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="1a" unicode=""
|
||||||
|
d="M9 700h682c6 0 9 -4 9 -10v-190h100v-200h-100v-191c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v582c0 6 3 9 9 9zM100 600v-400h500v400h-500z" />
|
||||||
|
<glyph glyph-name="1b" unicode=""
|
||||||
|
d="M9 700h682c6 0 9 -4 9 -10v-190h100v-200h-100v-191c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v582c0 6 3 9 9 9z" />
|
||||||
|
<glyph glyph-name="1c" unicode=""
|
||||||
|
d="M92 650c0 23 19 50 45 50h3h5h5h500c28 0 50 -22 50 -50s-22 -50 -50 -50h-50v-141c9 -17 120 -231 166 -309c16 -26 34 -61 34 -106c0 -39 -15 -77 -41 -103h-3c-26 -25 -62 -41 -100 -41h-512c-39 0 -77 15 -103 41s-41 64 -41 103c0 46 18 80 34 106
|
||||||
|
c46 78 157 292 166 309v141h-50c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51zM500 600h-200v-162l-6 -10s-63 -123 -119 -228h450c-56 105 -119 228 -119 228l-6 10v162z" />
|
||||||
|
<glyph glyph-name="1d" unicode=""
|
||||||
|
d="M400 800c110 0 200 -90 200 -200c0 -104 52 -198 134 -266c41 -34 66 -82 66 -134h-800c0 52 25 100 66 134c82 68 134 162 134 266c0 110 90 200 200 200zM300 100h200c0 -55 -45 -100 -100 -100s-100 45 -100 100z" />
|
||||||
|
<glyph glyph-name="1e" unicode="" horiz-adv-x="600"
|
||||||
|
d="M150 800h50l350 -250l-225 -147l225 -153l-350 -250h-50v250l-75 -75l-75 75l150 150l-150 150l75 75l75 -75v250zM250 650v-200l150 100zM250 350v-200l150 100z" />
|
||||||
|
<glyph glyph-name="1f" unicode=""
|
||||||
|
d="M0 800h500c110 0 200 -90 200 -200c0 -47 -17 -91 -44 -125c85 -40 144 -125 144 -225c0 -138 -112 -250 -250 -250h-550v100c55 0 100 45 100 100v400c0 55 -45 100 -100 100v100zM300 700v-200h100c55 0 100 45 100 100s-45 100 -100 100h-100zM300 400v-300h150
|
||||||
|
c83 0 150 67 150 150s-67 150 -150 150h-150z" />
|
||||||
|
<glyph glyph-name="20" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800v-300h200l-300 -500v300h-200z" />
|
||||||
|
<glyph glyph-name="21" unicode=""
|
||||||
|
d="M100 800h300v-300l100 100l100 -100v300h50c28 0 50 -22 50 -50v-550h-550c-28 0 -50 -22 -50 -50s22 -50 50 -50h550v-100h-550c-83 0 -150 67 -150 150v550l3 19c8 39 39 70 78 78z" />
|
||||||
|
<glyph glyph-name="22" unicode="" horiz-adv-x="400"
|
||||||
|
d="M0 800h400v-800l-200 200l-200 -200v800z" />
|
||||||
|
<glyph glyph-name="23" unicode=""
|
||||||
|
d="M0 800h800v-100h-800v100zM0 600h300v-103h203v103h297v-591c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v591z" />
|
||||||
|
<glyph glyph-name="24" unicode=""
|
||||||
|
d="M300 800h200c55 0 100 -45 100 -100v-100h191c6 0 9 -3 9 -9v-241c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v241c0 6 3 9 9 9h191v100c0 55 45 100 100 100zM300 700v-100h200v100h-200zM0 209c16 -6 32 -9 50 -9h700c18 0 34 3 50 9v-200c0 -6 -3 -9 -9 -9h-782
|
||||||
|
c-6 0 -9 3 -9 9v200z" />
|
||||||
|
<glyph glyph-name="25" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800c58 0 110 -16 147 -53s53 -89 53 -147h-100c0 39 -11 61 -25 75s-36 25 -75 25c-35 0 -55 -10 -72 -31s-28 -55 -28 -94c0 -51 20 -107 28 -175h172v-100h-178c-14 -60 -49 -127 -113 -200h491v-100h-600v122l16 12c69 69 95 121 106 166h-122v100h125
|
||||||
|
c-8 50 -25 106 -25 175c0 58 16 114 50 156c34 43 88 69 150 69z" />
|
||||||
|
<glyph glyph-name="26" unicode=""
|
||||||
|
d="M34 700h4h3h4h5h700c28 0 50 -22 50 -50v-700c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v700v2c0 20 15 42 34 48zM150 600c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50zM350 600c-28 0 -50 -22 -50 -50s22 -50 50 -50h300c28 0 50 22 50 50
|
||||||
|
s-22 50 -50 50h-300zM100 400v-400h600v400h-600z" />
|
||||||
|
<glyph glyph-name="27" unicode=""
|
||||||
|
d="M744 797l6 -3l44 -44c4 -4 3 -8 0 -12l-266 -375l-15 -13l-25 -12c-23 72 -78 127 -150 150l12 25l13 15l375 266zM266 400c74 0 134 -60 134 -134c0 -147 -119 -266 -266 -266c-48 0 -95 12 -134 34c80 46 134 133 134 232c0 74 58 134 132 134z" />
|
||||||
|
<glyph glyph-name="28" unicode=""
|
||||||
|
d="M9 451c0 23 19 50 46 50c8 0 19 -3 26 -7l131 -66l29 22c-79 81 -1 250 118 250s197 -167 119 -250l28 -22l131 66c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-115 -56c9 -16 19 -33 25 -50h68c28 0 50 -22 50 -50s-22 -50 -50 -50h-50
|
||||||
|
c0 -23 -2 -45 -6 -66l78 -40c21 -5 37 -28 37 -49c0 -28 -22 -50 -50 -50c-10 0 -23 5 -31 11l-65 35c-24 -46 -62 -86 -103 -110c-35 19 -60 45 -60 72v135v4v5v6v5v5v87c0 28 -22 50 -50 50c-24 0 -45 -17 -50 -40c1 -3 1 -8 1 -11s0 -8 -1 -11v-82v-4v-5v-144
|
||||||
|
c0 -28 -24 -53 -59 -72c-41 25 -79 64 -103 110l-66 -35c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50c0 21 16 44 37 49l78 40c-4 21 -6 43 -6 66h-50h-5c-28 0 -50 22 -50 50c0 26 22 50 50 50h5h69c6 17 16 34 25 50l-116 56c-16 7 -28 27 -28 45z" />
|
||||||
|
<glyph glyph-name="29" unicode=""
|
||||||
|
d="M600 700h91c6 0 9 -3 9 -9v-582c0 -6 -3 -9 -9 -9h-91v600zM210 503l290 147v-500l-250 125v-3c-15 0 -25 -8 -28 -22l75 -178c11 -25 0 -58 -25 -69s-58 0 -69 25l-103 272h-91c-6 0 -9 3 -9 9v182c0 6 3 9 9 9h182z" />
|
||||||
|
<glyph glyph-name="2a" unicode=""
|
||||||
|
d="M9 800h682c6 0 9 -3 9 -9v-782c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v782c0 6 3 9 9 9zM100 700v-200h500v200h-500zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400v-300h100v300h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100z" />
|
||||||
|
<glyph glyph-name="2b" unicode=""
|
||||||
|
d="M0 800h700v-200h-700v200zM0 500h700v-491c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v491zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100z" />
|
||||||
|
<glyph glyph-name="2c" unicode=""
|
||||||
|
d="M409 800h182c6 0 10 -4 12 -9l94 -182c2 -5 6 -9 12 -9h82c6 0 9 -3 9 -9v-582c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v441c0 83 67 150 150 150h141c6 0 10 4 12 9l94 182c2 5 6 9 12 9zM150 500c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z
|
||||||
|
M500 500c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200zM500 400c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
|
||||||
|
<glyph glyph-name="2d" unicode=""
|
||||||
|
d="M0 600h800l-400 -400z" />
|
||||||
|
<glyph glyph-name="2e" unicode="" horiz-adv-x="400"
|
||||||
|
d="M400 800v-800l-400 400z" />
|
||||||
|
<glyph glyph-name="2f" unicode="" horiz-adv-x="400"
|
||||||
|
d="M0 800l400 -400l-400 -400v800z" />
|
||||||
|
<glyph glyph-name="30" unicode=""
|
||||||
|
d="M400 600l400 -400h-800z" />
|
||||||
|
<glyph glyph-name="31" unicode=""
|
||||||
|
d="M0 550c0 23 20 50 46 50h3h5h4h200c17 0 37 -13 44 -28l38 -72h444c14 0 19 -12 15 -25l-81 -250c-4 -13 -21 -25 -35 -25h-350c-14 0 -30 12 -34 25c-27 83 -54 167 -81 250l-10 25h-150c-2 0 -5 -1 -7 -1c-28 0 -51 23 -51 51zM358 100c28 0 50 -22 50 -50
|
||||||
|
s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM658 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
|
||||||
|
<glyph glyph-name="32" unicode=""
|
||||||
|
d="M0 700h500v-100h-300v-300h-100l-100 -100v500zM300 500h500v-500l-100 100h-400v400z" />
|
||||||
|
<glyph glyph-name="33" unicode=""
|
||||||
|
d="M641 700l143 -141l-493 -493c-71 76 -146 148 -219 222l-72 71l141 141c50 -51 101 -101 153 -150c116 117 234 231 347 350z" />
|
||||||
|
<glyph glyph-name="34" unicode=""
|
||||||
|
d="M150 600l250 -250l250 250l150 -150l-400 -400l-400 400z" />
|
||||||
|
<glyph glyph-name="35" unicode="" horiz-adv-x="600"
|
||||||
|
d="M400 800l150 -150l-250 -250l250 -250l-150 -150l-400 400z" />
|
||||||
|
<glyph glyph-name="36" unicode="" horiz-adv-x="600"
|
||||||
|
d="M150 800l400 -400l-400 -400l-150 150l250 250l-250 250z" />
|
||||||
|
<glyph glyph-name="37" unicode=""
|
||||||
|
d="M400 600l400 -400l-150 -150l-250 250l-250 -250l-150 150z" />
|
||||||
|
<glyph glyph-name="38" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM600 622l-250 -250l-100 100l-72 -72l172 -172l322 322z" />
|
||||||
|
<glyph glyph-name="39" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM250 622l-72 -72l150 -150l-150 -150l72 -72l150 150l150 -150l72 72l-150 150l150 150l-72 72l-150 -150z" />
|
||||||
|
<glyph glyph-name="3a" unicode=""
|
||||||
|
d="M350 800c28 0 50 -22 50 -50v-50h75c14 0 25 -11 25 -25v-75h-300v75c0 14 11 25 25 25h75v50c0 28 22 50 50 50zM25 700h75v-200h500v200h75c14 0 25 -11 25 -25v-650c0 -14 -11 -25 -25 -25h-650c-14 0 -25 11 -25 25v650c0 14 11 25 25 25z" />
|
||||||
|
<glyph glyph-name="3b" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM350 600h100v-181c23 -24 47 -47 72 -69l-72 -72c-27 30 -55 59 -84 88l-16 12
|
||||||
|
v222z" />
|
||||||
|
<glyph glyph-name="3c" unicode=""
|
||||||
|
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -18 -3 -34 -9 -50h-191v50c0 83 -67 150 -150 150s-150 -67 -150 -150v-50h-272c-17 30 -28 63 -28 100c0 110 90 200 200 200c23 114 129 200 250 200zM434 400h3h4c3 0 6 1 9 1c28 0 50 -22 50 -50v-1
|
||||||
|
v-150h150l-200 -200l-200 200h150v150v2c0 20 15 42 34 48z" />
|
||||||
|
<glyph glyph-name="3d" unicode=""
|
||||||
|
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -18 -3 -34 -9 -50h-141l-200 200l-200 -200h-222c-17 30 -28 63 -28 100c0 110 90 200 200 200c23 114 129 200 250 200zM450 350l250 -250h-200v-50c0 -28 -22 -50 -50 -50s-50 22 -50 50v50h-200z" />
|
||||||
|
<glyph glyph-name="3e" unicode=""
|
||||||
|
d="M450 700c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -83 -67 -150 -150 -150h-450c-110 0 -200 90 -200 200s90 200 200 200c23 114 129 200 250 200z" />
|
||||||
|
<glyph glyph-name="3f" unicode=""
|
||||||
|
d="M250 800c82 0 154 -40 200 -100c-143 0 -270 -85 -325 -209c-36 -10 -70 -25 -100 -47c-16 33 -25 67 -25 106c0 138 112 250 250 250zM450 600c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -83 -67 -150 -150 -150h-450c-110 0 -200 90 -200 200
|
||||||
|
s90 200 200 200c23 114 129 200 250 200z" />
|
||||||
|
<glyph glyph-name="40" unicode=""
|
||||||
|
d="M500 700h100l-300 -600h-100zM100 600h100l-100 -200l100 -200h-100l-100 200zM600 600h100l100 -200l-100 -200h-100l100 200z" />
|
||||||
|
<glyph glyph-name="41" unicode=""
|
||||||
|
d="M350 800h100l50 -119l28 -12l119 50l72 -72l-50 -119l12 -28l119 -50v-100l-119 -50l-12 -28l50 -119l-72 -72l-119 50l-28 -12l-50 -119h-100l-50 119l-28 12l-119 -50l-72 72l50 119l-12 28l-119 50v100l119 50l12 28l-50 119l72 72l119 -50l28 12zM400 550
|
||||||
|
c-83 0 -150 -67 -150 -150s67 -150 150 -150s150 67 150 150s-67 150 -150 150z" />
|
||||||
|
<glyph glyph-name="42" unicode=""
|
||||||
|
d="M0 800h800v-200h-800v200zM200 500h400l-200 -200zM0 100h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="43" unicode=""
|
||||||
|
d="M0 800h100v-800h-100v800zM600 800h200v-800h-200v800zM500 600v-400l-200 200z" />
|
||||||
|
<glyph glyph-name="44" unicode=""
|
||||||
|
d="M0 800h200v-800h-200v800zM700 800h100v-800h-100v800zM300 600l200 -200l-200 -200v400z" />
|
||||||
|
<glyph glyph-name="45" unicode=""
|
||||||
|
d="M0 800h800v-100h-800v100zM400 500l200 -200h-400zM0 200h800v-200h-800v200z" />
|
||||||
|
<glyph glyph-name="46" unicode=""
|
||||||
|
d="M150 700c83 0 150 -67 150 -150v-50h100v50c0 83 67 150 150 150s150 -67 150 -150s-67 -150 -150 -150h-50v-100h50c83 0 150 -67 150 -150s-67 -150 -150 -150s-150 67 -150 150v50h-100v-50c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150h50v100h-50
|
||||||
|
c-83 0 -150 67 -150 150s67 150 150 150zM150 600c-28 0 -50 -22 -50 -50s22 -50 50 -50h50v50c0 28 -22 50 -50 50zM550 600c-28 0 -50 -22 -50 -50v-50h50c28 0 50 22 50 50s-22 50 -50 50zM300 400v-100h100v100h-100zM150 200c-28 0 -50 -22 -50 -50s22 -50 50 -50
|
||||||
|
s50 22 50 50v50h-50zM500 200v-50c0 -28 22 -50 50 -50s50 22 50 50s-22 50 -50 50h-50z" />
|
||||||
|
<glyph glyph-name="47" unicode=""
|
||||||
|
d="M0 791c0 5 4 9 9 9h782c6 0 9 -4 9 -10v-790l-200 200h-591c-6 0 -9 3 -9 9v582z" />
|
||||||
|
<glyph glyph-name="48" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM600 600l-100 -300l-300 -100l100 300zM400 450c-28 0 -50 -22 -50 -50
|
||||||
|
s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="49" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700v-600c166 0 300 134 300 300s-134 300 -300 300z" />
|
||||||
|
<glyph glyph-name="4a" unicode=""
|
||||||
|
d="M0 800h800v-100h-800v100zM0 600h500v-100h-500v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100zM750 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
|
||||||
|
<glyph glyph-name="4b" unicode=""
|
||||||
|
d="M25 700h750c14 0 25 -11 25 -25v-75h-800v75c0 14 11 25 25 25zM0 500h800v-375c0 -14 -11 -25 -25 -25h-750c-14 0 -25 11 -25 25v375zM100 300v-100h100v100h-100zM300 300v-100h100v100h-100z" />
|
||||||
|
<glyph glyph-name="4c" unicode=""
|
||||||
|
d="M100 800h100v-100h450l100 100l50 -50l-100 -100v-450h100v-100h-100v-100h-100v100h-500v500h-100v100h100v100zM200 600v-350l350 350h-350zM600 550l-350 -350h350v350z" />
|
||||||
|
<glyph glyph-name="4d" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM400 600c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z
|
||||||
|
M200 452c0 20 15 42 34 48h3h3h8c12 0 28 -7 36 -16l91 -90l25 6c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100l6 25l-90 91c-9 8 -16 24 -16 36zM550 500c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
|
||||||
|
<glyph glyph-name="4e" unicode=""
|
||||||
|
d="M300 800h200v-300h200l-300 -300l-300 300h200v300zM0 100h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="4f" unicode=""
|
||||||
|
d="M0 800h800v-100h-800v100zM400 600l300 -300h-200v-300h-200v300h-200z" />
|
||||||
|
<glyph glyph-name="50" unicode=""
|
||||||
|
d="M200 700h600v-600h-600l-200 300zM350 622l-72 -72l150 -150l-150 -150l72 -72l150 150l150 -150l72 72l-150 150l150 150l-72 72l-150 -150z" />
|
||||||
|
<glyph glyph-name="51" unicode=""
|
||||||
|
d="M400 700c220 0 400 -180 400 -400h-100c0 166 -134 300 -300 300s-300 -134 -300 -300h-100c0 220 180 400 400 400zM341 491l59 -88l59 88c81 -25 141 -101 141 -191c0 -110 -90 -200 -200 -200s-200 90 -200 200c0 90 60 166 141 191z" />
|
||||||
|
<glyph glyph-name="52" unicode=""
|
||||||
|
d="M0 800h300v-400h400v-400h-700v800zM400 800l300 -300h-300v300zM100 600v-100h100v100h-100zM100 400v-100h100v100h-100zM100 200v-100h400v100h-400z" />
|
||||||
|
<glyph glyph-name="53" unicode="" horiz-adv-x="600"
|
||||||
|
d="M200 700h100v-100h75c30 0 58 -6 81 -22s44 -44 44 -78v-100h-100v94c-4 3 -13 6 -25 6h-250c-14 0 -25 -11 -25 -25v-50c0 -15 20 -40 34 -44l257 -65c66 -16 109 -73 109 -141v-50c0 -68 -57 -125 -125 -125h-75v-100h-100v100h-75c-30 0 -58 6 -81 22s-44 44 -44 78
|
||||||
|
v100h100v-94c4 -3 13 -6 25 -6h250c14 0 25 11 25 25v50c0 15 -20 40 -34 44l-257 65c-66 16 -109 73 -109 141v50c0 68 57 125 125 125h75v100z" />
|
||||||
|
<glyph glyph-name="54" unicode=""
|
||||||
|
d="M0 700h300v-300l-300 -300v600zM500 700h300v-300l-300 -300v600z" />
|
||||||
|
<glyph glyph-name="55" unicode=""
|
||||||
|
d="M300 700v-600h-300v300zM800 700v-600h-300v300z" />
|
||||||
|
<glyph glyph-name="56" unicode=""
|
||||||
|
d="M300 700v-100c-111 0 -200 -89 -200 -200h200v-300h-300v300c0 165 135 300 300 300zM800 700v-100c-111 0 -200 -89 -200 -200h200v-300h-300v300c0 165 135 300 300 300z" />
|
||||||
|
<glyph glyph-name="57" unicode=""
|
||||||
|
d="M0 700h300v-300c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-200v300zM500 700h300v-300c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-200v300z" />
|
||||||
|
<glyph glyph-name="58" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800l34 -34c11 -11 266 -270 266 -488c0 -165 -135 -300 -300 -300s-300 135 -300 300c0 218 255 477 266 488zM150 328c-28 0 -50 -22 -50 -50c0 -110 90 -200 200 -200c28 0 50 22 50 50s-22 50 -50 50c-55 0 -100 45 -100 100c0 28 -22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="59" unicode=""
|
||||||
|
d="M400 800l400 -500h-800zM0 200h800v-200h-800v200z" />
|
||||||
|
<glyph glyph-name="5a" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800l300 -300h-600zM0 300h600l-300 -300z" />
|
||||||
|
<glyph glyph-name="5b" unicode=""
|
||||||
|
d="M0 500h200v-200h-200v200zM300 500h200v-200h-200v200zM600 500h200v-200h-200v200z" />
|
||||||
|
<glyph glyph-name="5c" unicode=""
|
||||||
|
d="M0 700h800v-100l-400 -200l-400 200v100zM0 500l400 -200l400 200v-400h-800v400z" />
|
||||||
|
<glyph glyph-name="5d" unicode=""
|
||||||
|
d="M400 800l400 -200v-600h-800v600zM400 688l-300 -150v-188l300 -150l300 150v188zM200 500h400v-100l-200 -100l-200 100v100z" />
|
||||||
|
<glyph glyph-name="5e" unicode=""
|
||||||
|
d="M600 700c69 0 134 -19 191 -50l-16 -106c-49 35 -109 56 -175 56c-131 0 -240 -84 -281 -200h331l-16 -100h-334c0 -36 8 -68 19 -100h297l-16 -100h-222c55 -61 133 -100 222 -100c78 0 147 30 200 78v-122c-59 -35 -127 -56 -200 -56c-147 0 -274 82 -344 200h-256
|
||||||
|
l19 100h197c-8 32 -16 66 -16 100h-200l25 100h191c45 172 198 300 384 300z" />
|
||||||
|
<glyph glyph-name="5f" unicode=""
|
||||||
|
d="M0 700h700v-100h-700v100zM0 500h500v-100h-500v100zM0 300h800v-100h-800v100zM0 100h100v-100h-100v100zM200 100h100v-100h-100v100zM400 100h100v-100h-100v100z" />
|
||||||
|
<glyph glyph-name="60" unicode=""
|
||||||
|
d="M0 800h800v-100h-800v100zM200 600h400l-200 -200zM0 200h800v-200h-800v200z" />
|
||||||
|
<glyph glyph-name="61" unicode=""
|
||||||
|
d="M0 800h100v-800h-100v800zM600 800h200v-800h-200v800zM200 600l200 -200l-200 -200v400z" />
|
||||||
|
<glyph glyph-name="62" unicode=""
|
||||||
|
d="M0 800h200v-800h-200v800zM700 800h100v-800h-100v800zM600 600v-400l-200 200z" />
|
||||||
|
<glyph glyph-name="63" unicode=""
|
||||||
|
d="M0 800h800v-200h-800v200zM400 400l200 -200h-400zM0 100h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="64" unicode=""
|
||||||
|
d="M0 800h200v-100h-100v-600h600v100h100v-200h-800v800zM400 800h400v-400l-150 150l-250 -250l-100 100l250 250z" />
|
||||||
|
<glyph glyph-name="65" unicode=""
|
||||||
|
d="M403 700c247 0 397 -300 397 -300s-150 -300 -397 -300c-253 0 -403 300 -403 300s150 300 403 300zM400 600c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200zM400 500c10 0 19 -3 28 -6c-16 -8 -28 -24 -28 -44c0 -28 22 -50 50 -50
|
||||||
|
c20 0 36 12 44 28c3 -9 6 -18 6 -28c0 -55 -45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
|
||||||
|
<glyph glyph-name="66" unicode="" horiz-adv-x="900"
|
||||||
|
d="M331 700h3h3c3 1 7 1 10 1c12 0 29 -8 37 -17l94 -93l66 65c57 57 155 57 212 0c58 -58 58 -154 0 -212l-65 -66l93 -94c10 -8 18 -25 18 -38c0 -28 -22 -50 -50 -50c-13 0 -32 9 -40 20l-62 65l-381 -381h-269v272l375 381l-63 63c-9 8 -16 24 -16 36c0 20 16 42 35 48z
|
||||||
|
M447 481l-313 -315l128 -132l316 316z" />
|
||||||
|
<glyph glyph-name="67" unicode=""
|
||||||
|
d="M0 800h300v-400h400v-400h-700v800zM400 800l300 -300h-300v300z" />
|
||||||
|
<glyph glyph-name="68" unicode=""
|
||||||
|
d="M200 800c0 0 200 -100 200 -300s-298 -302 -200 -500c0 0 -200 100 -200 300s300 300 200 500zM500 500c0 0 200 -100 200 -300c0 -150 -60 -200 -100 -200h-300c0 200 300 300 200 500z" />
|
||||||
|
<glyph glyph-name="69" unicode=""
|
||||||
|
d="M0 800h100v-800h-100v800zM200 800h300v-100h300l-200 -203l200 -197h-400v100h-200v400z" />
|
||||||
|
<glyph glyph-name="6a" unicode="" horiz-adv-x="400"
|
||||||
|
d="M150 800h150l-100 -200h200l-150 -300h150l-300 -300l-100 300h134l66 200h-200z" />
|
||||||
|
<glyph glyph-name="6b" unicode=""
|
||||||
|
d="M0 800h300v-100h500v-100h-800v200zM0 500h800v-450c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v450z" />
|
||||||
|
<glyph glyph-name="6c" unicode=""
|
||||||
|
d="M150 800c83 0 150 -67 150 -150c0 -66 -41 -121 -100 -141v-118c15 5 33 9 50 9h200c28 0 50 22 50 50v59c-59 20 -100 75 -100 141c0 83 67 150 150 150s150 -67 150 -150c0 -66 -41 -121 -100 -141v-59c0 -82 -68 -150 -150 -150h-200c-14 0 -25 -7 -34 -16
|
||||||
|
c50 -24 84 -74 84 -134c0 -83 -67 -150 -150 -150s-150 67 -150 150c0 66 41 121 100 141v218c-59 20 -100 75 -100 141c0 83 67 150 150 150z" />
|
||||||
|
<glyph glyph-name="6d" unicode=""
|
||||||
|
d="M0 800h400l-150 -150l150 -150l-100 -100l-150 150l-150 -150v400zM500 400l150 -150l150 150v-400h-400l150 150l-150 150z" />
|
||||||
|
<glyph glyph-name="6e" unicode=""
|
||||||
|
d="M100 800l150 -150l150 150v-400h-400l150 150l-150 150zM400 400h400l-150 -150l150 -150l-100 -100l-150 150l-150 -150v400z" />
|
||||||
|
<glyph glyph-name="6f" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700c-56 0 -108 -17 -153 -44l22 -19c33 -18 13 -48 -13 -59c-30 -13 -77 10 -65 -41c13 -55 -27 -3 -47 -15c-42 -26 49 -152 31 -156l-59 34c-8 0 -13 -5 -16 -10
|
||||||
|
c1 -30 10 -57 19 -84c28 -11 77 -2 100 -25c47 -28 97 -115 75 -159c34 -13 68 -22 106 -22c101 0 193 48 247 125c3 24 -8 44 -50 44c-69 0 -156 13 -153 97c2 46 101 108 66 143c-30 30 12 39 12 66c0 37 -65 32 -69 50s20 36 41 56c-30 10 -60 19 -94 19zM631 591
|
||||||
|
c-38 -11 -94 -35 -87 -53c6 -15 52 -1 65 -13c11 -10 16 -59 44 -31l22 22v3c-11 26 -26 50 -44 72z" />
|
||||||
|
<glyph glyph-name="70" unicode=""
|
||||||
|
d="M703 800l97 -100l-400 -400l-100 100l-200 -203l-100 100l300 303l100 -100zM0 100h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="71" unicode=""
|
||||||
|
d="M0 700h100v-100h-100v100zM200 700h100v-100h-100v100zM400 700h100v-100h-100v100zM600 700h100v-100h-100v100zM0 500h100v-100h-100v100zM200 500h100v-100h-100v100zM400 500h100v-100h-100v100zM600 500h100v-100h-100v100zM0 300h100v-100h-100v100zM200 300h100
|
||||||
|
v-100h-100v100zM400 300h100v-100h-100v100zM600 300h100v-100h-100v100zM0 100h100v-100h-100v100zM200 100h100v-100h-100v100zM400 100h100v-100h-100v100zM600 100h100v-100h-100v100z" />
|
||||||
|
<glyph glyph-name="72" unicode=""
|
||||||
|
d="M0 800h200v-200h-200v200zM300 800h200v-200h-200v200zM600 800h200v-200h-200v200zM0 500h200v-200h-200v200zM300 500h200v-200h-200v200zM600 500h200v-200h-200v200zM0 200h200v-200h-200v200zM300 200h200v-200h-200v200zM600 200h200v-200h-200v200z" />
|
||||||
|
<glyph glyph-name="73" unicode=""
|
||||||
|
d="M0 800h300v-300h-300v300zM500 800h300v-300h-300v300zM0 300h300v-300h-300v300zM500 300h300v-300h-300v300z" />
|
||||||
|
<glyph glyph-name="74" unicode=""
|
||||||
|
d="M19 800h662c11 0 19 -8 19 -19v-331c0 -28 -22 -50 -50 -50h-600c-28 0 -50 22 -50 50v331c0 11 8 19 19 19zM0 309c16 -6 32 -9 50 -9h600c18 0 34 3 50 9v-290c0 -11 -8 -19 -19 -19h-662c-11 0 -19 8 -19 19v290zM550 200c-28 0 -50 -22 -50 -50s22 -50 50 -50
|
||||||
|
s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="75" unicode=""
|
||||||
|
d="M0 700h300v-100h-50c-28 0 -50 -22 -50 -50v-150h300v150c0 28 -22 50 -50 50h-50v100h300v-100h-50c-28 0 -50 -22 -50 -50v-400c0 -28 22 -50 50 -50h50v-100h-300v100h50c28 0 50 22 50 50v150h-300v-150c0 -28 22 -50 50 -50h50v-100h-300v100h50c28 0 50 22 50 50
|
||||||
|
v400c0 28 -22 50 -50 50h-50v100z" />
|
||||||
|
<glyph glyph-name="76" unicode=""
|
||||||
|
d="M400 700c165 0 300 -135 300 -300v-100h50c28 0 50 -22 50 -50v-200c0 -28 -22 -50 -50 -50h-100c-28 0 -50 22 -50 50v350c0 111 -89 200 -200 200s-200 -89 -200 -200v-350c0 -28 -22 -50 -50 -50h-100c-28 0 -50 22 -50 50v200c0 28 22 50 50 50h50v100
|
||||||
|
c0 165 135 300 300 300z" />
|
||||||
|
<glyph glyph-name="77" unicode=""
|
||||||
|
d="M0 500c0 109 91 200 200 200s200 -91 200 -200c0 109 91 200 200 200s200 -91 200 -200c0 -55 -23 -105 -59 -141l-341 -340l-341 340c-36 36 -59 86 -59 141z" />
|
||||||
|
<glyph glyph-name="78" unicode=""
|
||||||
|
d="M400 700l400 -300l-100 3v-403h-200v200h-200v-200h-200v400h-100z" />
|
||||||
|
<glyph glyph-name="79" unicode=""
|
||||||
|
d="M0 800h800v-800h-800v800zM100 700v-300l100 100l400 -400h100v100l-200 200l100 100l100 -100v300h-600z" />
|
||||||
|
<glyph glyph-name="7a" unicode=""
|
||||||
|
d="M19 800h762c11 0 19 -8 19 -19v-762c0 -11 -8 -19 -19 -19h-762c-11 0 -19 8 -19 19v762c0 11 8 19 19 19zM100 600v-300h100l100 -100h200l100 100h100v300h-600z" />
|
||||||
|
<glyph glyph-name="7b" unicode=""
|
||||||
|
d="M200 600c80 0 142 -56 200 -122c58 66 119 122 200 122c131 0 200 -101 200 -200s-69 -200 -200 -200c-81 0 -142 56 -200 122c-58 -66 -121 -122 -200 -122c-131 0 -200 101 -200 200s69 200 200 200zM200 500c-74 0 -100 -54 -100 -100s26 -100 100 -100
|
||||||
|
c42 0 88 47 134 100c-46 53 -92 100 -134 100zM600 500c-43 0 -88 -47 -134 -100c46 -53 91 -100 134 -100c74 0 100 54 100 100s-26 100 -100 100z" />
|
||||||
|
<glyph glyph-name="7c" unicode="" horiz-adv-x="400"
|
||||||
|
d="M300 800c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100zM150 550c83 0 150 -69 150 -150c0 -66 -100 -214 -100 -250c0 -28 22 -50 50 -50s50 22 50 50h100c0 -83 -67 -150 -150 -150s-150 64 -150 150s100 222 100 250s-22 50 -50 50
|
||||||
|
s-50 -22 -50 -50h-100c0 83 67 150 150 150z" />
|
||||||
|
<glyph glyph-name="7d" unicode=""
|
||||||
|
d="M200 800h500v-100h-122c-77 -197 -156 -392 -234 -588l-6 -12h162v-100h-500v100h122c77 197 156 392 234 588l7 12h-163v100z" />
|
||||||
|
<glyph glyph-name="7e" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM100 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="7f" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="80" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM200 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="81" unicode=""
|
||||||
|
d="M550 800c138 0 250 -112 250 -250s-112 -250 -250 -250c-16 0 -32 0 -47 3l-3 -3v-100h-200v-200h-300v200l303 303c-3 15 -3 31 -3 47c0 138 112 250 250 250zM600 700c-55 0 -100 -45 -100 -100s45 -100 100 -100s100 45 100 100s-45 100 -100 100z" />
|
||||||
|
<glyph glyph-name="82" unicode=""
|
||||||
|
d="M134 600h3h4h4h5h500c28 0 50 -22 50 -50v-350h100v-150c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v150h100v350v2c0 20 15 42 34 48zM200 500v-300h100v-100h200v100h100v300h-400z" />
|
||||||
|
<glyph glyph-name="83" unicode=""
|
||||||
|
d="M0 800h400v-400h-400v400zM500 600h100v-400h-400v100h300v300zM700 400h100v-400h-400v100h300v300z" />
|
||||||
|
<glyph glyph-name="84" unicode="" horiz-adv-x="600"
|
||||||
|
d="M337 694c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-300 -150c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50c0 21 16 44 37 49zM437 544c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-400 -200c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50
|
||||||
|
c0 21 16 44 37 49zM437 344c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-106 -56c24 -4 43 -26 43 -50c0 -28 -23 -51 -51 -51c-2 0 -6 1 -8 1h-200c-26 1 -48 24 -48 50c0 16 12 36 26 44zM151 -50c0 23 20 50 46 50h3h4h5h100c28 0 50 -22 50 -50
|
||||||
|
s-22 -50 -50 -50h-100c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51z" />
|
||||||
|
<glyph glyph-name="85" unicode=""
|
||||||
|
d="M199 800h100v-200h-200v100h100v100zM586 797h1c18 1 38 1 56 -3c36 -8 69 -26 97 -54c78 -78 78 -203 0 -281l-150 -150c-8 -13 -28 -24 -43 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43l150 150c40 40 39 105 0 144c-41 41 -110 34 -144 0l-44 -44
|
||||||
|
c-8 -13 -27 -24 -42 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43l43 44c32 33 72 53 128 56zM208 490c4 5 14 16 22 16h3c2 0 6 1 8 1c28 0 50 -22 50 -50c0 -11 -6 -27 -14 -35l-150 -150c-40 -40 -39 -105 0 -144c41 -41 110 -34 144 0l44 44c8 13 27 24 42 24
|
||||||
|
c28 0 50 -22 50 -50c0 -15 -11 -35 -24 -43l-43 -44c-22 -22 -48 -37 -75 -47c-70 -25 -151 -9 -207 47c-78 78 -78 203 0 281zM499 200h200v-100h-100v-100h-100v200z" />
|
||||||
|
<glyph glyph-name="86" unicode=""
|
||||||
|
d="M586 797c18 1 39 1 57 -3c36 -8 69 -26 97 -54c78 -78 78 -203 0 -281l-150 -150c-62 -62 -132 -81 -182 -78s-69 17 -84 25s-26 27 -26 44c0 28 22 51 50 51c8 0 19 -3 26 -7c0 0 15 -11 41 -13s62 3 106 47l150 150c40 40 39 105 0 144c-41 41 -110 34 -144 0
|
||||||
|
c-8 -13 -28 -24 -43 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43c32 33 72 53 128 56zM386 566c50 -2 64 -17 85 -22s37 -28 37 -49c0 -28 -22 -50 -50 -50c-10 0 -23 5 -31 11c0 0 -19 9 -47 10s-63 -4 -103 -44l-150 -150c-40 -40 -39 -105 0 -144c41 -41 110 -34 144 0
|
||||||
|
c8 13 27 24 42 24c28 0 50 -22 50 -50c0 -15 -10 -35 -23 -43c-22 -22 -48 -37 -75 -47c-70 -25 -151 -9 -207 47c-78 78 -78 203 0 281l150 150c60 60 128 78 178 76z" />
|
||||||
|
<glyph glyph-name="87" unicode=""
|
||||||
|
d="M0 700h300v-300h-300v300zM400 700h400v-100h-400v100zM400 500h300v-100h-300v100zM0 300h300v-300h-300v300zM400 300h400v-100h-400v100zM400 100h300v-100h-300v100z" />
|
||||||
|
<glyph glyph-name="88" unicode=""
|
||||||
|
d="M50 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 700h600v-100h-600v100zM50 500c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 500h600v-100h-600v100zM50 300c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50
|
||||||
|
s22 50 50 50zM200 300h600v-100h-600v100zM50 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 100h600v-100h-600v100z" />
|
||||||
|
<glyph glyph-name="89" unicode=""
|
||||||
|
d="M800 800l-400 -800l-100 300l-300 100z" />
|
||||||
|
<glyph glyph-name="8a" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 700c110 0 200 -90 200 -200v-100h100v-400h-600v400h100v100c0 110 90 200 200 200zM300 600c-56 0 -100 -44 -100 -100v-100h200v100c0 56 -44 100 -100 100z" />
|
||||||
|
<glyph glyph-name="8b" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800c110 0 200 -90 200 -200v-200h100v-400h-600v400h400v200c0 56 -44 100 -100 100s-100 -44 -100 -100h-100c0 110 90 200 200 200z" />
|
||||||
|
<glyph glyph-name="8c" unicode=""
|
||||||
|
d="M400 700v-100c-111 0 -200 -89 -200 -200h100l-150 -200l-150 200h100c0 165 135 300 300 300zM650 600l150 -200h-100c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-100z" />
|
||||||
|
<glyph glyph-name="8d" unicode=""
|
||||||
|
d="M100 800h600v-300h100l-150 -250l-150 250h100v200h-400v-100h-100v200zM150 550l150 -250h-100v-200h400v100h100v-200h-600v300h-100z" />
|
||||||
|
<glyph glyph-name="8e" unicode=""
|
||||||
|
d="M600 700l200 -150l-200 -150v100h-500v-100h-100v100c0 55 45 100 100 100h500v100zM200 300v-100h500v100h100v-100c0 -55 -45 -100 -100 -100h-500v-100l-200 150z" />
|
||||||
|
<glyph glyph-name="8f" unicode="" horiz-adv-x="900"
|
||||||
|
d="M350 800c193 0 350 -157 350 -350c0 -60 -17 -117 -44 -166c5 -3 12 -8 16 -12l100 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 100c-4 3 -9 9 -12 13c-49 -26 -107 -41 -166 -41c-193 0 -350 157 -350 350s157 350 350 350zM350 200
|
||||||
|
c142 0 250 108 250 250c0 139 -111 250 -250 250s-250 -111 -250 -250s111 -250 250 -250z" />
|
||||||
|
<glyph glyph-name="90" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 800c166 0 300 -134 300 -300c0 -200 -300 -500 -300 -500s-300 300 -300 500c0 166 134 300 300 300zM300 700c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200z" />
|
||||||
|
<glyph glyph-name="91" unicode="" horiz-adv-x="900"
|
||||||
|
d="M0 800h800v-541c1 -3 1 -8 1 -11s0 -7 -1 -10v-238h-800v800zM495 250c0 26 22 50 50 50h5h150v400h-600v-600h600v100h-150h-5c-28 0 -50 22 -50 50zM350 600c83 0 150 -67 150 -150c0 -100 -150 -250 -150 -250s-150 150 -150 250c0 83 67 150 150 150zM350 500
|
||||||
|
c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="92" unicode="" horiz-adv-x="600"
|
||||||
|
d="M0 700h200v-600h-200v600zM400 700h200v-600h-200v600z" />
|
||||||
|
<glyph glyph-name="93" unicode="" horiz-adv-x="600"
|
||||||
|
d="M0 700l600 -300l-600 -300v600z" />
|
||||||
|
<glyph glyph-name="94" unicode="" horiz-adv-x="600"
|
||||||
|
d="M300 700c166 0 300 -134 300 -300s-134 -300 -300 -300s-300 134 -300 300s134 300 300 300z" />
|
||||||
|
<glyph glyph-name="95" unicode=""
|
||||||
|
d="M400 700v-600l-400 300zM400 400l400 300v-600z" />
|
||||||
|
<glyph glyph-name="96" unicode=""
|
||||||
|
d="M0 700l400 -300l-400 -300v600zM400 100v600l400 -300z" />
|
||||||
|
<glyph glyph-name="97" unicode=""
|
||||||
|
d="M0 700h200v-600h-200v600zM200 400l500 300v-600z" />
|
||||||
|
<glyph glyph-name="98" unicode=""
|
||||||
|
d="M0 700l500 -300l-500 -300v600zM500 100v600h200v-600h-200z" />
|
||||||
|
<glyph glyph-name="99" unicode="" horiz-adv-x="600"
|
||||||
|
d="M0 700h600v-600h-600v600z" />
|
||||||
|
<glyph glyph-name="9a" unicode=""
|
||||||
|
d="M200 800h400v-200h200v-400h-200v-200h-400v200h-200v400h200v200z" />
|
||||||
|
<glyph glyph-name="9b" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM0 403h800v-100h-800v100zM0 103h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="9c" unicode="" horiz-adv-x="600"
|
||||||
|
d="M278 700c7 2 13 4 22 4c55 0 100 -45 100 -100v-4v-200c0 -55 -45 -100 -100 -100s-100 45 -100 100v200v2c0 44 35 88 78 98zM34 500h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-50c0 -111 89 -200 200 -200s200 89 200 200v50c0 28 22 50 50 50s50 -22 50 -50v-50
|
||||||
|
c0 -148 -109 -270 -250 -294v-106h50c55 0 100 -45 100 -100h-400c0 55 45 100 100 100h50v106c-141 24 -250 146 -250 294v50v2c0 20 15 42 34 48z" />
|
||||||
|
<glyph glyph-name="9d" unicode=""
|
||||||
|
d="M0 500h800v-200h-800v200z" />
|
||||||
|
<glyph glyph-name="9e" unicode=""
|
||||||
|
d="M34 700h4h3h4h5h700c28 0 50 -22 50 -50v-500c0 -28 -22 -50 -50 -50h-250v-100h100c55 0 100 -45 100 -100h-600c0 55 45 100 100 100h100v100h-250c-28 0 -50 22 -50 50v500v2c0 20 15 42 34 48zM100 600v-400h600v400h-600z" />
|
||||||
|
<glyph glyph-name="9f" unicode=""
|
||||||
|
d="M272 700c-14 -40 -22 -83 -22 -128c0 -221 179 -400 400 -400c45 0 88 8 128 22c-53 -158 -202 -272 -378 -272c-221 0 -400 179 -400 400c0 176 114 325 272 378z" />
|
||||||
|
<glyph glyph-name="a0" unicode=""
|
||||||
|
d="M350 700l150 -150h-100v-150h150v100l150 -150l-150 -150v100h-150v-150h100l-150 -150l-150 150h100v150h-150v-100l-150 150l150 150v-100h150v150h-100z" />
|
||||||
|
<glyph glyph-name="a1" unicode=""
|
||||||
|
d="M800 800v-550c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150c17 0 35 -4 50 -9v206c-201 -6 -327 -27 -400 -50v-397c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150c17 0 35 -4 50 -9v409s100 100 600 100z" />
|
||||||
|
<glyph glyph-name="a2" unicode="" horiz-adv-x="700"
|
||||||
|
d="M499 700c51 0 102 -20 141 -59c78 -78 78 -203 0 -281l-250 -244c-48 -48 -127 -48 -175 0s-48 127 0 175l96 97l69 -69l-90 -94l-7 -3c-10 -10 -10 -28 0 -38s28 -10 38 0l250 247c37 40 39 102 0 141s-104 40 -144 0l-278 -275c-66 -69 -68 -179 0 -247
|
||||||
|
c69 -69 181 -69 250 0l9 12l116 113l69 -69l-125 -125c-107 -107 -281 -107 -388 0s-107 281 0 388l278 272c39 39 90 59 141 59z" />
|
||||||
|
<glyph glyph-name="a3" unicode=""
|
||||||
|
d="M600 800l200 -200l-100 -100l-200 200zM400 600l200 -200l-400 -400h-200v200z" />
|
||||||
|
<glyph glyph-name="a4" unicode=""
|
||||||
|
d="M550 800c83 0 150 -90 150 -200s-67 -200 -150 -200c-22 0 -40 8 -59 19c6 26 9 52 9 81c0 84 -27 158 -72 212c27 52 71 88 122 88zM250 700c83 0 150 -90 150 -200s-67 -200 -150 -200s-150 90 -150 200s67 200 150 200zM725 384c44 -22 75 -66 75 -118v-166h-200v66
|
||||||
|
c0 50 -17 96 -44 134c66 2 126 33 169 84zM75 284c45 -53 106 -84 175 -84s130 31 175 84c44 -22 75 -66 75 -118v-166h-500v166c0 52 31 96 75 118z" />
|
||||||
|
<glyph glyph-name="a5" unicode=""
|
||||||
|
d="M400 800c110 0 200 -112 200 -250s-90 -250 -200 -250s-200 112 -200 250s90 250 200 250zM191 300c54 -61 128 -100 209 -100s155 39 209 100c106 -5 191 -92 191 -200v-100h-800v100c0 108 85 195 191 200z" />
|
||||||
|
<glyph glyph-name="a6" unicode="" horiz-adv-x="600"
|
||||||
|
d="M19 800h462c11 0 19 -8 19 -19v-762c0 -11 -8 -19 -19 -19h-462c-11 0 -19 8 -19 19v762c0 11 8 19 19 19zM100 700v-500h300v500h-300zM250 150c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="a7" unicode=""
|
||||||
|
d="M350 800c17 0 34 -1 50 -3v-397l-297 297c63 64 150 103 247 103zM500 694c169 -25 300 -168 300 -344c0 -193 -157 -350 -350 -350c-85 0 -161 31 -222 81l272 272v341zM91 562l237 -234l-212 -212c-70 55 -116 138 -116 234c0 84 35 158 91 212z" />
|
||||||
|
<glyph glyph-name="a8" unicode=""
|
||||||
|
d="M92 650c0 23 20 50 46 50h3h4h5h400c28 0 50 -22 50 -50s-22 -50 -50 -50h-50v-200h100c55 0 100 -45 100 -100h-300v-300l-56 -100l-44 100v300h-300c0 55 45 100 100 100h100v200h-50c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51z" />
|
||||||
|
<glyph glyph-name="a9" unicode=""
|
||||||
|
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM300 600v-400l300 200z" />
|
||||||
|
<glyph glyph-name="aa" unicode=""
|
||||||
|
d="M300 800h200v-300h300v-200h-300v-300h-200v300h-300v200h300v300z" />
|
||||||
|
<glyph glyph-name="ab" unicode=""
|
||||||
|
d="M300 800h100v-400h-100v400zM172 656l62 -78l-40 -31c-58 -46 -94 -117 -94 -197c0 -139 111 -250 250 -250s250 111 250 250c0 80 -39 151 -97 197l-37 31l62 78l38 -31c82 -64 134 -164 134 -275c0 -193 -157 -350 -350 -350s-350 157 -350 350c0 111 53 211 134 275z
|
||||||
|
" />
|
||||||
|
<glyph glyph-name="ac" unicode=""
|
||||||
|
d="M200 800h400v-200h-400v200zM9 500h782c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-91v200h-600v-200h-91c-6 0 -9 3 -9 9v282c0 6 3 9 9 9zM200 300h400v-300h-400v300z" />
|
||||||
|
<glyph glyph-name="ad" unicode=""
|
||||||
|
d="M0 700h100v-700h-100v700zM700 700h100v-700h-100v700zM200 600h200v-100h-200v100zM300 400h200v-100h-200v100zM400 200h200v-100h-200v100z" />
|
||||||
|
<glyph glyph-name="ae" unicode=""
|
||||||
|
d="M325 700c42 -141 87 -280 131 -419c29 74 59 148 88 222c30 -57 58 -114 87 -172h169v-100h-231l-13 28c-37 -92 -74 -184 -112 -275c-38 129 -79 257 -119 385c-42 -133 -83 -267 -125 -400c-28 88 -56 175 -84 262h-116v100h188l9 -34l3 -6c42 137 83 273 125 409z" />
|
||||||
|
<glyph glyph-name="af" unicode=""
|
||||||
|
d="M200 600c0 57 43 100 100 100s100 -43 100 -100c0 -28 -18 -48 -28 -72c-3 -6 -3 -16 -3 -28h231v-231c12 0 22 0 28 3c24 10 44 28 72 28c57 0 100 -43 100 -100s-43 -100 -100 -100c-28 0 -48 18 -72 28c-6 3 -16 3 -28 3v-231h-231c0 12 0 22 3 28c10 24 28 44 28 72
|
||||||
|
c0 57 -43 100 -100 100s-100 -43 -100 -100c0 -28 18 -48 28 -72c3 -6 3 -16 3 -28h-231v600h231c0 12 0 22 -3 28c-10 24 -28 44 -28 72z" />
|
||||||
|
<glyph glyph-name="b0" unicode="" horiz-adv-x="500"
|
||||||
|
d="M247 700c84 0 148 -20 191 -59s59 -93 59 -141c0 -117 -69 -181 -119 -225s-81 -67 -81 -150v-25h-100v25c0 117 65 181 115 225s85 67 85 150c0 25 -8 48 -28 66s-56 34 -122 34s-97 -18 -116 -37s-27 -43 -31 -69l-100 12c5 38 19 88 59 128s103 66 188 66zM197 0h100
|
||||||
|
v-100h-100v100z" />
|
||||||
|
<glyph glyph-name="b1" unicode=""
|
||||||
|
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -69 -48 -127 -112 -144c-22 55 -75 94 -138 94c-20 0 -39 -5 -56 -12c-17 64 -75 112 -144 112s-127 -48 -144 -112c-17 7 -36 12 -56 12c-37 0 -71 -12 -97 -34c-33 36 -53 82 -53 134
|
||||||
|
c0 110 90 200 200 200c23 114 129 200 250 200zM334 300h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-200c0 -28 -22 -50 -50 -50s-50 22 -50 50v200v2c0 20 15 42 34 48zM134 200h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-100c0 -28 -22 -50 -50 -50s-50 22 -50 50v100v2
|
||||||
|
c0 20 15 42 34 48zM534 200h3h4c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-100c0 -28 -22 -50 -50 -50s-50 22 -50 50v100v2c0 20 15 42 34 48z" />
|
||||||
|
<glyph glyph-name="b2" unicode=""
|
||||||
|
d="M600 800l200 -150l-200 -150v100h-50l-153 -191l175 -206l6 -3h22v100l200 -150l-200 -150v100h-25c-35 0 -56 12 -78 38l-166 190l-153 -190c-22 -27 -43 -38 -78 -38h-100v100h100l166 206l-163 191l-3 3h-100v100h100c34 0 56 -12 78 -38l153 -178l141 178
|
||||||
|
c22 27 43 38 78 38h50v100z" />
|
||||||
|
<glyph glyph-name="b3" unicode=""
|
||||||
|
d="M400 800c110 0 209 -47 281 -119l119 119v-300h-300l109 109c-54 55 -126 91 -209 91c-166 0 -300 -134 -300 -300s134 -300 300 -300c83 0 158 34 212 88l72 -72c-72 -72 -174 -116 -284 -116c-220 0 -400 180 -400 400s180 400 400 400z" />
|
||||||
|
<glyph glyph-name="b4" unicode=""
|
||||||
|
d="M400 800h400v-400l-166 166l-400 -400l166 -166h-400v400l166 -166l400 400z" />
|
||||||
|
<glyph glyph-name="b5" unicode="" horiz-adv-x="600"
|
||||||
|
d="M250 800l250 -300h-200v-200h200l-250 -300l-250 300h200v200h-200z" />
|
||||||
|
<glyph glyph-name="b6" unicode=""
|
||||||
|
d="M300 600v-200h200v200l300 -250l-300 -250v200h-200v-200l-300 250z" />
|
||||||
|
<glyph glyph-name="b7" unicode=""
|
||||||
|
d="M0 800c441 0 800 -359 800 -800h-200c0 333 -267 600 -600 600v200zM0 500c275 0 500 -225 500 -500h-200c0 167 -133 300 -300 300v200zM0 200c110 0 200 -90 200 -200h-200v200z" />
|
||||||
|
<glyph glyph-name="b8" unicode=""
|
||||||
|
d="M100 800c386 0 700 -314 700 -700h-100c0 332 -268 600 -600 600v100zM100 600c276 0 500 -224 500 -500h-100c0 222 -178 400 -400 400v100zM100 400c165 0 300 -135 300 -300h-100c0 111 -89 200 -200 200v100zM100 200c55 0 100 -45 100 -100s-45 -100 -100 -100
|
||||||
|
s-100 45 -100 100s45 100 100 100z" />
|
||||||
|
<glyph glyph-name="b9" unicode=""
|
||||||
|
d="M300 800h400c55 0 100 -45 100 -100v-200h-400v150c0 28 -22 50 -50 50s-50 -22 -50 -50v-250h400v-300c0 -55 -45 -100 -100 -100h-500c-55 0 -100 45 -100 100v200h100v-150c0 -28 22 -50 50 -50s50 22 50 50v550c0 55 45 100 100 100z" />
|
||||||
|
<glyph glyph-name="ba" unicode=""
|
||||||
|
d="M75 700h225v-100h-200v-500h400v100h100v-125c0 -41 -34 -75 -75 -75h-450c-41 0 -75 34 -75 75v550c0 41 34 75 75 75zM600 700l200 -200l-200 -200v100h-200c-94 0 -173 -65 -194 -153c23 199 189 353 394 353v100z" />
|
||||||
|
<glyph glyph-name="bb" unicode=""
|
||||||
|
d="M500 700l300 -284l-300 -316v200h-100c-200 0 -348 -102 -400 -300c0 295 100 500 500 500v200z" />
|
||||||
|
<glyph glyph-name="bc" unicode=""
|
||||||
|
d="M381 791l19 9l19 -9c127 -53 253 -108 381 -160v-31c0 -166 -67 -313 -147 -419c-40 -53 -83 -97 -125 -128s-82 -53 -128 -53s-86 22 -128 53s-85 75 -125 128c-80 107 -147 253 -147 419v31c128 52 254 107 381 160zM400 100v591l-294 -122c8 -126 58 -243 122 -328
|
||||||
|
c35 -46 73 -86 106 -110s62 -31 66 -31z" />
|
||||||
|
<glyph glyph-name="bd" unicode=""
|
||||||
|
d="M600 800h100v-800h-100v800zM400 700h100v-700h-100v700zM200 500h100v-500h-100v500zM0 300h100v-300h-100v300z" />
|
||||||
|
<glyph glyph-name="be" unicode=""
|
||||||
|
d="M300 800h100v-200h200l100 -100l-100 -100h-200v-400h-100v500h-200l-100 100l100 100h200v100z" />
|
||||||
|
<glyph glyph-name="bf" unicode=""
|
||||||
|
d="M200 800h100v-600h200l-250 -200l-250 200h200v600zM400 800h200v-100h-200v100zM400 600h300v-100h-300v100zM400 400h400v-100h-400v100z" />
|
||||||
|
<glyph glyph-name="c0" unicode=""
|
||||||
|
d="M200 800h100v-600h200l-250 -200l-250 200h200v600zM400 800h400v-100h-400v100zM400 600h300v-100h-300v100zM400 400h200v-100h-200v100z" />
|
||||||
|
<glyph glyph-name="c1" unicode=""
|
||||||
|
d="M75 700h650c41 0 75 -34 75 -75v-550c0 -41 -34 -75 -75 -75h-650c-41 0 -75 34 -75 75v550c0 41 34 75 75 75zM100 600v-100h100v100h-100zM300 600v-100h400v100h-400zM100 400v-100h100v100h-100zM300 400v-100h400v100h-400zM100 200v-100h100v100h-100zM300 200
|
||||||
|
v-100h400v100h-400z" />
|
||||||
|
<glyph glyph-name="c2" unicode=""
|
||||||
|
d="M400 800l100 -300h300l-250 -200l100 -300l-250 200l-250 -200l100 300l-250 200h300z" />
|
||||||
|
<glyph glyph-name="c3" unicode=""
|
||||||
|
d="M400 800c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM150 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM650 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM400 600c110 0 200 -90 200 -200
|
||||||
|
s-90 -200 -200 -200s-200 90 -200 200s90 200 200 200zM50 450c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM750 450c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM150 200c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50
|
||||||
|
s22 50 50 50zM650 200c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM400 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
|
||||||
|
<glyph glyph-name="c4" unicode=""
|
||||||
|
d="M34 800h632c18 0 34 -16 34 -34v-732c0 -18 -16 -34 -34 -34h-632c-18 0 -34 16 -34 34v732c0 18 16 34 34 34zM100 700v-500h500v500h-500zM350 150c-38 0 -63 -42 -44 -75s69 -33 88 0s-6 75 -44 75z" />
|
||||||
|
<glyph glyph-name="c5" unicode=""
|
||||||
|
d="M0 800h300l500 -500l-300 -300l-500 500v300zM200 700c-55 0 -100 -45 -100 -100s45 -100 100 -100s100 45 100 100s-45 100 -100 100z" />
|
||||||
|
<glyph glyph-name="c6" unicode=""
|
||||||
|
d="M0 600h200l300 -300l-200 -200l-300 300v200zM340 600h160l300 -300l-200 -200l-78 78l119 122zM150 500c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="c7" unicode=""
|
||||||
|
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM400 600c110 0 200 -90 200 -200s-90 -200 -200 -200s-200 90 -200 200
|
||||||
|
s90 200 200 200zM400 500c-56 0 -100 -44 -100 -100s44 -100 100 -100s100 44 100 100s-44 100 -100 100z" />
|
||||||
|
<glyph glyph-name="c8" unicode=""
|
||||||
|
d="M0 700h559l-100 -100h-359v-500h500v159l100 100v-359h-700v700zM700 700l100 -100l-400 -400l-200 200l100 100l100 -100z" />
|
||||||
|
<glyph glyph-name="c9" unicode=""
|
||||||
|
d="M9 800h782c6 0 9 -3 9 -9v-782c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v782c0 6 3 9 9 9zM150 722l-72 -72l100 -100l-100 -100l72 -72l172 172zM400 500v-100h300v100h-300z" />
|
||||||
|
<glyph glyph-name="ca" unicode=""
|
||||||
|
d="M0 800h800v-200h-50c0 55 -45 100 -100 100h-150v-550c0 -28 22 -50 50 -50h50v-100h-400v100h50c28 0 50 22 50 50v550h-150c-55 0 -100 -45 -100 -100h-50v200z" />
|
||||||
|
<glyph glyph-name="cb" unicode=""
|
||||||
|
d="M0 700h100v-400h-100v400zM200 700h350c21 0 39 -13 47 -31c0 0 103 -291 103 -319s-22 -50 -50 -50h-150c-28 0 -50 -25 -50 -50s39 -158 47 -184s-5 -55 -31 -63s-52 5 -66 31s-109 219 -128 238s-44 28 -72 28v400z" />
|
||||||
|
<glyph glyph-name="cc" unicode=""
|
||||||
|
d="M400 666c10 19 28 32 47 34l19 -3c26 -8 39 -37 31 -63s-47 -159 -47 -184s22 -50 50 -50h150c28 0 50 -22 50 -50s-103 -319 -103 -319c-8 -18 -26 -31 -47 -31h-350v400c28 0 53 9 72 28s114 212 128 238zM0 400h100v-400h-100v400z" />
|
||||||
|
<glyph glyph-name="cd" unicode=""
|
||||||
|
d="M200 700h300v-100h-100v-6c25 -4 50 -8 72 -16l-34 -94c-28 11 -58 16 -88 16c-139 0 -250 -111 -250 -250s111 -250 250 -250s250 111 250 250c0 31 -5 60 -16 88l91 37c14 -38 25 -81 25 -125c0 -193 -157 -350 -350 -350s-350 157 -350 350c0 176 130 323 300 347v3
|
||||||
|
h-100v100zM700 584c0 0 -296 -348 -316 -368s-48 -20 -68 0s-20 48 0 68s384 300 384 300z" />
|
||||||
|
<glyph glyph-name="ce" unicode=""
|
||||||
|
d="M600 700l200 -150l-200 -150v100h-600v100h600v100zM200 300v-100h600v-100h-600v-100l-200 150z" />
|
||||||
|
<glyph glyph-name="cf" unicode=""
|
||||||
|
d="M300 800h100c55 0 100 -45 100 -100h100c55 0 100 -45 100 -100h-700c0 55 45 100 100 100h100c0 55 45 100 100 100zM100 500h100v-350c0 -28 22 -50 50 -50s50 22 50 50v350h100v-350c0 -28 22 -50 50 -50s50 22 50 50v350h100v-481c0 -11 -8 -19 -19 -19h-462
|
||||||
|
c-11 0 -19 8 -19 19v481z" />
|
||||||
|
<glyph glyph-name="d0" unicode=""
|
||||||
|
d="M100 800h200v-400c0 -55 45 -100 100 -100s100 45 100 100v400h100v-400c0 -110 -90 -200 -200 -200h-50c-138 0 -250 90 -250 200v400zM0 100h700v-100h-700v100z" />
|
||||||
|
<glyph glyph-name="d1" unicode=""
|
||||||
|
d="M9 700h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM609 700h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM309 500h182c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v282
|
||||||
|
c0 6 3 9 9 9zM0 100h800v-100h-800v100z" />
|
||||||
|
<glyph glyph-name="d2" unicode=""
|
||||||
|
d="M10 700h181c6 0 9 -3 9 -9v-191h-200v191c0 6 4 9 10 9zM610 700h181c6 0 9 -3 9 -9v-191h-200v191c0 6 5 9 10 9zM310 600h181c6 0 9 -3 9 -9v-91h-200v91c0 6 4 9 10 9zM0 400h800v-100h-800v100zM0 200h200v-191c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v191zM300 200
|
||||||
|
h200v-91c0 -6 -3 -9 -9 -9h-181c-6 0 -10 3 -10 9v91zM600 200h200v-191c0 -6 -3 -9 -9 -9h-181c-6 0 -10 3 -10 9v191z" />
|
||||||
|
<glyph glyph-name="d3" unicode=""
|
||||||
|
d="M0 700h800v-100h-800v100zM9 500h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM309 500h182c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v282c0 6 3 9 9 9zM609 500h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182
|
||||||
|
c-6 0 -9 3 -9 9v482c0 6 3 9 9 9z" />
|
||||||
|
<glyph glyph-name="d4" unicode=""
|
||||||
|
d="M50 600h500c28 0 50 -22 50 -50v-150l100 100h100v-300h-100l-100 100v-150c0 -28 -22 -50 -50 -50h-500c-28 0 -50 22 -50 50v400c0 28 22 50 50 50z" />
|
||||||
|
<glyph glyph-name="d5" unicode=""
|
||||||
|
d="M334 800h66v-800h-66l-134 200h-200v400h200zM500 600v100c26 0 52 -4 75 -10c130 -33 225 -150 225 -290s-95 -258 -225 -291h-3c-23 -6 -47 -9 -72 -9v100c17 0 34 2 50 6c86 22 150 100 150 194s-64 172 -150 194c-16 4 -33 6 -50 6zM500 500l25 -3
|
||||||
|
c44 -11 75 -51 75 -97s-32 -86 -75 -97l-25 -3v200z" />
|
||||||
|
<glyph glyph-name="d6" unicode="" horiz-adv-x="600"
|
||||||
|
d="M334 800h66v-800h-66l-134 200h-200v400h200zM500 500l25 -3c44 -11 75 -51 75 -97s-32 -86 -75 -97l-25 -3v200z" />
|
||||||
|
<glyph glyph-name="d7" unicode="" horiz-adv-x="400"
|
||||||
|
d="M334 800h66v-800h-66l-134 200h-200v400h200z" />
|
||||||
|
<glyph glyph-name="d8" unicode=""
|
||||||
|
d="M309 800h82c6 0 10 -4 12 -9l294 -682l3 -19v-81c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v81l3 19l294 682c2 5 6 9 12 9zM300 500v-200h100v200h-100zM300 200v-100h100v100h-100z" />
|
||||||
|
<glyph glyph-name="d9" unicode=""
|
||||||
|
d="M375 800c138 0 269 -39 378 -109l-53 -82c-93 60 -205 91 -325 91c-119 0 -229 -32 -322 -91l-53 82c109 70 237 109 375 109zM375 500c78 0 154 -23 216 -62l-53 -85c-46 30 -104 47 -163 47c-60 0 -112 -17 -159 -47l-54 85c62 40 134 62 213 62zM375 200
|
||||||
|
c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
|
||||||
|
<glyph glyph-name="da" unicode="" horiz-adv-x="900"
|
||||||
|
d="M551 800c16 0 32 0 47 -3l-97 -97v-200h200l97 97c3 -15 3 -31 3 -47c0 -138 -112 -250 -250 -250c-32 0 -62 8 -90 19l-288 -291c-20 -20 -46 -28 -72 -28s-52 8 -72 28c-39 39 -39 105 0 144l291 287c-11 28 -19 59 -19 91c0 138 112 250 250 250zM101 150
|
||||||
|
c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
|
||||||
|
<glyph glyph-name="db" unicode=""
|
||||||
|
d="M141 700c84 -84 169 -167 253 -250c82 83 167 165 247 250l143 -141l-253 -253c84 -82 167 -166 253 -247l-143 -143c-81 86 -165 169 -247 253l-253 -253l-141 143c85 80 167 164 250 247c-83 84 -166 169 -250 253z" />
|
||||||
|
<glyph glyph-name="dc" unicode=""
|
||||||
|
d="M0 800h100l231 -300h38l231 300h100l-225 -300h225v-100h-300v-100h300v-100h-300v-200h-100v200h-300v100h300v100h-300v100h225z" />
|
||||||
|
<glyph glyph-name="dd" unicode="" horiz-adv-x="900"
|
||||||
|
d="M350 800c193 0 350 -157 350 -350c0 -61 -17 -119 -44 -169c4 -2 10 -6 13 -9l103 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 103c-3 3 -7 9 -9 13c-50 -28 -108 -44 -169 -44c-193 0 -350 157 -350 350s157 350 350 350zM350 700
|
||||||
|
c-139 0 -250 -111 -250 -250s111 -250 250 -250c62 0 119 23 163 60c7 11 19 25 31 31l3 3c34 43 53 97 53 156c0 139 -111 250 -250 250zM300 600h100v-100h100v-100h-100v-100h-100v100h-100v100h100v100z" />
|
||||||
|
<glyph glyph-name="de" unicode="" horiz-adv-x="900"
|
||||||
|
d="M350 800c193 0 350 -157 350 -350c0 -61 -17 -119 -44 -169c4 -2 10 -6 13 -9l103 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 103c-3 3 -7 9 -9 13c-50 -28 -108 -44 -169 -44c-193 0 -350 157 -350 350s157 350 350 350zM350 700
|
||||||
|
c-139 0 -250 -111 -250 -250s111 -250 250 -250c62 0 119 23 163 60c7 11 19 25 31 31l3 3c34 43 53 97 53 156c0 139 -111 250 -250 250zM200 500h300v-100h-300v100z" />
|
||||||
|
</font>
|
||||||
|
</defs></svg>
|
After Width: | Height: | Size: 54 KiB |
BIN
public/fonts/open-iconic.ttf
Normal file
BIN
public/fonts/open-iconic.ttf
Normal file
Binary file not shown.
BIN
public/fonts/open-iconic.woff
Normal file
BIN
public/fonts/open-iconic.woff
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3831
public/js/bootstrap.js
vendored
Normal file
3831
public/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
public/js/bootstrap.min.js
vendored
Normal file
6
public/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9045
public/js/materialize.js
vendored
9045
public/js/materialize.js
vendored
File diff suppressed because one or more lines are too long
6
public/js/materialize.min.js
vendored
6
public/js/materialize.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2,48 +2,41 @@
|
|||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="grey-text">ログイン</h2>
|
<h2>ログイン</h2>
|
||||||
<div class="row">
|
<hr>
|
||||||
<form method="post" action="{{ route('login') }}" class="col s12 push-m3 m6">
|
<div class="row justify-content-center my-5">
|
||||||
{{ csrf_field() }}
|
<div class="col-lg-6">
|
||||||
|
<form method="post" action="{{ route('login') }}">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
|
||||||
<div class="row">
|
<div class="form-group">
|
||||||
<div class="input-field col s12">
|
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
|
||||||
<i class="material-icons prefix">email</i>
|
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required autofocus>
|
||||||
<input id="email" name="email" class="validate{{ $errors->has('email') ? ' invalid' : '' }}" type="text" value="{{ old('email') }}" required autofocus>
|
|
||||||
<label for="email">メールアドレス</label>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
@if ($errors->has('email'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('email') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
<div class="form-group">
|
||||||
<i class="material-icons prefix">lock</i>
|
<label for="password"><span class="oi oi-key"></span> パスワード</label>
|
||||||
<input id="password" name="password" class="validate{{ $errors->has('password') ? ' invalid' : '' }}" type="password" required>
|
<input id="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" required>
|
||||||
<label for="password">パスワード</label>
|
|
||||||
|
|
||||||
@if ($errors->has('password'))
|
@if ($errors->has('password'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('password') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('password') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-check">
|
||||||
<div class="row">
|
<label class="custom-control custom-checkbox">
|
||||||
<div class="input-field col s12">
|
<input id="remember" name="rememver" class="custom-control-input" type="checkbox" {{ old('remember') ? 'checked' : '' }}>
|
||||||
<p>
|
<span class="custom-control-indicator"></span>
|
||||||
<input id="remember" name="remember" class="filled-in" type="checkbox" {{ old('remember') ? 'checked' : '' }}>
|
<span class="custom-control-description">保存する</span>
|
||||||
<label for="remember">保存する</label>
|
</label>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row center">
|
<button class="btn btn-primary" type="submit">ログイン</button>
|
||||||
<div class="input-field col s12">
|
<a href="{{ route('password.request') }}" class="btn btn-link">パスワードを忘れた場合はこちら</a>
|
||||||
<button class="btn waves-effect waves-light teal lighten-2" type="submit">ログイン</button>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
|
||||||
<a href="{{ route('password.request') }}">パスワードを忘れた場合はこちら</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
@ -1,45 +1,28 @@
|
|||||||
@extends('layouts.app')
|
@extends('layouts.base')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<h2>パスワードの再発行</h2>
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<hr>
|
||||||
<div class="panel panel-default">
|
<div class="row justify-content-center my-5">
|
||||||
<div class="panel-heading">Reset Password</div>
|
<div class="col-12 text-center">
|
||||||
<div class="panel-body">
|
<p>本サイトでお使いのメールアドレスを入力して、<strong>パスワードを再発行</strong>ボタンを押してください。<br>入力されたメールアドレスに、手続きを行うためのリンクが書かれたメールが送信されます。</p>
|
||||||
@if (session('status'))
|
</div>
|
||||||
<div class="alert alert-success">
|
<div class="col-lg-6">
|
||||||
{{ session('status') }}
|
<form method="post" action="{{ route('password.email') }}">
|
||||||
</div>
|
{{ csrf_field() }}
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
|
||||||
|
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required autofocus>
|
||||||
|
|
||||||
|
@if ($errors->has('email'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<form class="form-horizontal" method="POST" action="{{ route('password.email') }}">
|
|
||||||
{{ csrf_field() }}
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
|
||||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('email') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-6 col-md-offset-4">
|
|
||||||
<button type="submit" class="btn btn-primary">
|
|
||||||
Send Password Reset Link
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
<button class="btn btn-primary" type="submit">パスワードを再発行</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,75 +1,46 @@
|
|||||||
@extends('layouts.app')
|
@extends('layouts.base')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<h2>パスワードの再発行</h2>
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<hr>
|
||||||
<div class="panel panel-default">
|
<div class="row justify-content-center my-5">
|
||||||
<div class="panel-heading">Reset Password</div>
|
<div class="col-12 text-center">
|
||||||
|
<p>新しいパスワードを入力し、<strong>パスワードを変更</strong>ボタンを押してください。</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<form method="post" action="{{ route('password.request') }}">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
|
||||||
<div class="panel-body">
|
<input type="hidden" name="token" value="{{ $token }}">
|
||||||
@if (session('status'))
|
|
||||||
<div class="alert alert-success">
|
<div class="form-group">
|
||||||
{{ session('status') }}
|
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
|
||||||
</div>
|
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required>
|
||||||
|
|
||||||
|
@if ($errors->has('email'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
|
|
||||||
{{ csrf_field() }}
|
|
||||||
|
|
||||||
<input type="hidden" name="token" value="{{ $token }}">
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
|
||||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" required autofocus>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('email') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
|
|
||||||
<label for="password" class="col-md-4 control-label">Password</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="password" type="password" class="form-control" name="password" required>
|
|
||||||
|
|
||||||
@if ($errors->has('password'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('password') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
|
|
||||||
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
|
|
||||||
|
|
||||||
@if ($errors->has('password_confirmation'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-6 col-md-offset-4">
|
|
||||||
<button type="submit" class="btn btn-primary">
|
|
||||||
Reset Password
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-group">
|
||||||
|
<label for="password"><span class="oi oi-key"></span> パスワード</label>
|
||||||
|
<input id="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" required>
|
||||||
|
|
||||||
|
@if ($errors->has('password'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('password') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="password-confirm">パスワードの再入力</label>
|
||||||
|
<input id="password-confirm" name="password_confirmation" class="form-control" type="password" required>
|
||||||
|
|
||||||
|
@if ($errors->has('password_confirmation'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('password_confirmation') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button class="btn btn-primary" type="submit">パスワードを変更</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,65 +2,67 @@
|
|||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="grey-text">新規登録</h2>
|
<h2>新規登録</h2>
|
||||||
<div class="row">
|
<hr>
|
||||||
<form method="post" action="{{ route('register') }}" class="col s12 push-m3 m6">
|
<div class="row justify-content-center my-5">
|
||||||
{{ csrf_field() }}
|
<div class="col-lg-6">
|
||||||
|
<form method="post" action="{{ route('register') }}">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
|
||||||
<div class="row">
|
<div class="form-group">
|
||||||
<h6 class="grey-text col s12">ユーザー情報</h6>
|
<label for="name"><span class="oi oi-person"></span> ユーザー名</label>
|
||||||
<div class="input-field col s12">
|
<input id="name" name="name" class="form-control{{ $errors->has('name') ? ' is-invalid' : '' }}" type="text" value="{{ old('name') }}" required>
|
||||||
<i class="material-icons prefix">person</i>
|
|
||||||
<input id="name" name="name" class="validate{{ $errors->has('name') ? ' invalid' : '' }}" type="text" value="{{ old('name') }}" required>
|
|
||||||
<label for="name">ユーザー名</label>
|
|
||||||
|
|
||||||
@if ($errors->has('name'))
|
@if ($errors->has('name'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('name') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('name') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
<div class="form-group">
|
||||||
<i class="material-icons prefix">email</i>
|
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
|
||||||
<input id="email" name="email" class="validate{{ $errors->has('email') ? ' invalid' : '' }}" type="text" value="{{ old('email') }}" required>
|
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required>
|
||||||
<label for="email">メールアドレス</label>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
@if ($errors->has('email'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('email') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
<div class="form-group">
|
||||||
<i class="material-icons prefix">lock</i>
|
<label for="password"><span class="oi oi-key"></span> パスワード</label>
|
||||||
<input id="password" name="password" class="validate{{ $errors->has('password') ? ' invalid' : '' }}" type="password" required>
|
<input id="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" required>
|
||||||
<label for="password">パスワード</label>
|
|
||||||
|
|
||||||
@if ($errors->has('password'))
|
@if ($errors->has('password'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('password') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('password') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s12">
|
<div class="form-group">
|
||||||
<i class="material-icons prefix"></i>
|
|
||||||
<input id="password-confirm" name="password_confirmation" class="validate" type="password" required>
|
|
||||||
<label for="password-confirm">パスワードの再入力</label>
|
<label for="password-confirm">パスワードの再入力</label>
|
||||||
|
<input id="password-confirm" name="password_confirmation" class="form-control" type="password" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-row ml-1 mt-4">
|
||||||
<div class="row">
|
<h6 class="mb-3">プライバシーに関するオプション (全て任意です)</h6>
|
||||||
<div class="input-field col s12">
|
|
||||||
<h6 class="grey-text">プライバシーに関するオプション (全て任意です)</h6>
|
<div class="form-group">
|
||||||
<p>
|
<div class="form-check">
|
||||||
<input id="protected" name="is_protected" class="filled-in" type="checkbox" {{ old('is_protected') ? 'checked' : '' }}>
|
<label class="custom-control custom-checkbox">
|
||||||
<label for="protected">チェックイン履歴を非公開にする</label>
|
<input id="protected" name="is_protected" class="custom-control-input" type="checkbox" {{ old('is_protected') ? 'checked' : '' }}>
|
||||||
</p>
|
<span class="custom-control-indicator"></span>
|
||||||
<p>
|
<span class="custom-control-description">全てのチェックイン履歴を非公開にする</span>
|
||||||
<input id="accept-analytics" name="accept_analytics" class="filled-in" type="checkbox" {{ old('accept_analytics') ? 'checked' : '' }}>
|
</label>
|
||||||
<label for="accept-analytics">匿名での統計にチェックインデータを利用することに同意します</label>
|
</div>
|
||||||
</p>
|
<div class="form-check">
|
||||||
|
<label class="custom-control custom-checkbox">
|
||||||
|
<input id="accept-analytics" name="accept_analytics" class="custom-control-input" type="checkbox" {{ old('accept_analytics') ? 'checked' : '' }}>
|
||||||
|
<span class="custom-control-indicator"></span>
|
||||||
|
<span class="custom-control-description">匿名での統計にチェックインデータを利用することに同意します</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row center">
|
<div class="text-center">
|
||||||
<div class="input-field col s12">
|
<button class="btn btn-primary btn-lg" type="submit">登録</button>
|
||||||
<button class="btn waves-effect waves-light teal lighten-2" type="submit">登録</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</form>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
@ -1,68 +0,0 @@
|
|||||||
@extends('layouts.app')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-8 col-md-offset-2">
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-heading">Login</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<form class="form-horizontal" method="POST" action="{{ route('login') }}">
|
|
||||||
{{ csrf_field() }}
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
|
||||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('email') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
|
|
||||||
<label for="password" class="col-md-4 control-label">Password</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="password" type="password" class="form-control" name="password" required>
|
|
||||||
|
|
||||||
@if ($errors->has('password'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('password') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-6 col-md-offset-4">
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-8 col-md-offset-4">
|
|
||||||
<button type="submit" class="btn btn-primary">
|
|
||||||
Login
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<a class="btn btn-link" href="{{ route('password.request') }}">
|
|
||||||
Forgot Your Password?
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endsection
|
|
@ -1,76 +0,0 @@
|
|||||||
@extends('layouts.app')
|
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-8 col-md-offset-2">
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-heading">Register</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<form class="form-horizontal" method="POST" action="{{ route('register') }}">
|
|
||||||
{{ csrf_field() }}
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
|
|
||||||
<label for="name" class="col-md-4 control-label">Name</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus>
|
|
||||||
|
|
||||||
@if ($errors->has('name'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('name') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
|
|
||||||
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
|
|
||||||
|
|
||||||
@if ($errors->has('email'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('email') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
|
|
||||||
<label for="password" class="col-md-4 control-label">Password</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="password" type="password" class="form-control" name="password" required>
|
|
||||||
|
|
||||||
@if ($errors->has('password'))
|
|
||||||
<span class="help-block">
|
|
||||||
<strong>{{ $errors->first('password') }}</strong>
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
|
|
||||||
|
|
||||||
<div class="col-md-6">
|
|
||||||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-md-6 col-md-offset-4">
|
|
||||||
<button type="submit" class="btn btn-primary">
|
|
||||||
Register
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endsection
|
|
18
resources/views/components/modal.blade.php
Normal file
18
resources/views/components/modal.blade.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<div id="{{ $id }}" class="modal fade" tabindex="-1" role="dialog">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">{{ $title }}</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
{{ $slot }}
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
{{ $footer }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
32
resources/views/components/profile.blade.php
Normal file
32
resources/views/components/profile.blade.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<div class="card mb-4">
|
||||||
|
<div class="card-body">
|
||||||
|
<img src="{{ $user->getProfileImageUrl(64) }}" class="rounded mb-1">
|
||||||
|
<h4 class="card-title">
|
||||||
|
<a class="text-dark" href="{{ route('user.profile', ['name' => $user->name]) }}">{{ $user->display_name }}</a>
|
||||||
|
</h4>
|
||||||
|
<h6 class="card-subtitle">
|
||||||
|
<a class="text-muted" href="{{ route('user.profile', ['name' => $user->name]) }}">@{{ $user->name }}</a>
|
||||||
|
@if ($user->is_protected)
|
||||||
|
<span class="oi oi-lock-locked text-muted"></span>
|
||||||
|
@endif
|
||||||
|
</h6>
|
||||||
|
|
||||||
|
@if (!$user->is_protected)
|
||||||
|
<h6 class="font-weight-bold mt-4"><span class="oi oi-timer"></span> 現在のセッション</h6>
|
||||||
|
@if (isset($currentSession))
|
||||||
|
<p class="card-text mb-0">{{ $currentSession }}経過</p>
|
||||||
|
<p class="card-text">({{ $latestEjaculation->ejaculated_date->format('Y/m/d H:i') }} にリセット)</p>
|
||||||
|
@else
|
||||||
|
<p class="card-text mb-0">計測がまだ始まっていません</p>
|
||||||
|
<p class="card-text">(一度チェックインすると始まります)</p>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
<h6 class="font-weight-bold"><span class="oi oi-graph"></span> 概況</h6>
|
||||||
|
<p class="card-text mb-0">平均記録: {{ Formatter::formatInterval($summary[0]->average) }}</p>
|
||||||
|
<p class="card-text mb-0">最長記録: {{ Formatter::formatInterval($summary[0]->longest) }}</p>
|
||||||
|
<p class="card-text mb-0">最短記録: {{ Formatter::formatInterval($summary[0]->shortest) }}</p>
|
||||||
|
<p class="card-text mb-0">合計時間: {{ Formatter::formatInterval($summary[0]->total_times) }}</p>
|
||||||
|
<p class="card-text">通算回数: {{ $summary[0]->total_checkins }}回</p>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -2,82 +2,152 @@
|
|||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 class="grey-text">今致してる?</h2>
|
<h2>今致してる?</h2>
|
||||||
<div class="row">
|
<hr>
|
||||||
<form method="post" action="{{ route('checkin') }}" class="col s12 push-m3 m6">
|
<div class="row justify-content-center mt-5">
|
||||||
{{ csrf_field() }}
|
<div class="col-lg-6">
|
||||||
|
<form method="post" action="{{ route('checkin') }}">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
|
||||||
<div class="card-panel">
|
<div class="form-row">
|
||||||
<div class="row">
|
<div class="form-group col-sm-6">
|
||||||
<div class="input-field col s6">
|
<label for="date"><span class="oi oi-calendar"></span> 日付</label>
|
||||||
<i class="material-icons prefix">today</i>
|
<input id="date" name="date" type="text" class="form-control {{ $errors->has('date') || $errors->has('datetime') ? ' is-invalid' : '' }}"
|
||||||
<input id="date" name="date" class="validate{{ $errors->has('date') || $errors->has('datetime') ? ' invalid' : '' }}" type="text" pattern="^20[0-9]{2}/(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])$" value="{{ old('date') ?? date('Y/m/d') }}" required>
|
pattern="^20[0-9]{2}/(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])$" value="{{ old('date') ?? date('Y/m/d') }}" required>
|
||||||
<label for="date">日付</label>
|
|
||||||
|
|
||||||
@if ($errors->has('date'))
|
@if ($errors->has('date'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('date') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('date') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s6">
|
<div class="form-group col-sm-6">
|
||||||
<i class="material-icons prefix">schedule</i>
|
<label for="time"><span class="oi oi-clock"></span> 時刻</label>
|
||||||
<input id="time" name="time" class="validate{{ $errors->has('time') || $errors->has('datetime') ? ' invalid' : '' }}" type="text" pattern="^([01][0-9]|2[0-3]):[0-5][0-9]$" value="{{ old('time') ?? date('H:i') }}">
|
<input id="time" name="time" type="text" class="form-control {{ $errors->has('time') || $errors->has('datetime') ? ' is-invalid' : '' }}"
|
||||||
<label for="time">時刻</label>
|
pattern="^([01][0-9]|2[0-3]):[0-5][0-9]$" value="{{ old('time') ?? date('H:i') }}" required>
|
||||||
|
|
||||||
@if ($errors->has('time'))
|
@if ($errors->has('time'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('time') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('time') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@if ($errors->has('datetime'))
|
@if ($errors->has('datetime'))
|
||||||
<div class="col s12">
|
<div class="form-group col-sm-12" style="margin-top: -1rem;">
|
||||||
<span class="red-text"><strong>{{ $errors->first('datetime') }}</strong></span>
|
<small class="text-danger">{{ $errors->first('datetime') }}</small>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="input-field col s12">
|
</div>
|
||||||
<i class="material-icons prefix">label</i>
|
<div class="form-row">
|
||||||
<input id="tags" type="text" disabled placeholder="未実装です">
|
<div class="form-group col-sm-12">
|
||||||
<label for="tags">タグ</label>
|
<input name="tags" type="hidden" value="{{ old('tags') }}">
|
||||||
</div>
|
<label for="tagInput"><span class="oi oi-tags"></span> タグ</label>
|
||||||
{{--<div class="input-field col s12">--}}
|
<div class="form-control {{ $errors->has('tags') ? ' is-invalid' : '' }}">
|
||||||
{{--TODO: Material Chipsデータのシリアライズとかをjsで書いておく必要あるかも? --}}
|
<ul id="tags" class="list-inline d-inline"></ul>
|
||||||
{{--<i class="material-icons prefix">label</i>--}}
|
<input id="tagInput" type="text" style="outline: 0; border: 0;">
|
||||||
{{--<div class="chips"></div>--}}
|
</div>
|
||||||
{{--<label>タグ</label>--}}
|
<small class="form-text text-muted">
|
||||||
{{--</div>--}}
|
Tab, Enter, 半角スペースのいずれかで入力確定します。
|
||||||
<div class="input-field col s12">
|
</small>
|
||||||
<i class="material-icons prefix">comment</i>
|
|
||||||
<textarea id="note" name="note" class="materialize-textarea{{ $errors->has('note') ? ' invalid' : '' }}" data-length="500">{{ old('note') }}</textarea>
|
|
||||||
<label for="note">ノート</label>
|
|
||||||
|
|
||||||
@if ($errors->has('note'))
|
@if ($errors->has('tags'))
|
||||||
<span class="red-text"><strong>{{ $errors->first('note') }}</strong></span>
|
<div class="invalid-feedback">{{ $errors->first('tags') }}</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="form-row">
|
||||||
<div class="input-field col s12">
|
<div class="form-group col-sm-12">
|
||||||
<h6 class="grey-text">オプション</h6>
|
<label for="link"><span class="oi oi-link-intact"></span> オカズリンク</label>
|
||||||
<p>
|
<input id="link" name="link" type="text" class="form-control {{ $errors->has('link') ? ' is-invalid' : '' }}" placeholder="http://..." value="{{ old('link') }}">
|
||||||
<input id="is-private" name="is_private" class="filled-in" type="checkbox" {{ old('is_private') ? 'checked' : '' }}>
|
<small class="form-text text-muted">
|
||||||
<label for="is-private">チェックイン履歴を非公開にする</label>
|
オカズのURLを貼り付けて登録することができます。
|
||||||
</p>
|
</small>
|
||||||
|
@if ($errors->has('link'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('link') }}</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row center">
|
<div class="form-row">
|
||||||
<div class="input-field col s12">
|
<div class="form-group col-sm-12">
|
||||||
<button id="submit" class="btn waves-effect waves-light teal lighten-2" type="submit">チェックイン</button>
|
<label for="note"><span class="oi oi-comment-square"></span> ノート</label>
|
||||||
|
<textarea id="note" name="note" class="form-control {{ $errors->has('note') ? ' is-invalid' : '' }}" rows="4">{{ old('note') }}</textarea>
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
最大 500 文字
|
||||||
|
</small>
|
||||||
|
@if ($errors->has('note'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('note') }}</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="form-row mt-4">
|
||||||
</form>
|
<p>オプション</p>
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<div class="form-check">
|
||||||
|
<label class="custom-control custom-checkbox">
|
||||||
|
<input name="is_private" type="checkbox" class="custom-control-input" {{ old('is_private') ? 'checked' : '' }}>
|
||||||
|
<span class="custom-control-indicator"></span>
|
||||||
|
<span class="custom-control-description">
|
||||||
|
<span class="oi oi-lock-locked"></span> このチェックインを非公開にする
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="text-center">
|
||||||
|
<button class="btn btn-primary" type="submit">チェックイン</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('script')
|
@push('script')
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
function updateTags() {
|
||||||
$('#note').characterCounter();
|
$('input[name=tags]').val(
|
||||||
// $('.chips').material_chip();
|
$('#tags')
|
||||||
});
|
.find('li')
|
||||||
</script>
|
.map(function () {
|
||||||
@endsection
|
return $(this).data('value');
|
||||||
|
})
|
||||||
|
.get()
|
||||||
|
.join(' ')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function insertTag(value) {
|
||||||
|
$('#tags').append('<li class="list-inline-item badge badge-primary" style="cursor: pointer;" data-value="' + value + '"><span class="oi oi-tag"></span> ' + value + ' | x</li>');
|
||||||
|
}
|
||||||
|
var initTags = $('input[name=tags]').val();
|
||||||
|
if (initTags.trim() !== '') {
|
||||||
|
initTags.split(' ').forEach(function (value) {
|
||||||
|
insertTag(value);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#tagInput').on('keydown', function (ev) {
|
||||||
|
var $this = $(this);
|
||||||
|
if ($this.val().trim() !== '') {
|
||||||
|
switch (ev.key) {
|
||||||
|
case 'Tab':
|
||||||
|
case 'Enter':
|
||||||
|
case ' ':
|
||||||
|
insertTag($this.val().trim());
|
||||||
|
$this.val('');
|
||||||
|
updateTags();
|
||||||
|
ev.preventDefault();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else if (ev.key === 'Enter') {
|
||||||
|
// 誤爆防止
|
||||||
|
ev.preventDefault();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$('#tags')
|
||||||
|
.on('click', 'li', function (ev) {
|
||||||
|
$(this).remove();
|
||||||
|
updateTags();
|
||||||
|
})
|
||||||
|
.parent()
|
||||||
|
.on('click', function (ev) {
|
||||||
|
$('#tagInput').focus();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
165
resources/views/ejaculation/edit.blade.php
Normal file
165
resources/views/ejaculation/edit.blade.php
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
@extends('layouts.base')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<h2>チェックインの修正</h2>
|
||||||
|
<hr>
|
||||||
|
<div class="row justify-content-center mt-5">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<form method="post" action="{{ route('checkin.update', ['id' => $ejaculation->id]) }}">
|
||||||
|
{{ method_field('PUT') }}
|
||||||
|
{{ csrf_field() }}
|
||||||
|
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label for="date"><span class="oi oi-calendar"></span> 日付</label>
|
||||||
|
<input id="date" name="date" type="text" class="form-control {{ $errors->has('date') || $errors->has('datetime') ? ' is-invalid' : '' }}"
|
||||||
|
pattern="^20[0-9]{2}/(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])$" value="{{ old('date') ?? $ejaculation->ejaculated_date->format('Y/m/d') }}" required>
|
||||||
|
|
||||||
|
@if ($errors->has('date'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('date') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<div class="form-group col-sm-6">
|
||||||
|
<label for="time"><span class="oi oi-clock"></span> 時刻</label>
|
||||||
|
<input id="time" name="time" type="text" class="form-control {{ $errors->has('time') || $errors->has('datetime') ? ' is-invalid' : '' }}"
|
||||||
|
pattern="^([01][0-9]|2[0-3]):[0-5][0-9]$" value="{{ old('time') ?? $ejaculation->ejaculated_date->format('H:i') }}" required>
|
||||||
|
|
||||||
|
@if ($errors->has('time'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('time') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
@if ($errors->has('datetime'))
|
||||||
|
<div class="form-group col-sm-12" style="margin-top: -1rem;">
|
||||||
|
<small class="text-danger">{{ $errors->first('datetime') }}</small>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<input name="tags" type="hidden" value="{{ old('tags') ?? implode(' ', $ejaculation->tags->map(function ($v) { return $v->name; })->all()) }}">
|
||||||
|
<label for="tagInput"><span class="oi oi-tags"></span> タグ</label>
|
||||||
|
<div class="form-control {{ $errors->has('tags') ? ' is-invalid' : '' }}">
|
||||||
|
<ul id="tags" class="list-inline d-inline"></ul>
|
||||||
|
<input id="tagInput" type="text" style="outline: 0; border: 0;">
|
||||||
|
</div>
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
Tab, Enter, 半角スペースのいずれかで入力確定します。
|
||||||
|
</small>
|
||||||
|
|
||||||
|
@if ($errors->has('tags'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('tags') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{--
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<label for="tags"><span class="oi oi-tags"></span> タグ</label>
|
||||||
|
<input id="tags" type="text" class="form-control" placeholder="未実装です" disabled>
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
スペース区切りで複数入力できます。
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
--}}
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<label for="link"><span class="oi oi-link-intact"></span> オカズリンク</label>
|
||||||
|
<input id="link" name="link" type="text" class="form-control {{ $errors->has('link') ? ' is-invalid' : '' }}" placeholder="http://..." value="{{ old('link') ?? $ejaculation->link }}">
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
オカズのURLを貼り付けて登録することができます。
|
||||||
|
</small>
|
||||||
|
@if ($errors->has('link'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('link') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<label for="note"><span class="oi oi-comment-square"></span> ノート</label>
|
||||||
|
<textarea id="note" name="note" class="form-control {{ $errors->has('note') ? ' is-invalid' : '' }}" rows="4">{{ old('note') ?? $ejaculation->note }}</textarea>
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
最大 500 文字
|
||||||
|
</small>
|
||||||
|
@if ($errors->has('note'))
|
||||||
|
<div class="invalid-feedback">{{ $errors->first('note') }}</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-row mt-4">
|
||||||
|
<p>オプション</p>
|
||||||
|
<div class="form-group col-sm-12">
|
||||||
|
<div class="form-check">
|
||||||
|
<label class="custom-control custom-checkbox">
|
||||||
|
<input name="is_private" type="checkbox" class="custom-control-input" {{ (is_bool(old('is_private')) ? old('is_private') : $ejaculation->is_private) ? 'checked' : '' }}>
|
||||||
|
<span class="custom-control-indicator"></span>
|
||||||
|
<span class="custom-control-description">
|
||||||
|
<span class="oi oi-lock-locked"></span> このチェックインを非公開にする
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="text-center">
|
||||||
|
<button class="btn btn-primary" type="submit">チェックイン</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@push('script')
|
||||||
|
<script>
|
||||||
|
function updateTags() {
|
||||||
|
$('input[name=tags]').val(
|
||||||
|
$('#tags')
|
||||||
|
.find('li')
|
||||||
|
.map(function () {
|
||||||
|
return $(this).data('value');
|
||||||
|
})
|
||||||
|
.get()
|
||||||
|
.join(' ')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function insertTag(value) {
|
||||||
|
$('#tags').append('<li class="list-inline-item badge badge-primary" style="cursor: pointer;" data-value="' + value + '"><span class="oi oi-tag"></span> ' + value + ' | x</li>');
|
||||||
|
}
|
||||||
|
var initTags = $('input[name=tags]').val();
|
||||||
|
if (initTags.trim() !== '') {
|
||||||
|
initTags.split(' ').forEach(function (value) {
|
||||||
|
insertTag(value);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#tagInput').on('keydown', function (ev) {
|
||||||
|
var $this = $(this);
|
||||||
|
if ($this.val().trim() !== '') {
|
||||||
|
switch (ev.key) {
|
||||||
|
case 'Tab':
|
||||||
|
case 'Enter':
|
||||||
|
case ' ':
|
||||||
|
insertTag($this.val().trim());
|
||||||
|
$this.val('');
|
||||||
|
updateTags();
|
||||||
|
ev.preventDefault();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else if (ev.key === 'Enter') {
|
||||||
|
// 誤爆防止
|
||||||
|
ev.preventDefault();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$('#tags')
|
||||||
|
.on('click', 'li', function (ev) {
|
||||||
|
$(this).remove();
|
||||||
|
updateTags();
|
||||||
|
})
|
||||||
|
.parent()
|
||||||
|
.on('click', function (ev) {
|
||||||
|
$('#tagInput').focus();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
144
resources/views/ejaculation/show.blade.php
Normal file
144
resources/views/ejaculation/show.blade.php
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
@extends('layouts.base')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
@component('components.profile', ['user' => $user])
|
||||||
|
@endcomponent
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-8">
|
||||||
|
@if ($user->is_protected && !$user->isMe())
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<span class="oi oi-lock-locked"></span> このユーザはチェックイン履歴を公開していません。
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@elseif ($ejaculation->is_private && !$user->isMe())
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<span class="oi oi-lock-locked"></span> 非公開チェックインのため、表示できません
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<!-- span -->
|
||||||
|
<div class="d-flex justify-content-between">
|
||||||
|
<h5>{{ $ejaculatedSpan ?? '精通' }} <small class="text-muted">{{ $ejaculation->before_date }}{{ !empty($ejaculation->before_date) ? ' ~ ' : '' }}{{ $ejaculation->ejaculated_date->format('Y/m/d H:i') }}</small></h5>
|
||||||
|
@if ($user->isMe())
|
||||||
|
<div>
|
||||||
|
<a class="text-secondary timeline-action-item" href="{{ route('checkin.edit', ['id' => $ejaculation->id]) }}"><span class="oi oi-pencil" data-toggle="tooltip" data-placement="bottom" title="修正"></span></a>
|
||||||
|
<a class="text-secondary timeline-action-item" href="#" data-toggle="modal" data-target="#deleteCheckinModal" data-id="{{ $ejaculation->id }}" data-date="{{ $ejaculation->ejaculated_date }}"><span class="oi oi-trash" data-toggle="tooltip" data-placement="bottom" title="削除"></span></a>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<!-- tags -->
|
||||||
|
@if ($ejaculation->is_private || $ejaculation->tags->isNotEmpty())
|
||||||
|
<p class="mb-2">
|
||||||
|
@if ($ejaculation->is_private)
|
||||||
|
<span class="badge badge-warning"><span class="oi oi-lock-locked"></span> 非公開</span>
|
||||||
|
@endif
|
||||||
|
@foreach ($ejaculation->tags as $tag)
|
||||||
|
<span class="badge badge-secondary"><span class="oi oi-tag"></span> {{ $tag->name }}</span>
|
||||||
|
@endforeach
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
<!-- okazu link -->
|
||||||
|
@if (!empty($ejaculation->link))
|
||||||
|
<div class="card link-card mb-2 w-50 d-none" style="font-size: small;">
|
||||||
|
<a class="text-dark card-link" href="{{ $ejaculation->link }}" target="_blank" rel="noopener">
|
||||||
|
<img src="" alt="Thumbnail" class="card-img-top bg-secondary">
|
||||||
|
<div class="card-body">
|
||||||
|
<h6 class="card-title font-weight-bold">タイトル</h6>
|
||||||
|
<p class="card-text">コンテンツの説明文</p>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p class="mb-2">
|
||||||
|
<span class="oi oi-link-intact mr-1"></span><a href="{{ $ejaculation->link }}" target="_blank" rel="noopener">{{ $ejaculation->link }}</a>
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
<!-- note -->
|
||||||
|
@if (!empty($ejaculation->note))
|
||||||
|
<p class="mb-0 tis-word-wrap">
|
||||||
|
{!! Formatter::linkify(nl2br(e($ejaculation->note))) !!}
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@component('components.modal', ['id' => 'deleteCheckinModal'])
|
||||||
|
@slot('title')
|
||||||
|
削除確認
|
||||||
|
@endslot
|
||||||
|
<span class="date-label"></span> のチェックインを削除してもよろしいですか?
|
||||||
|
<form action="{{ route('checkin.destroy', ['id' => '@']) }}" method="post">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
{{ method_field('DELETE') }}
|
||||||
|
</form>
|
||||||
|
@slot('footer')
|
||||||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">キャンセル</button>
|
||||||
|
<button type="button" class="btn btn-danger">削除</button>
|
||||||
|
@endslot
|
||||||
|
@endcomponent
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@push('script')
|
||||||
|
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/holderjs@2.9.4/holder.min.js"></script>
|
||||||
|
<script>
|
||||||
|
$('#deleteCheckinModal').on('show.bs.modal', function (event) {
|
||||||
|
var target = $(event.relatedTarget);
|
||||||
|
var modal = $(this);
|
||||||
|
modal.find('.modal-body .date-label').text(target.data('date'));
|
||||||
|
modal.data('id', target.data('id'));
|
||||||
|
}).find('.btn-danger').on('click', function (event) {
|
||||||
|
var modal = $('#deleteCheckinModal');
|
||||||
|
var form = modal.find('form');
|
||||||
|
form.attr('action', form.attr('action').replace('@', modal.data('id')));
|
||||||
|
form.submit();
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.link-card').each(function () {
|
||||||
|
var $this = $(this);
|
||||||
|
$.ajax({
|
||||||
|
url: '{{ url('/api/checkin/card') }}',
|
||||||
|
method: 'get',
|
||||||
|
type: 'json',
|
||||||
|
data: {
|
||||||
|
url: $this.find('a').attr('href')
|
||||||
|
}
|
||||||
|
}).then(function (data) {
|
||||||
|
var $title = $this.find('.card-title');
|
||||||
|
var $desc = $this.find('.card-text');
|
||||||
|
var $image = $this.find('img');
|
||||||
|
|
||||||
|
if (data.title === '') {
|
||||||
|
$title.hide();
|
||||||
|
} else {
|
||||||
|
$title.text(data.title);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.description === '') {
|
||||||
|
$desc.hide();
|
||||||
|
} else {
|
||||||
|
$desc.text(data.description);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.image === '') {
|
||||||
|
$image.hide();
|
||||||
|
} else {
|
||||||
|
$image.attr('src', data.image);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.title !== '' || data.description !== '' || data.image !== '') {
|
||||||
|
$this.removeClass('d-none');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
@ -1,46 +1,40 @@
|
|||||||
@extends('layouts.base')
|
@extends('layouts.base')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="section no-pad-bot" id="index-banner">
|
<div class="jumbotron jumbotron-fluid">
|
||||||
<div class="container">
|
<div class="container text-center">
|
||||||
<br><br>
|
<h1 class="display-3">{{ config('app.name', 'Tissue') }}</h1>
|
||||||
<h1 class="header center grey-text">{{ config('app.name', 'Tissue') }}</h1>
|
<p class="lead mb-2">気持ちよくティッシュを使った、そのあとの感想戦。</p>
|
||||||
<div class="row center">
|
<p class="text-secondary">あるいは遺伝子の墓場</p>
|
||||||
<h5 class="header col s12 light">気持ちよくティッシュを使った、そのあとの感想戦。</h5>
|
<a href="{{ route('register') }}" class="btn btn-primary btn-lg mt-4" role="button">今すぐ登録</a>
|
||||||
<p class="col s12">あるいは遺伝子の墓場</p>
|
|
||||||
</div>
|
|
||||||
<div class="row center">
|
|
||||||
<a href="{{ url('/register') }}" class="btn-large waves-effect waves-light teal lighten-2">今すぐ登録</a>
|
|
||||||
</div>
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="section">
|
<div class="row">
|
||||||
<div class="row">
|
<div class="col-lg-4">
|
||||||
<div class="col s12 m4">
|
<h1 class="text-center text-secondary display-3"><span class="oi oi-pencil"></span></h1>
|
||||||
<div class="icon-block">
|
<h4 class="text-center my-4">記録</h4>
|
||||||
<h2 class="center teal-text"><i class="large material-icons">mode_edit</i></h2>
|
<p>気持ちよかったその思い出を記録しましょう。楽しんだ時間や使ったオカズ、感想などを記録することができます。</p>
|
||||||
<h5 class="center">記録</h5>
|
|
||||||
<p class="light">気持ちよかったその思い出を記録しましょう。楽しんだ時間や使ったオカズ、感想などを記録することができます。</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col s12 m4">
|
|
||||||
<div class="icon-block">
|
|
||||||
<h2 class="center teal-text"><i class="large material-icons">show_chart</i></h2>
|
|
||||||
<h5 class="center">統計</h5>
|
|
||||||
<p class="light">記録を続けていくことで、ティッシュを使う頻度や時間の傾向、あるいはあなたのお気に入りのオカズが見えてくるようになります。我慢大会をするのも、猿を目指すのもまた一興。</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col s12 m4">
|
|
||||||
<div class="icon-block">
|
|
||||||
<h2 class="center teal-text"><i class="large material-icons">public</i></h2>
|
|
||||||
<h5 class="center">ソーシャル</h5>
|
|
||||||
<p class="light">ティッシュが蒸発するような人気のオカズや、底なしの体力を競い合うランキングなど、Webならではのサービスも用意<s class="grey-text">しています</s>したいですね。</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<h1 class="text-center text-secondary display-3"><span class="oi oi-graph"></span></h1>
|
||||||
|
<h4 class="text-center my-4">統計</h4>
|
||||||
|
<p>記録を続けていくことで、ティッシュを使う頻度や時間の傾向、あるいはあなたのお気に入りのオカズが見えてくるようになります。我慢大会をするのも、猿を目指すのもまた一興。</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<h1 class="text-center text-secondary display-3"><span class="oi oi-globe"></span></h1>
|
||||||
|
<h4 class="text-center my-4">ソーシャル</h4>
|
||||||
|
<p>ティッシュが蒸発するような人気のオカズや、底なしの体力を競い合うランキングなど、Webならではのサービスも用意<s class="grey-text">しています</s>したいですね。</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h4 class="mt-5 mb-4">お知らせ</h4>
|
||||||
|
<div class="list-group list-group-flush">
|
||||||
|
@foreach($informations as $info)
|
||||||
|
<a class="list-group-item" href="{{ route('info.show', ['id' => $info->id]) }}">
|
||||||
|
<span class="badge {{ $categories[$info->category]['class'] }}">{{ $categories[$info->category]['label'] }}</span> {{ $info->title }} <small class="text-secondary">- {{ $info->created_at->format('n月j日') }}</small>
|
||||||
|
</a>
|
||||||
|
@endforeach
|
||||||
|
<a href="{{ route('info') }}" class="list-group-item text-right">お知らせ一覧 »</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
@ -1,91 +1,120 @@
|
|||||||
@extends('layouts.base')
|
@extends('layouts.base')
|
||||||
|
|
||||||
@section('head')
|
@push('head')
|
||||||
<style>
|
@endpush
|
||||||
#ejaculations .title {
|
|
||||||
font-size: large;
|
|
||||||
}
|
|
||||||
#ejaculations .note {
|
|
||||||
margin: 8px 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@endsection
|
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12 m4">
|
<div class="col-lg-4">
|
||||||
<div class="card">
|
@component('components.profile', ['user' => Auth::user()])
|
||||||
<div class="card-content">
|
@endcomponent
|
||||||
<span class="card-title">{{ Auth::user()->display_name }}</span>
|
|
||||||
<p>@{{ Auth::user()->name }}</p>
|
|
||||||
<hr>
|
|
||||||
<p class="valign-wrapper"><i class="material-icons">av_timer</i><b>現在のセッション</b></p>
|
|
||||||
@if (isset($currentSession))
|
|
||||||
<p>{{ $currentSession }}経過</p>
|
|
||||||
<p>({{ $ejaculations[0]['ejaculated_date'] }} にリセット)</p>
|
|
||||||
@else
|
|
||||||
<p>計測がまだ始まっていません</p>
|
|
||||||
<p>(一度チェックインすると始まります)</p>
|
|
||||||
@endif
|
|
||||||
@if (isset($summary) && $summary[0]->total_checkins > 0)
|
|
||||||
<hr>
|
|
||||||
<p class="valign-wrapper"><i class="material-icons">assessment</i><b>概況</b></p>
|
|
||||||
<p>平均記録: {{ Formatter::formatInterval($summary[0]->average) }}</p>
|
|
||||||
<p>最長記録: {{ Formatter::formatInterval($summary[0]->longest) }}</p>
|
|
||||||
<p>最短記録: {{ Formatter::formatInterval($summary[0]->shortest) }}</p>
|
|
||||||
<p>合計時間: {{ Formatter::formatInterval($summary[0]->total_times) }}</p>
|
|
||||||
<p>通算回数: {{ $summary[0]->total_checkins }}回</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-content red lighten-1">
|
|
||||||
<span class="card-title">オープンβテスト中</span>
|
|
||||||
<p>予告なくサービスの中断や大幅な機能変更、時にはデータの損失が発生する可能性があります。</p>
|
|
||||||
<p>特に、データについてはなるべく保持できるよう努めますが、どうしようもないことも時には発生しますので予めご了承ください。</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col s12 m8">
|
<div class="col-lg-8">
|
||||||
<ul id="ejaculations" class="collection z-depth-1">
|
<div class="card mb-4">
|
||||||
@forelse ($ejaculations as $ejaculation)
|
<div class="card-header">サイトからのお知らせ</div>
|
||||||
@if ($loop->first)
|
<div class="list-group list-group-flush">
|
||||||
<li class="collection-item">
|
@foreach($informations as $info)
|
||||||
<span class="title"><b>最近のチェックイン</b></span>
|
<a class="list-group-item" href="{{ route('info.show', ['id' => $info->id]) }}">
|
||||||
</li>
|
<span class="badge {{ $categories[$info->category]['class'] }}">{{ $categories[$info->category]['label'] }}</span> {{ $info->title }} <small class="text-secondary">- {{ $info->created_at->format('n月j日') }}</small>
|
||||||
@endif
|
</a>
|
||||||
|
@endforeach
|
||||||
<li class="collection-item">
|
<a href="{{ route('info') }}" class="list-group-item text-right">お知らせ一覧 »</a>
|
||||||
<span class="title">{{ $ejaculation['ejaculated_span'] ?? '精通' }}</span> <span class="grey-text">{{ $ejaculation['before_date'] }}{{ !empty($ejaculation['before_date']) ? ' ~ ' : '' }}{{ $ejaculation['ejaculated_date'] }}</span>
|
</div>
|
||||||
<div class="note">
|
</div>
|
||||||
{{ $ejaculation['note'] }}
|
@if (!empty($publicLinkedEjaculations))
|
||||||
</div>
|
<div class="card mb-4">
|
||||||
@if ($ejaculation['is_private'])
|
<div class="card-header">お惣菜コーナー</div>
|
||||||
<span class="grey-text"><i class="material-icons tiny">lock</i> 非公開チェックイン</span>
|
<div class="card-body">
|
||||||
@endif
|
<p class="card-text">最近の公開チェックインから、オカズリンク付きのものを表示しています。</p>
|
||||||
{{--<div class="chip">結月ゆかり</div>
|
</div>
|
||||||
<div class="chip">琴葉茜</div>--}}
|
<ul class="list-group list-group-flush">
|
||||||
</li>
|
@foreach ($publicLinkedEjaculations as $ejaculation)
|
||||||
|
<li class="list-group-item pt-3 pb-3">
|
||||||
@if ($loop->index === 7)
|
<!-- span -->
|
||||||
<li class="collection-item">
|
<div class="d-flex justify-content-between">
|
||||||
<div class="center">
|
<h5>
|
||||||
<a href="{{ route('profile') }}">もっと見る</a>
|
<a href="{{ route('user.profile', ['id' => $ejaculation->user_id]) }}" class="text-dark"><img src="{{ $ejaculation->user->getProfileImageUrl(30) }}" width="30" height="30" class="rounded d-inline-block align-bottom"> @{{ $ejaculation->user->name }}</a>
|
||||||
</div>
|
<a href="{{ route('checkin.show', ['id' => $ejaculation->id]) }}" class="text-muted"><small>{{ $ejaculation->ejaculated_date->format('Y/m/d H:i') }}</small></a>
|
||||||
</li>
|
</h5>
|
||||||
@break
|
</div>
|
||||||
@endif
|
<!-- tags -->
|
||||||
@empty
|
@if ($ejaculation->tags->isNotEmpty())
|
||||||
<li class="collection-item">
|
<p class="mb-2">
|
||||||
<div class="note">
|
@foreach ($ejaculation->tags as $tag)
|
||||||
まだチェックインがありません。右上のチェックインボタンから今すぐ精通!
|
<span class="badge badge-secondary"><span class="oi oi-tag"></span> {{ $tag->name }}</span>
|
||||||
</div>
|
@endforeach
|
||||||
</li>
|
</p>
|
||||||
@endforelse
|
@endif
|
||||||
</ul>
|
<!-- okazu link -->
|
||||||
|
@if (!empty($ejaculation->link))
|
||||||
|
<div class="card link-card mb-2 w-50 d-none" style="font-size: small;">
|
||||||
|
<a class="text-dark card-link" href="{{ $ejaculation->link }}" target="_blank" rel="noopener">
|
||||||
|
<img src="" alt="Thumbnail" class="card-img-top bg-secondary">
|
||||||
|
<div class="card-body">
|
||||||
|
<h6 class="card-title font-weight-bold">タイトル</h6>
|
||||||
|
<p class="card-text">コンテンツの説明文</p>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p class="mb-2">
|
||||||
|
<span class="oi oi-link-intact mr-1"></span><a href="{{ $ejaculation->link }}" target="_blank" rel="noopener">{{ $ejaculation->link }}</a>
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
<!-- note -->
|
||||||
|
@if (!empty($ejaculation->note))
|
||||||
|
<p class="mb-0 tis-word-wrap">
|
||||||
|
{!! Formatter::linkify(nl2br(e($ejaculation->note))) !!}
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@push('script')
|
||||||
|
<script>
|
||||||
|
$('.link-card').each(function () {
|
||||||
|
var $this = $(this);
|
||||||
|
$.ajax({
|
||||||
|
url: '{{ url('/api/checkin/card') }}',
|
||||||
|
method: 'get',
|
||||||
|
type: 'json',
|
||||||
|
data: {
|
||||||
|
url: $this.find('a').attr('href')
|
||||||
|
}
|
||||||
|
}).then(function (data) {
|
||||||
|
var $title = $this.find('.card-title');
|
||||||
|
var $desc = $this.find('.card-text');
|
||||||
|
var $image = $this.find('img');
|
||||||
|
|
||||||
|
if (data.title === '') {
|
||||||
|
$title.hide();
|
||||||
|
} else {
|
||||||
|
$title.text(data.title);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.description === '') {
|
||||||
|
$desc.hide();
|
||||||
|
} else {
|
||||||
|
$desc.text(data.description);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.image === '') {
|
||||||
|
$image.hide();
|
||||||
|
} else {
|
||||||
|
$image.attr('src', data.image);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.title !== '' || data.description !== '' || data.image !== '') {
|
||||||
|
$this.removeClass('d-none');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
32
resources/views/info/index.blade.php
Normal file
32
resources/views/info/index.blade.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
@extends('layouts.base')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<h2>サイトからのお知らせ</h2>
|
||||||
|
<hr>
|
||||||
|
<div class="list-group">
|
||||||
|
@foreach($informations as $info)
|
||||||
|
<a class="list-group-item border-bottom-only pt-3 pb-3" href="{{ route('info.show', ['id' => $info->id]) }}">
|
||||||
|
<span class="badge {{ $categories[$info->category]['class'] }}">{{ $categories[$info->category]['label'] }}</span> {{ $info->title }} <small class="text-secondary">- {{ $info->created_at->format('n月j日') }}</small>
|
||||||
|
</a>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
|
<ul class="pagination mt-4 justify-content-center">
|
||||||
|
<li class="page-item {{ $informations->currentPage() === 1 ? 'disabled' : '' }}">
|
||||||
|
<a class="page-link" href="{{ $informations->previousPageUrl() }}" aria-label="Previous">
|
||||||
|
<span aria-hidden="true">«</span>
|
||||||
|
<span class="sr-only">Previous</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@for ($i = 1; $i <= $informations->lastPage(); $i++)
|
||||||
|
<li class="page-item {{ $i === $informations->currentPage() ? 'active' : '' }}"><a href="{{ $informations->url($i) }}" class="page-link">{{ $i }}</a></li>
|
||||||
|
@endfor
|
||||||
|
<li class="page-item {{ $informations->currentPage() === $informations->lastPage() ? 'disabled' : '' }}">
|
||||||
|
<a class="page-link" href="{{ $informations->nextPageUrl() }}" aria-label="Next">
|
||||||
|
<span aria-hidden="true">»</span>
|
||||||
|
<span class="sr-only">Next</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
@endsection
|
15
resources/views/info/show.blade.php
Normal file
15
resources/views/info/show.blade.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
@extends('layouts.base')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<nav aria-label="breadcrumb" role="navigation">
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li class="breadcrumb-item"><a href="{{ route('info') }}">サイトからのお知らせ</a></li>
|
||||||
|
<li class="breadcrumb-item active" aria-current="page">{{ $info->created_at->format('Y年n月j日') }}</li>
|
||||||
|
</ol>
|
||||||
|
</nav>
|
||||||
|
<h2><span class="badge {{ $category['class'] }}">{{ $category['label'] }}</span> {{ $info->title }}</h2>
|
||||||
|
<p class="text-secondary"><span class="oi oi-calendar"></span> {{ $info->created_at->format('Y年n月j日') }}</p>
|
||||||
|
@parsedown($info->content)
|
||||||
|
</div>
|
||||||
|
@endsection
|
@ -1,80 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html 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">
|
|
||||||
|
|
||||||
<!-- CSRF Token -->
|
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
||||||
|
|
||||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
|
||||||
|
|
||||||
<!-- Styles -->
|
|
||||||
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="app">
|
|
||||||
<nav class="navbar navbar-default navbar-static-top">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
|
|
||||||
<!-- Collapsed Hamburger -->
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
|
|
||||||
<span class="sr-only">Toggle Navigation</span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<!-- Branding Image -->
|
|
||||||
<a class="navbar-brand" href="{{ url('/') }}">
|
|
||||||
{{ config('app.name', 'Laravel') }}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="app-navbar-collapse">
|
|
||||||
<!-- Left Side Of Navbar -->
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<!-- Right Side Of Navbar -->
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<!-- Authentication Links -->
|
|
||||||
@if (Auth::guest())
|
|
||||||
<li><a href="{{ route('login') }}">Login</a></li>
|
|
||||||
<li><a href="{{ route('register') }}">Register</a></li>
|
|
||||||
@else
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
|
||||||
{{ Auth::user()->name }} <span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="{{ route('logout') }}"
|
|
||||||
onclick="event.preventDefault();
|
|
||||||
document.getElementById('logout-form').submit();">
|
|
||||||
Logout
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
|
||||||
{{ csrf_field() }}
|
|
||||||
</form>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
@endif
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
@yield('content')
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Scripts -->
|
|
||||||
<script src="{{ asset('js/app.js') }}"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -3,78 +3,106 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
|
|
||||||
<title>{{ config('app.name', 'Tissue') }}</title>
|
<title>{{ config('app.name', 'Tissue') }}</title>
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
<link href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet">
|
||||||
<link href="{{ asset('css/materialize.min.css') }}" rel="stylesheet" media="screen,projection">
|
<link href="{{ asset('css/open-iconic-bootstrap.min.css') }}" rel="stylesheet">
|
||||||
|
<link href="{{ asset('css/tissue.css') }}" rel="stylesheet">
|
||||||
|
|
||||||
@yield('head')
|
@stack('head')
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="grey lighten-1" role="navigation">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light {{ !Auth::check() && Route::currentRouteName() === 'home' ? '' : 'mb-4'}}">
|
||||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||||
{{ csrf_field() }}
|
{{ csrf_field() }}
|
||||||
</form>
|
</form>
|
||||||
@if (Auth::check())
|
|
||||||
<ul id="accountMenu" class="dropdown-content">
|
|
||||||
<li><a href="{{ route('profile') }}">プロフィール</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">ログアウト</a></li>
|
|
||||||
</ul>
|
|
||||||
@endif
|
|
||||||
<div class="nav-wrapper container">
|
|
||||||
<a id="logo-container" href="{{ route('home') }}" class="brand-logo">{{ config('app.name', 'Tissue') }}</a>
|
|
||||||
@if (Auth::guest())
|
|
||||||
<ul class="right hide-on-med-and-down">
|
|
||||||
<li><a href="{{ route('login') }}">ログイン</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul id="nav-mobile" class="side-nav">
|
<div class="container">
|
||||||
<li><a href="{{ route('login') }}">ログイン</a></li>
|
<a href="{{ route('home') }}" class="navbar-brand">{{ config('app.name', 'Tissue') }}</a>
|
||||||
</ul>
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@else
|
<span class="navbar-toggler-icon"></span>
|
||||||
<ul class="right">
|
</button>
|
||||||
<li><a class="waves-effect waves-light btn" href="{{ route('checkin') }}"><i class="material-icons left hide-on-med-and-down">create</i> チェックイン</a></li>
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
</ul>
|
@auth
|
||||||
<ul class="right hide-on-med-and-down">
|
<ul class="navbar-nav mr-auto">
|
||||||
<li><a class="dropdown-button" data-activates="accountMenu" href="#">{{ Auth::user()->display_name }} さん<i class="material-icons right">arrow_drop_down</i></a></li>
|
<li class="nav-item {{ stripos(Route::currentRouteName(), 'home') === 0 ? 'active' : ''}}">
|
||||||
</ul>
|
<a class="nav-link" href="{{ route('home') }}">ホーム</a>
|
||||||
|
</li>
|
||||||
<ul id="nav-mobile" class="side-nav">
|
<li class="nav-item {{ stripos(Route::currentRouteName(), 'user.profile') === 0 ? 'active' : ''}}">
|
||||||
<li><a href="#">{{ Auth::user()->display_name }} さん</a></li>
|
<a class="nav-link" href="{{ route('user.profile', ['name' => Auth::user()->name]) }}">タイムライン</a>
|
||||||
<li><a href="{{ route('profile') }}">プロフィール</a></li>
|
</li>
|
||||||
<li class="divider"></li>
|
<li class="nav-item {{ stripos(Route::currentRouteName(), 'user.stats') === 0 ? 'active' : ''}}">
|
||||||
<li><a href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">ログアウト</a></li>
|
<a class="nav-link" href="{{ route('user.stats', ['name' => Auth::user()->name]) }}">グラフ</a>
|
||||||
</ul>
|
</li>
|
||||||
@endif
|
<li class="nav-item {{ stripos(Route::currentRouteName(), 'user.okazu') === 0 ? 'active' : ''}}">
|
||||||
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
|
<a class="nav-link" href="{{ route('user.okazu', ['name' => Auth::user()->name]) }}">オカズ</a>
|
||||||
|
</li>
|
||||||
|
{{--<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ route('ranking') }}">ランキング</a>
|
||||||
|
</li>--}}
|
||||||
|
</ul>
|
||||||
|
<ul class="navbar-nav">
|
||||||
|
<li class="nav-item dropdown">
|
||||||
|
<a href="#" class="nav-link dropdown-toggle" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
<img src="{{ Auth::user()->getProfileImageUrl(30) }}" width="30" height="30" class="rounded d-inline-block align-top mr-2">
|
||||||
|
{{ Auth::user()->display_name }} さん
|
||||||
|
</a>
|
||||||
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||||
|
{{--<a href="#" class="dropdown-item">設定</a>--}}
|
||||||
|
<a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">ログアウト</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<form class="form-inline">
|
||||||
|
<a href="{{ route('checkin') }}" class="btn btn-outline-success">チェックイン</a>
|
||||||
|
</form>
|
||||||
|
@endauth
|
||||||
|
@guest
|
||||||
|
<form class="form-inline ml-auto">
|
||||||
|
<a href="{{ route('login') }}" class="btn btn-outline-secondary">ログイン</a>
|
||||||
|
</form>
|
||||||
|
@endguest
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@if (session('status'))
|
||||||
|
<div class="container">
|
||||||
|
<div id="status" class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
|
{{ session('status') }}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
@yield('content')
|
@yield('content')
|
||||||
<footer class="page-footer grey">
|
<footer class="tis-footer mt-4">
|
||||||
<!--<div class="container"></div>-->
|
<div class="container p-3 p-md-4">
|
||||||
<div class="footer-copyright">
|
<p>Copyright (c) 2017 shikorism.net</p>
|
||||||
<div class="container">
|
<ul class="list-inline">
|
||||||
Copyright (c) 2017 shikorism.net
|
<li class="list-inline-item"><a href="https://github.com/shibafu528" class="text-dark">Admin(@shibafu528)</a></li>
|
||||||
</div>
|
<li class="list-inline-item"><a href="https://github.com/shikorism/tissue" class="text-dark">GitHub</a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||||
<script type="text/javascript" src="{{ asset('js/materialize.min.js') }}"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
|
||||||
|
<script type="text/javascript" src="{{ asset('js/bootstrap.min.js') }}"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$('.button-collapse').sideNav();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
$('.dropdown-button').dropdown();
|
$('.alert').alert();
|
||||||
$('ul.tabs').tabs();
|
|
||||||
@if (session('status'))
|
@if (session('status'))
|
||||||
Materialize.toast('{{ session("status") }}', 5000);
|
setTimeout(function () {
|
||||||
|
$('#status').alert('close');
|
||||||
|
}, 5000);
|
||||||
@endif
|
@endif
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@yield('script')
|
@stack('script')
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
28
resources/views/user/base.blade.php
Normal file
28
resources/views/user/base.blade.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
@extends('layouts.base')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
@component('components.profile', ['user' => $user])
|
||||||
|
@endcomponent
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link {{ Route::currentRouteName() === 'user.profile' ? 'active' : '' }}" href="{{ route('user.profile', ['name' => $user->name]) }}">タイムライン</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link {{ Route::currentRouteName() === 'user.stats' ? 'active' : '' }}" href="{{ route('user.stats', ['name' => $user->name]) }}">グラフ</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link {{ Route::currentRouteName() === 'user.okazu' ? 'active' : '' }}" href="{{ route('user.okazu', ['name' => $user->name]) }}">オカズ</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div class="tab-content">
|
||||||
|
@yield('tab-content')
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endsection
|
10
resources/views/user/okazu.blade.php
Normal file
10
resources/views/user/okazu.blade.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
@extends('user.base')
|
||||||
|
|
||||||
|
@section('tab-content')
|
||||||
|
@if ($user->is_protected && !$user->isMe())
|
||||||
|
<p class="mt-4">
|
||||||
|
<span class="oi oi-lock-locked"></span> このユーザはチェックイン履歴を公開していません。
|
||||||
|
</p>
|
||||||
|
@else
|
||||||
|
@endif
|
||||||
|
@endsection
|
@ -1,94 +1,148 @@
|
|||||||
@extends('layouts.base')
|
@extends('user.base')
|
||||||
|
|
||||||
@section('head')
|
@section('tab-content')
|
||||||
<style>
|
@if ($user->is_protected && !$user->isMe())
|
||||||
#ejaculations .title {
|
<p class="mt-4">
|
||||||
font-size: large;
|
<span class="oi oi-lock-locked"></span> このユーザはチェックイン履歴を公開していません。
|
||||||
}
|
</p>
|
||||||
#ejaculations .note {
|
@else
|
||||||
margin: 8px 0;
|
<ul class="list-group">
|
||||||
}
|
@forelse ($ejaculations as $ejaculation)
|
||||||
.no-border {
|
<li class="list-group-item border-bottom-only pt-3 pb-3">
|
||||||
border: none;
|
<!-- span -->
|
||||||
}
|
<div class="d-flex justify-content-between">
|
||||||
.pagination {
|
<h5>{{ $ejaculation->ejaculated_span ?? '精通' }} <a href="{{ route('checkin.show', ['id' => $ejaculation->id]) }}" class="text-muted"><small>{{ $ejaculation->before_date }}{{ !empty($ejaculation->before_date) ? ' ~ ' : '' }}{{ $ejaculation->ejaculated_date->format('Y/m/d H:i') }}</small></a></h5>
|
||||||
padding-bottom: 1rem;
|
@if ($user->isMe())
|
||||||
}
|
<div>
|
||||||
</style>
|
<a class="text-secondary timeline-action-item" href="{{ route('checkin.edit', ['id' => $ejaculation->id]) }}"><span class="oi oi-pencil" data-toggle="tooltip" data-placement="bottom" title="修正"></span></a>
|
||||||
@endsection
|
<a class="text-secondary timeline-action-item" href="#" data-toggle="modal" data-target="#deleteCheckinModal" data-id="{{ $ejaculation->id }}" data-date="{{ $ejaculation->ejaculated_date }}"><span class="oi oi-trash" data-toggle="tooltip" data-placement="bottom" title="削除"></span></a>
|
||||||
|
|
||||||
@section('content')
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col s12 m4">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-content">
|
|
||||||
<span class="card-title">{{ $user->display_name }}</span>
|
|
||||||
<p>@{{ $user->name }}</p>
|
|
||||||
<hr>
|
|
||||||
<p class="valign-wrapper"><i class="material-icons">av_timer</i><b>現在のセッション</b></p>
|
|
||||||
@if (isset($currentSession))
|
|
||||||
<p>{{ $currentSession }}経過</p>
|
|
||||||
<p>({{ $ejaculations[0]['ejaculated_date'] }} にリセット)</p>
|
|
||||||
@else
|
|
||||||
<p>計測がまだ始まっていません</p>
|
|
||||||
@if (Auth::check() && $user->id === Auth::id())
|
|
||||||
<p>(一度チェックインすると始まります)</p>
|
|
||||||
@endif
|
|
||||||
@endif
|
|
||||||
@if (isset($summary) && $summary[0]->total_checkins > 0)
|
|
||||||
<hr>
|
|
||||||
<p class="valign-wrapper"><i class="material-icons">assessment</i><b>概況</b></p>
|
|
||||||
<p>平均記録: {{ Formatter::formatInterval($summary[0]->average) }}</p>
|
|
||||||
<p>最長記録: {{ Formatter::formatInterval($summary[0]->longest) }}</p>
|
|
||||||
<p>最短記録: {{ Formatter::formatInterval($summary[0]->shortest) }}</p>
|
|
||||||
<p>合計時間: {{ Formatter::formatInterval($summary[0]->total_times) }}</p>
|
|
||||||
<p>通算回数: {{ $summary[0]->total_checkins }}回</p>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col s12 m8">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-tabs">
|
|
||||||
<ul class="tabs tabs-fixed-width">
|
|
||||||
<li class="tab col s6"><a href="#ejaculations">チェックイン</a></li>
|
|
||||||
{{--<li class="tab col s6"><a href="profile-graph.html" target="_self">グラフ</a></li>--}}
|
|
||||||
</ul>
|
|
||||||
<div class="card-panel no-padding">
|
|
||||||
<ul id="ejaculations" class="collection no-border">
|
|
||||||
@forelse ($ejaculations as $ejaculation)
|
|
||||||
<li class="collection-item">
|
|
||||||
<span class="title">{{ $ejaculation['ejaculated_span'] ?? '精通' }}</span> <span class="grey-text">{{ $ejaculation['before_date'] }}{{ !empty($ejaculation['before_date']) ? ' ~ ' : '' }}{{ $ejaculation['ejaculated_date'] }}</span>
|
|
||||||
<div class="note">
|
|
||||||
{{ $ejaculation['note'] }}
|
|
||||||
</div>
|
|
||||||
@if ($ejaculation['is_private'])
|
|
||||||
<span class="grey-text"><i class="material-icons tiny">lock</i> 非公開チェックイン</span>
|
|
||||||
@endif
|
|
||||||
{{--<div class="chip">結月ゆかり</div>
|
|
||||||
<div class="chip">琴葉茜</div>--}}
|
|
||||||
</li>
|
|
||||||
@empty
|
|
||||||
<li class="collection-item">
|
|
||||||
<div class="note">
|
|
||||||
まだチェックインしていません。
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
@endforelse
|
|
||||||
</ul>
|
|
||||||
<ul class="pagination center">
|
|
||||||
<li class="{{ $ejaculations->currentPage() === 1 ? 'disabled' : 'waves-effect' }}"><a href="{{ $ejaculations->previousPageUrl() }}"><i class="material-icons">chevron_left</i></a></li>
|
|
||||||
@for ($i = 1; $i <= $ejaculations->lastPage(); $i++)
|
|
||||||
<li class="{{ $i === $ejaculations->currentPage() ? 'active' : 'waves-effect' }}"><a href="{{ $ejaculations->url($i) }}">{{ $i }}</a></li>
|
|
||||||
@endfor
|
|
||||||
<li class="{{ $ejaculations->currentPage() === $ejaculations->lastPage() ? 'disabled' : 'waves-effect' }}"><a href="{{ $ejaculations->nextPageUrl() }}"><i class="material-icons">chevron_right</i></a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- tags -->
|
||||||
</div>
|
@if ($ejaculation->is_private || $ejaculation->tags->isNotEmpty())
|
||||||
</div>
|
<p class="mb-2">
|
||||||
|
@if ($ejaculation->is_private)
|
||||||
|
<span class="badge badge-warning"><span class="oi oi-lock-locked"></span> 非公開</span>
|
||||||
|
@endif
|
||||||
|
@foreach ($ejaculation->tags as $tag)
|
||||||
|
<span class="badge badge-secondary"><span class="oi oi-tag"></span> {{ $tag->name }}</span>
|
||||||
|
@endforeach
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
<!-- okazu link -->
|
||||||
|
@if (!empty($ejaculation->link))
|
||||||
|
<div class="card link-card mb-2 w-50 d-none" style="font-size: small;">
|
||||||
|
<a class="text-dark card-link" href="{{ $ejaculation->link }}" target="_blank" rel="noopener">
|
||||||
|
<img src="" alt="Thumbnail" class="card-img-top bg-secondary">
|
||||||
|
<div class="card-body">
|
||||||
|
<h6 class="card-title font-weight-bold">タイトル</h6>
|
||||||
|
<p class="card-text">コンテンツの説明文</p>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p class="mb-2">
|
||||||
|
<span class="oi oi-link-intact mr-1"></span><a href="{{ $ejaculation->link }}" target="_blank" rel="noopener">{{ $ejaculation->link }}</a>
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
<!-- note -->
|
||||||
|
@if (!empty($ejaculation->note))
|
||||||
|
<p class="mb-0 tis-word-wrap">
|
||||||
|
{!! Formatter::linkify(nl2br(e($ejaculation->note))) !!}
|
||||||
|
</p>
|
||||||
|
@endif
|
||||||
|
</li>
|
||||||
|
@empty
|
||||||
|
<li class="list-group-item border-bottom-only">
|
||||||
|
<p>まだチェックインしていません。</p>
|
||||||
|
</li>
|
||||||
|
@endforelse
|
||||||
|
</ul>
|
||||||
|
<ul class="pagination mt-4 justify-content-center">
|
||||||
|
<li class="page-item {{ $ejaculations->currentPage() === 1 ? 'disabled' : '' }}">
|
||||||
|
<a class="page-link" href="{{ $ejaculations->previousPageUrl() }}" aria-label="Previous">
|
||||||
|
<span aria-hidden="true">«</span>
|
||||||
|
<span class="sr-only">Previous</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@for ($i = 1; $i <= $ejaculations->lastPage(); $i++)
|
||||||
|
<li class="page-item {{ $i === $ejaculations->currentPage() ? 'active' : '' }}"><a href="{{ $ejaculations->url($i) }}" class="page-link">{{ $i }}</a></li>
|
||||||
|
@endfor
|
||||||
|
<li class="page-item {{ $ejaculations->currentPage() === $ejaculations->lastPage() ? 'disabled' : '' }}">
|
||||||
|
<a class="page-link" href="{{ $ejaculations->nextPageUrl() }}" aria-label="Next">
|
||||||
|
<span aria-hidden="true">»</span>
|
||||||
|
<span class="sr-only">Next</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
@endif
|
||||||
|
|
||||||
</div>
|
@component('components.modal', ['id' => 'deleteCheckinModal'])
|
||||||
|
@slot('title')
|
||||||
|
削除確認
|
||||||
|
@endslot
|
||||||
|
<span class="date-label"></span> のチェックインを削除してもよろしいですか?
|
||||||
|
<form action="{{ route('checkin.destroy', ['id' => '@']) }}" method="post">
|
||||||
|
{{ csrf_field() }}
|
||||||
|
{{ method_field('DELETE') }}
|
||||||
|
</form>
|
||||||
|
@slot('footer')
|
||||||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">キャンセル</button>
|
||||||
|
<button type="button" class="btn btn-danger">削除</button>
|
||||||
|
@endslot
|
||||||
|
@endcomponent
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@push('script')
|
||||||
|
<script>
|
||||||
|
$('#deleteCheckinModal').on('show.bs.modal', function (event) {
|
||||||
|
var target = $(event.relatedTarget);
|
||||||
|
var modal = $(this);
|
||||||
|
modal.find('.modal-body .date-label').text(target.data('date'));
|
||||||
|
modal.data('id', target.data('id'));
|
||||||
|
}).find('.btn-danger').on('click', function (event) {
|
||||||
|
var modal = $('#deleteCheckinModal');
|
||||||
|
var form = modal.find('form');
|
||||||
|
form.attr('action', form.attr('action').replace('@', modal.data('id')));
|
||||||
|
form.submit();
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.link-card').each(function () {
|
||||||
|
var $this = $(this);
|
||||||
|
$.ajax({
|
||||||
|
url: '{{ url('/api/checkin/card') }}',
|
||||||
|
method: 'get',
|
||||||
|
type: 'json',
|
||||||
|
data: {
|
||||||
|
url: $this.find('a').attr('href')
|
||||||
|
}
|
||||||
|
}).then(function (data) {
|
||||||
|
var $title = $this.find('.card-title');
|
||||||
|
var $desc = $this.find('.card-text');
|
||||||
|
var $image = $this.find('img');
|
||||||
|
|
||||||
|
if (data.title === '') {
|
||||||
|
$title.hide();
|
||||||
|
} else {
|
||||||
|
$title.text(data.title);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.description === '') {
|
||||||
|
$desc.hide();
|
||||||
|
} else {
|
||||||
|
$desc.text(data.description);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.image === '') {
|
||||||
|
$image.hide();
|
||||||
|
} else {
|
||||||
|
$image.attr('src', data.image);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data.title !== '' || data.description !== '' || data.image !== '') {
|
||||||
|
$this.removeClass('d-none');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@endpush
|
76
resources/views/user/stats.blade.php
Normal file
76
resources/views/user/stats.blade.php
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
@extends('user.base')
|
||||||
|
|
||||||
|
@push('head')
|
||||||
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/cal-heatmap/3.3.10/cal-heatmap.css" />
|
||||||
|
@endpush
|
||||||
|
|
||||||
|
@section('tab-content')
|
||||||
|
@if ($user->is_protected && !$user->isMe())
|
||||||
|
<p class="mt-4">
|
||||||
|
<span class="oi oi-lock-locked"></span> このユーザはチェックイン履歴を公開していません。
|
||||||
|
</p>
|
||||||
|
@else
|
||||||
|
<h5 class="my-4">Shikontribution graph</h5>
|
||||||
|
<div id="cal-heatmap" class="tis-contribution-graph"></div>
|
||||||
|
<hr class="my-4">
|
||||||
|
<h5 class="my-4">月間チェックイン回数</h5>
|
||||||
|
<canvas id="monthly-graph" class="w-100"></canvas>
|
||||||
|
<hr class="my-4">
|
||||||
|
<h5 class="my-4">年間チェックイン回数</h5>
|
||||||
|
<canvas id="yearly-graph" class="w-100"></canvas>
|
||||||
|
@endif
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@push('script')
|
||||||
|
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/chart.js@2.7.1/dist/Chart.min.js"></script>
|
||||||
|
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script>
|
||||||
|
<script type="text/javascript" src="//cdn.jsdelivr.net/cal-heatmap/3.3.10/cal-heatmap.min.js"></script>
|
||||||
|
<script>
|
||||||
|
var cal = new CalHeatMap();
|
||||||
|
cal.init({
|
||||||
|
itemSelector: '#cal-heatmap',
|
||||||
|
domain: 'month',
|
||||||
|
subDomain: 'day',
|
||||||
|
domainLabelFormat: '%Y/%m',
|
||||||
|
start: new Date({{ \Carbon\Carbon::now()->addMonths(-9)->timestamp * 1000 }}),
|
||||||
|
range: 10,
|
||||||
|
data: @json($dailySum),
|
||||||
|
legend: [1, 2, 3, 4]
|
||||||
|
});
|
||||||
|
|
||||||
|
function createGraph(id, labels, data) {
|
||||||
|
var context = document.getElementById(id).getContext('2d');
|
||||||
|
var chart = new Chart(context, {
|
||||||
|
type: 'line',
|
||||||
|
data: {
|
||||||
|
labels: labels,
|
||||||
|
datasets: [{
|
||||||
|
data: data,
|
||||||
|
backgroundColor: 'rgba(255, 99, 132, 0.2)',
|
||||||
|
borderColor: 'rgba(255, 99, 132, 1)',
|
||||||
|
borderWidth: 1
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
legend: {
|
||||||
|
display: false
|
||||||
|
},
|
||||||
|
elements: {
|
||||||
|
line: {
|
||||||
|
tension: 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
yAxes: [{
|
||||||
|
ticks: {
|
||||||
|
beginAtZero: true
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
createGraph('monthly-graph', @json(array_keys($monthlySum)), @json(array_values($monthlySum)));
|
||||||
|
createGraph('yearly-graph', @json(array_keys($yearlySum)), @json(array_values($yearlySum)));
|
||||||
|
</script>
|
||||||
|
@endpush
|
@ -1,95 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html 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">
|
|
||||||
|
|
||||||
<title>Laravel</title>
|
|
||||||
|
|
||||||
<!-- Fonts -->
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<!-- Styles -->
|
|
||||||
<style>
|
|
||||||
html, body {
|
|
||||||
background-color: #fff;
|
|
||||||
color: #636b6f;
|
|
||||||
font-family: 'Raleway', sans-serif;
|
|
||||||
font-weight: 100;
|
|
||||||
height: 100vh;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-height {
|
|
||||||
height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex-center {
|
|
||||||
align-items: center;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.position-ref {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-right {
|
|
||||||
position: absolute;
|
|
||||||
right: 10px;
|
|
||||||
top: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
font-size: 84px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.links > a {
|
|
||||||
color: #636b6f;
|
|
||||||
padding: 0 25px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: .1rem;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.m-b-md {
|
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="flex-center position-ref full-height">
|
|
||||||
@if (Route::has('login'))
|
|
||||||
<div class="top-right links">
|
|
||||||
@if (Auth::check())
|
|
||||||
<a href="{{ url('/home') }}">Home</a>
|
|
||||||
@else
|
|
||||||
<a href="{{ url('/login') }}">Login</a>
|
|
||||||
<a href="{{ url('/register') }}">Register</a>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<div class="title m-b-md">
|
|
||||||
Laravel
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="links">
|
|
||||||
<a href="https://laravel.com/docs">Documentation</a>
|
|
||||||
<a href="https://laracasts.com">Laracasts</a>
|
|
||||||
<a href="https://laravel-news.com">News</a>
|
|
||||||
<a href="https://forge.laravel.com">Forge</a>
|
|
||||||
<a href="https://github.com/laravel/laravel">GitHub</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -16,3 +16,75 @@ use Illuminate\Http\Request;
|
|||||||
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
||||||
return $request->user();
|
return $request->user();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::get('/checkin/card', function (Request $request) {
|
||||||
|
$request->validate([
|
||||||
|
'url:required|url'
|
||||||
|
]);
|
||||||
|
$url = $request->input('url');
|
||||||
|
|
||||||
|
$client = new GuzzleHttp\Client();
|
||||||
|
$res = $client->get($url);
|
||||||
|
if ($res->getStatusCode() === 200) {
|
||||||
|
$dom = new DOMDocument();
|
||||||
|
@$dom->loadHTML(mb_convert_encoding($res->getBody(), 'HTML-ENTITIES', 'UTF-8'));
|
||||||
|
$xpath = new DOMXPath($dom);
|
||||||
|
|
||||||
|
$result = [
|
||||||
|
'title' => '',
|
||||||
|
'description' => '',
|
||||||
|
'image' => ''
|
||||||
|
];
|
||||||
|
|
||||||
|
$titleNode = $xpath->query('//meta[@*="og:title"]');
|
||||||
|
foreach ($titleNode as $node) {
|
||||||
|
if (!empty($node->getAttribute('content'))) {
|
||||||
|
$result['title'] = $node->getAttribute('content');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$descriptionNode = $xpath->query('//meta[@*="og:description"]');
|
||||||
|
foreach ($descriptionNode as $node) {
|
||||||
|
if (!empty($node->getAttribute('content'))) {
|
||||||
|
$result['description'] = $node->getAttribute('content');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$imageNode = $xpath->query('//meta[@*="og:image"]');
|
||||||
|
foreach ($imageNode as $node) {
|
||||||
|
if (!empty($node->getAttribute('content'))) {
|
||||||
|
$result['image'] = $node->getAttribute('content');
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 一部サイトについては別のサムネイルの取得を試みる
|
||||||
|
if (mb_strpos($url, 'nico.ms/im') !== false ||
|
||||||
|
mb_strpos($url, 'seiga.nicovideo.jp/seiga/im') !== false ||
|
||||||
|
mb_strpos($url, 'sp.seiga.nicovideo.jp/seiga/#!/im') !== false) {
|
||||||
|
// ニコニコ静画用の処理
|
||||||
|
preg_match('~http://(?:(?:sp\\.)?seiga\\.nicovideo\\.jp/seiga(?:/#!)?|nico\\.ms)/im(\\d+)~', $url, $matches);
|
||||||
|
$result['image'] = "http://lohas.nicoseiga.jp/thumb/${matches[1]}l?";
|
||||||
|
} elseif (mb_strpos($url, 'nijie.info/view.php')) {
|
||||||
|
// ニジエ用の処理
|
||||||
|
$dataNode = $xpath->query('//script[substring(@type, string-length(@type) - 3, 4) = "json"]');
|
||||||
|
foreach ($dataNode as $node) {
|
||||||
|
$imageData = json_decode($node->nodeValue, true);
|
||||||
|
if (isset($imageData['thumbnailUrl'])) {
|
||||||
|
$result['image'] = preg_replace('~nijie\\.info/.*/nijie_picture/~', 'nijie.info/nijie_picture/', $imageData['thumbnailUrl']);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$response = response()->json($result);
|
||||||
|
if (!config('app.debug')) {
|
||||||
|
$response = $response->setCache(['public' => true, 'max_age' => 86400]);
|
||||||
|
}
|
||||||
|
return $response;
|
||||||
|
} else {
|
||||||
|
abort($res->getStatusCode());
|
||||||
|
}
|
||||||
|
});
|
@ -16,11 +16,20 @@ Auth::routes();
|
|||||||
Route::get('/', 'HomeController@index')->name('home');
|
Route::get('/', 'HomeController@index')->name('home');
|
||||||
|
|
||||||
Route::get('/user', function() {
|
Route::get('/user', function() {
|
||||||
return redirect()->route('profile', ['name' => Auth::user()->name]);
|
return redirect()->route('user.profile', ['name' => Auth::user()->name]);
|
||||||
})->middleware('auth')->name('profile');
|
})->middleware('auth')->name('user.profile');
|
||||||
Route::get('/user/{name?}', 'UserController@profile')->name('profile');
|
Route::get('/user/{name?}', 'UserController@profile')->name('user.profile');
|
||||||
|
Route::get('/user/{name}/stats', 'UserController@stats')->name('user.stats');
|
||||||
|
Route::get('/user/{name}/okazu', 'UserController@okazu')->name('user.okazu');
|
||||||
|
|
||||||
|
Route::get('/checkin/{id}', 'EjaculationController@show')->name('checkin.show');
|
||||||
Route::middleware('auth')->group(function () {
|
Route::middleware('auth')->group(function () {
|
||||||
Route::get('/checkin', 'EjaculationController@create')->name('checkin');
|
Route::get('/checkin', 'EjaculationController@create')->name('checkin');
|
||||||
Route::post('/checkin', 'EjaculationController@store')->name('checkin');
|
Route::post('/checkin', 'EjaculationController@store')->name('checkin');
|
||||||
|
Route::get('/checkin/{id}/edit', 'EjaculationController@edit')->name('checkin.edit');
|
||||||
|
Route::put('/checkin/{id}', 'EjaculationController@update')->name('checkin.update');
|
||||||
|
Route::delete('/checkin/{id}', 'EjaculationController@destroy')->name('checkin.destroy');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::get('/info', 'InfoController@index')->name('info');
|
||||||
|
Route::get('/info/{id}', 'InfoController@show')->where('id', '[0-9]+')->name('info.show');
|
2
storage/debugbar/.gitignore
vendored
Normal file
2
storage/debugbar/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
Reference in New Issue
Block a user