Commit ad8bc69f by Sarina Canelake

Move all lms image files into lms/static/images [OPEN-303]

parent b7f91eed
...@@ -1059,7 +1059,7 @@ class ImageInput(InputTypeBase): ...@@ -1059,7 +1059,7 @@ class ImageInput(InputTypeBase):
self.value.strip().replace(' ', '')) self.value.strip().replace(' ', ''))
if m: if m:
# Note: we subtract 15 to compensate for the size of the dot on the screen. # Note: we subtract 15 to compensate for the size of the dot on the screen.
# (is a 30x30 image--lms/static/green-pointer.png). # (is a 30x30 image--lms/static/images/green-pointer.png).
(self.gx, self.gy) = [int(x) - 15 for x in m.groups()] (self.gx, self.gy) = [int(x) - 15 for x in m.groups()]
else: else:
(self.gx, self.gy) = (0, 0) (self.gx, self.gy) = (0, 0)
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
top: 0;" top: 0;"
> >
<img <img
src="${STATIC_URL}green-pointer.png" src="${STATIC_URL}images/green-pointer.png"
id="cross_${id}" id="cross_${id}"
style="position: absolute; top: ${gy}px; left: ${gx}px;" style="position: absolute; top: ${gy}px; left: ${gx}px;"
/> />
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
width: 26px; width: 26px;
height: 21px; height: 21px;
vertical-align: middle; vertical-align: middle;
background: url(../img/problem-editor-icons.png) no-repeat; background: url(../images/problem-editor-icons.png) no-repeat;
} }
.problem-editor-icon.heading1 { .problem-editor-icon.heading1 {
......
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