Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
56bcd0ea
Commit
56bcd0ea
authored
Mar 06, 2014
by
Liupo Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dialog icon from js to css
parent
feef5e1b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
+19
-12
dialogs.css
dialogs/dialogs.css
+6
-0
markers.js
dialogs/markers/markers.js
+12
-12
index.html
dist/index.html
+1
-0
No files found.
dialogs/dialogs.css
0 → 100644
View file @
56bcd0ea
.priority
.icon
{
background
:
url(../dialogs/icons/iconpriority.png)
0
0
}
.progress
.icon
{
background
:
url(../dialogs/icons/iconprogress.png)
0
0
}
.icon.p2
{
background-position
:
-20px
0
}
.icon.p3
{
background-position
:
-40px
0
}
.icon.p4
{
background-position
:
-60px
0
}
.icon.p5
{
background-position
:
-80px
0
}
\ No newline at end of file
dialogs/markers/markers.js
View file @
56bcd0ea
(
function
()
{
var
utils
=
KM
.
utils
;
KM
.
registerWidget
(
'markers'
,
{
tpl
:
"<ul class='icon-list'>"
+
"<li value='1' type='priority'><span class='icon
' style='background:url(../dialogs/icons/iconpriority.png) 0 0
'></span><span><%= priority %>1</span></li>"
+
"<li value='2' type='priority'><span class='icon
' style='background:url(../dialogs/icons/iconpriority.png) -20px 0
'></span><span><%= priority %>2</span></li>"
+
"<li value='3' type='priority'><span class='icon
' style='background:url(../dialogs/icons/iconpriority.png) -40px 0
'></span><span><%= priority %>3</span></li>"
+
"<li value='4' type='priority'><span class='icon
' style='background:url(../dialogs/icons/iconpriority.png) -60px 0
'></span><span><%= priority %>4</span></li>"
+
"<li value='5' type='priority'><span class='icon
' style='background:url(../dialogs/icons/iconpriority.png) -80px 0
'></span><span><%= priority %>5</span></li>"
+
tpl
:
"<ul class='icon-list
priority
'>"
+
"<li value='1' type='priority'><span class='icon
p1
'></span><span><%= priority %>1</span></li>"
+
"<li value='2' type='priority'><span class='icon
p2
'></span><span><%= priority %>2</span></li>"
+
"<li value='3' type='priority'><span class='icon
p3
'></span><span><%= priority %>3</span></li>"
+
"<li value='4' type='priority'><span class='icon
p4
'></span><span><%= priority %>4</span></li>"
+
"<li value='5' type='priority'><span class='icon
p5
'></span><span><%= priority %>5</span></li>"
+
"</ul>"
+
"<ul class='icon-list'>"
+
"<li value='1' type='progress'><span class='icon
' style='background:url(../dialogs/icons/iconprogress.png) 0 0
'></span><span><%= progress.notdone %></span></li>"
+
"<li value='2' type='progress'><span class='icon
' style='background:url(../dialogs/icons/iconprogress.png) -20px 0
'></span><span><%= progress.quarterdone %></span></li>"
+
"<li value='3' type='progress'><span class='icon
' style='background:url(../dialogs/icons/iconprogress.png) -40px 0
'></span><span><%= progress.halfdone %></span></li>"
+
"<li value='4' type='progress'><span class='icon
' style='background:url(../dialogs/icons/iconprogress.png) -60px 0
'></span><span><%= progress.threequartersdone %></span></li>"
+
"<li value='5' type='progress'><span class='icon
' style='background:url(../dialogs/icons/iconprogress.png) -80px 0
'></span><span><%= progress.done %></span></li>"
+
"<ul class='icon-list
progress
'>"
+
"<li value='1' type='progress'><span class='icon
p1
'></span><span><%= progress.notdone %></span></li>"
+
"<li value='2' type='progress'><span class='icon
p2
'></span><span><%= progress.quarterdone %></span></li>"
+
"<li value='3' type='progress'><span class='icon
p3
'></span><span><%= progress.halfdone %></span></li>"
+
"<li value='4' type='progress'><span class='icon
p4
'></span><span><%= progress.threequartersdone %></span></li>"
+
"<li value='5' type='progress'><span class='icon
p5
'></span><span><%= progress.done %></span></li>"
+
"</ul>"
,
initContent
:
function
(
km
)
{
var
lang
=
km
.
getLang
(
'dialogs.markers'
);
...
...
dist/index.html
View file @
56bcd0ea
...
...
@@ -12,6 +12,7 @@
<script
src=
"../lang/zh-cn/zh-cn.js"
charset=
"utf-8"
></script>
<link
href=
"../themes/default/css/import.css"
type=
"text/css"
rel=
"stylesheet"
>
<link
rel=
"stylesheet"
href=
"social.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../dialogs/dialogs.css"
>
<style>
.km_receiver
{
width
:
0
;
...
...
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