Skip to content

Commit 4ee4ab9

Browse files
committed
Usage tooltips added for 2 x paths, with CSS also
1 parent af86a93 commit 4ee4ab9

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

lang/english.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@
159159
"github paths" => "github paths",
160160
"Choose existing path" => "Choose existing path",
161161
"Local path" => "Local path",
162+
"Slash prefixed" => "Slash prefixed",
162163
"Remote GitHub path" => "Remote GitHub path",
164+
"Absolute URL beginning..." => "Absolute URL, beginning https://github.com",
163165
"Choose" => "Choose",
164166
"Set local and..." => "Set local and remote path to blank to remove",
165167
"Update" => "Update",

lib/github-manager.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ input:focus {
3333
box-shadow: 0 0 10px 1px rgba(0,198,255,0.7);
3434
}
3535

36-
.githubManager {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #fff; padding: 20px}
36+
.githubManager {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #fff; padding: 20px}
37+
.githubManager .info {font-size: 10px; color: rgba(0,198,255,0.7); cursor: help}

lib/github-manager.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@
187187
<form id="githubUpdateForm" action="github-manager.php?action=update" method="POST">
188188
<table>
189189
<tr>
190-
<td style="padding-left: 5px"><?php echo $t['Local path'];?></td>
191-
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?></td>
190+
<td style="padding-left: 5px"><?php echo $t['Local path'];?> <span class="info" title="<?php echo $t['Slash prefixed'];?>">[?]</span></td>
191+
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?> <span class="info" title="<?php echo $t['Absolute URL beginning...'];?>">[?]</span></td>
192192
</tr>
193193
<?php
194194
for ($i=0; $i<count($pathsLocal); $i++) {
@@ -217,8 +217,8 @@
217217
<form id="githubAddForm" action="github-manager.php?action=add" method="POST">
218218
<table>
219219
<tr>
220-
<td style="padding-left: 5px"><?php echo $t['Local path'];?></td>
221-
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?></td>
220+
<td style="padding-left: 5px"><?php echo $t['Local path'];?> <span class="info" title="<?php echo $t['Slash prefixed'];?>">[?]</span></td>
221+
<td style="padding-left: 5px"><?php echo $t['Remote GitHub path'];?> <span class="info" title="<?php echo $t['Absolute URL beginning...'];?>">[?]</span></td>
222222
</tr>
223223
<tr>
224224
<td style="padding: 0 10px 8px 0"><input type="text" name="githubLocalPathNEW" value="" style="width: 250px"></td>

0 commit comments

Comments
 (0)