Skip to content

Commit

Permalink
Add ./pages/index.pers.js file for personalized rooms in select list.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1evm committed Nov 14, 2020
1 parent f8723d4 commit 9560b38
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import notie from '../lib/notie'
import Fsm from '../lib/svxlink/fsm'
import { callbackify } from 'util';

import Perso from './index.perso.js'

class Component extends React.Component {
constructor() {
super()
Expand Down Expand Up @@ -113,6 +115,7 @@ class Component extends React.Component {
<option value="exp">EXP Salon Expérimental</option>
<option value="el">EL Réseau EchoLink</option>
<option value="reg">REG Salon Régional à créer</option>
<Perso />
</select>

<select name="tri" className="form-control brdr tri" value={this.state.tri}
Expand Down
17 changes: 17 additions & 0 deletions pages/index.perso.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react'




const Perso = () => (
<>
{/* Insérer ci-dessous, tous les salons que vous souhaitez ajouter au menu standard du GUI.
Le format est celui du fichier index.js, c'est à dire :
<option value="xxx"> XXX Salon XXXXXXX</option>
par exemple :
<option value="reg53"> REG53 Salon Régional Mayenne</option>
*/}
</>
)

export default Perso
2 changes: 1 addition & 1 deletion version_gui
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.6
3.1.7

0 comments on commit 9560b38

Please sign in to comment.