change gpx file icon, small explanation for load/save

merge-requests/1/head
Julien Veyssier 2016-12-02 15:13:14 +01:00
parent 1f060deb30
commit dd26abf70c
5 changed files with 10 additions and 2 deletions

View File

@ -299,7 +299,7 @@ class PageController extends Controller {
} }
else if ($elem->getType() === \OCP\Files\FileInfo::TYPE_FILE and else if ($elem->getType() === \OCP\Files\FileInfo::TYPE_FILE and
(endswith($elempath, '.gpx') or endswith($elempath, '.GPX'))){ (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>';
} }
} }
} }

View File

@ -502,3 +502,9 @@ h2.popupTitle{
margin-right: auto; margin-right: auto;
display:block; 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

View File

@ -25,11 +25,13 @@ p($_['gpxedit_version']);
<hr/> <hr/>
<h2 id="loadtitle">Load <b id="loadoptiontoggle"><i class="fa fa-expand"></i></b></h2> <h2 id="loadtitle">Load <b id="loadoptiontoggle"><i class="fa fa-expand"></i></b></h2>
<div id="loaddiv" style="display:none;"> <div id="loaddiv" style="display:none;">
<p>Select a gpx file to load it on the map</p><br/>
<div id="loadtree"></div> <div id="loadtree"></div>
</div> </div>
<hr/> <hr/>
<h2 id="savetitle">Save <b id="saveoptiontoggle"><i class="fa fa-expand"></i></b></h2> <h2 id="savetitle">Save <b id="saveoptiontoggle"><i class="fa fa-expand"></i></b></h2>
<div id="savediv" style="display:none;"> <div id="savediv" style="display:none;">
<p>Select a folder, set a name and click "Save" button</p><br/>
<div id="savetree"></div> <div id="savetree"></div>
<input id="saveName"></input> <input id="saveName"></input>
<button id="saveButton">Save</button> <button id="saveButton">Save</button>