pupupu

simple static CMS for crappy servers
git clone https://git.ce9e.org/pupupu.git

commit
9c1a4c8ee62d278b6ab397362db5095f5890d1c8
parent
ffabb9653fb532c284eff3d943d2c3843d3118f1
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-12 17:22
red delete button

Diffstat

M static/main.scss 4 ++++
M templates/form.html 4 ++--

2 files changed, 6 insertions, 2 deletions


diff --git a/static/main.scss b/static/main.scss

@@ -8,3 +8,7 @@ textarea {
    8     8 	width: 100%;
    9     9 	margin-bottom: $spacer;
   10    10 }
   -1    11 
   -1    12 .button--danger {
   -1    13 	@include button-color(red, white, darkred);
   -1    14 }

diff --git a/templates/form.html b/templates/form.html

@@ -26,8 +26,8 @@
   26    26             <textarea name="yml">{{ data.yml }}</textarea>
   27    27         </label>
   28    28 
   29    -1         <input type="submit" class="btn" value="Save">
   30    -1         <input type="submit" class="btn btn--danger" name="delete" value="Löschen">
   -1    29         <input type="submit" value="Save">
   -1    30         <input type="submit" class="button--danger" name="delete" value="Löschen">
   31    31     </form>
   32    32 
   33    33     <nav aria-label="Subpages">