MAPG-187 adapt views to the new parser

This commit is contained in:
bence committed 2020-06-28 19:35:14 +02:00
1 parent e883d184b7
commit 8ac5d5c6e2
17 files changed
+60 -59

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
@js('js/account/account.js')
@js(js/account/account.js)
@extends('templates/layout_normal')
@extends(templates/layout_normal)
@section('main')
@section(main)
<h2>Account</h2>
<div class="box">
<form id="accountForm" action="/account" method="post" data-observe-inputs="password_new,password_new_confirm">
+3 -3
View File
@@ -1,8 +1,8 @@
@js('js/account/account.js')
@js(js/account/account.js)
@extends('templates/layout_normal')
@extends(templates/layout_normal)
@section('main')
@section(main)
<h2>Delete account</h2>
<div class="box">
<form id="deleteAccountForm" action="/account/delete" method="post" data-redirect-on-success="/">
+4 -4
View File
@@ -1,8 +1,8 @@
@js('js/account/google_authenticate.js')
@js(js/account/google_authenticate.js)
@extends('templates/layout_minimal')
@extends(templates/layout_minimal)
@section('main')
@section(main)
<h2>Authenticate with Google</h2>
<?php if (!$success): ?>
<div class="box">
@@ -18,7 +18,7 @@
<?php endif; ?>
@endsection
@section('pageScript')
@section(pageScript)
<script>
var success = <?= $success ? 'true' : 'false' ?>;
<?php if (isset($authenticatedWithGoogleUntil)): ?>