Usage tooltips added for 2 x paths, with CSS also

This commit is contained in:
Matt Pass
2015-04-29 08:56:56 +01:00
parent af86a93993
commit 4ee4ab9247
3 changed files with 8 additions and 5 deletions

View File

@@ -159,7 +159,9 @@ $text = array(
"github paths" => "github paths",
"Choose existing path" => "Choose existing path",
"Local path" => "Local path",
"Slash prefixed" => "Slash prefixed",
"Remote GitHub path" => "Remote GitHub path",
"Absolute URL beginning..." => "Absolute URL, beginning https://github.com",
"Choose" => "Choose",
"Set local and..." => "Set local and remote path to blank to remove",
"Update" => "Update",

View File

@@ -33,4 +33,5 @@ input:focus {
box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
}
.githubManager {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #fff; padding: 20px}
.githubManager {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #fff; padding: 20px}
.githubManager .info {font-size: 10px; color: rgba(0,198,255,0.7); cursor: help}

View File

@@ -187,8 +187,8 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset
<form id="githubUpdateForm" action="github-manager.php?action=update" method="POST">
<table>
<tr>
<td style="padding-left: 5px"><?php echo $t['Local path'];?></td>
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?></td>
<td style="padding-left: 5px"><?php echo $t['Local path'];?> <span class="info" title="<?php echo $t['Slash prefixed'];?>">[?]</span></td>
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?> <span class="info" title="<?php echo $t['Absolute URL beginning...'];?>">[?]</span></td>
</tr>
<?php
for ($i=0; $i<count($pathsLocal); $i++) {
@@ -217,8 +217,8 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset
<form id="githubAddForm" action="github-manager.php?action=add" method="POST">
<table>
<tr>
<td style="padding-left: 5px"><?php echo $t['Local path'];?></td>
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?></td>
<td style="padding-left: 5px"><?php echo $t['Local path'];?> <span class="info" title="<?php echo $t['Slash prefixed'];?>">[?]</span></td>
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?> <span class="info" title="<?php echo $t['Absolute URL beginning...'];?>">[?]</span></td>
</tr>
<tr>
<td style="padding: 0 10px 8px 0"><input type="text" name="githubLocalPathNEW" value="" style="width: 250px"></td>