diff --git a/src/Yavsc.Server/ansi2html.sh b/src/Yavsc.Server/ansi2html.sh deleted file mode 100755 index ae83a787..00000000 --- a/src/Yavsc.Server/ansi2html.sh +++ /dev/null @@ -1,520 +0,0 @@ -#!/bin/sh - -# Convert ANSI (terminal) colours and attributes to HTML - -# Licence: LGPLv2 -# Author: -# http://www.pixelbeat.org/docs/terminal_colours/ -# Examples: -# ls -l --color=always | ansi2html.sh > ls.html -# git show --color | ansi2html.sh > last_change.html -# Generally one can use the `script` util to capture full terminal output. -# Changes: -# V0.1, 24 Apr 2008, Initial release -# V0.2, 01 Jan 2009, Phil Harnish -# Support `git diff --color` output by -# matching ANSI codes that specify only -# bold or background colour. -# P@draigBrady.com -# Support `ls --color` output by stripping -# redundant leading 0s from ANSI codes. -# Support `grep --color=always` by stripping -# unhandled ANSI codes (specifically ^[[K). -# V0.3, 20 Mar 2009, http://eexpress.blog.ubuntu.org.cn/ -# Remove cat -v usage which mangled non ascii input. -# Cleanup regular expressions used. -# Support other attributes like reverse, ... -# P@draigBrady.com -# Correctly nest tags (even across lines). -# Add a command line option to use a dark background. -# Strip more terminal control codes. -# V0.4, 17 Sep 2009, P@draigBrady.com -# Handle codes with combined attributes and color. -# Handle isolated attributes with css. -# Strip more terminal control codes. -# V0.24, 14 Sep 2017 -# http://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh - -gawk --version >/dev/null || exit 1 - -if [ "$1" = "--version" ]; then - printf '0.23\n' && exit -fi - -usage() -{ -printf '%s\n' \ -'This utility converts ANSI codes in data passed to stdin -It has 4 optional parameters: ---bg=dark --palette=linux|solarized|tango|xterm --css-only|--body-only -E.g.: ls -l --color=always | ansi2html.sh --bg=dark > ls.html' >&2 - exit -} - -if [ "$1" = "--help" ]; then - usage -fi - -processArg() -{ - [ "$1" = "--bg=dark" ] && { dark_bg=yes; return; } - [ "$1" = "--css-only" ] && { css_only=yes; return; } - [ "$1" = "--body-only" ] && { body_only=yes; return; } - if [ "$1" = "--palette=solarized" ]; then - # See http://ethanschoonover.com/solarized - P0=073642; P1=D30102; P2=859900; P3=B58900; - P4=268BD2; P5=D33682; P6=2AA198; P7=EEE8D5; - P8=002B36; P9=CB4B16; P10=586E75; P11=657B83; - P12=839496; P13=6C71C4; P14=93A1A1; P15=FDF6E3; - return; - elif [ "$1" = "--palette=solarized-xterm" ]; then - # Above mapped onto the xterm 256 color palette - P0=262626; P1=AF0000; P2=5F8700; P3=AF8700; - P4=0087FF; P5=AF005F; P6=00AFAF; P7=E4E4E4; - P8=1C1C1C; P9=D75F00; P10=585858; P11=626262; - P12=808080; P13=5F5FAF; P14=8A8A8A; P15=FFFFD7; - return; - elif [ "$1" = "--palette=tango" ]; then - # Gnome default - P0=000000; P1=CC0000; P2=4E9A06; P3=C4A000; - P4=3465A4; P5=75507B; P6=06989A; P7=D3D7CF; - P8=555753; P9=EF2929; P10=8AE234; P11=FCE94F; - P12=729FCF; P13=AD7FA8; P14=34E2E2; P15=EEEEEC; - return; - elif [ "$1" = "--palette=xterm" ]; then - P0=000000; P1=CD0000; P2=00CD00; P3=CDCD00; - P4=0000EE; P5=CD00CD; P6=00CDCD; P7=E5E5E5; - P8=7F7F7F; P9=FF0000; P10=00FF00; P11=FFFF00; - P12=5C5CFF; P13=FF00FF; P14=00FFFF; P15=FFFFFF; - return; - else # linux console - P0=000000; P1=AA0000; P2=00AA00; P3=AA5500; - P4=0000AA; P5=AA00AA; P6=00AAAA; P7=AAAAAA; - P8=555555; P9=FF5555; P10=55FF55; P11=FFFF55; - P12=5555FF; P13=FF55FF; P14=55FFFF; P15=FFFFFF; - [ "$1" = "--palette=linux" ] && return; - fi -} - -processArg #defaults -for var in "$@"; do processArg $var; done -[ "$css_only" ] && [ "$body_only" ] && usage - -# Mac OSX's GNU sed is installed as gsed -# use e.g. homebrew 'gnu-sed' to get it -if ! sed --version >/dev/null 2>&1; then - if gsed --version >/dev/null 2>&1; then - alias sed=gsed - else - echo "Error, can't find an acceptable GNU sed." >&2 - exit 1 - fi -fi - -[ "$css_only" ] || [ "$body_only" ] || printf '%s' " - - - - - - -
-'
-[ "$body_only" ] && printf '%s\n' 'Be sure to use  and 
' >&2
-
-p='\x1b\['        #shortcut to match escape codes
-
-# Handle various xterm control sequences.
-# See /usr/share/doc/xterm-*/ctlseqs.txt
-sed "
-# escape ampersand and quote
-s#&#\&#g; s#\"#\"#g;
-s#\x1b[^\x1b]*\x1b\\\##g  # strip anything between \e and ST
-s#\x1b][0-9]*;[^\a]*\a##g # strip any OSC (xterm title etc.)
-
-s#\r\$## # strip trailing \r
-
-# strip other non SGR escape sequences
-s#[\x07]##g
-s#\x1b[]>=\][0-9;]*##g
-s#\x1bP+.\{5\}##g
-# Mark cursor positioning codes \"Jr;c;
-s#${p}\([0-9]\{1,2\}\)G#\"J;\1;#g
-s#${p}\([0-9]\{1,2\}\);\([0-9]\{1,2\}\)H#\"J\1;\2;#g
-
-# Mark clear as \"Cn where n=1 is screen and n=0 is to end-of-line
-s#${p}H#\"C1;#g
-s#${p}K#\"C0;#g
-# Mark Cursor move columns as \"Mn where n is +ve for right, -ve for left
-s#${p}C#\"M1;#g
-s#${p}\([0-9]\{1,\}\)C#\"M\1;#g
-s#${p}\([0-9]\{1,\}\)D#\"M-\1;#g
-s#${p}\([0-9]\{1,\}\)P#\"X\1;#g
-
-s#${p}[0-9;?]*[^0-9;?m]##g
-
-" |
-
-# Normalize the input before transformation
-sed "
-# escape HTML (ampersand and quote done above)
-s#>#\>#g; s#<#\<#g;
-
-# handle truecolor
-s#${p}38;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
-#g
-s#${p}48;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
-#g
-
-# normalize SGR codes a little
-
-# split 256 colors out and mark so that they're not
-# recognised by the following 'split combined' line
-:e
-s#${p}\([0-9;]\{1,\}\);\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m${p}¬\2m#g; t e
-s#${p}\([34]8;5;[0-9]\{1,3\}\)m#${p}¬\1m#g;
-
-:c
-s#${p}\([0-9]\{1,\}\);\([0-9;]\{1,\}\)m#${p}\1m${p}\2m#g; t c   # split combined
-s#${p}0\([0-7]\)#${p}\1#g                                 #strip leading 0
-s#${p}1m\(\(${p}[4579]m\)*\)#\1${p}1m#g                   #bold last (with clr)
-s#${p}m#${p}0m#g                                          #add leading 0 to norm
-
-# undo any 256 color marking
-s#${p}¬\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m#g;
-
-# map 16 color codes to color + bold
-s#${p}9\([0-7]\)m#${p}3\1m${p}1m#g;
-s#${p}10\([0-7]\)m#${p}4\1m${p}1m#g;
-
-# change 'reset' code to \"R
-s#${p}0m#\"R;#g
-" |
-
-# Convert SGR sequences to HTML
-sed "
-# common combinations to minimise html (optional)
-:f
-s#${p}3[0-7]m${p}3\([0-7]\)m#${p}3\1m#g; t f
-:b
-s#${p}4[0-7]m${p}4\([0-7]\)m#${p}4\1m#g; t b
-s#${p}3\([0-7]\)m${p}4\([0-7]\)m##g
-s#${p}4\([0-7]\)m${p}3\([0-7]\)m##g
-
-s#${p}1m##g
-s#${p}4m##g
-s#${p}5m##g
-s#${p}7m##g
-s#${p}9m##g
-s#${p}3\([0-9]\)m##g
-s#${p}4\([0-9]\)m##g
-
-s#${p}38;5;\([0-9]\{1,3\}\)m##g
-s#${p}48;5;\([0-9]\{1,3\}\)m##g
-
-s#${p}[0-9;]*m##g # strip unhandled codes
-" |
-
-# Convert alternative character set and handle cursor movement codes
-# Note we convert here, as if we do at start we have to worry about avoiding
-# conversion of SGR codes etc., whereas doing here we only have to
-# avoid conversions of stuff between &...; or <...>
-#
-# Note we could use sed to do this based around:
-#   sed 'y/abcdefghijklmnopqrstuvwxyz{}`~/▒␉␌␍␊°±␤␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·/'
-# However that would be very awkward as we need to only conv some input.
-# The basic scheme that we do in the awk script below is:
-#  1. enable transliterate once "T1; is seen
-#  2. disable once "T0; is seen (may be on diff line)
-#  3. never transliterate between &; or <> chars
-#  4. track x,y movements and active display mode at each position
-#  5. buffer line/screen and dump when required
-sed "
-# change 'smacs' and 'rmacs' to \"T1 and \"T0 to simplify matching.
-s#\x1b(0#\"T1;#g;
-s#\x0E#\"T1;#g;
-
-s#\x1b(B#\"T0;#g
-s#\x0F#\"T0;#g
-" |
-(
-gawk '
-function dump_line(l,del,c,blanks,ret) {
-  for(c=1;c")
-  for(i=1;i<=spc;i++) {
-    rm=rm?rm:(a[i]!=attr[i]">")
-    if(rm) {
-      ret=ret ""
-      delete a[i];
-    }
-  }
-  for(i=1;i"
-    if(a[i]!=attr[i]) {
-      a[i]=attr[i]
-      ret = ret attr[i]
-    }
-  }
-  return ret
-}
-
-function encode(string,start,end,i,ret,pos,sc,buf) {
-   if(!end) end=length(string);
-   if(!start) start=1;
-   state=3
-   for(i=1;i<=length(string);i++) {
-     c=substr(string,i,1)
-     if(state==2) {
-       sc=sc c
-       if(c==";") {
-          c=sc
-          state=last_mode
-       } else continue
-     } else {
-       if(c=="\r") { x=1; continue }
-       if(c=="<") {
-         # Change attributes - store current active
-         # attributes in span array
-         split(substr(string,i),cord,">");
-         i+=length(cord[1])
-         span[++spc]=cord[1] ">"
-         continue
-       }
-       else if(c=="&") {
-         # All goes to single position till we see a semicolon
-         sc=c
-         state=2
-         continue
-       }
-       else if(c=="\b") {
-          # backspace move insertion point back 1
-          if(spc) attr[x,y]=atos(span)
-          x=x>1?x-1:1
-          continue
-       }
-       else if(c=="\"") {
-          split(substr(string,i+2),cord,";")
-          cc=substr(string,i+1,1);
-          if(cc=="T") {
-              # Transliterate on/off
-              if(cord[1]==1&&state==3) last_mode=state=4
-              if(cord[1]==0&&state==4) last_mode=state=3
-          }
-          else if(cc=="C") {
-              # Clear
-              if(cord[1]+0) {
-                # Screen - if Recording dump screen
-                if(dumpStatus==dsActive) ret=ret dump_screen()
-                dumpStatus=dsActive
-                delete dump
-                delete attr
-                x=y=1
-              } else {
-                # To end of line
-                for(pos=x;posmaxY) maxY=y
-                # Change y - start recording
-                dumpStatus=dumpStatus?dumpStatus:dsReset
-              }
-          }
-          else if(cc=="M") {
-              # Move left/right on current line
-              x+=cord[1]
-          }
-          else if(cc=="X") {
-              # delete on right
-              for(pos=x;pos<=maxX;pos++) {
-                nx=pos+cord[1]
-                if(nx=start&&i<=end&&c in Trans) c=Trans[c]
-     }
-     if(dumpStatus==dsReset) {
-       delete dump
-       delete attr
-       ret=ret"\n"
-       dumpStatus=dsActive
-     }
-     if(dumpStatus==dsNew) {
-       # After moving/clearing we are now ready to write
-       # somthing to the screen so start recording now
-       ret=ret"\n"
-       dumpStatus=dsActive
-     }
-     if(dumpStatus==dsActive||dumpStatus==dsOff) {
-       dump[x,y] = c
-       if(!spc) delete attr[x,y]
-       else attr[x,y] = atos(span)
-       if(++x>maxX) maxX=x;
-     }
-    }
-    # End of line if dumping increment y and set x back to first col
-    x=1
-    if(!dumpStatus) return ret dump_line(y,1);
-    else if(++y>maxY) maxY=y;
-    return ret
-}
-BEGIN{
-  OFS=FS
-  # dump screen status
-  dsOff=0    # Not dumping screen contents just write output direct
-  dsNew=1    # Just after move/clear waiting for activity to start recording
-  dsReset=2  # Screen cleared build new empty buffer and record
-  dsActive=3 # Currently recording
-  F="abcdefghijklmnopqrstuvwxyz{}`~"
-  T="▒␉␌␍␊°±␤␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·"
-  maxX=80
-  delete cur;
-  x=y=1
-  for(i=1;i<=length(F);i++)Trans[substr(F,i,1)]=substr(T,i,1);
-}
-
-{ $0=encode($0) }
-1
-END {
-  if(dumpStatus) {
-    print dump_screen();
-  }
-}'
-)
-
-[ "$body_only" ] || printf '
- -\n' diff --git a/src/Yavsc/Views/Administration/Enroll.cshtml b/src/Yavsc/Views/Administration/Enroll.cshtml index 314b1d56..78125398 100644 --- a/src/Yavsc/Views/Administration/Enroll.cshtml +++ b/src/Yavsc/Views/Administration/Enroll.cshtml @@ -21,7 +21,7 @@
- +
diff --git a/src/Yavsc/Views/Administration/Fire.cshtml b/src/Yavsc/Views/Administration/Fire.cshtml index 9dc0f80e..0a7385ab 100644 --- a/src/Yavsc/Views/Administration/Fire.cshtml +++ b/src/Yavsc/Views/Administration/Fire.cshtml @@ -25,7 +25,7 @@
- +
diff --git a/src/Yavsc/Views/Administration/Role.cshtml b/src/Yavsc/Views/Administration/Role.cshtml index 94bc15ab..290b87e6 100644 --- a/src/Yavsc/Views/Administration/Role.cshtml +++ b/src/Yavsc/Views/Administration/Role.cshtml @@ -5,7 +5,7 @@

@ViewBag.Title

-Enroll +Enroll

    diff --git a/src/Yavsc/Views/Announces/Create.cshtml b/src/Yavsc/Views/Announces/Create.cshtml index be6e0dea..b2f2ec9b 100644 --- a/src/Yavsc/Views/Announces/Create.cshtml +++ b/src/Yavsc/Views/Announces/Create.cshtml @@ -43,7 +43,7 @@
    - +
    diff --git a/src/Yavsc/Views/Announces/Delete.cshtml b/src/Yavsc/Views/Announces/Delete.cshtml index f6da9042..490f63aa 100644 --- a/src/Yavsc/Views/Announces/Delete.cshtml +++ b/src/Yavsc/Views/Announces/Delete.cshtml @@ -39,7 +39,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Announces/Edit.cshtml b/src/Yavsc/Views/Announces/Edit.cshtml index 909c8c20..e0969977 100644 --- a/src/Yavsc/Views/Announces/Edit.cshtml +++ b/src/Yavsc/Views/Announces/Edit.cshtml @@ -42,7 +42,7 @@
    - +
    diff --git a/src/Yavsc/Views/Blogspot/Delete.cshtml b/src/Yavsc/Views/Blogspot/Delete.cshtml index bf198b8d..f4dcb692 100644 --- a/src/Yavsc/Views/Blogspot/Delete.cshtml +++ b/src/Yavsc/Views/Blogspot/Delete.cshtml @@ -51,7 +51,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Blogspot/Edit.cshtml b/src/Yavsc/Views/Blogspot/Edit.cshtml index b7016359..7e764563 100644 --- a/src/Yavsc/Views/Blogspot/Edit.cshtml +++ b/src/Yavsc/Views/Blogspot/Edit.cshtml @@ -106,7 +106,7 @@
    - +
    diff --git a/src/Yavsc/Views/Blogspot/Index.cshtml b/src/Yavsc/Views/Blogspot/Index.cshtml index d860624c..5948305a 100644 --- a/src/Yavsc/Views/Blogspot/Index.cshtml +++ b/src/Yavsc/Views/Blogspot/Index.cshtml @@ -79,7 +79,7 @@ } @if ((await AuthorizationService.AuthorizeAsync(User, post, new EditPermission())).Succeeded) { - Edit + Edit Delete diff --git a/src/Yavsc/Views/Blogspot/Title.cshtml b/src/Yavsc/Views/Blogspot/Title.cshtml index 4f7f7ed9..6accccaf 100644 --- a/src/Yavsc/Views/Blogspot/Title.cshtml +++ b/src/Yavsc/Views/Blogspot/Title.cshtml @@ -32,7 +32,7 @@ } @if ((await AuthorizationService.AuthorizeAsync(User, item, new EditPermission())).Succeeded) { -
  • Edit +
  • Edit
  • Delete
  • diff --git a/src/Yavsc/Views/BrusherProfile/Delete.cshtml b/src/Yavsc/Views/BrusherProfile/Delete.cshtml index 83f60ee2..3657c164 100644 --- a/src/Yavsc/Views/BrusherProfile/Delete.cshtml +++ b/src/Yavsc/Views/BrusherProfile/Delete.cshtml @@ -183,7 +183,7 @@
    - | + | Annuler
    diff --git a/src/Yavsc/Views/BrusherProfile/Edit.cshtml b/src/Yavsc/Views/BrusherProfile/Edit.cshtml index 9e6859fc..4f5479d6 100644 --- a/src/Yavsc/Views/BrusherProfile/Edit.cshtml +++ b/src/Yavsc/Views/BrusherProfile/Edit.cshtml @@ -308,7 +308,7 @@
    - +
    diff --git a/src/Yavsc/Views/Bug/Create.cshtml b/src/Yavsc/Views/Bug/Create.cshtml index a20b3ff7..96270e88 100644 --- a/src/Yavsc/Views/Bug/Create.cshtml +++ b/src/Yavsc/Views/Bug/Create.cshtml @@ -42,7 +42,7 @@
    - +
    diff --git a/src/Yavsc/Views/Bug/Delete.cshtml b/src/Yavsc/Views/Bug/Delete.cshtml index a3abab73..97b513cc 100644 --- a/src/Yavsc/Views/Bug/Delete.cshtml +++ b/src/Yavsc/Views/Bug/Delete.cshtml @@ -33,7 +33,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Bug/Edit.cshtml b/src/Yavsc/Views/Bug/Edit.cshtml index 9c1801bc..a75c28f3 100644 --- a/src/Yavsc/Views/Bug/Edit.cshtml +++ b/src/Yavsc/Views/Bug/Edit.cshtml @@ -46,7 +46,7 @@
    - +
    diff --git a/src/Yavsc/Views/Circle/Create.cshtml b/src/Yavsc/Views/Circle/Create.cshtml index 4c8a273a..94354dd0 100644 --- a/src/Yavsc/Views/Circle/Create.cshtml +++ b/src/Yavsc/Views/Circle/Create.cshtml @@ -22,7 +22,7 @@
    - +
    diff --git a/src/Yavsc/Views/Circle/Delete.cshtml b/src/Yavsc/Views/Circle/Delete.cshtml index e8f97fee..877e3895 100644 --- a/src/Yavsc/Views/Circle/Delete.cshtml +++ b/src/Yavsc/Views/Circle/Delete.cshtml @@ -27,7 +27,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Circle/Edit.cshtml b/src/Yavsc/Views/Circle/Edit.cshtml index b89f1509..fca86866 100644 --- a/src/Yavsc/Views/Circle/Edit.cshtml +++ b/src/Yavsc/Views/Circle/Edit.cshtml @@ -28,7 +28,7 @@
    - +
    diff --git a/src/Yavsc/Views/CircleMembers/Create.cshtml b/src/Yavsc/Views/CircleMembers/Create.cshtml index c7108c88..501a5809 100644 --- a/src/Yavsc/Views/CircleMembers/Create.cshtml +++ b/src/Yavsc/Views/CircleMembers/Create.cshtml @@ -22,7 +22,7 @@
    - +
    diff --git a/src/Yavsc/Views/CircleMembers/Delete.cshtml b/src/Yavsc/Views/CircleMembers/Delete.cshtml index 86b4ecfb..23a0fb65 100644 --- a/src/Yavsc/Views/CircleMembers/Delete.cshtml +++ b/src/Yavsc/Views/CircleMembers/Delete.cshtml @@ -26,7 +26,7 @@ Membre
    - | + | Back to List
    diff --git a/src/Yavsc/Views/CircleMembers/Edit.cshtml b/src/Yavsc/Views/CircleMembers/Edit.cshtml index 75d0cb5f..a7fbbcee 100644 --- a/src/Yavsc/Views/CircleMembers/Edit.cshtml +++ b/src/Yavsc/Views/CircleMembers/Edit.cshtml @@ -15,7 +15,7 @@
    - +
    diff --git a/src/Yavsc/Views/CoWorking/Create.cshtml b/src/Yavsc/Views/CoWorking/Create.cshtml index 4678d835..008e8899 100644 --- a/src/Yavsc/Views/CoWorking/Create.cshtml +++ b/src/Yavsc/Views/CoWorking/Create.cshtml @@ -25,7 +25,7 @@
    - +
    diff --git a/src/Yavsc/Views/CoWorking/Delete.cshtml b/src/Yavsc/Views/CoWorking/Delete.cshtml index 8c84cb2d..0a25e110 100644 --- a/src/Yavsc/Views/CoWorking/Delete.cshtml +++ b/src/Yavsc/Views/CoWorking/Delete.cshtml @@ -15,7 +15,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/CoWorking/Edit.cshtml b/src/Yavsc/Views/CoWorking/Edit.cshtml index 42a89739..c67eecd6 100644 --- a/src/Yavsc/Views/CoWorking/Edit.cshtml +++ b/src/Yavsc/Views/CoWorking/Edit.cshtml @@ -28,7 +28,7 @@
    - +
    diff --git a/src/Yavsc/Views/Colors/Create.cshtml b/src/Yavsc/Views/Colors/Create.cshtml index 14dd9966..b381df5b 100644 --- a/src/Yavsc/Views/Colors/Create.cshtml +++ b/src/Yavsc/Views/Colors/Create.cshtml @@ -29,7 +29,7 @@
    - +
    diff --git a/src/Yavsc/Views/Colors/Delete.cshtml b/src/Yavsc/Views/Colors/Delete.cshtml index a330462e..fac2827b 100644 --- a/src/Yavsc/Views/Colors/Delete.cshtml +++ b/src/Yavsc/Views/Colors/Delete.cshtml @@ -23,7 +23,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Colors/Edit.cshtml b/src/Yavsc/Views/Colors/Edit.cshtml index b64a9b7f..287e64b3 100644 --- a/src/Yavsc/Views/Colors/Edit.cshtml +++ b/src/Yavsc/Views/Colors/Edit.cshtml @@ -32,7 +32,7 @@
    - +
    diff --git a/src/Yavsc/Views/Command/BookHaircutStar.cshtml b/src/Yavsc/Views/Command/BookHaircutStar.cshtml index ae31cf58..814c35d6 100644 --- a/src/Yavsc/Views/Command/BookHaircutStar.cshtml +++ b/src/Yavsc/Views/Command/BookHaircutStar.cshtml @@ -184,7 +184,7 @@
    - +
    diff --git a/src/Yavsc/Views/Command/Create.cshtml b/src/Yavsc/Views/Command/Create.cshtml index e2fd62cd..67eb4425 100644 --- a/src/Yavsc/Views/Command/Create.cshtml +++ b/src/Yavsc/Views/Command/Create.cshtml @@ -80,7 +80,7 @@
    - +
    diff --git a/src/Yavsc/Views/Command/Delete.cshtml b/src/Yavsc/Views/Command/Delete.cshtml index a6b8de10..95d280f1 100644 --- a/src/Yavsc/Views/Command/Delete.cshtml +++ b/src/Yavsc/Views/Command/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Command/Edit.cshtml b/src/Yavsc/Views/Command/Edit.cshtml index cb085790..51476cc5 100644 --- a/src/Yavsc/Views/Command/Edit.cshtml +++ b/src/Yavsc/Views/Command/Edit.cshtml @@ -21,7 +21,7 @@
    - +
    diff --git a/src/Yavsc/Views/CommandForms/Create.cshtml b/src/Yavsc/Views/CommandForms/Create.cshtml index 5912badc..47f9f92e 100644 --- a/src/Yavsc/Views/CommandForms/Create.cshtml +++ b/src/Yavsc/Views/CommandForms/Create.cshtml @@ -32,7 +32,7 @@
    - +
    diff --git a/src/Yavsc/Views/CommandForms/Delete.cshtml b/src/Yavsc/Views/CommandForms/Delete.cshtml index 07e1c72f..f7825682 100644 --- a/src/Yavsc/Views/CommandForms/Delete.cshtml +++ b/src/Yavsc/Views/CommandForms/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/CommandForms/Edit.cshtml b/src/Yavsc/Views/CommandForms/Edit.cshtml index 67fc913c..1393a2be 100644 --- a/src/Yavsc/Views/CommandForms/Edit.cshtml +++ b/src/Yavsc/Views/CommandForms/Edit.cshtml @@ -35,7 +35,7 @@
    - +
    diff --git a/src/Yavsc/Views/Comments/Create.cshtml b/src/Yavsc/Views/Comments/Create.cshtml index c18639d4..4af03601 100644 --- a/src/Yavsc/Views/Comments/Create.cshtml +++ b/src/Yavsc/Views/Comments/Create.cshtml @@ -62,7 +62,7 @@
    - +
    diff --git a/src/Yavsc/Views/Comments/Delete.cshtml b/src/Yavsc/Views/Comments/Delete.cshtml index 7a5b0406..3f4faafa 100644 --- a/src/Yavsc/Views/Comments/Delete.cshtml +++ b/src/Yavsc/Views/Comments/Delete.cshtml @@ -51,7 +51,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Comments/Edit.cshtml b/src/Yavsc/Views/Comments/Edit.cshtml index 880337f5..c87e17f5 100644 --- a/src/Yavsc/Views/Comments/Edit.cshtml +++ b/src/Yavsc/Views/Comments/Edit.cshtml @@ -64,7 +64,7 @@
    - +
    diff --git a/src/Yavsc/Views/DjSettings/Create.cshtml b/src/Yavsc/Views/DjSettings/Create.cshtml index 97787580..7b1e57e8 100644 --- a/src/Yavsc/Views/DjSettings/Create.cshtml +++ b/src/Yavsc/Views/DjSettings/Create.cshtml @@ -20,7 +20,7 @@
    - +
    diff --git a/src/Yavsc/Views/DjSettings/Delete.cshtml b/src/Yavsc/Views/DjSettings/Delete.cshtml index 75ad2b6d..e33a88c7 100644 --- a/src/Yavsc/Views/DjSettings/Delete.cshtml +++ b/src/Yavsc/Views/DjSettings/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/DjSettings/Edit.cshtml b/src/Yavsc/Views/DjSettings/Edit.cshtml index 8b11d6b3..e9dc5c69 100644 --- a/src/Yavsc/Views/DjSettings/Edit.cshtml +++ b/src/Yavsc/Views/DjSettings/Edit.cshtml @@ -21,7 +21,7 @@
    - +
    diff --git a/src/Yavsc/Views/Do/Create.cshtml b/src/Yavsc/Views/Do/Create.cshtml index ca39fe3e..78be1709 100644 --- a/src/Yavsc/Views/Do/Create.cshtml +++ b/src/Yavsc/Views/Do/Create.cshtml @@ -31,7 +31,7 @@
    - +
    diff --git a/src/Yavsc/Views/Do/CreateFor.cshtml b/src/Yavsc/Views/Do/CreateFor.cshtml index fcab7e53..f4641002 100644 --- a/src/Yavsc/Views/Do/CreateFor.cshtml +++ b/src/Yavsc/Views/Do/CreateFor.cshtml @@ -40,7 +40,7 @@
    - +
    diff --git a/src/Yavsc/Views/Do/Details.cshtml b/src/Yavsc/Views/Do/Details.cshtml index 52e62ec0..9f744025 100644 --- a/src/Yavsc/Views/Do/Details.cshtml +++ b/src/Yavsc/Views/Do/Details.cshtml @@ -13,7 +13,7 @@
    Activity
    @Html.DisplayFor(m=>m.Declaration.Does) @if (Model.NeedsSettings) { - + @Model.Declaration.Does.SettingsClassName @if (Model.Settings==null) { Non renseigné: Cliquez vite
    ici pour positionner les
    diff --git a/src/Yavsc/Views/Do/Edit.cshtml b/src/Yavsc/Views/Do/Edit.cshtml index c0d5df6c..b237402a 100644 --- a/src/Yavsc/Views/Do/Edit.cshtml +++ b/src/Yavsc/Views/Do/Edit.cshtml @@ -19,7 +19,7 @@
    - +
    diff --git a/src/Yavsc/Views/Estimate/Create.cshtml b/src/Yavsc/Views/Estimate/Create.cshtml index d812f8f0..1cad8ac1 100644 --- a/src/Yavsc/Views/Estimate/Create.cshtml +++ b/src/Yavsc/Views/Estimate/Create.cshtml @@ -65,7 +65,7 @@
    - +
    diff --git a/src/Yavsc/Views/Estimate/Delete.cshtml b/src/Yavsc/Views/Estimate/Delete.cshtml index 0c1f53de..1d52651b 100644 --- a/src/Yavsc/Views/Estimate/Delete.cshtml +++ b/src/Yavsc/Views/Estimate/Delete.cshtml @@ -27,7 +27,7 @@
    diff --git a/src/Yavsc/Views/Estimate/Edit.cshtml b/src/Yavsc/Views/Estimate/Edit.cshtml index 8688c5b0..f4f80352 100644 --- a/src/Yavsc/Views/Estimate/Edit.cshtml +++ b/src/Yavsc/Views/Estimate/Edit.cshtml @@ -49,7 +49,7 @@
    - +
    diff --git a/src/Yavsc/Views/Feature/Create.cshtml b/src/Yavsc/Views/Feature/Create.cshtml index a4c57a03..d6c60c6a 100644 --- a/src/Yavsc/Views/Feature/Create.cshtml +++ b/src/Yavsc/Views/Feature/Create.cshtml @@ -34,7 +34,7 @@
    - +
    diff --git a/src/Yavsc/Views/Feature/Delete.cshtml b/src/Yavsc/Views/Feature/Delete.cshtml index b4ccb6fd..a2fbbdca 100644 --- a/src/Yavsc/Views/Feature/Delete.cshtml +++ b/src/Yavsc/Views/Feature/Delete.cshtml @@ -33,7 +33,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Feature/Edit.cshtml b/src/Yavsc/Views/Feature/Edit.cshtml index 699e61ce..1ac12dc4 100644 --- a/src/Yavsc/Views/Feature/Edit.cshtml +++ b/src/Yavsc/Views/Feature/Edit.cshtml @@ -35,7 +35,7 @@
    - +
    diff --git a/src/Yavsc/Views/FormationSettings/Delete.cshtml b/src/Yavsc/Views/FormationSettings/Delete.cshtml index e4e06803..7e293fd8 100644 --- a/src/Yavsc/Views/FormationSettings/Delete.cshtml +++ b/src/Yavsc/Views/FormationSettings/Delete.cshtml @@ -15,7 +15,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/FormationSettings/Edit.cshtml b/src/Yavsc/Views/FormationSettings/Edit.cshtml index 76996e93..29a2a8c9 100644 --- a/src/Yavsc/Views/FormationSettings/Edit.cshtml +++ b/src/Yavsc/Views/FormationSettings/Edit.cshtml @@ -14,7 +14,7 @@
    - +
    diff --git a/src/Yavsc/Views/FormationSettings/Index.cshtml b/src/Yavsc/Views/FormationSettings/Index.cshtml index ea55aa6b..6d3c9948 100644 --- a/src/Yavsc/Views/FormationSettings/Index.cshtml +++ b/src/Yavsc/Views/FormationSettings/Index.cshtml @@ -7,10 +7,10 @@

    Index

    @if (Model == null) { - Positionner les paramêtres + Positionner les paramêtres } else { - Edit - Delete + Edit + Delete

    FormationSettings


    diff --git a/src/Yavsc/Views/GeneralSettings/Delete.cshtml b/src/Yavsc/Views/GeneralSettings/Delete.cshtml index 11c637a2..0b675e04 100644 --- a/src/Yavsc/Views/GeneralSettings/Delete.cshtml +++ b/src/Yavsc/Views/GeneralSettings/Delete.cshtml @@ -15,7 +15,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/GeneralSettings/Edit.cshtml b/src/Yavsc/Views/GeneralSettings/Edit.cshtml index e0ee6518..d3f0ae66 100644 --- a/src/Yavsc/Views/GeneralSettings/Edit.cshtml +++ b/src/Yavsc/Views/GeneralSettings/Edit.cshtml @@ -14,7 +14,7 @@
    - +
    diff --git a/src/Yavsc/Views/Git/Create.cshtml b/src/Yavsc/Views/Git/Create.cshtml index 60046cff..ef5ea988 100644 --- a/src/Yavsc/Views/Git/Create.cshtml +++ b/src/Yavsc/Views/Git/Create.cshtml @@ -31,7 +31,7 @@
    - +
    diff --git a/src/Yavsc/Views/Git/Delete.cshtml b/src/Yavsc/Views/Git/Delete.cshtml index ea8d26da..92a2579d 100644 --- a/src/Yavsc/Views/Git/Delete.cshtml +++ b/src/Yavsc/Views/Git/Delete.cshtml @@ -15,7 +15,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Git/Edit.cshtml b/src/Yavsc/Views/Git/Edit.cshtml index 6a468b06..3551faa2 100644 --- a/src/Yavsc/Views/Git/Edit.cshtml +++ b/src/Yavsc/Views/Git/Edit.cshtml @@ -23,7 +23,7 @@
    - +
    diff --git a/src/Yavsc/Views/HairPrestations/Create.cshtml b/src/Yavsc/Views/HairPrestations/Create.cshtml index 104a790c..904df137 100644 --- a/src/Yavsc/Views/HairPrestations/Create.cshtml +++ b/src/Yavsc/Views/HairPrestations/Create.cshtml @@ -65,7 +65,7 @@
    - +
    diff --git a/src/Yavsc/Views/HairPrestations/Delete.cshtml b/src/Yavsc/Views/HairPrestations/Delete.cshtml index 7e64f4be..819f31f0 100644 --- a/src/Yavsc/Views/HairPrestations/Delete.cshtml +++ b/src/Yavsc/Views/HairPrestations/Delete.cshtml @@ -57,7 +57,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/HairPrestations/Edit.cshtml b/src/Yavsc/Views/HairPrestations/Edit.cshtml index dbf72772..a6cbc220 100644 --- a/src/Yavsc/Views/HairPrestations/Edit.cshtml +++ b/src/Yavsc/Views/HairPrestations/Edit.cshtml @@ -66,7 +66,7 @@
    - +
    diff --git a/src/Yavsc/Views/HairTaints/Create.cshtml b/src/Yavsc/Views/HairTaints/Create.cshtml index 4138f0c7..b52ea6fa 100644 --- a/src/Yavsc/Views/HairTaints/Create.cshtml +++ b/src/Yavsc/Views/HairTaints/Create.cshtml @@ -26,7 +26,7 @@
    - +
    diff --git a/src/Yavsc/Views/HairTaints/Delete.cshtml b/src/Yavsc/Views/HairTaints/Delete.cshtml index b3a22a23..5f8eabcc 100644 --- a/src/Yavsc/Views/HairTaints/Delete.cshtml +++ b/src/Yavsc/Views/HairTaints/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/HairTaints/Edit.cshtml b/src/Yavsc/Views/HairTaints/Edit.cshtml index 38361261..705f4301 100644 --- a/src/Yavsc/Views/HairTaints/Edit.cshtml +++ b/src/Yavsc/Views/HairTaints/Edit.cshtml @@ -28,7 +28,7 @@
    - +
    diff --git a/src/Yavsc/Views/HyperLink/Create.cshtml b/src/Yavsc/Views/HyperLink/Create.cshtml index 0608bb69..105be917 100644 --- a/src/Yavsc/Views/HyperLink/Create.cshtml +++ b/src/Yavsc/Views/HyperLink/Create.cshtml @@ -41,7 +41,7 @@
    - +
    diff --git a/src/Yavsc/Views/HyperLink/Delete.cshtml b/src/Yavsc/Views/HyperLink/Delete.cshtml index 496b299b..83fded7a 100644 --- a/src/Yavsc/Views/HyperLink/Delete.cshtml +++ b/src/Yavsc/Views/HyperLink/Delete.cshtml @@ -41,7 +41,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/HyperLink/Edit.cshtml b/src/Yavsc/Views/HyperLink/Edit.cshtml index 14dbb1fa..0dfadf4e 100644 --- a/src/Yavsc/Views/HyperLink/Edit.cshtml +++ b/src/Yavsc/Views/HyperLink/Edit.cshtml @@ -43,7 +43,7 @@
    - +
    diff --git a/src/Yavsc/Views/InstrumentRating/Create.cshtml b/src/Yavsc/Views/InstrumentRating/Create.cshtml index 909d2d8c..fe342852 100644 --- a/src/Yavsc/Views/InstrumentRating/Create.cshtml +++ b/src/Yavsc/Views/InstrumentRating/Create.cshtml @@ -30,7 +30,7 @@
    - +
    diff --git a/src/Yavsc/Views/InstrumentRating/Delete.cshtml b/src/Yavsc/Views/InstrumentRating/Delete.cshtml index 61dea74c..fbb845fb 100644 --- a/src/Yavsc/Views/InstrumentRating/Delete.cshtml +++ b/src/Yavsc/Views/InstrumentRating/Delete.cshtml @@ -27,7 +27,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/InstrumentRating/Edit.cshtml b/src/Yavsc/Views/InstrumentRating/Edit.cshtml index fd1cf17c..96f04d8a 100644 --- a/src/Yavsc/Views/InstrumentRating/Edit.cshtml +++ b/src/Yavsc/Views/InstrumentRating/Edit.cshtml @@ -28,7 +28,7 @@
    - +
    diff --git a/src/Yavsc/Views/Instrumentation/Create.cshtml b/src/Yavsc/Views/Instrumentation/Create.cshtml index 385113b8..5cc81913 100644 --- a/src/Yavsc/Views/Instrumentation/Create.cshtml +++ b/src/Yavsc/Views/Instrumentation/Create.cshtml @@ -24,7 +24,7 @@
    - +
    diff --git a/src/Yavsc/Views/Instrumentation/Delete.cshtml b/src/Yavsc/Views/Instrumentation/Delete.cshtml index 5f0e2bb9..3b37aa7e 100644 --- a/src/Yavsc/Views/Instrumentation/Delete.cshtml +++ b/src/Yavsc/Views/Instrumentation/Delete.cshtml @@ -17,7 +17,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Instrumentation/Edit.cshtml b/src/Yavsc/Views/Instrumentation/Edit.cshtml index 261457f5..6c6bc64a 100644 --- a/src/Yavsc/Views/Instrumentation/Edit.cshtml +++ b/src/Yavsc/Views/Instrumentation/Edit.cshtml @@ -14,7 +14,7 @@
    - +
    diff --git a/src/Yavsc/Views/Instruments/Create.cshtml b/src/Yavsc/Views/Instruments/Create.cshtml index 5f96bc0d..6da7ee15 100644 --- a/src/Yavsc/Views/Instruments/Create.cshtml +++ b/src/Yavsc/Views/Instruments/Create.cshtml @@ -20,7 +20,7 @@
    - +
    diff --git a/src/Yavsc/Views/Instruments/Delete.cshtml b/src/Yavsc/Views/Instruments/Delete.cshtml index 8ccd3efa..e0de1994 100644 --- a/src/Yavsc/Views/Instruments/Delete.cshtml +++ b/src/Yavsc/Views/Instruments/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Instruments/Edit.cshtml b/src/Yavsc/Views/Instruments/Edit.cshtml index a5629897..e8da56f5 100644 --- a/src/Yavsc/Views/Instruments/Edit.cshtml +++ b/src/Yavsc/Views/Instruments/Edit.cshtml @@ -21,7 +21,7 @@
    - +
    diff --git a/src/Yavsc/Views/LiveFlow/AdminEdit.cshtml b/src/Yavsc/Views/LiveFlow/AdminEdit.cshtml index b63b64a8..6b01943a 100644 --- a/src/Yavsc/Views/LiveFlow/AdminEdit.cshtml +++ b/src/Yavsc/Views/LiveFlow/AdminEdit.cshtml @@ -56,7 +56,7 @@
    - +
    diff --git a/src/Yavsc/Views/LiveFlow/Create.cshtml b/src/Yavsc/Views/LiveFlow/Create.cshtml index 2d452de8..342eadea 100644 --- a/src/Yavsc/Views/LiveFlow/Create.cshtml +++ b/src/Yavsc/Views/LiveFlow/Create.cshtml @@ -44,7 +44,7 @@
    - +
    diff --git a/src/Yavsc/Views/LiveFlow/Delete.cshtml b/src/Yavsc/Views/LiveFlow/Delete.cshtml index 8e957690..d33e15ea 100644 --- a/src/Yavsc/Views/LiveFlow/Delete.cshtml +++ b/src/Yavsc/Views/LiveFlow/Delete.cshtml @@ -45,7 +45,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/LiveFlow/Edit.cshtml b/src/Yavsc/Views/LiveFlow/Edit.cshtml index ec955f29..8f1c8d65 100644 --- a/src/Yavsc/Views/LiveFlow/Edit.cshtml +++ b/src/Yavsc/Views/LiveFlow/Edit.cshtml @@ -49,7 +49,7 @@
    - +
    diff --git a/src/Yavsc/Views/MailingTemplate/Create.cshtml b/src/Yavsc/Views/MailingTemplate/Create.cshtml index 5e9c3dab..f14215ae 100644 --- a/src/Yavsc/Views/MailingTemplate/Create.cshtml +++ b/src/Yavsc/Views/MailingTemplate/Create.cshtml @@ -50,7 +50,7 @@
    - +
    diff --git a/src/Yavsc/Views/MailingTemplate/Delete.cshtml b/src/Yavsc/Views/MailingTemplate/Delete.cshtml index b1fbf698..433272eb 100644 --- a/src/Yavsc/Views/MailingTemplate/Delete.cshtml +++ b/src/Yavsc/Views/MailingTemplate/Delete.cshtml @@ -63,7 +63,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/MailingTemplate/Edit.cshtml b/src/Yavsc/Views/MailingTemplate/Edit.cshtml index 5694d409..91ec1ae7 100644 --- a/src/Yavsc/Views/MailingTemplate/Edit.cshtml +++ b/src/Yavsc/Views/MailingTemplate/Edit.cshtml @@ -53,7 +53,7 @@
    - +
    diff --git a/src/Yavsc/Views/Manage/AddBankInfo.cshtml b/src/Yavsc/Views/Manage/AddBankInfo.cshtml index a3a83310..bbad56a8 100644 --- a/src/Yavsc/Views/Manage/AddBankInfo.cshtml +++ b/src/Yavsc/Views/Manage/AddBankInfo.cshtml @@ -55,7 +55,7 @@
    - +
    diff --git a/src/Yavsc/Views/Manage/AddPhoneNumber.cshtml b/src/Yavsc/Views/Manage/AddPhoneNumber.cshtml index 2a454ece..c775b2ca 100755 --- a/src/Yavsc/Views/Manage/AddPhoneNumber.cshtml +++ b/src/Yavsc/Views/Manage/AddPhoneNumber.cshtml @@ -17,7 +17,7 @@
    - +
    diff --git a/src/Yavsc/Views/Manage/ChangePassword.cshtml b/src/Yavsc/Views/Manage/ChangePassword.cshtml index 7f58a6f8..8d7b7226 100755 --- a/src/Yavsc/Views/Manage/ChangePassword.cshtml +++ b/src/Yavsc/Views/Manage/ChangePassword.cshtml @@ -32,7 +32,7 @@
    - + Forgot your password?
    diff --git a/src/Yavsc/Views/Manage/ManageLogins.cshtml b/src/Yavsc/Views/Manage/ManageLogins.cshtml index 3eb0d8e4..87ccff61 100755 --- a/src/Yavsc/Views/Manage/ManageLogins.cshtml +++ b/src/Yavsc/Views/Manage/ManageLogins.cshtml @@ -23,7 +23,7 @@
    - +
    } diff --git a/src/Yavsc/Views/Manage/ProfileEMailUsage.cshtml b/src/Yavsc/Views/Manage/ProfileEMailUsage.cshtml index da57e6c4..008897fe 100644 --- a/src/Yavsc/Views/Manage/ProfileEMailUsage.cshtml +++ b/src/Yavsc/Views/Manage/ProfileEMailUsage.cshtml @@ -13,7 +13,7 @@
    - +
    diff --git a/src/Yavsc/Views/Manage/SetActivity.cshtml b/src/Yavsc/Views/Manage/SetActivity.cshtml index 8daca031..0b43f163 100644 --- a/src/Yavsc/Views/Manage/SetActivity.cshtml +++ b/src/Yavsc/Views/Manage/SetActivity.cshtml @@ -108,7 +108,7 @@ @Html.Hidden("OrganizationAddress.Latitude") @Html.Hidden("OrganizationAddress.Longitude") @Html.Hidden("PerformerId") - + @@ -116,7 +116,7 @@
    @Html.Hidden("PerfomerId") - +
    @section scripts { @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } diff --git a/src/Yavsc/Views/Manage/SetFullName.cshtml b/src/Yavsc/Views/Manage/SetFullName.cshtml index 93f272a5..51936c3e 100644 --- a/src/Yavsc/Views/Manage/SetFullName.cshtml +++ b/src/Yavsc/Views/Manage/SetFullName.cshtml @@ -18,5 +18,5 @@ - + diff --git a/src/Yavsc/Views/Manage/SetPassword.cshtml b/src/Yavsc/Views/Manage/SetPassword.cshtml index ab1e5b0a..3b815d91 100755 --- a/src/Yavsc/Views/Manage/SetPassword.cshtml +++ b/src/Yavsc/Views/Manage/SetPassword.cshtml @@ -28,7 +28,7 @@
    - +
    diff --git a/src/Yavsc/Views/Manage/VerifyPhoneNumber.cshtml b/src/Yavsc/Views/Manage/VerifyPhoneNumber.cshtml index 28163590..e90a4091 100755 --- a/src/Yavsc/Views/Manage/VerifyPhoneNumber.cshtml +++ b/src/Yavsc/Views/Manage/VerifyPhoneNumber.cshtml @@ -20,7 +20,7 @@
    - +
    diff --git a/src/Yavsc/Views/MusicalTendencies/Create.cshtml b/src/Yavsc/Views/MusicalTendencies/Create.cshtml index 2a7b5cdc..8a318bc6 100644 --- a/src/Yavsc/Views/MusicalTendencies/Create.cshtml +++ b/src/Yavsc/Views/MusicalTendencies/Create.cshtml @@ -20,7 +20,7 @@
    - +
    diff --git a/src/Yavsc/Views/MusicalTendencies/Delete.cshtml b/src/Yavsc/Views/MusicalTendencies/Delete.cshtml index 84568ce0..fa0c9f5f 100644 --- a/src/Yavsc/Views/MusicalTendencies/Delete.cshtml +++ b/src/Yavsc/Views/MusicalTendencies/Delete.cshtml @@ -21,7 +21,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/MusicalTendencies/Edit.cshtml b/src/Yavsc/Views/MusicalTendencies/Edit.cshtml index cce38c04..668be85c 100644 --- a/src/Yavsc/Views/MusicalTendencies/Edit.cshtml +++ b/src/Yavsc/Views/MusicalTendencies/Edit.cshtml @@ -21,7 +21,7 @@
    - +
    diff --git a/src/Yavsc/Views/Notifications/Create.cshtml b/src/Yavsc/Views/Notifications/Create.cshtml index e95909b0..9d6dd44d 100644 --- a/src/Yavsc/Views/Notifications/Create.cshtml +++ b/src/Yavsc/Views/Notifications/Create.cshtml @@ -62,7 +62,7 @@
    - +
    diff --git a/src/Yavsc/Views/Notifications/Delete.cshtml b/src/Yavsc/Views/Notifications/Delete.cshtml index ea4eec33..cec5ae9a 100644 --- a/src/Yavsc/Views/Notifications/Delete.cshtml +++ b/src/Yavsc/Views/Notifications/Delete.cshtml @@ -57,7 +57,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Notifications/Edit.cshtml b/src/Yavsc/Views/Notifications/Edit.cshtml index 6fde0685..2aabc8eb 100644 --- a/src/Yavsc/Views/Notifications/Edit.cshtml +++ b/src/Yavsc/Views/Notifications/Edit.cshtml @@ -63,7 +63,7 @@
    - +
    diff --git a/src/Yavsc/Views/Project/Create.cshtml b/src/Yavsc/Views/Project/Create.cshtml index 9f0955f6..d09120a4 100644 --- a/src/Yavsc/Views/Project/Create.cshtml +++ b/src/Yavsc/Views/Project/Create.cshtml @@ -81,7 +81,7 @@
    - +
    diff --git a/src/Yavsc/Views/Project/Delete.cshtml b/src/Yavsc/Views/Project/Delete.cshtml index e09e763a..ea62c31d 100644 --- a/src/Yavsc/Views/Project/Delete.cshtml +++ b/src/Yavsc/Views/Project/Delete.cshtml @@ -99,7 +99,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Project/Edit.cshtml b/src/Yavsc/Views/Project/Edit.cshtml index 5c856afb..2c20c426 100644 --- a/src/Yavsc/Views/Project/Edit.cshtml +++ b/src/Yavsc/Views/Project/Edit.cshtml @@ -66,7 +66,7 @@
    - +
    diff --git a/src/Yavsc/Views/SIRENExceptions/Create.cshtml b/src/Yavsc/Views/SIRENExceptions/Create.cshtml index afe4912b..531a0ae2 100644 --- a/src/Yavsc/Views/SIRENExceptions/Create.cshtml +++ b/src/Yavsc/Views/SIRENExceptions/Create.cshtml @@ -10,7 +10,7 @@ @Html.TextBox("SIREN")
    - +
    diff --git a/src/Yavsc/Views/SIRENExceptions/Delete.cshtml b/src/Yavsc/Views/SIRENExceptions/Delete.cshtml index 137a812e..0e973ef9 100644 --- a/src/Yavsc/Views/SIRENExceptions/Delete.cshtml +++ b/src/Yavsc/Views/SIRENExceptions/Delete.cshtml @@ -22,7 +22,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Shared/Components/Bill/Default.cshtml b/src/Yavsc/Views/Shared/Components/Bill/Default.cshtml index 0bd2967e..f2d0e016 100644 --- a/src/Yavsc/Views/Shared/Components/Bill/Default.cshtml +++ b/src/Yavsc/Views/Shared/Components/Bill/Default.cshtml @@ -23,7 +23,7 @@ $(document).ready(function(){$('#btnGen').on('click',onGenerate)})
    - +
    diff --git a/src/Yavsc/Views/Users/Create.cshtml b/src/Yavsc/Views/Users/Create.cshtml index 687ff520..ef109171 100644 --- a/src/Yavsc/Views/Users/Create.cshtml +++ b/src/Yavsc/Views/Users/Create.cshtml @@ -156,7 +156,7 @@
    - +
    diff --git a/src/Yavsc/Views/Users/Delete.cshtml b/src/Yavsc/Views/Users/Delete.cshtml index 1e8300ed..b160bae3 100644 --- a/src/Yavsc/Views/Users/Delete.cshtml +++ b/src/Yavsc/Views/Users/Delete.cshtml @@ -129,7 +129,7 @@
    - | + | Back to List
    diff --git a/src/Yavsc/Views/Users/Edit.cshtml b/src/Yavsc/Views/Users/Edit.cshtml index 57321100..8e60ca24 100644 --- a/src/Yavsc/Views/Users/Edit.cshtml +++ b/src/Yavsc/Views/Users/Edit.cshtml @@ -158,7 +158,7 @@
    - +
    diff --git a/src/Yavsc/ansi2html.sh b/src/Yavsc/ansi2html.sh deleted file mode 100755 index ae83a787..00000000 --- a/src/Yavsc/ansi2html.sh +++ /dev/null @@ -1,520 +0,0 @@ -#!/bin/sh - -# Convert ANSI (terminal) colours and attributes to HTML - -# Licence: LGPLv2 -# Author: -# http://www.pixelbeat.org/docs/terminal_colours/ -# Examples: -# ls -l --color=always | ansi2html.sh > ls.html -# git show --color | ansi2html.sh > last_change.html -# Generally one can use the `script` util to capture full terminal output. -# Changes: -# V0.1, 24 Apr 2008, Initial release -# V0.2, 01 Jan 2009, Phil Harnish -# Support `git diff --color` output by -# matching ANSI codes that specify only -# bold or background colour. -# P@draigBrady.com -# Support `ls --color` output by stripping -# redundant leading 0s from ANSI codes. -# Support `grep --color=always` by stripping -# unhandled ANSI codes (specifically ^[[K). -# V0.3, 20 Mar 2009, http://eexpress.blog.ubuntu.org.cn/ -# Remove cat -v usage which mangled non ascii input. -# Cleanup regular expressions used. -# Support other attributes like reverse, ... -# P@draigBrady.com -# Correctly nest tags (even across lines). -# Add a command line option to use a dark background. -# Strip more terminal control codes. -# V0.4, 17 Sep 2009, P@draigBrady.com -# Handle codes with combined attributes and color. -# Handle isolated attributes with css. -# Strip more terminal control codes. -# V0.24, 14 Sep 2017 -# http://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh - -gawk --version >/dev/null || exit 1 - -if [ "$1" = "--version" ]; then - printf '0.23\n' && exit -fi - -usage() -{ -printf '%s\n' \ -'This utility converts ANSI codes in data passed to stdin -It has 4 optional parameters: ---bg=dark --palette=linux|solarized|tango|xterm --css-only|--body-only -E.g.: ls -l --color=always | ansi2html.sh --bg=dark > ls.html' >&2 - exit -} - -if [ "$1" = "--help" ]; then - usage -fi - -processArg() -{ - [ "$1" = "--bg=dark" ] && { dark_bg=yes; return; } - [ "$1" = "--css-only" ] && { css_only=yes; return; } - [ "$1" = "--body-only" ] && { body_only=yes; return; } - if [ "$1" = "--palette=solarized" ]; then - # See http://ethanschoonover.com/solarized - P0=073642; P1=D30102; P2=859900; P3=B58900; - P4=268BD2; P5=D33682; P6=2AA198; P7=EEE8D5; - P8=002B36; P9=CB4B16; P10=586E75; P11=657B83; - P12=839496; P13=6C71C4; P14=93A1A1; P15=FDF6E3; - return; - elif [ "$1" = "--palette=solarized-xterm" ]; then - # Above mapped onto the xterm 256 color palette - P0=262626; P1=AF0000; P2=5F8700; P3=AF8700; - P4=0087FF; P5=AF005F; P6=00AFAF; P7=E4E4E4; - P8=1C1C1C; P9=D75F00; P10=585858; P11=626262; - P12=808080; P13=5F5FAF; P14=8A8A8A; P15=FFFFD7; - return; - elif [ "$1" = "--palette=tango" ]; then - # Gnome default - P0=000000; P1=CC0000; P2=4E9A06; P3=C4A000; - P4=3465A4; P5=75507B; P6=06989A; P7=D3D7CF; - P8=555753; P9=EF2929; P10=8AE234; P11=FCE94F; - P12=729FCF; P13=AD7FA8; P14=34E2E2; P15=EEEEEC; - return; - elif [ "$1" = "--palette=xterm" ]; then - P0=000000; P1=CD0000; P2=00CD00; P3=CDCD00; - P4=0000EE; P5=CD00CD; P6=00CDCD; P7=E5E5E5; - P8=7F7F7F; P9=FF0000; P10=00FF00; P11=FFFF00; - P12=5C5CFF; P13=FF00FF; P14=00FFFF; P15=FFFFFF; - return; - else # linux console - P0=000000; P1=AA0000; P2=00AA00; P3=AA5500; - P4=0000AA; P5=AA00AA; P6=00AAAA; P7=AAAAAA; - P8=555555; P9=FF5555; P10=55FF55; P11=FFFF55; - P12=5555FF; P13=FF55FF; P14=55FFFF; P15=FFFFFF; - [ "$1" = "--palette=linux" ] && return; - fi -} - -processArg #defaults -for var in "$@"; do processArg $var; done -[ "$css_only" ] && [ "$body_only" ] && usage - -# Mac OSX's GNU sed is installed as gsed -# use e.g. homebrew 'gnu-sed' to get it -if ! sed --version >/dev/null 2>&1; then - if gsed --version >/dev/null 2>&1; then - alias sed=gsed - else - echo "Error, can't find an acceptable GNU sed." >&2 - exit 1 - fi -fi - -[ "$css_only" ] || [ "$body_only" ] || printf '%s' " - - - - - - -
    -'
    -[ "$body_only" ] && printf '%s\n' 'Be sure to use  and 
    ' >&2
    -
    -p='\x1b\['        #shortcut to match escape codes
    -
    -# Handle various xterm control sequences.
    -# See /usr/share/doc/xterm-*/ctlseqs.txt
    -sed "
    -# escape ampersand and quote
    -s#&#\&#g; s#\"#\"#g;
    -s#\x1b[^\x1b]*\x1b\\\##g  # strip anything between \e and ST
    -s#\x1b][0-9]*;[^\a]*\a##g # strip any OSC (xterm title etc.)
    -
    -s#\r\$## # strip trailing \r
    -
    -# strip other non SGR escape sequences
    -s#[\x07]##g
    -s#\x1b[]>=\][0-9;]*##g
    -s#\x1bP+.\{5\}##g
    -# Mark cursor positioning codes \"Jr;c;
    -s#${p}\([0-9]\{1,2\}\)G#\"J;\1;#g
    -s#${p}\([0-9]\{1,2\}\);\([0-9]\{1,2\}\)H#\"J\1;\2;#g
    -
    -# Mark clear as \"Cn where n=1 is screen and n=0 is to end-of-line
    -s#${p}H#\"C1;#g
    -s#${p}K#\"C0;#g
    -# Mark Cursor move columns as \"Mn where n is +ve for right, -ve for left
    -s#${p}C#\"M1;#g
    -s#${p}\([0-9]\{1,\}\)C#\"M\1;#g
    -s#${p}\([0-9]\{1,\}\)D#\"M-\1;#g
    -s#${p}\([0-9]\{1,\}\)P#\"X\1;#g
    -
    -s#${p}[0-9;?]*[^0-9;?m]##g
    -
    -" |
    -
    -# Normalize the input before transformation
    -sed "
    -# escape HTML (ampersand and quote done above)
    -s#>#\>#g; s#<#\<#g;
    -
    -# handle truecolor
    -s#${p}38;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
    -#g
    -s#${p}48;2;\([0-9]\{1,3\}\);\([0-9]\{1,3\}\);\([0-9]\{1,3\}\)m#\
    -#g
    -
    -# normalize SGR codes a little
    -
    -# split 256 colors out and mark so that they're not
    -# recognised by the following 'split combined' line
    -:e
    -s#${p}\([0-9;]\{1,\}\);\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m${p}¬\2m#g; t e
    -s#${p}\([34]8;5;[0-9]\{1,3\}\)m#${p}¬\1m#g;
    -
    -:c
    -s#${p}\([0-9]\{1,\}\);\([0-9;]\{1,\}\)m#${p}\1m${p}\2m#g; t c   # split combined
    -s#${p}0\([0-7]\)#${p}\1#g                                 #strip leading 0
    -s#${p}1m\(\(${p}[4579]m\)*\)#\1${p}1m#g                   #bold last (with clr)
    -s#${p}m#${p}0m#g                                          #add leading 0 to norm
    -
    -# undo any 256 color marking
    -s#${p}¬\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m#g;
    -
    -# map 16 color codes to color + bold
    -s#${p}9\([0-7]\)m#${p}3\1m${p}1m#g;
    -s#${p}10\([0-7]\)m#${p}4\1m${p}1m#g;
    -
    -# change 'reset' code to \"R
    -s#${p}0m#\"R;#g
    -" |
    -
    -# Convert SGR sequences to HTML
    -sed "
    -# common combinations to minimise html (optional)
    -:f
    -s#${p}3[0-7]m${p}3\([0-7]\)m#${p}3\1m#g; t f
    -:b
    -s#${p}4[0-7]m${p}4\([0-7]\)m#${p}4\1m#g; t b
    -s#${p}3\([0-7]\)m${p}4\([0-7]\)m##g
    -s#${p}4\([0-7]\)m${p}3\([0-7]\)m##g
    -
    -s#${p}1m##g
    -s#${p}4m##g
    -s#${p}5m##g
    -s#${p}7m##g
    -s#${p}9m##g
    -s#${p}3\([0-9]\)m##g
    -s#${p}4\([0-9]\)m##g
    -
    -s#${p}38;5;\([0-9]\{1,3\}\)m##g
    -s#${p}48;5;\([0-9]\{1,3\}\)m##g
    -
    -s#${p}[0-9;]*m##g # strip unhandled codes
    -" |
    -
    -# Convert alternative character set and handle cursor movement codes
    -# Note we convert here, as if we do at start we have to worry about avoiding
    -# conversion of SGR codes etc., whereas doing here we only have to
    -# avoid conversions of stuff between &...; or <...>
    -#
    -# Note we could use sed to do this based around:
    -#   sed 'y/abcdefghijklmnopqrstuvwxyz{}`~/▒␉␌␍␊°±␤␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·/'
    -# However that would be very awkward as we need to only conv some input.
    -# The basic scheme that we do in the awk script below is:
    -#  1. enable transliterate once "T1; is seen
    -#  2. disable once "T0; is seen (may be on diff line)
    -#  3. never transliterate between &; or <> chars
    -#  4. track x,y movements and active display mode at each position
    -#  5. buffer line/screen and dump when required
    -sed "
    -# change 'smacs' and 'rmacs' to \"T1 and \"T0 to simplify matching.
    -s#\x1b(0#\"T1;#g;
    -s#\x0E#\"T1;#g;
    -
    -s#\x1b(B#\"T0;#g
    -s#\x0F#\"T0;#g
    -" |
    -(
    -gawk '
    -function dump_line(l,del,c,blanks,ret) {
    -  for(c=1;c")
    -  for(i=1;i<=spc;i++) {
    -    rm=rm?rm:(a[i]!=attr[i]">")
    -    if(rm) {
    -      ret=ret ""
    -      delete a[i];
    -    }
    -  }
    -  for(i=1;i"
    -    if(a[i]!=attr[i]) {
    -      a[i]=attr[i]
    -      ret = ret attr[i]
    -    }
    -  }
    -  return ret
    -}
    -
    -function encode(string,start,end,i,ret,pos,sc,buf) {
    -   if(!end) end=length(string);
    -   if(!start) start=1;
    -   state=3
    -   for(i=1;i<=length(string);i++) {
    -     c=substr(string,i,1)
    -     if(state==2) {
    -       sc=sc c
    -       if(c==";") {
    -          c=sc
    -          state=last_mode
    -       } else continue
    -     } else {
    -       if(c=="\r") { x=1; continue }
    -       if(c=="<") {
    -         # Change attributes - store current active
    -         # attributes in span array
    -         split(substr(string,i),cord,">");
    -         i+=length(cord[1])
    -         span[++spc]=cord[1] ">"
    -         continue
    -       }
    -       else if(c=="&") {
    -         # All goes to single position till we see a semicolon
    -         sc=c
    -         state=2
    -         continue
    -       }
    -       else if(c=="\b") {
    -          # backspace move insertion point back 1
    -          if(spc) attr[x,y]=atos(span)
    -          x=x>1?x-1:1
    -          continue
    -       }
    -       else if(c=="\"") {
    -          split(substr(string,i+2),cord,";")
    -          cc=substr(string,i+1,1);
    -          if(cc=="T") {
    -              # Transliterate on/off
    -              if(cord[1]==1&&state==3) last_mode=state=4
    -              if(cord[1]==0&&state==4) last_mode=state=3
    -          }
    -          else if(cc=="C") {
    -              # Clear
    -              if(cord[1]+0) {
    -                # Screen - if Recording dump screen
    -                if(dumpStatus==dsActive) ret=ret dump_screen()
    -                dumpStatus=dsActive
    -                delete dump
    -                delete attr
    -                x=y=1
    -              } else {
    -                # To end of line
    -                for(pos=x;posmaxY) maxY=y
    -                # Change y - start recording
    -                dumpStatus=dumpStatus?dumpStatus:dsReset
    -              }
    -          }
    -          else if(cc=="M") {
    -              # Move left/right on current line
    -              x+=cord[1]
    -          }
    -          else if(cc=="X") {
    -              # delete on right
    -              for(pos=x;pos<=maxX;pos++) {
    -                nx=pos+cord[1]
    -                if(nx=start&&i<=end&&c in Trans) c=Trans[c]
    -     }
    -     if(dumpStatus==dsReset) {
    -       delete dump
    -       delete attr
    -       ret=ret"\n"
    -       dumpStatus=dsActive
    -     }
    -     if(dumpStatus==dsNew) {
    -       # After moving/clearing we are now ready to write
    -       # somthing to the screen so start recording now
    -       ret=ret"\n"
    -       dumpStatus=dsActive
    -     }
    -     if(dumpStatus==dsActive||dumpStatus==dsOff) {
    -       dump[x,y] = c
    -       if(!spc) delete attr[x,y]
    -       else attr[x,y] = atos(span)
    -       if(++x>maxX) maxX=x;
    -     }
    -    }
    -    # End of line if dumping increment y and set x back to first col
    -    x=1
    -    if(!dumpStatus) return ret dump_line(y,1);
    -    else if(++y>maxY) maxY=y;
    -    return ret
    -}
    -BEGIN{
    -  OFS=FS
    -  # dump screen status
    -  dsOff=0    # Not dumping screen contents just write output direct
    -  dsNew=1    # Just after move/clear waiting for activity to start recording
    -  dsReset=2  # Screen cleared build new empty buffer and record
    -  dsActive=3 # Currently recording
    -  F="abcdefghijklmnopqrstuvwxyz{}`~"
    -  T="▒␉␌␍␊°±␤␋┘┐┌└┼⎺⎻─⎼⎽├┤┴┬│≤≥π£◆·"
    -  maxX=80
    -  delete cur;
    -  x=y=1
    -  for(i=1;i<=length(F);i++)Trans[substr(F,i,1)]=substr(T,i,1);
    -}
    -
    -{ $0=encode($0) }
    -1
    -END {
    -  if(dumpStatus) {
    -    print dump_screen();
    -  }
    -}'
    -)
    -
    -[ "$body_only" ] || printf '
    - -\n' diff --git a/src/Yavsc/wwwroot/css/site.css b/src/Yavsc/wwwroot/css/site.css index 1c1276b8..b216133b 100644 --- a/src/Yavsc/wwwroot/css/site.css +++ b/src/Yavsc/wwwroot/css/site.css @@ -49,3 +49,7 @@ input[type='checkbox'] { .float-left { float: left; margin: .5em; } + +a { + color: aquamarine; + background-color: black; } diff --git a/src/Yavsc/wwwroot/css/site.scss b/src/Yavsc/wwwroot/css/site.scss index 39b6ef9d..3de4be8a 100644 --- a/src/Yavsc/wwwroot/css/site.scss +++ b/src/Yavsc/wwwroot/css/site.scss @@ -70,3 +70,8 @@ input[type='checkbox'] { float: left; margin:.5em; } + +a { + color:aquamarine; + background-color: black; +}