echo 'disabled';
}
?>
" onclick="revNav('-')" type="submit"><span class="glyphicon glyphicon-chevron-left"></span></button>
					    </span>
						<input type="text" class="form-control input-sm rev_input" name="rev" value="<?php 
echo getRev(true);
?>
" placeholder="HEAD">
					    <span class="input-group-btn">
					    	<button class="btn btn-default btn-sm" type="submit"><span class="glyphicon glyphicon-screenshot"></span></button>
					    	<button class="btn btn-default btn-sm <?php 
if (getLastRev() == getRev(true) or 'HEAD' == getRev()) {
    echo 'disabled';
}
?>
" onclick="revNav('max')" type="submit" default><span class="glyphicon glyphicon-step-forward"></span></button>
					    	<button class="btn btn-default btn-sm <?php 
if (getLastRev() == getRev(true) or 'HEAD' == getRev()) {
    echo 'disabled';
}
?>
" onclick="revNav('+')" type="submit"><span class="glyphicon glyphicon-chevron-right"></span></button>
					    </span>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
Beispiel #2
0
            </thead>
            <tbody>
                <?php 
foreach (getReposList() as $key => $repo) {
    setRepo($repo);
    ?>
                    <tr>
                        <td><span class="fa fa-archive"></span> <a href="<?php 
    echo getUrl('repo', "", true, array('repo' => $repo));
    ?>
"><?php 
    echo $key;
    ?>
</a></td>
                        <td><span class="badge"><?php 
    echo getLastRev();
    ?>
</span></td>
                        <td><?php 
    echo getCommitAuthor();
    ?>
</td>
                        <td><?php 
    echo getCommitDate();
    ?>
</td>
                    </tr>
                    <?php 
}
?>
            </tbody>