Since $(x_i)$ and $(x_i-1)$ are coprime for $1\le i\le n$ we have by CRT
$$\frac{k[x_1,\cdots,x_n]}{(x_1^2-x_1,\cdots,x_n^2-x_n)}\cong\frac{\displaystyle\frac{k[x_1,\cdots,x_{n-1}]}{(x_1^2-x_1,\cdots,x_{n-1}^2-x_{n-1})}[x_n]}{(x_n^2-x_n)}$$
$$\cong\frac{\displaystyle\frac{k[x_1,\cdots,x_{n-1}]}{(x_1^2-x_1,\cdots,x_{n-1}^2-x_{n-1})}[x_n]}{(x_n)}\times\frac{\displaystyle\frac{k[x_1,\cdots,x_{n-1}]}{(x_1^2-x_1,\cdots,x_{n-1}^2-x_{n-1})}[x_n]}{(x_n-1)}$$
$$\cong\frac{k[x_1,\cdots,x_{n-1}]}{(x_1^2-x_1,\cdots,x_{n-1}^2-x_{n-1})}\times\frac{k[x_1,\cdots,x_{n-1}]}{(x_1^2-x_1,\cdots,x_{n-1}^2-x_{n-1})}$$
$$\cong \cdots\cdots\cdots\cong k^{2^n}$$
for any field $k$. The idempotents in $k^{2^n}$ are those with coordinates $0$ or $1$. Therefore, the idempotents in your quotient ring are obtained via subsets $A\subseteq\{1,\cdots,n\}$, coordinates $\varepsilon_A\in\{0,1\}$ (make once choice for each subset $A$) and solutions to $f\equiv\varepsilon_A\bmod (x_a,x_b-1)_{a\in A,b\not\in A}$. This gives $2^{2^n}$ idempotents.
With some combinatorial finagling via mobius functions of posets I get
$$f=\sum_{R\subseteq[n]}(-1)^{|R|}\left(\sum_{R\subseteq A\subseteq[n]}\varepsilon_A\right)\prod_{s\not\in R}x_s $$
for every choice of $\varepsilon:{\cal P}(A)\to\{0,1\}$. Maybe later I'll elaborate on this.