mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
⚡ add update demo script, remove duplicate toast, try hash route
This commit is contained in:
parent
10497c9cb0
commit
6a3d2c3195
@ -1,11 +1,12 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
|
||||
|
||||
const routes: Routes = [];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forRoot(routes)],
|
||||
exports: [RouterModule]
|
||||
imports: [RouterModule.forRoot(routes, {useHash: true})],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppRoutingModule { }
|
||||
export class AppRoutingModule {
|
||||
}
|
||||
|
@ -1,71 +1,70 @@
|
||||
<h1 i18n>
|
||||
<h1 i18n >
|
||||
{{"resume.title"|translate}}
|
||||
</h1>
|
||||
<section class="admin">
|
||||
<h2 i18n>{{"resume.admins"|translate}}</h2>
|
||||
<p>
|
||||
</h1 >
|
||||
<section class="admin" >
|
||||
<h2 i18n >{{"resume.admins"|translate}}</h2 >
|
||||
<p >
|
||||
|
||||
Votre sondage «
|
||||
<span class="poll-title">
|
||||
<span class="poll-title" >
|
||||
{{config.title}}
|
||||
</span>
|
||||
</span >
|
||||
» a bien été créé !
|
||||
</p>
|
||||
<p>
|
||||
</p >
|
||||
<p >
|
||||
Voici les liens d’accès au sondage, conservez-les soigneusement !
|
||||
(Si vous les perdez vous pourrez toujours les recevoir par email)
|
||||
</p>
|
||||
</p >
|
||||
|
||||
<p>
|
||||
<p >
|
||||
Pour accéder au sondage et à tous ses paramètres :
|
||||
<a href="{{config.urlAdmin}}">{{config.urlAdmin}}
|
||||
</a>
|
||||
</p>
|
||||
<a href="{{config.urlAdmin}}" >{{config.urlAdmin}}
|
||||
</a >
|
||||
</p >
|
||||
<button
|
||||
class="btn"
|
||||
(click)="copyLink(config.urlAdmin)"
|
||||
[ngxClipboard]
|
||||
cbContent="{{config.urlAdmin}}"
|
||||
>
|
||||
<i class="fa fa-copy"></i>
|
||||
<i class="fa fa-copy" ></i >
|
||||
Copier le lien
|
||||
</button>
|
||||
<a href="{{config.urlAdmin}}">
|
||||
</button >
|
||||
<a href="{{config.urlAdmin}}" >
|
||||
Voir le sondage coté administrateur·ice
|
||||
</a>
|
||||
<p class="note">
|
||||
</a >
|
||||
<p class="note" >
|
||||
Note : Le sondage sera supprimé {{config.deletionDateAfterLastModification}} jours après la date de sa dernière
|
||||
modification.
|
||||
</p>
|
||||
</p >
|
||||
|
||||
</section >
|
||||
<section class="public" >
|
||||
|
||||
</section>
|
||||
<section class="public">
|
||||
|
||||
<h2 i18n>{{"resume.users"|translate}}</h2>
|
||||
<p>
|
||||
<h2 i18n >{{"resume.users"|translate}}</h2 >
|
||||
<p >
|
||||
Pour accéder au sondage :
|
||||
<a href="{{config.urlPublic}}">{{config.urlPublic}}
|
||||
</a>
|
||||
<a href="{{config.urlPublic}}" >{{config.urlPublic}}
|
||||
</a >
|
||||
|
||||
</p>
|
||||
</p >
|
||||
<button
|
||||
class="btn"
|
||||
(click)="copyLink(config.urlPublic)"
|
||||
[ngxClipboard]
|
||||
cbContent="{{config.urlPublic}}"
|
||||
>
|
||||
<i class="fa fa-copy"></i>
|
||||
<i class="fa fa-copy" ></i >
|
||||
Copier le lien
|
||||
</button>
|
||||
<a href="{{config.urlPublic}}">
|
||||
</button >
|
||||
<a href="{{config.urlPublic}}" >
|
||||
Voir le sondage
|
||||
</a>
|
||||
</section>
|
||||
<section class="mail">
|
||||
</a >
|
||||
</section >
|
||||
<section class="mail" >
|
||||
|
||||
<h2 i18n>{{"resume.links_mail"|translate}}</h2>
|
||||
<p>
|
||||
<h2 i18n >{{"resume.links_mail"|translate}}</h2 >
|
||||
<p >
|
||||
Pour être sur de retrouver ces liens, nous pouvons vous les envoyer sur votre mail
|
||||
|
||||
mail :
|
||||
@ -75,18 +74,17 @@
|
||||
paceholder="email"
|
||||
>
|
||||
|
||||
</p>
|
||||
</p >
|
||||
|
||||
<button
|
||||
class="btn"
|
||||
(click)="sendToEmail()"
|
||||
><i class="fa fa-paper-plane"></i>
|
||||
><i class="fa fa-paper-plane" ></i >
|
||||
Envoyer les liens du sondage
|
||||
</button>
|
||||
<a href="{{config.urlPublic}}">
|
||||
</button >
|
||||
<a href="{{config.urlPublic}}" >
|
||||
Voir le sondage
|
||||
</a>
|
||||
</a >
|
||||
|
||||
</section>
|
||||
</section >
|
||||
|
||||
<p-toast position="bottom-right"></p-toast>
|
||||
|
7
update-demo.sh
Normal file
7
update-demo.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
git pull origin dev
|
||||
yarn install --pure-lockfile
|
||||
yarn build
|
||||
sudo cp -r ./dist/framadate/* ../framadate-api/public/
|
||||
echo " now check update demo at https://framadate-api.cipherbliss.com/index.html "
|
Loading…
Reference in New Issue
Block a user