Changeset 3 for templates


Ignore:
Timestamp:
May 5, 2008, 8:33:15 AM (16 years ago)
Author:
george
Message:

Přidáno: Nastavení počtu zobrazených serverů na stránku a počtu nej serverů v konfiguračním souboru.
Opraveno: Pročištění použití stylů a vyřešení překrývání hlavního seznamu s pravým sloupcem u některých prohlížečů. Všechny informace o stylech musí být v souboru CSS a ne v HTML kódu.

Location:
templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • templates/a_servers.html

    r1 r3  
    11<h2>{servers_h2}</h2>
    2 <div class="table" style="text-align: center; width: 600px">
     2<div class="table">
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=a-servers&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
     
    1111  </select>
    1212</div>
    13 <div class="table" style="text-align: center; width: 600px">
     13<div class="table">
    1414{pager}
    1515</div>
    1616
    17 <table class="table" border="1" style=" width: 600px">
    18 <tr class="table">
     17<table class="table">
     18<tr>
    1919  <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
    2020  <th>{th_name}</th>
     
    2929</table>
    3030
    31 <div class="table" style="text-align: center; width: 600px">
     31<div class="table">
    3232{pager}
    3333</div>
  • templates/servers.html

    r1 r3  
    11<h2>České servery</h2>
    2 <div class="table" style="text-align: center; width: 600px">
     2<div class="table">
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=servers&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
     
    1111  </select>
    1212</div>
    13 <div class="table" style="text-align: center; width: 600px">
     13<div class="table">
    1414{pager}
    1515</div>
    1616
    17 <table class="table" border="1" style=" width: 600px">
    18 <tr class="table">
     17<table class="table">
     18<tr>
    1919  <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
    2020  <th>{th_name}</th>
     
    2929</table>
    3030
    31 <div class="table" style="text-align: center; width: 600px">
     31<div class="table" style="text-align: center; width: 500px">
    3232{pager}
    3333</div>
  • templates/style/screen2.css

    r1 r3  
    6060}
    6161.box {
    62     text-align:left;
    63     padding: 20px;
    64     background-color: #e6e6e6;
    65         border: 1px solid #b8b8b8;
    66         width: 272px;
    67         margin-bottom: 2px;
     62  text-align:left;
     63  padding: 20px;
     64  background-color: #e6e6e6;
     65  border: 1px solid #b8b8b8;
     66  width: 272px;
     67  margin-bottom: 2px;
     68  padding-left: 30px;
     69  padding-right: 10px;
    6870}
    6971#foot {
     
    9698    border: 1px solid #b8b8b8;
    9799    background: rgb(237,237,237);
    98     width: 500px;
    99     Border-collapse: collapse;
     100    width: 600px;
     101    border-collapse: collapse;
     102    text-align: center;
     103
    100104}
    101105
    102106.table td {
    103     padding: 5px 15px 5px 15px;
     107    border: 1px solid #b8b8b8;
     108    padding: 5px 10px 5px 10px;
     109}
     110
     111.table th {
     112    border: 1px solid #b8b8b8;
     113    padding: 2px 5px 2px 5px;
    104114}
    105115
     
    180190        background: #ffffff;
    181191        text-align: center;
    182         width: 160px;
    183         height: 40px;
    184         padding: 5px;
     192        align: center;
     193        _width: 160px;
     194        _height: 40px;
     195        _padding: 5px;
    185196        margin: 5px auto 5px auto;
    186197}
  • templates/wss_partners.html

    r1 r3  
    11<h2>{wss_partners_h2}</h2>
    2 <div class="table" style="text-align: center; width: 600px">
     2<div class="table">
    33<b>{order_by}:</b>  <select onchange="location.href='index.php?page=wss-partners&amp;order='+this.selectedIndex">
    44    <option {s0}>{th_name}</option>
     
    1111  </select>
    1212</div>
    13 <div class="table" style="text-align: center; width: 600px">
     13<div class="table">
    1414{pager}
    1515</div>
    1616
    17 <table class="table" border="1" style=" width: 600px">
    18 <tr class="table">
     17<table class="table">
     18<tr>
    1919  <th><img src="templates/img/hvezda.gif" alt="Doporučujeme" title="Doporučujeme"></th>
    2020  <th>{th_name}</th>
     
    2929</table>
    3030
    31 <div class="table" style="text-align: center; width: 600px">
     31<div class="table">
    3232{pager}
    3333</div>
Note: See TracChangeset for help on using the changeset viewer.