Browse Source

change class

itizawa 6 years ago
parent
commit
6114ea5542
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/client/js/components/PageStatusAlert.jsx

+ 9 - 9
src/client/js/components/PageStatusAlert.jsx

@@ -40,14 +40,14 @@ class PageStatusAlert extends React.Component {
 
 
   renderSomeoneEditingAlert() {
   renderSomeoneEditingAlert() {
     return (
     return (
-      <div className="alert-hackmd-someone-editing myadmin-alert alert-success myadmin-alert-bottom alertbottom2">
+      <div className="alert alert-success fixed-bottom p-3 mb-0">
         <i className="icon-fw icon-people"></i>
         <i className="icon-fw icon-people"></i>
         Someone editing this page on HackMD
         Someone editing this page on HackMD
         &nbsp;
         &nbsp;
         <i className="fa fa-angle-double-right"></i>
         <i className="fa fa-angle-double-right"></i>
         &nbsp;
         &nbsp;
-        <a href="#hackmd">
-          Open HackMD Editor
+        <a href="#hackmd" className="font-weight-bold text-decoration-none">
+          <u>Open HackMD Editor</u>
         </a>
         </a>
       </div>
       </div>
     );
     );
@@ -55,14 +55,14 @@ class PageStatusAlert extends React.Component {
 
 
   renderDraftExistsAlert(isRealtime) {
   renderDraftExistsAlert(isRealtime) {
     return (
     return (
-      <div className="alert-hackmd-draft-exists myadmin-alert alert-success myadmin-alert-bottom alertbottom2">
+      <div className="alert alert-success fixed-bottom p-3 mb-0">
         <i className="icon-fw icon-pencil"></i>
         <i className="icon-fw icon-pencil"></i>
         This page has a draft on HackMD
         This page has a draft on HackMD
         &nbsp;
         &nbsp;
         <i className="fa fa-angle-double-right"></i>
         <i className="fa fa-angle-double-right"></i>
         &nbsp;
         &nbsp;
-        <a href="#hackmd">
-          Open HackMD Editor
+        <a href="#hackmd" className="font-weight-bold text-decoration-none">
+          <u>Open HackMD Editor</u>
         </a>
         </a>
       </div>
       </div>
     );
     );
@@ -74,14 +74,14 @@ class PageStatusAlert extends React.Component {
     const label2 = t('Load latest');
     const label2 = t('Load latest');
 
 
     return (
     return (
-      <div className="alert-revision-outdated myadmin-alert alert-warning myadmin-alert-bottom alertbottom2">
+      <div className="alert alert-warning fixed-bottom p-3 mb-0">
         <i className="icon-fw icon-bulb"></i>
         <i className="icon-fw icon-bulb"></i>
         {this.props.pageContainer.state.lastUpdateUsername} {label1}
         {this.props.pageContainer.state.lastUpdateUsername} {label1}
         &nbsp;
         &nbsp;
         <i className="fa fa-angle-double-right"></i>
         <i className="fa fa-angle-double-right"></i>
         &nbsp;
         &nbsp;
-        <a href="#" onClick={this.refreshPage}>
-          {label2}
+        <a href="#" onClick={this.refreshPage} className="font-weight-bold text-decoration-none">
+          <u>{label2}</u>
         </a>
         </a>
       </div>
       </div>
     );
     );