summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-02-05 14:55:21 +0100
committerJulius Härtl <jus@bitgrid.net>2019-02-20 20:58:32 +0100
commit5f0fa2cbc1b83fc7f3146ac06feb783227455c63 (patch)
tree3cdfbdcb48498e5890fbbd8fdf18a3b9adfa14a6 /templates
parent910583e12233d3282f5aeeb678c6aa420f25be0f (diff)
Implement frontend for ostatus popup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/ostatus.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/ostatus.php b/templates/ostatus.php
new file mode 100644
index 00000000..dac1a5d0
--- /dev/null
+++ b/templates/ostatus.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
+ *
+ * @author Julius Härtl <jus@bitgrid.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+script('social', 'ostatus');
+style('social', 'style');
+?>
+<span id="serverData" data-server="<?php p(json_encode($_['serverData']));?>"></span>
+<div id="vue-content"></div>