From 2825d35932017836b356754de5a203b109d129ee Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 18 Jul 2012 23:08:16 +0200 Subject: [PATCH] rm room for record --- teleforma/static/teleforma/css/teleforma.css | 3 ++- teleforma/views.py | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 25731ff3..2debd91b 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -340,8 +340,9 @@ label.disabled { color: #d7d7d7 } -webkit-border-radius: 5px 5px 5px 5px; border-radius: 5px 5px 5px 5px; } + #quick_search_pattern { - background: #FFF url(search_bg.png) no-repeat; + background: #FFF; padding: .4em .1em; padding-left: 25px; width: 180px; diff --git a/teleforma/views.py b/teleforma/views.py index 0df3ee74..8a5d82aa 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -371,9 +371,6 @@ class ConferenceRecordView(FormView): status.update() context['host'] = status.ip context['hidden_fields'] = self.hidden_fields - content_type = ContentType.objects.get(app_label="teleforma", model="conference") - context['room'] = get_room(name=conference.course.title, content_type=content_type, - id=conference.id) return context def get_success_url(self): @@ -414,7 +411,7 @@ class ConferenceRecordView(FormView): f = open(path, 'w') f.write(img.read()) f.close() - command = '/usr/bin/dwepb ' + path + ' -o ' + dir + os.sep + 'preview.png &' + command = '/usr/bin/dwebp ' + path + ' -o ' + dir + os.sep + 'preview.png &' os.system(command) @method_decorator(login_required) -- 2.39.5