Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
303b4e66
Commit
303b4e66
authored
Nov 05, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5822 from edx/sarina/OPEN-303
Move all lms image files into lms/static/images [OPEN-303]
parents
db682dae
ad8bc69f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/capa/capa/inputtypes.py
+1
-1
common/lib/capa/capa/templates/imageinput.html
+1
-1
common/lib/xmodule/xmodule/css/problem/edit.scss
+1
-1
lms/static/images/green-pointer.png
+0
-0
lms/static/images/problem-editor-icons.png
+0
-0
No files found.
common/lib/capa/capa/inputtypes.py
View file @
303b4e66
...
...
@@ -1059,7 +1059,7 @@ class ImageInput(InputTypeBase):
self
.
value
.
strip
()
.
replace
(
' '
,
''
))
if
m
:
# 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
()]
else
:
(
self
.
gx
,
self
.
gy
)
=
(
0
,
0
)
...
...
common/lib/capa/capa/templates/imageinput.html
View file @
303b4e66
...
...
@@ -19,7 +19,7 @@
top: 0;"
>
<img
src=
"${STATIC_URL}green-pointer.png"
src=
"${STATIC_URL}
images/
green-pointer.png"
id=
"cross_${id}"
style=
"position: absolute; top: ${gy}px; left: ${gx}px;"
/>
...
...
common/lib/xmodule/xmodule/css/problem/edit.scss
View file @
303b4e66
...
...
@@ -110,7 +110,7 @@
width
:
26px
;
height
:
21px
;
vertical-align
:
middle
;
background
:
url(../im
g
/problem-editor-icons.png)
no-repeat
;
background
:
url(../im
ages
/problem-editor-icons.png)
no-repeat
;
}
.problem-editor-icon.heading1
{
...
...
lms/static/green-pointer.png
→
lms/static/
images/
green-pointer.png
View file @
303b4e66
File moved
lms/static/im
g
/problem-editor-icons.png
→
lms/static/im
ages
/problem-editor-icons.png
View file @
303b4e66
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment