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

+7 -7
View File
@@ -1,17 +1,17 @@
@css('css/game.css')
@css(css/game.css)
@js('https://maps.googleapis.com/maps/api/js?key=' . $_ENV['GOOGLE_MAPS_JS_API_KEY'])
@js('js/game.js')
@js(https://maps.googleapis.com/maps/api/js?key=<?= $_ENV['GOOGLE_MAPS_JS_API_KEY'] ?>)
@js(js/game.js)
@extends('templates/layout_full')
@extends(templates/layout_full)
@section('subheader')
@section(subheader)
<span id="mapName" class="bold"><?= $mapName ?></span><!--
--><span>Round <span id="currentRound" class="bold"></span></span><!--
--><span>Score <span id="currentScoreSum" class="bold"></span></span>
@endsection
@section('main')
@section(main)
<div id="panoCover"></div>
<div id="panorama"></div>
<div id="showGuessButtonContainer">
@@ -48,7 +48,7 @@
</div>
@endsection
@section('pageScript')
@section(pageScript)
<script>
var mapId = <?= $mapId ?>;
var mapBounds = <?= json_encode($bounds) ?>;