Files
Testing/wall/include/ads/dashboard.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

120 lines
5.8 KiB
PHP

<div style="position:fixed;top:0px;left:0px;width:100%;z-index:20;">
<header>
<h2 style="background:#524437;width:100%;padding-top:38px;font-size:160%;line-height:140%;padding-left:5px"><i class="fa fa-buysellads"></i> BWE Advertisements</h2>
</header>
<nav role='navigation' class="dashboard-nav" id="advertisement-nav" style="width:100%;margin:0;padding:0;">
<ul id="advertisement-nav-list" style="width:100%;margin:0;padding:0;">
<li><a href="#" class="initial" style="outline:none;">Dashboard</a></li>
<li>
<a href="#">
<div>
Zones
<span></span>
</div>
</a>
</li>
<li>
<a href="#">
<div>
Groups
<span></span>
</div>
</a>
</li>
<li>
<a href="#">
<div>
Ads
<span></span>
</div>
</a>
</li>
</ul>
</nav>
</div>
<div style="padding:100px 10px 50px 10px;color:#333;background-color:#f2eadd;">
<div id="ad_dashboard"></div>
<div id="ad_ins_zones">
<div style="margin-bottom:20px;"><a href="#" title="cancel and return to list" class="ad-tooltip">Cancel</a></div>
<form action="javascript:void(null);" id="ad_frm_ins_zone" name="ad_frm_ins_zone" class="mw-400">
<fieldset class="fs-dash pad-10">
<legend><i class="fa fa-database"></i> Add Advertisement Zone</legend>
<div>
<label for="ad_zone_name">Name (<span>required</span>)</label>
<input type="text" id="ad_zone_name" name="ad_zone_name" required pattern="[a-zA-Z0-9-_]{4,64}" autocomplete="off" />
<p class="italic">Alpha-Numeric plus - _ , 4-64 characters</p>
</div>
<div style="margin-top:10px;">
<label for="ad_ins_zone_description">Description (<span>recommended</span>)</label>
<textarea id="ad_ins_zone_description" name="ad_ins_zone_description" autocomplete="off"></textarea>
</div>
<div style="margin-top:10px;">
<label for="ad_ins_max_width">Max. Width (<span>optional</span>)</label>
<input type="number" id="ad_ins_max_width" name="ad_ins_max_width" min="1" step="1" autocomplete="off" required style="width:25%;" /><a href="javascript:void(null);" title="Normally an ad image will be sized to the dimensions of the container it occupies. However, you can override/adjust that setting by adding a maximum width for the image here. If you add a maximum width, you cannot add a maximum height and vice versa." class="info" style="position:relative;"><i class="fa fa-info-circle" style="float:right;"></i></a>
<p class="italic">Postive Integer Only</p>
</div>
<div style="margin-top:10px;">
<label for="ad_ins_max_height">Max. Height (<span>optional</span>)</label>
<input type="number" id="ad_ins_max_height" name="ad_ins_max_height" min="1" step="1" required autocomplete="off" style="width:25%;" /> <a href="javascript:void(null);" title="Normally an ad image will be sized to the dimensions of the container it occupies. However, you can override/adjust that setting by adding a maximum height for the image here. If you add a maximum height, you cannot add a maximum width and vice versa." class="info" style="position:relative;"><i class="fa fa-info-circle" style="float:right;"></i></a>
<p class="italic">Postive Integer Only</p>
</div>
</fieldset>
<div style="margin-top:10px;text-align:right"><input type="submit" value="Submit" /></div>
</form>
</div>
<div id="ad_edit_zones">
<div style="margin-bottom:20px;"><a href="#" title="cancel and return to list" class="ad-tooltip">Cancel</a></div>
<form action="javascript:void(null);" id="ad_frm_ins_zone" name="ad_frm_ed_zone" class="mw-400" \>
<fieldset class="fs-dash pad-10">
<legend><i class="fa fa-pencil-square-o"></i> Edit Advertisement Zone</legend>
<div>
<label for="ad_ed_zone_name">Name (<span>required</span>)</label>
<input type="text" id="ad_ed_zone_name" name="ad_ed-zone_name" required pattern="[a-zA-Z0-9-_]{4,64}" autocomplete="off" />
<p class="italic">Alpha-Numeric plus - _ , 4-64 characters</p>
</div>
<div style="margin-top:10px;">
<label for="ad_ed_zone_description">Description (<span>recommended</span>)</label>
<textarea id="ad_ed_zone_description" name="ad_ed_zone_description" autocomplete="off"></textarea>
</div>
<div style="margin-top:10px;">
<label for="ad_ed_max_width">Max. Width (<span>optional</span>)</label>
<a href="javascript:void(null);" title="Normally an ad image will be sized to the dimensions of the container it occupies. However, you can override/adjust that setting by adding a maximum width for the image here. If you add a maximum width, you cannot add a maximum height and vice versa." class="info" style="position:relative;"><i class="fa fa-info-circle fa-2x" style="float:right;"></i></a>
<input type="number" id="ad_ed_max_width" name="ad_ed_max_width" min="1" step="1" autocomplete="off" style="width:25%;" />
<p class="italic">Postive Integer Only</p>
</div>
<div style="margin-top:10px;">
<label for="ad_ed_max_height">Max. Height (<span>optional </span>)</label>
<a href="javascript:void(null);" title="Normally an ad image will be sized to the dimensions of the container it occupies. However, you can override/adjust that setting by adding a maximum height for the image here. If you add a maximum height, you cannot add a maximum width and vice versa." class="info" style="position:relative;"><i class="fa fa-info-circle" style="float:right;"></i></a>
<input type="number" id="ad_ed_max_height" name="ad_ed_max_height" min="1" step="1" autocomplete="off" style="width:25%;" />
<p class="italic">Postive Integer Only</p>
</div>
</fieldset>
<div style="margin-top:10px;text-align:right"><input type="submit" value="Update" /></div>
</form>
</div>
</div>