summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-01-07 01:27:40 +0100
committerAlex Legler <alex@a3li.li>2016-01-07 01:27:40 +0100
commitbecc7ab1e69b0746cfdb9a865e896c862e4cd3d5 (patch)
tree103429247158c978572f2cc7182b0841a45df476 /example.txt
downloadnotices-becc7ab1e69b0746cfdb9a865e896c862e4cd3d5.tar.gz
notices-becc7ab1e69b0746cfdb9a865e896c862e4cd3d5.tar.bz2
notices-becc7ab1e69b0746cfdb9a865e896c862e4cd3d5.zip
Initial commit including all notices posted so far.
Diffstat (limited to 'example.txt')
-rw-r--r--example.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/example.txt b/example.txt
new file mode 100644
index 0000000..b0a1802
--- /dev/null
+++ b/example.txt
@@ -0,0 +1,23 @@
+---
+title: Example Notice
+active: false
+type: maintenance
+created_at: 2012-02-20 10:00
+eta: 2012-02-22 10:00
+expire_at: 2012-03-20 10:00
+affects: [overlays, forums, bugzilla]
+force_state: maintenance
+---
+
+Here you can add text in the markdown format.
+
+Parameters above:
+
+* title: self-explanatory
+* active: set this to false to completely hide the notice
+* type: (maintenance|information|outage) sets the icon
+* created_at: self-explanatory
+* expire_at: when to hide the notice. will be indefinitely displayed if unset
+* eta: estimated time the service is restored (optional)
+* affects: array of services this notice affects (TODO list, optional)
+* force_state: (maintenance|up|down) force the state of all services this notice applies to to this state (optional)