Add set starting view button
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -97,11 +97,17 @@ class GlModelHooks {
|
||||
'onclick' => 'downloadImage("' . $title . '")'
|
||||
);
|
||||
|
||||
$orbButtonAttr = array(
|
||||
'class' => 'preview-button SetOrbit',
|
||||
'onclick' => 'writeCameraOrbit()'
|
||||
);
|
||||
|
||||
$addHsButton = array(
|
||||
Html::rawElement('button',$addButtonAttr,'Add a new hotspot'),
|
||||
Html::rawElement('button',$readButtonAttr,'Update hotspots'),
|
||||
Html::rawElement('button',$delButtonAttr,'Delete hotspot'),
|
||||
Html::rawElement('button',$dldButtonAttr,'Download image')
|
||||
Html::rawElement('button',$dldButtonAttr,'Download image'),
|
||||
Html::rawElement('button',$orbButtonAttr,'Set start view')
|
||||
);
|
||||
|
||||
$previewHTML = Html::rawElement('div',NULL,$previewViewer.implode($addHsButton));
|
||||
|
||||
Reference in New Issue
Block a user