turned custer into a repo
This commit is contained in:
74
admin_menu.html
Normal file
74
admin_menu.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<style>
|
||||
#custer_notice_html_wrapper {
|
||||
margin: 15px 15px 15px 0px;
|
||||
#custer_notice_html {
|
||||
margin: 0px;
|
||||
<?php echo $option_notice['style']; ?>
|
||||
}
|
||||
}
|
||||
form.form_custer {
|
||||
margin: 50px 15px 15px 0px;
|
||||
border: 1px solid black;
|
||||
padding: 15px;
|
||||
details:not([open]) {
|
||||
summary {
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
details {
|
||||
summary {
|
||||
cursor: grab;
|
||||
h2 {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
summary ~ * {
|
||||
margin-top: 20px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
textarea {
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
&.notice_style_custer {
|
||||
height: 120px;
|
||||
}
|
||||
&.notice_html_custer {
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="custer_notice_html_wrapper">
|
||||
<div id="custer_notice_html">
|
||||
<?php echo wp_unslash($option_notice['html']); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (current_user_can('administrator')) { ?>
|
||||
<?php echo Plgntls_custer::open_form_option($option_notice['_name'], 'POST', 'form_custer'); ?>
|
||||
<details class="">
|
||||
<summary><h2>modifier ce mode d'emplois :</h2></summary>
|
||||
|
||||
<div>
|
||||
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_style_custer">style : </label>
|
||||
<textarea class="notice_style_custer" id="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_style_custer" name="style"><?php echo esc_html(stripslashes($option_notice['style'])); ?></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_html_custer">html : </label>
|
||||
<textarea class="notice_html_custer" id="<?php echo esc_html(stripslashes($option_notice['_name'])); ?>_modify_html_custer" name="html"><?php echo esc_html(stripslashes($option_notice['html'])); ?></textarea>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="send"/>
|
||||
</details>
|
||||
|
||||
</form>
|
||||
<?php } ?>
|
||||
Reference in New Issue
Block a user