Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/adm/style/install_update_diff.html

    r400 r702  
    1616function resize_panel()
    1717{
    18         var block = document.getElementById('codepanel');       
     18        var block = document.getElementById('codepanel');
    1919        var height;
    20        
     20
    2121        if (window.innerHeight)
    2222        {
     
    2727        {
    2828                //whatever IE needs to do this
    29         }       
    30 }
     29        }
     30}
     31
     32window.onresize = resize_panel;
     33
    3134// ]]>
    3235</script>
     
    4952<!-- IF DIFF_MODE neq 'side_by_side' and DIFF_MODE neq 'raw' -->
    5053div#codepanel {
    51         overflow: auto;
    5254        width: 100%;
    53         height: 350px;
    54         display: inline-block;
    5555}
    5656<!-- ELSE -->
    57 div#codepanel { 
     57div#codepanel {
    5858        background-color: #eee;
     59}
     60<!-- ENDIF -->
     61
     62<!-- IF DIFF_MODE neq 'unified' and DIFF_MODE neq 'side_by_side'  -->
     63div#diff_content pre {
     64        overflow: auto;
     65        height: 414px;
     66        width: 100% !important;
    5967}
    6068<!-- ENDIF -->
     
    6674.file {
    6775        line-height: .7em;
     76        overflow: auto;
     77        height: 414px;
    6878}
    6979
     
    140150table.hrdiff tbody td.old {
    141151        border-left: 1px solid #999;
    142         border-right: 1px solid #999;   
     152        border-right: 1px solid #999;
    143153}
    144154table.hrdiff tbody td.new {
    145         border-right: 1px solid #999;   
     155        border-right: 1px solid #999;
    146156}
    147157
     
    204214</head>
    205215
    206 
    207216<!-- IF DIFF_MODE neq 'side_by_side' and DIFF_MODE neq 'raw' -->
    208 <body onresize="resize_panel();" onload="resize_panel();">
     217<body onload="resize_panel();">
    209218<!-- ELSE -->
    210219<body>
     
    221230<!-- IF not S_DIFF_NEW_FILE -->
    222231                <p id="skip"><a href="#acp">{L_SKIP}</a></p>
    223                 <form method="post">
     232                <form method="post" action="">
    224233                <fieldset class="quick">
    225234                        <label for="diff_mode">{L_SELECT_DIFF_MODE}:</label>
     
    230239                </form>
    231240<!-- ENDIF -->
     241<!-- IF S_DIFF_CONFLICT_FILE -->
     242                <div style="float: {S_CONTENT_FLOW_BEGIN};"><strong>{L_NUM_CONFLICTS}: {NUM_CONFLICTS}</strong></div>
     243                <br style="clear: both;" />
     244<!-- ENDIF -->
    232245        </div>
    233        
     246
    234247        <div id="page-body">
    235248                <div id="acp">
     
    238251                                <div id="diff_content">
    239252                                        <div id="main">
    240 
    241 <!-- IF S_DIFF_CONFLICT_FILE -->
    242                 <div style="float: {S_CONTENT_FLOW_END};"><strong>{L_NUM_CONFLICTS}: {NUM_CONFLICTS}</strong></div>
    243 <!-- ENDIF -->
    244253                                                {DIFF_CONTENT}
    245254                                        </div>
     
    249258                </div>
    250259        </div>
    251        
     260
    252261
    253262<!-- INCLUDE simple_footer.html -->
Note: See TracChangeset for help on using the changeset viewer.