change gpx file icon, small explanation for load/save
parent
1f060deb30
commit
dd26abf70c
|
@ -299,7 +299,7 @@ class PageController extends Controller {
|
|||
}
|
||||
else if ($elem->getType() === \OCP\Files\FileInfo::TYPE_FILE and
|
||||
(endswith($elempath, '.gpx') or endswith($elempath, '.GPX'))){
|
||||
$responseTxt .= '<li class="file ext_gpx"><a href="#" rel="'.$elempath.'">'.$elem->getName().'</a></li>';
|
||||
$responseTxt .= '<li class="gpx ext_gpx"><a href="#" rel="'.$elempath.'">'.$elem->getName().'</a></li>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -502,3 +502,9 @@ h2.popupTitle{
|
|||
margin-right: auto;
|
||||
display:block;
|
||||
}
|
||||
#saveButton{
|
||||
width:18%;
|
||||
}
|
||||
#saveName{
|
||||
width:78%;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 389 B |
|
@ -25,11 +25,13 @@ p($_['gpxedit_version']);
|
|||
<hr/>
|
||||
<h2 id="loadtitle">Load <b id="loadoptiontoggle"><i class="fa fa-expand"></i></b></h2>
|
||||
<div id="loaddiv" style="display:none;">
|
||||
<p>Select a gpx file to load it on the map</p><br/>
|
||||
<div id="loadtree"></div>
|
||||
</div>
|
||||
<hr/>
|
||||
<h2 id="savetitle">Save <b id="saveoptiontoggle"><i class="fa fa-expand"></i></b></h2>
|
||||
<div id="savediv" style="display:none;">
|
||||
<p>Select a folder, set a name and click "Save" button</p><br/>
|
||||
<div id="savetree"></div>
|
||||
<input id="saveName"></input>
|
||||
<button id="saveButton">Save</button>
|
||||
|
|
Loading…
Reference in New Issue