public function renderDashboard()
    {
        $grid = $this->settings["grid-size"];
        ?>
				<div class="wolf-dashboard-settings">
					<div class="wolf-dashboard-settings-container">
						<div class="wolf-dashboard-settings-label" data-text="<?php 
        echo __("Hide Settings");
        ?>
"><?php 
        echo __("Show Settings");
        ?>
</div>
						<div class="wolf-dashboard-settings-content">
							<div class="wolf-dashboard-form-group">
								<b><?php 
        echo __("Dashboard Widgets");
        ?>
</b>
								<div class="wolf-dashboard-form-group-input">
									<?php 
        foreach (DashboardWidgets::$widgets as $key => $widget) {
            $check = "";
            if (array_key_exists($key, $this->settings["widget-position"])) {
                $check = " checked";
            }
            ?>
										<label><input type="checkbox" name="dashboard-widget" value="<?php 
            echo $key;
            ?>
" <?php 
            echo $check;
            ?>
 /> <?php 
            echo $widget["title"];
            ?>
</label>
									<?php 
        }
        ?>
								</div>
							</div>
							<div class="wolf-dashboard-form-group wolf-dashboard-form-left">
								<b><?php 
        echo __("Grid Size");
        ?>
</b>
								<div class="wolf-dashboard-form-group-input">
									<label>
										<input type="radio" name="dashboard-grid-size" value="2" <?php 
        if ($this->settings["grid-size"] == 2) {
            echo "checked";
        }
        ?>
 />
										2 <?php 
        echo __("Parts");
        ?>
									</label>
									<label>
										<input type="radio" name="dashboard-grid-size" value="3" <?php 
        if ($this->settings["grid-size"] == 3) {
            echo "checked";
        }
        ?>
 />
										3 <?php 
        echo __("Parts");
        ?>
									</label>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="wolf-dashboard-container">
					<div id="wolf-dashboard" class="wolf-dashboard wolf-dashboard-grid-<?php 
        echo $grid;
        ?>
" data-grid="<?php 
        echo $grid;
        ?>
">
						<?php 
        for ($i = 1; $i <= $grid; $i++) {
            ?>
							<div id="wolf-dashboard-part-<?php 
            echo $i;
            ?>
" class="wolf-dashboard-part wolf-dashboard-part-<?php 
            echo $i;
            ?>
">
								<?php 
            foreach (DashboardWidgets::getWidgets($i, $grid) as $widget) {
                $this->renderWidget($widget);
            }
            ?>
							</div>
						<?php 
        }
        ?>
					</div>
				</div>
				<div class="wolf-dashboard-footer">
					<input type="hidden" name="dashboard_url" value="<?php 
        echo get_url("plugin/dashboard/ajax");
        ?>
" />
					<input type="hidden" name="dashboard_token" value="<?php 
        echo SecureToken::generateToken(get_url("plugin/dashboard"));
        ?>
" />
				</div>
			<?php 
    }