Merge
This commit is contained in:
@@ -24,12 +24,13 @@ export default function Home() {
|
||||
<View style={{width:"100%", position: 'absolute'}}>
|
||||
<SelectChantier></SelectChantier>
|
||||
</View>
|
||||
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||
<SetStatus></SetStatus>
|
||||
</View>
|
||||
<ChantierSummary style={styles.summary} data={{ chantier }} />
|
||||
<Anomaly style={styles.anomaly} data={{chantier}}/>
|
||||
{role === "chef" && (
|
||||
<View style={{width:"100%", position: 'absolute',marginLeft:"50%"}}>
|
||||
<SetStatus></SetStatus>
|
||||
</View>
|
||||
)}
|
||||
{role === "chef"}
|
||||
|
||||
</View>
|
||||
</ThemedView>
|
||||
)
|
||||
@@ -43,13 +44,13 @@ const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
marginTop: Constants.statusBarHeight, //pour la barre menu du haut
|
||||
paddingTop : 60,
|
||||
},
|
||||
header: {
|
||||
flex: 1,
|
||||
width:"100%"
|
||||
},
|
||||
summary:{
|
||||
marginTop:60,
|
||||
padding:10,
|
||||
},
|
||||
anomaly:{
|
||||
|
||||
Reference in New Issue
Block a user