Commit ead25e74 authored by svilayphiou's avatar svilayphiou
Browse files

print.css → laser.css

parent 3612b167
......@@ -3,7 +3,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/static/css/style.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="/static/css/print.css" media="print" type="text/css" charset="utf-8">
<link rel="stylesheet" href="/static/css/laser.css" media="print" type="text/css" charset="utf-8">
<title>Error message</title>
......@@ -40,4 +40,4 @@
\ No newline at end of file
......@@ -383,13 +383,13 @@ def css(request):
def cssprint(request):
pad = Pad.objects.get(display_slug='print.css')
pad = Pad.objects.get(display_slug='laser.css')
padID = + '$' + urllib.quote_plus('::', '_'))
epclient = EtherpadLiteClient(pad.server.apikey, pad.server.apiurl)
return HttpResponse(epclient.getText(padID)['text'], mimetype="text/css")
# If there is no pad called "css", loads a default css file
f = open('relearn/static/css/print.css', 'r')
f = open('relearn/static/css/laser.css', 'r')
css =
return HttpResponse(css, mimetype="text/css")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment