summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-07-29 17:36:59 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-07-29 17:36:59 +0300
commitdec7b2fa40a7eeb0c0640a798e4c7443d1511bd5 (patch)
tree176fc3ea7e784088a1d1869b1d809777293dde2a /apps/files_sharing
parent97f2c393c122409f1c90234935a8ebbca962cb44 (diff)
downloadnextcloud-server-dec7b2fa40a7eeb0c0640a798e4c7443d1511bd5.tar.gz
nextcloud-server-dec7b2fa40a7eeb0c0640a798e4c7443d1511bd5.zip
Move styles from core to app
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/404.css12
-rw-r--r--apps/files_sharing/public.php1
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/files_sharing/css/404.css b/apps/files_sharing/css/404.css
new file mode 100644
index 00000000000..e35e1a5808c
--- /dev/null
+++ b/apps/files_sharing/css/404.css
@@ -0,0 +1,12 @@
+
+#body-login .error-broken-link{
+ text-align:left;color:#fff;
+}
+
+#body-login .error-broken-link ul{
+ margin:10px 0 10px 0;
+}
+
+#body-login .error-broken-link ul li{
+ list-style: disc;list-style-position:inside;
+}
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 6878109f7b9..741ab145384 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -239,6 +239,7 @@ $errorTemplate = new OCP\Template('files_sharing', 'part.404', '');
$errorContent = $errorTemplate->fetchPage();
header('HTTP/1.0 404 Not Found');
+OCP\Util::addStyle('files_sharing', '404');
$tmpl = new OCP\Template('', '404', 'guest');
$tmpl->assign('content', $errorContent);
$tmpl->printPage();