Skip to content

Commit c72c367

Browse files
author
redray
committed
added icons to the list view
1 parent e6bb4e8 commit c72c367

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

interface/web/sites/templates/database_list.htm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ <h2><tmpl_var name="list_head_txt"></h2>
3434
<tbody>
3535
<tmpl_loop name="records">
3636
<tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
37-
<td class="tbl_col_active"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
38-
<td class="tbl_col_remote_access"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="remote_access"}</a></td>
39-
<td class="tbl_col_server_id"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="server_id"}</a></td>
37+
<td class="tbl_col_active">{tmpl_var name="active"}</td>
38+
<td class="tbl_col_remote_access">{tmpl_var name="remote_access"}</td>
39+
<td class="tbl_col_server_id">{tmpl_var name="server_id"}</td>
4040
<td class="tbl_col_database_name"><a href="#" onClick="loadContent('sites/database_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="database_name"}</a></td>
4141
<td class="tbl_col_buttons">
4242
<div class="buttons icons16">
43+
<a class="icons16 icoEdit" href="javascript: loadContent('sites/database_edit.php?id={tmpl_var name='id'}');"><span>{tmpl_var name='edit_txt'}</span></a>
4344
<a class="icons16 icoDelete" href="javascript: del_record('sites/database_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
4445
</div>
4546
</td>

interface/web/themes/default/css/screen/content_ispc.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818

1919
@media all
2020
{
21-
/* Image-Replacement */
22-
h1.swap { background-repeat:no-repeat; }
23-
h1.swap span {display:none;}
24-
h1#ir-HeaderLogo {
25-
height:32px;
26-
background-image:url("../../images/header_logo.png");
27-
}
28-
2921
.pageForm_description {
3022
font-size: 12px;
3123
}
@@ -130,7 +122,14 @@
130122
color:#ffffff;
131123
padding:0px 5px;
132124
}
133-
125+
126+
/* Image-Replacement */
127+
.swap { background-repeat:no-repeat; }
128+
.swap span { display:none; height:16px; }
129+
#ir-HeaderLogo { background-image:url("../../images/header_logo.png"); height:32px; }
130+
#ir-Yes { background-image:url("../../icons/x16/tick_circle.png"); height:16px; }
131+
#ir-No { background-image:url("../../icons/x16/cross_circle.png"); height:16px; }
132+
134133
/* BUTTONS */
135134
.buttons a, .buttons button{
136135
display:block;
@@ -230,5 +229,6 @@
230229

231230
.icons16.icoDelete { background-image: url("../../icons/x16/minus_circle_frame.png"); }
232231
.icons16.icoFilter { background-image: url(../../icons/x16/funnel.png); }
232+
.icons16.icoEdit { background-image: url("../../icons/x16/wrench.png"); }
233233
}
234234

0 commit comments

Comments
 (0)