1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 19:57:57 +02:00

Monstra Dashboard #204

This commit is contained in:
Awilum
2014-03-16 01:42:20 +04:00
parent 798c121e51
commit bd3df9598a

View File

@@ -82,27 +82,32 @@
</div>
<div id="gaSettings" class="row hide">
<div class="col-md-12">
<div class="col-md-4">
<form method="POST">
<?php echo Form::hidden('csrf', Security::token()); ?>
<label><?php echo __('Client ID', 'system'); ?><input name="ga_client_id" value="<?php echo Option::get('ga_client_id'); ?>" placeholder="<?php echo __('Client ID', 'system'); ?>" /></label>
<label><?php echo __('API key', 'system'); ?><input name="ga_api_key" value="<?php echo Option::get('ga_api_key'); ?>" placeholder="<?php echo __('API key', 'system'); ?>" /></label>
<label><?php echo __('View ID', 'system'); ?><input name="ga_view_id" value="<?php echo Option::get('ga_view_id'); ?>" placeholder="<?php echo __('View ID', 'system'); ?>" /></label>
<label><?php echo __('Tracking ID', 'system'); ?><input name="ga_tracking_id" value="<?php echo Option::get('ga_tracking_id'); ?>" placeholder="<?php echo __('Tracking ID', 'system'); ?>" /></label>
<?php echo Form::hidden('csrf', Security::token()); ?>
<div class="form-group">
<label><?php echo __('Client ID', 'system'); ?></label><input name="ga_client_id" class="form-control" value="<?php echo Option::get('ga_client_id'); ?>">
</div>
<div class="form-group">
<label><?php echo __('API key', 'system'); ?></label><input name="ga_api_key" class="form-control" value="<?php echo Option::get('ga_api_key'); ?>">
</div>
<div class="form-group">
<label><?php echo __('View ID', 'system'); ?></label><input name="ga_view_id" class="form-control" value="<?php echo Option::get('ga_view_id'); ?>">
</div>
<div class="form-group">
<label><?php echo __('Tracking ID', 'system'); ?></label><input name="ga_tracking_id" class="form-control" value="<?php echo Option::get('ga_tracking_id'); ?>">
</div>
<input type="hidden" name="ga_settings_update" value="1" />
<button type="submit" class="btn btn-default"><?php echo __('Save', 'system'); ?></button>
<div class="form-group">
<button type="submit" class="btn btn-primary"><?php echo __('Save', 'system'); ?></button>
</div>
</form>
</div>
</div>
<div id="gaHelpLink" class="row hide">
<div class="col-md-12">
<br />Google Analytics help page: <a href="https://support.google.com/analytics/?hl=en" target="_blank">https://support.google.com/analytics/?hl=en</a>
Google Analytics help page: <a href="https://support.google.com/analytics/?hl=en" target="_blank">https://support.google.com/analytics/?hl=en</a>
</div>
</div>