This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from 'firebase-functions'; | |
import * as admin from 'firebase-admin'; | |
import * as moment from 'moment'; | |
const { google } = require('googleapis'); | |
const GOOGLE_API_KEY = functions.config().google.calendar.key; | |
const calendar = google.calendar({ version: 'v3', auth: GOOGLE_API_KEY }); | |
const db = admin.firestore(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<@controller class="APPLICATION\sites\pres\documentcontroller\sfw\verein\kunstrasen_controller" @> | |
<htmlheader:addtitle>Erneuerung des Kunstrasens – Sportfreunde Winterbach e.V.</htmlheader:addtitle> | |
<style> | |
.sportplatz { | |
background-image: url('/APPLICATION/media/files/sfw/sonstige/platz.jpg'); | |
background-size: cover; | |
} | |
td { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace APPLICATION\sites\pres\documentcontroller\sfw\verein; | |
use APPLICATION\sites\pres\documentcontroller\sfw\myBaseController; | |
use APF\tools\request\RequestHandler; | |
use APF\core\service\APFService; | |
class kunstrasen_controller extends myBaseController | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'article-edit', | |
template: ` <article-form [article]="article | async"></article-form>` | |
}) | |
export class ArticleEditComponent implements OnInit { | |
article: FirebaseObjectObservable<IArticle>; | |
constructor(private articleService: ArticleService, private route: ActivatedRoute) { | |
} | |
ngOnInit() { |