adm/style/install_update_diff.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/adm/style/install_update_diff.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,262 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
     1.6 +<head>
     1.7 +
     1.8 +<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
     1.9 +<meta http-equiv="Content-Style-Type" content="text/css" />
    1.10 +<meta http-equiv="Content-Language" content="{S_USER_LANG}" />
    1.11 +<meta http-equiv="imagetoolbar" content="no" />
    1.12 +<!-- IF META -->{META}<!-- ENDIF -->
    1.13 +<title>{PAGE_TITLE}</title>
    1.14 +
    1.15 +<link href="../adm/style/admin.css" rel="stylesheet" type="text/css" media="screen" />
    1.16 +
    1.17 +<script type="text/javascript">
    1.18 +// <![CDATA[
    1.19 +function resize_panel()
    1.20 +{
    1.21 +	var block = document.getElementById('codepanel');
    1.22 +	var height;
    1.23 +
    1.24 +	if (window.innerHeight)
    1.25 +	{
    1.26 +		height = window.innerHeight - 150;
    1.27 +		block.style.height = height + 'px';
    1.28 +	}
    1.29 +	else
    1.30 +	{
    1.31 +		//whatever IE needs to do this
    1.32 +	}
    1.33 +}
    1.34 +
    1.35 +window.onresize = resize_panel;
    1.36 +
    1.37 +// ]]>
    1.38 +</script>
    1.39 +
    1.40 +<style type="text/css">
    1.41 +/* <![CDATA[ */
    1.42 +
    1.43 +#main {
    1.44 +	font-size: 1em;
    1.45 +	line-height: 0.7em;
    1.46 +	margin: 0;
    1.47 +	padding: 0;
    1.48 +	width: 99%;
    1.49 +}
    1.50 +
    1.51 +#diff_content {
    1.52 +	padding: 30px 10px 10px;
    1.53 +}
    1.54 +
    1.55 +<!-- IF DIFF_MODE neq 'side_by_side' and DIFF_MODE neq 'raw' -->
    1.56 +div#codepanel {
    1.57 +	width: 100%;
    1.58 +}
    1.59 +<!-- ELSE -->
    1.60 +div#codepanel {
    1.61 +	background-color: #eee;
    1.62 +}
    1.63 +<!-- ENDIF -->
    1.64 +
    1.65 +<!-- IF DIFF_MODE neq 'unified' and DIFF_MODE neq 'side_by_side'  -->
    1.66 +div#diff_content pre {
    1.67 +	overflow: auto;
    1.68 +	height: 414px;
    1.69 +	width: 100% !important;
    1.70 +}
    1.71 +<!-- ENDIF -->
    1.72 +
    1.73 +<!-- IF not S_DIFF_NEW_FILE -->
    1.74 +/**
    1.75 +* Unified Diff
    1.76 +*/
    1.77 +.file {
    1.78 +	line-height: .7em;
    1.79 +	overflow: auto;
    1.80 +	height: 414px;
    1.81 +}
    1.82 +
    1.83 +.diff {
    1.84 +	margin: 0;
    1.85 +}
    1.86 +
    1.87 +.added {
    1.88 +	background-color: #dfd;
    1.89 +}
    1.90 +
    1.91 +.removed {
    1.92 +	background-color: #fdd;
    1.93 +}
    1.94 +
    1.95 +.info {
    1.96 +	color: #888;
    1.97 +}
    1.98 +
    1.99 +.context {
   1.100 +	background-color: #eee;
   1.101 +}
   1.102 +
   1.103 +/**
   1.104 +* Inline Diff
   1.105 +*/
   1.106 +.ins {
   1.107 +	background-color: #dfd;
   1.108 +	text-decoration: underline;
   1.109 +}
   1.110 +
   1.111 +.del {
   1.112 +	background-color: #fdd;
   1.113 +	text-decoration: line-through;
   1.114 +}
   1.115 +
   1.116 +/**
   1.117 +* Column Diff
   1.118 +*/
   1.119 +table.hrdiff {
   1.120 +	margin: 0 0 8px 5px;
   1.121 +	width: 100%;
   1.122 +	overflow: hidden;
   1.123 +	border-bottom: 1px solid #999;
   1.124 +	table-layout: fixed;
   1.125 +}
   1.126 +
   1.127 +table.hrdiff th {
   1.128 +	text-align: left;
   1.129 +	width: 50%;
   1.130 +	color: #333;
   1.131 +	font-family: Verdana,Helvetica,sans-serif;
   1.132 +	font-size: 11px;
   1.133 +	border-bottom: 1px solid #999;
   1.134 +	background: transparent;
   1.135 +}
   1.136 +
   1.137 +table.hrdiff thead th {
   1.138 +	font-weight: bold;
   1.139 +	font-size: 110%;
   1.140 +	padding: 2px;
   1.141 +}
   1.142 +
   1.143 +table.hrdiff tr:first-child th {
   1.144 +	border-top: none;
   1.145 +}
   1.146 +
   1.147 +table.hrdiff tbody th {
   1.148 +	padding: 2em 1px 1px 1px;
   1.149 +	font-size: 80%;
   1.150 +	border-top: 1px solid #999;
   1.151 +}
   1.152 +
   1.153 +table.hrdiff tbody td.old {
   1.154 +	border-left: 1px solid #999;
   1.155 +	border-right: 1px solid #999;
   1.156 +}
   1.157 +table.hrdiff tbody td.new {
   1.158 +	border-right: 1px solid #999;
   1.159 +}
   1.160 +
   1.161 +table.hrdiff td pre {
   1.162 +	overflow: auto;
   1.163 +	display: block;
   1.164 +	width: 100%;
   1.165 +	overflow: auto;
   1.166 +	display: block;
   1.167 +}
   1.168 +
   1.169 +table.hrdiff .unmodified {
   1.170 +	background: #fff;
   1.171 +}
   1.172 +
   1.173 +table.hrdiff .added {
   1.174 +	background: #9f9;
   1.175 +}
   1.176 +
   1.177 +table.hrdiff .added_empty {
   1.178 +	background: #cfc;
   1.179 +}
   1.180 +
   1.181 +table.hrdiff .modified {
   1.182 +	background: #fd9;
   1.183 +}
   1.184 +
   1.185 +table.hrdiff .removed {
   1.186 +	background: #f99;
   1.187 +}
   1.188 +
   1.189 +table.hrdiff .removed_empty {
   1.190 +	background: #fcc;
   1.191 +}
   1.192 +
   1.193 +table.hrdiff caption {
   1.194 +	caption-side: top;
   1.195 +	text-align: left;
   1.196 +	margin: 0 0 8px 5px;
   1.197 +	font-size: 90%;
   1.198 +	font-weight: bold;
   1.199 +	padding: 5px;
   1.200 +}
   1.201 +
   1.202 +table.hrdiff caption span {
   1.203 +	height: 10px;
   1.204 +	width: 10px;
   1.205 +	line-height: 10px;
   1.206 +	letter-spacing: 10px;
   1.207 +	border: 1px solid #000;
   1.208 +	margin-left: 0.5em;
   1.209 +	vertical-align: baseline;
   1.210 +}
   1.211 +
   1.212 +<!-- ENDIF -->
   1.213 +
   1.214 +/* ]]> */
   1.215 +</style>
   1.216 +
   1.217 +</head>
   1.218 +
   1.219 +<!-- IF DIFF_MODE neq 'side_by_side' and DIFF_MODE neq 'raw' -->
   1.220 +<body onload="resize_panel();">
   1.221 +<!-- ELSE -->
   1.222 +<body>
   1.223 +<!-- ENDIF -->
   1.224 +
   1.225 +<div id="wrap">
   1.226 +	<div id="page-header">
   1.227 +<!-- IF S_DIFF_NEW_FILE -->
   1.228 +
   1.229 +		<h1>{L_VIEWING_FILE_CONTENTS}</h1>
   1.230 +<!-- ELSE -->
   1.231 +		<h1>{L_VIEWING_FILE_DIFF}</h1>
   1.232 +<!-- ENDIF -->
   1.233 +<!-- IF not S_DIFF_NEW_FILE -->
   1.234 +		<p id="skip"><a href="#acp">{L_SKIP}</a></p>
   1.235 +		<form method="post" action="">
   1.236 +		<fieldset class="quick">
   1.237 +			<label for="diff_mode">{L_SELECT_DIFF_MODE}:</label>
   1.238 +			<select name="diff_mode" id="diff_mode">{S_DIFF_MODE_OPTIONS}</select>
   1.239 +
   1.240 +			<input class="button1" type="submit" id="submit" name="submit" value="{L_CHANGE}" />
   1.241 +		</fieldset>
   1.242 +		</form>
   1.243 +<!-- ENDIF -->
   1.244 +<!-- IF S_DIFF_CONFLICT_FILE -->
   1.245 +		<div style="float: {S_CONTENT_FLOW_BEGIN};"><strong>{L_NUM_CONFLICTS}: {NUM_CONFLICTS}</strong></div>
   1.246 +		<br style="clear: both;" />
   1.247 +<!-- ENDIF -->
   1.248 +	</div>
   1.249 +
   1.250 +	<div id="page-body">
   1.251 +		<div id="acp">
   1.252 +		<div class="panel" id="codepanel">
   1.253 +			<span class="corners-top"><span></span></span>
   1.254 +				<div id="diff_content">
   1.255 +					<div id="main">
   1.256 +						{DIFF_CONTENT}
   1.257 +					</div>
   1.258 +				</div>
   1.259 +			<span class="corners-bottom"><span></span></span>
   1.260 +		</div>
   1.261 +		</div>
   1.262 +	</div>
   1.263 +
   1.264 +
   1.265 +<!-- INCLUDE simple_footer.html -->
   1.266 \ No newline at end of file