From 6b10611d1b5efd2bce1cf94fbc832b4d4dd95f88 Mon Sep 17 00:00:00 2001 From: ChanMyeong Date: Tue, 27 Sep 2011 14:42:01 +0000 Subject: [PATCH] Admin HTML Markup Clean. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9378 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/tpl/css/admin.css | 8 +- modules/admin/tpl/css/admin.min.css | 8 +- modules/document/lang/lang.xml | 4 + modules/document/tpl/category_info.html | 115 +++++++++--------- modules/document/tpl/category_list.html | 2 +- modules/document/tpl/css/document.css | 20 --- modules/document/tpl/header.html | 15 +-- modules/document/tpl/preview_page.html | 2 +- modules/document/tpl/print_page.html | 21 ++-- modules/document/tpl/saved_list_popup.html | 9 +- modules/page/tpl/content.html | 14 +-- modules/page/tpl/mcontent.html | 15 ++- modules/widget/tpl/css/widget.css | 110 ++++++++--------- modules/widget/tpl/js/widget.js | 12 +- modules/widget/tpl/widget_layer.html | 65 +++++----- .../widget_style_generate_code_in_page.html | 4 +- 16 files changed, 194 insertions(+), 230 deletions(-) delete mode 100644 modules/document/tpl/css/document.css diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css index 68c38d1fc..9399acb18 100644 --- a/modules/admin/tpl/css/admin.css +++ b/modules/admin/tpl/css/admin.css @@ -230,9 +230,13 @@ body>.popup{margin:1em} html.modalContainer, body.modalContainer{_height:100%;_width:100%} /* IE6 only */ /* Layer */ -.x .layer{position:absolute;background:#fff;padding:0 1em;*padding:1em;border:8px solid #ddd;z-index:2;zoom:1;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5pxbox-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)} +.x .layer, +.x.layer{position:absolute;background:#fff;padding:0 1em;*padding:1em;border:8px solid #ddd;z-index:2;zoom:1;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5pxbox-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)} .x .layer h2{font-size:14px} -.x .layer ul, .layer ol, .layer .lined, .layer .table{margin-bottom:1em} +.x .layer ul, +.x .layer ol, +.x .layer .lined, +.x .layer .table{margin-bottom:1em} .x .layerClose{position:absolute;right:-8px;top:-8px;border:0;background:#ddd;padding:0;width:28px;height:28px;font-size:14px;font-weight:bold;cursor:pointer;color:#999;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px} .x .layerBlur{position:absolute;top:0;right:0;border:0;background:none;padding:0;width:1px;height:1px;overflow:hidden} /* H2 Anchor */ diff --git a/modules/admin/tpl/css/admin.min.css b/modules/admin/tpl/css/admin.min.css index 68c38d1fc..9399acb18 100644 --- a/modules/admin/tpl/css/admin.min.css +++ b/modules/admin/tpl/css/admin.min.css @@ -230,9 +230,13 @@ body>.popup{margin:1em} html.modalContainer, body.modalContainer{_height:100%;_width:100%} /* IE6 only */ /* Layer */ -.x .layer{position:absolute;background:#fff;padding:0 1em;*padding:1em;border:8px solid #ddd;z-index:2;zoom:1;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5pxbox-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)} +.x .layer, +.x.layer{position:absolute;background:#fff;padding:0 1em;*padding:1em;border:8px solid #ddd;z-index:2;zoom:1;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5pxbox-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)} .x .layer h2{font-size:14px} -.x .layer ul, .layer ol, .layer .lined, .layer .table{margin-bottom:1em} +.x .layer ul, +.x .layer ol, +.x .layer .lined, +.x .layer .table{margin-bottom:1em} .x .layerClose{position:absolute;right:-8px;top:-8px;border:0;background:#ddd;padding:0;width:28px;height:28px;font-size:14px;font-weight:bold;cursor:pointer;color:#999;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px} .x .layerBlur{position:absolute;top:0;right:0;border:0;background:none;padding:0;width:1px;height:1px;overflow:hidden} /* H2 Anchor */ diff --git a/modules/document/lang/lang.xml b/modules/document/lang/lang.xml index 31d5eaaab..e17f77fcf 100644 --- a/modules/document/lang/lang.xml +++ b/modules/document/lang/lang.xml @@ -850,4 +850,8 @@ + + + + \ No newline at end of file diff --git a/modules/document/tpl/category_info.html b/modules/document/tpl/category_info.html index ce7e49275..26d094672 100644 --- a/modules/document/tpl/category_info.html +++ b/modules/document/tpl/category_info.html @@ -1,66 +1,61 @@ - -
- -

{$lang->category}

- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{$lang->parent_category_title}{$category_info->parent_category_title}
{$lang->category_title} - - {$lang->cmd_find_langcode} -
{$lang->category_color} - -

{$lang->about_category_color}

-
{$lang->category_description} - - {$lang->cmd_find_langcode} -

{$lang->about_category_description}

-
{$lang->expand} - expand=="Y")-->checked="checked" class="checkbox" /> -

{$lang->about_expand}

-
{$lang->category_group_srls} - -
group_srls)&&in_array($key, $category_info->group_srls))-->checked="checked" class="checkbox" />
- -

{$lang->about_category_group_srls}

-
-
-
- -
+
+ +

{$lang->category}

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{$lang->parent_category_title}{$category_info->parent_category_title}
{$lang->category_title} + + {$lang->cmd_find_langcode} +
{$lang->category_color} + +

{$lang->about_category_color}

+
{$lang->category_description} + + {$lang->cmd_find_langcode} +

{$lang->about_category_description}

+
{$lang->expand} + expand=="Y")-->checked="checked" class="checkbox" /> +

{$lang->about_expand}

+
{$lang->category_group_srls} + +
group_srls)&&in_array($key, $category_info->group_srls))-->checked="checked" class="checkbox" />
+ +

{$lang->about_category_group_srls}

+
+
+
+
-

{$lang->widgetstyle}

+

{$lang->widgetstyle}

@@ -31,7 +31,7 @@ {$widgetStyle->title} -

{$widgetstyle_info->title} ver {$widgetstyle_info->version}

+

{$widgetstyle_info->title} ver {$widgetstyle_info->version}

  • {$lang->description}